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_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info
*swig_types
[165];
2631 static swig_module_info swig_module
= {swig_types
, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635 /* -------- TYPES TABLE (END) -------- */
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2657 #define SWIG_name "_windows_"
2659 #define SWIGVERSION 0x010329
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2666 #include <stdexcept>
2670 class PyObject_ptr
{
2675 PyObject_ptr() :_obj(0)
2679 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2684 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2686 if (initial_ref
) Py_XINCREF(_obj
);
2689 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2691 Py_XINCREF(item
._obj
);
2702 operator PyObject
*() const
2707 PyObject
*operator->() const
2716 struct PyObject_var
: PyObject_ptr
{
2717 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2719 PyObject_var
& operator = (PyObject
* obj
)
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2733 static const wxString
wxPyEmptyString(wxEmptyString
);
2734 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 # define LLONG_MIN LONG_LONG_MIN
2743 # define LLONG_MAX LONG_LONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2751 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2753 if (PyNumber_Check(obj
)) {
2754 if (val
) *val
= PyInt_AsLong(obj
);
2757 return SWIG_TypeError
;
2762 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2765 int res
= SWIG_AsVal_long (obj
, &v
);
2766 if (SWIG_IsOK(res
)) {
2767 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2768 return SWIG_OverflowError
;
2770 if (val
) *val
= static_cast< int >(v
);
2778 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2780 if (obj
== Py_True
) {
2781 if (val
) *val
= true;
2783 } else if (obj
== Py_False
) {
2784 if (val
) *val
= false;
2788 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2789 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2795 #define SWIG_From_long PyInt_FromLong
2798 SWIGINTERNINLINE PyObject
*
2799 SWIG_From_int (int value
)
2801 return SWIG_From_long (value
);
2806 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2808 if (PyNumber_Check(obj
)) {
2809 if (val
) *val
= PyFloat_AsDouble(obj
);
2812 return SWIG_TypeError
;
2816 #define SWIG_From_double PyFloat_FromDouble
2818 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2819 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2820 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2821 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2822 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2823 int style
= self
->GetExtraStyle();
2825 style
|= wxFRAME_EX_METAL
;
2827 style
&= ~wxFRAME_EX_METAL
;
2828 self
->SetExtraStyle(style
);
2830 SWIGINTERN
bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow
*self
,bool enable
=true){ return false; }
2833 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2836 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2837 return SWIG_TypeError
;
2840 *val
= (unsigned long)v
;
2846 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2849 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2850 if (SWIG_IsOK(res
)) {
2851 if ((v
> UCHAR_MAX
)) {
2852 return SWIG_OverflowError
;
2854 if (val
) *val
= static_cast< unsigned char >(v
);
2862 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2864 self
->GetFieldRect(i
, r
);
2867 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2868 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2869 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2871 #include <wx/popupwin.h>
2874 class wxPopupWindow
: public wxWindow
{
2876 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2877 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2880 class wxPyPopupTransientWindow
: public wxPopupWindow
2883 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2884 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2888 #include <wx/tipwin.h>
2890 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2891 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2894 #include <wx/tipwin.h>
2897 #include <wx/vscroll.h>
2900 class wxPyVScrolledWindow
: public wxVScrolledWindow
2902 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2904 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2906 wxPyVScrolledWindow(wxWindow
*parent
,
2907 wxWindowID id
= wxID_ANY
,
2908 const wxPoint
& pos
= wxDefaultPosition
,
2909 const wxSize
& size
= wxDefaultSize
,
2911 const wxString
& name
= wxPyPanelNameStr
)
2912 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2915 // Overridable virtuals
2917 // this function must be overridden in the derived class and it should
2918 // return the height of the given line in pixels
2919 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2922 // this function doesn't have to be overridden but it may be useful to do
2923 // it if calculating the lines heights is a relatively expensive operation
2924 // as it gives the user code a possibility to calculate several of them at
2927 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2928 // shouldn't rely on the latter being called for all lines in the interval
2929 // specified here. It is also possible that OnGetLineHeight() will be
2930 // called for the lines outside of this interval, so this is really just a
2931 // hint, not a promise.
2933 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2935 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2938 // when the number of lines changes, we try to estimate the total height
2939 // of all lines which is a rather expensive operation in terms of lines
2940 // access, so if the user code may estimate the average height
2941 // better/faster than we do, it should override this function to implement
2944 // this function should return the best guess for the total height it may
2946 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2949 // Also expose some other interesting protected methods
2952 // find the index of the line we need to show at the top of the window such
2953 // that the last (fully or partially) visible line is the given one
2954 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2955 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2957 // get the total height of the lines between lineMin (inclusive) and
2958 // lineMax (exclusive)
2959 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2960 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2962 // update the thumb size shown by the scrollbar
2963 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2965 // remove the scrollbar completely because we don't need it
2966 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2971 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2973 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2974 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2975 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2978 SWIGINTERNINLINE
int
2979 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2982 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2983 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2988 SWIGINTERNINLINE PyObject
*
2989 SWIG_From_unsigned_SS_long (unsigned long value
)
2991 return (value
> LONG_MAX
) ?
2992 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2996 SWIGINTERNINLINE PyObject
*
2997 SWIG_From_size_t (size_t value
)
2999 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3003 #include <wx/vlbox.h>
3005 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
3007 class wxPyVListBox
: public wxVListBox
3009 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3011 wxPyVListBox() : wxVListBox() {}
3013 wxPyVListBox(wxWindow
*parent
,
3014 wxWindowID id
= wxID_ANY
,
3015 const wxPoint
& pos
= wxDefaultPosition
,
3016 const wxSize
& size
= wxDefaultSize
,
3018 const wxString
& name
= wxPyVListBoxNameStr
)
3019 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3022 // Overridable virtuals
3024 // the derived class must implement this function to actually draw the item
3025 // with the given index on the provided DC
3026 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3027 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3030 // the derived class must implement this method to return the height of the
3032 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3033 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3036 // this method may be used to draw separators between the lines; note that
3037 // the rectangle may be modified, typically to deflate it a bit before
3038 // passing to OnDrawItem()
3040 // the base class version doesn't do anything
3041 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3042 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3045 // this method is used to draw the items background and, maybe, a border
3048 // the base class version implements a reasonable default behaviour which
3049 // consists in drawing the selected item with the standard background
3050 // colour and drawing a border around the item if it is either selected or
3052 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3053 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3059 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3061 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3062 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3063 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3064 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3067 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3068 unsigned long cookie
= 0;
3069 int selected
= self
->GetFirstSelected(cookie
);
3070 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3071 PyObject
* tup
= PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3073 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3074 wxPyEndBlockThreads(blocked
);
3077 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3078 int selected
= self
->GetNextSelected(cookie
);
3079 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3080 PyObject
* tup
= PyTuple_New(2);
3081 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3082 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3083 wxPyEndBlockThreads(blocked
);
3087 #include <wx/htmllbox.h>
3090 class wxPyHtmlListBox
: public wxHtmlListBox
3092 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3094 wxPyHtmlListBox() : wxHtmlListBox() {}
3096 wxPyHtmlListBox(wxWindow
*parent
,
3097 wxWindowID id
= wxID_ANY
,
3098 const wxPoint
& pos
= wxDefaultPosition
,
3099 const wxSize
& size
= wxDefaultSize
,
3101 const wxString
& name
= wxPyVListBoxNameStr
)
3102 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3105 // Overridable virtuals
3107 // this method must be implemented in the derived class and should return
3108 // the body (i.e. without <html>) of the HTML for the given item
3109 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3111 // this function may be overridden to decorate HTML returned by OnGetItem()
3112 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3114 // These are from wxVListBox
3115 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3116 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3119 // // this method allows to customize the selection appearance: it may be used
3120 // // to specify the colour of the text which normally has the given colour
3121 // // colFg when it is inside the selection
3123 // // by default, the original colour is not used at all and all text has the
3124 // // same (default for this system) colour inside selection
3125 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3127 // // this is the same as GetSelectedTextColour() but allows to customize the
3128 // // background colour -- this is even more rarely used as you can change it
3129 // // globally using SetSelectionBackground()
3130 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3133 // This method may be overriden to handle clicking on a link in
3134 // the listbox. By default, clicking links is ignored.
3135 virtual void OnLinkClicked(size_t n
,
3136 const wxHtmlLinkInfo
& link
);
3142 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3144 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3145 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3146 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3147 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3150 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3151 const wxHtmlLinkInfo
& link
) {
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3155 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3156 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3159 wxPyEndBlockThreads(blocked
);
3161 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3168 #ifndef wxHAS_TASK_BAR_ICON
3169 // implement dummy classes for platforms that don't have it
3171 class wxTaskBarIcon
: public wxEvtHandler
3174 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3178 class wxTaskBarIconEvent
: public wxEvent
3181 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3182 { wxPyRaiseNotImplemented(); }
3183 virtual wxEvent
* Clone() const { return NULL
; }
3184 bool IsOk() const { return false; }
3185 bool IsIconInstalled() const { return false; }
3186 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3187 bool RemoveIcon() { return false; }
3188 bool PopupMenu(wxMenu
*menu
) { return false; }
3192 wxEVT_TASKBAR_MOVE
= 0,
3193 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3194 wxEVT_TASKBAR_LEFT_UP
= 0,
3195 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3196 wxEVT_TASKBAR_RIGHT_UP
= 0,
3197 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3198 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3203 // Otherwise make a class that can virtualize CreatePopupMenu
3204 class wxPyTaskBarIcon
: public wxTaskBarIcon
3206 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3208 wxPyTaskBarIcon() : wxTaskBarIcon()
3211 wxMenu
* CreatePopupMenu() {
3212 wxMenu
*rval
= NULL
;
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3218 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3220 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3225 wxPyEndBlockThreads(blocked
);
3227 rval
= wxTaskBarIcon::CreatePopupMenu();
3234 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3238 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3242 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3243 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3244 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3245 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3246 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3247 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3249 // for compatibility only
3250 #define wxHIDE_READONLY 0
3252 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3254 self
->GetFilenames(arr
);
3255 return wxArrayString2PyList_helper(arr
);
3257 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3259 self
->GetPaths(arr
);
3260 return wxArrayString2PyList_helper(arr
);
3262 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3263 return wxArrayInt2PyList_helper(self
->GetSelections());
3265 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
){
3266 return new wxSingleChoiceDialog(parent
, message
, caption
,
3267 choices
, choices_array
, NULL
, style
, pos
);
3269 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3271 SWIGINTERNINLINE PyObject
*
3272 SWIG_From_bool (bool value
)
3274 return PyBool_FromLong(value
? 1 : 0);
3280 // C++ version of Python aware wxWindow
3281 class wxPyWindow
: public wxWindow
3283 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3285 wxPyWindow() : wxWindow() {}
3286 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3287 const wxPoint
& pos
= wxDefaultPosition
,
3288 const wxSize
& size
= wxDefaultSize
,
3290 const wxString
& name
= wxPyPanelNameStr
)
3291 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3293 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3295 bool DoEraseBackground(wxDC
* dc
) {
3297 return wxWindow::DoEraseBackground(dc
->GetHDC());
3299 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3305 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3306 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3307 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3308 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3312 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3314 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3315 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3317 DEC_PYCALLBACK__(InitDialog
);
3318 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3319 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3320 DEC_PYCALLBACK_BOOL_(Validate
);
3322 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3323 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3324 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3326 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3327 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3329 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3330 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3332 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3334 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3339 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3341 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3342 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3343 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3344 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3347 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3348 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3350 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3351 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3353 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3356 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3360 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3362 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3363 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3365 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3366 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3368 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3370 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3372 // C++ version of Python aware wxPanel
3373 class wxPyPanel
: public wxPanel
3375 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3377 wxPyPanel() : wxPanel() {}
3378 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3379 const wxPoint
& pos
= wxDefaultPosition
,
3380 const wxSize
& size
= wxDefaultSize
,
3382 const wxString
& name
= wxPyPanelNameStr
)
3383 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3385 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3386 bool DoEraseBackground(wxDC
* dc
) {
3388 return wxWindow::DoEraseBackground(dc
->GetHDC());
3390 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3397 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3398 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3399 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3400 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3404 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3406 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3407 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3409 DEC_PYCALLBACK__(InitDialog
);
3410 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3411 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3412 DEC_PYCALLBACK_BOOL_(Validate
);
3414 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3415 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3416 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3418 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3419 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3421 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3422 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3424 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3426 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3431 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3433 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3434 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3435 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3436 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3439 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3440 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3442 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3443 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3445 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3447 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3448 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3451 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3452 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3454 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3455 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3457 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3458 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3460 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3462 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3464 // C++ version of Python aware wxScrolledWindow
3465 class wxPyScrolledWindow
: public wxScrolledWindow
3467 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3469 wxPyScrolledWindow() : wxScrolledWindow() {}
3470 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3471 const wxPoint
& pos
= wxDefaultPosition
,
3472 const wxSize
& size
= wxDefaultSize
,
3474 const wxString
& name
= wxPyPanelNameStr
)
3475 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3477 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3478 bool DoEraseBackground(wxDC
* dc
) {
3480 return wxWindow::DoEraseBackground(dc
->GetHDC());
3482 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3488 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3489 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3490 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3491 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3495 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3497 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3498 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3500 DEC_PYCALLBACK__(InitDialog
);
3501 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3502 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3503 DEC_PYCALLBACK_BOOL_(Validate
);
3505 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3506 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3507 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3509 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3510 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3512 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3513 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3515 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3517 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3522 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3524 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3525 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3526 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3527 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3530 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3531 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3533 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3536 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3538 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3539 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3542 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3543 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3545 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3546 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3548 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3549 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3551 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3553 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3556 #include "wx/wxPython/printfw.h"
3559 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3560 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3561 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3563 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3564 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3565 self
->GetPrivDataLen());
3566 wxPyEndBlockThreads(blocked
);
3569 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3570 if (! PyString_Check(data
)) {
3571 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3572 "Expected string object"));
3576 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3577 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3578 wxPyEndBlockThreads(blocked
);
3582 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3584 // Since this one would be tough and ugly to do with the Macros...
3585 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3586 bool hadErr
= false;
3589 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3590 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3591 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3592 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3595 val
= PyTuple_GetItem(result
, 0);
3596 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3599 val
= PyTuple_GetItem(result
, 1);
3600 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3603 val
= PyTuple_GetItem(result
, 2);
3604 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3607 val
= PyTuple_GetItem(result
, 3);
3608 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3615 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3620 wxPyEndBlockThreads(blocked
);
3622 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3627 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3628 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3629 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3630 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3631 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3632 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3633 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3639 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3640 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3643 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3644 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3647 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3648 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3649 PyObject* win = wxPyMake_wxObject(a,false); \
3650 PyObject* dc = wxPyMake_wxObject(&b,false); \
3651 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3655 wxPyEndBlockThreads(blocked); \
3657 rval = PCLASS::CBNAME(a, b); \
3664 class wxPyPrintPreview
: public wxPrintPreview
3666 DECLARE_CLASS(wxPyPrintPreview
)
3668 wxPyPrintPreview(wxPyPrintout
* printout
,
3669 wxPyPrintout
* printoutForPrinting
,
3670 wxPrintDialogData
* data
=NULL
)
3671 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3673 wxPyPrintPreview(wxPyPrintout
* printout
,
3674 wxPyPrintout
* printoutForPrinting
,
3676 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3679 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3680 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3681 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3682 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3683 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3684 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3685 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3690 // Stupid renamed classes... Fix this in 2.5...
3691 #if defined(__WXMSW__)
3692 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3693 #elif defined(__WXMAC__)
3694 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3696 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3699 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3700 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3701 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3702 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3703 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3704 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3705 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3708 class wxPyPreviewFrame
: public wxPreviewFrame
3710 DECLARE_CLASS(wxPyPreviewFrame
)
3712 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3713 const wxString
& title
,
3714 const wxPoint
& pos
= wxDefaultPosition
,
3715 const wxSize
& size
= wxDefaultSize
,
3716 long style
= wxDEFAULT_FRAME_STYLE
,
3717 const wxString
& name
= wxPyFrameNameStr
)
3718 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3721 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3722 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3724 DEC_PYCALLBACK_VOID_(Initialize
);
3725 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3726 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3731 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3735 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3738 class wxPyPreviewControlBar
: public wxPreviewControlBar
3740 DECLARE_CLASS(wxPyPreviewControlBar
)
3742 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3745 const wxPoint
& pos
= wxDefaultPosition
,
3746 const wxSize
& size
= wxDefaultSize
,
3748 const wxString
& name
= wxPyPanelNameStr
)
3749 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3752 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3754 DEC_PYCALLBACK_VOID_(CreateButtons
);
3755 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3760 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3761 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3762 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3767 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
= 0;
3769 wxWindow
*arg1
= (wxWindow
*) 0 ;
3770 int arg2
= (int) (int)-1 ;
3771 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3772 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3773 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3774 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3775 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3776 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3777 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3778 wxPanel
*result
= 0 ;
3787 bool temp6
= false ;
3788 PyObject
* obj0
= 0 ;
3789 PyObject
* obj1
= 0 ;
3790 PyObject
* obj2
= 0 ;
3791 PyObject
* obj3
= 0 ;
3792 PyObject
* obj4
= 0 ;
3793 PyObject
* obj5
= 0 ;
3794 char * kwnames
[] = {
3795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3800 if (!SWIG_IsOK(res1
)) {
3801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3803 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3806 if (!SWIG_IsOK(ecode2
)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3809 arg2
= static_cast< int >(val2
);
3814 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3820 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3824 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3825 if (!SWIG_IsOK(ecode5
)) {
3826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3828 arg5
= static_cast< long >(val5
);
3832 arg6
= wxString_in_helper(obj5
);
3833 if (arg6
== NULL
) SWIG_fail
;
3838 if (!wxPyCheckForApp()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3859 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3860 PyObject
*resultobj
= 0;
3861 wxPanel
*result
= 0 ;
3863 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3865 if (!wxPyCheckForApp()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxPanel
*)new wxPanel();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3878 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
= 0;
3880 wxPanel
*arg1
= (wxPanel
*) 0 ;
3881 wxWindow
*arg2
= (wxWindow
*) 0 ;
3882 int arg3
= (int) (int)-1 ;
3883 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3884 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3885 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3886 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3887 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3888 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3889 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3901 bool temp7
= false ;
3902 PyObject
* obj0
= 0 ;
3903 PyObject
* obj1
= 0 ;
3904 PyObject
* obj2
= 0 ;
3905 PyObject
* obj3
= 0 ;
3906 PyObject
* obj4
= 0 ;
3907 PyObject
* obj5
= 0 ;
3908 PyObject
* obj6
= 0 ;
3909 char * kwnames
[] = {
3910 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3915 if (!SWIG_IsOK(res1
)) {
3916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3918 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3920 if (!SWIG_IsOK(res2
)) {
3921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3923 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3926 if (!SWIG_IsOK(ecode3
)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3929 arg3
= static_cast< int >(val3
);
3934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3944 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3945 if (!SWIG_IsOK(ecode6
)) {
3946 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3948 arg6
= static_cast< long >(val6
);
3952 arg7
= wxString_in_helper(obj6
);
3953 if (arg7
== NULL
) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3980 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3981 PyObject
*resultobj
= 0;
3982 wxPanel
*arg1
= (wxPanel
*) 0 ;
3985 PyObject
*swig_obj
[1] ;
3987 if (!args
) SWIG_fail
;
3989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3990 if (!SWIG_IsOK(res1
)) {
3991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3993 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 (arg1
)->SetFocusIgnoringChildren();
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4000 resultobj
= SWIG_Py_Void();
4007 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
= 0;
4009 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4010 SwigValueWrapper
<wxVisualAttributes
> result
;
4013 PyObject
* obj0
= 0 ;
4014 char * kwnames
[] = {
4015 (char *) "variant", NULL
4018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4020 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4021 if (!SWIG_IsOK(ecode1
)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4024 arg1
= static_cast< wxWindowVariant
>(val1
);
4027 if (!wxPyCheckForApp()) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4040 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4043 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4044 return SWIG_Py_Void();
4047 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4048 return SWIG_Python_InitShadowInstance(args
);
4051 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
= 0;
4053 wxWindow
*arg1
= (wxWindow
*) 0 ;
4054 int arg2
= (int) (int)-1 ;
4055 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4056 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4057 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4058 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4059 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4060 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4061 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4062 wxScrolledWindow
*result
= 0 ;
4071 bool temp6
= false ;
4072 PyObject
* obj0
= 0 ;
4073 PyObject
* obj1
= 0 ;
4074 PyObject
* obj2
= 0 ;
4075 PyObject
* obj3
= 0 ;
4076 PyObject
* obj4
= 0 ;
4077 PyObject
* obj5
= 0 ;
4078 char * kwnames
[] = {
4079 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4084 if (!SWIG_IsOK(res1
)) {
4085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4090 if (!SWIG_IsOK(ecode2
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4093 arg2
= static_cast< int >(val2
);
4098 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4104 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4108 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4109 if (!SWIG_IsOK(ecode5
)) {
4110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4112 arg5
= static_cast< long >(val5
);
4116 arg6
= wxString_in_helper(obj5
);
4117 if (arg6
== NULL
) SWIG_fail
;
4122 if (!wxPyCheckForApp()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4143 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4144 PyObject
*resultobj
= 0;
4145 wxScrolledWindow
*result
= 0 ;
4147 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4149 if (!wxPyCheckForApp()) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4162 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
= 0;
4164 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4165 wxWindow
*arg2
= (wxWindow
*) 0 ;
4166 int arg3
= (int) (int)-1 ;
4167 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4168 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4169 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4170 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4171 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4172 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4173 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4185 bool temp7
= false ;
4186 PyObject
* obj0
= 0 ;
4187 PyObject
* obj1
= 0 ;
4188 PyObject
* obj2
= 0 ;
4189 PyObject
* obj3
= 0 ;
4190 PyObject
* obj4
= 0 ;
4191 PyObject
* obj5
= 0 ;
4192 PyObject
* obj6
= 0 ;
4193 char * kwnames
[] = {
4194 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4199 if (!SWIG_IsOK(res1
)) {
4200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4202 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4204 if (!SWIG_IsOK(res2
)) {
4205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4207 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4210 if (!SWIG_IsOK(ecode3
)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4213 arg3
= static_cast< int >(val3
);
4218 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4224 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4228 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4229 if (!SWIG_IsOK(ecode6
)) {
4230 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4232 arg6
= static_cast< long >(val6
);
4236 arg7
= wxString_in_helper(obj6
);
4237 if (arg7
== NULL
) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4264 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
= 0;
4266 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4271 int arg6
= (int) 0 ;
4272 int arg7
= (int) 0 ;
4273 bool arg8
= (bool) false ;
4290 PyObject
* obj0
= 0 ;
4291 PyObject
* obj1
= 0 ;
4292 PyObject
* obj2
= 0 ;
4293 PyObject
* obj3
= 0 ;
4294 PyObject
* obj4
= 0 ;
4295 PyObject
* obj5
= 0 ;
4296 PyObject
* obj6
= 0 ;
4297 PyObject
* obj7
= 0 ;
4298 char * kwnames
[] = {
4299 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4304 if (!SWIG_IsOK(res1
)) {
4305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4307 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4309 if (!SWIG_IsOK(ecode2
)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4312 arg2
= static_cast< int >(val2
);
4313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4314 if (!SWIG_IsOK(ecode3
)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4317 arg3
= static_cast< int >(val3
);
4318 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4319 if (!SWIG_IsOK(ecode4
)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4322 arg4
= static_cast< int >(val4
);
4323 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4324 if (!SWIG_IsOK(ecode5
)) {
4325 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4327 arg5
= static_cast< int >(val5
);
4329 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4330 if (!SWIG_IsOK(ecode6
)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4333 arg6
= static_cast< int >(val6
);
4336 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4337 if (!SWIG_IsOK(ecode7
)) {
4338 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4340 arg7
= static_cast< int >(val7
);
4343 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4344 if (!SWIG_IsOK(ecode8
)) {
4345 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4347 arg8
= static_cast< bool >(val8
);
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= SWIG_Py_Void();
4362 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
= 0;
4364 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4374 PyObject
* obj1
= 0 ;
4375 PyObject
* obj2
= 0 ;
4376 char * kwnames
[] = {
4377 (char *) "self",(char *) "x",(char *) "y", NULL
4380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4382 if (!SWIG_IsOK(res1
)) {
4383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4385 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4387 if (!SWIG_IsOK(ecode2
)) {
4388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4390 arg2
= static_cast< int >(val2
);
4391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4392 if (!SWIG_IsOK(ecode3
)) {
4393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4395 arg3
= static_cast< int >(val3
);
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 (arg1
)->Scroll(arg2
,arg3
);
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= SWIG_Py_Void();
4409 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
= 0;
4411 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4419 PyObject
* obj1
= 0 ;
4420 char * kwnames
[] = {
4421 (char *) "self",(char *) "orient", NULL
4424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4426 if (!SWIG_IsOK(res1
)) {
4427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4429 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4431 if (!SWIG_IsOK(ecode2
)) {
4432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4434 arg2
= static_cast< int >(val2
);
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 resultobj
= SWIG_From_int(static_cast< int >(result
));
4448 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
*resultobj
= 0;
4450 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4460 PyObject
* obj1
= 0 ;
4461 PyObject
* obj2
= 0 ;
4462 char * kwnames
[] = {
4463 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4468 if (!SWIG_IsOK(res1
)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4471 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4473 if (!SWIG_IsOK(ecode2
)) {
4474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4476 arg2
= static_cast< int >(val2
);
4477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4478 if (!SWIG_IsOK(ecode3
)) {
4479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4481 arg3
= static_cast< int >(val3
);
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_Py_Void();
4495 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
= 0;
4497 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4508 PyObject
* obj2
= 0 ;
4509 char * kwnames
[] = {
4510 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4515 if (!SWIG_IsOK(res1
)) {
4516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4518 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4520 if (!SWIG_IsOK(ecode2
)) {
4521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4523 arg2
= static_cast< int >(val2
);
4524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4525 if (!SWIG_IsOK(ecode3
)) {
4526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4528 arg3
= static_cast< int >(val3
);
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 (arg1
)->SetScrollRate(arg2
,arg3
);
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= SWIG_Py_Void();
4542 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4543 PyObject
*resultobj
= 0;
4544 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4545 int *arg2
= (int *) 0 ;
4546 int *arg3
= (int *) 0 ;
4550 int res2
= SWIG_TMPOBJ
;
4552 int res3
= SWIG_TMPOBJ
;
4553 PyObject
*swig_obj
[1] ;
4557 if (!args
) SWIG_fail
;
4559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4560 if (!SWIG_IsOK(res1
)) {
4561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4563 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= SWIG_Py_Void();
4571 if (SWIG_IsTmpObj(res2
)) {
4572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4574 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4577 if (SWIG_IsTmpObj(res3
)) {
4578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4580 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4589 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
= 0;
4591 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4600 PyObject
* obj0
= 0 ;
4601 PyObject
* obj1
= 0 ;
4602 PyObject
* obj2
= 0 ;
4603 char * kwnames
[] = {
4604 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4609 if (!SWIG_IsOK(res1
)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4612 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4613 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4614 if (!SWIG_IsOK(ecode2
)) {
4615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4617 arg2
= static_cast< bool >(val2
);
4618 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4619 if (!SWIG_IsOK(ecode3
)) {
4620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4622 arg3
= static_cast< bool >(val3
);
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 (arg1
)->EnableScrolling(arg2
,arg3
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_Py_Void();
4636 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4637 PyObject
*resultobj
= 0;
4638 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4639 int *arg2
= (int *) 0 ;
4640 int *arg3
= (int *) 0 ;
4644 int res2
= SWIG_TMPOBJ
;
4646 int res3
= SWIG_TMPOBJ
;
4647 PyObject
*swig_obj
[1] ;
4651 if (!args
) SWIG_fail
;
4653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4654 if (!SWIG_IsOK(res1
)) {
4655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4657 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4664 resultobj
= SWIG_Py_Void();
4665 if (SWIG_IsTmpObj(res2
)) {
4666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4668 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4671 if (SWIG_IsTmpObj(res3
)) {
4672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4674 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4683 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
= 0;
4685 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4694 PyObject
* obj0
= 0 ;
4695 PyObject
* obj1
= 0 ;
4696 PyObject
* obj2
= 0 ;
4697 char * kwnames
[] = {
4698 (char *) "self",(char *) "xs",(char *) "ys", NULL
4701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4703 if (!SWIG_IsOK(res1
)) {
4704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4706 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4707 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4708 if (!SWIG_IsOK(ecode2
)) {
4709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4711 arg2
= static_cast< double >(val2
);
4712 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4713 if (!SWIG_IsOK(ecode3
)) {
4714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4716 arg3
= static_cast< double >(val3
);
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 (arg1
)->SetScale(arg2
,arg3
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_Py_Void();
4730 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4731 PyObject
*resultobj
= 0;
4732 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4736 PyObject
*swig_obj
[1] ;
4738 if (!args
) SWIG_fail
;
4740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4741 if (!SWIG_IsOK(res1
)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4744 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= SWIG_From_double(static_cast< double >(result
));
4758 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4759 PyObject
*resultobj
= 0;
4760 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4764 PyObject
*swig_obj
[1] ;
4766 if (!args
) SWIG_fail
;
4768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4769 if (!SWIG_IsOK(res1
)) {
4770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4772 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= SWIG_From_double(static_cast< double >(result
));
4786 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4787 PyObject
*resultobj
= 0;
4788 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4795 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4797 if (!SWIG_IsOK(res1
)) {
4798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4800 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4803 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4818 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4819 PyObject
*resultobj
= 0;
4820 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4823 int *arg4
= (int *) 0 ;
4824 int *arg5
= (int *) 0 ;
4832 int res4
= SWIG_TMPOBJ
;
4834 int res5
= SWIG_TMPOBJ
;
4838 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4840 if (!SWIG_IsOK(res1
)) {
4841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4843 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4844 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4845 if (!SWIG_IsOK(ecode2
)) {
4846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4848 arg2
= static_cast< int >(val2
);
4849 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4850 if (!SWIG_IsOK(ecode3
)) {
4851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4853 arg3
= static_cast< int >(val3
);
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= SWIG_Py_Void();
4861 if (SWIG_IsTmpObj(res4
)) {
4862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4864 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4867 if (SWIG_IsTmpObj(res5
)) {
4868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4870 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4879 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4883 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4886 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4889 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4893 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4898 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4899 PyObject
*resultobj
= 0;
4900 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4907 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4912 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4915 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4930 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4931 PyObject
*resultobj
= 0;
4932 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4935 int *arg4
= (int *) 0 ;
4936 int *arg5
= (int *) 0 ;
4944 int res4
= SWIG_TMPOBJ
;
4946 int res5
= SWIG_TMPOBJ
;
4950 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4952 if (!SWIG_IsOK(res1
)) {
4953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4955 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4956 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4957 if (!SWIG_IsOK(ecode2
)) {
4958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4960 arg2
= static_cast< int >(val2
);
4961 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4962 if (!SWIG_IsOK(ecode3
)) {
4963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4965 arg3
= static_cast< int >(val3
);
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= SWIG_Py_Void();
4973 if (SWIG_IsTmpObj(res4
)) {
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4976 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4979 if (SWIG_IsTmpObj(res5
)) {
4980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4982 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4991 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4995 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4998 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
5001 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
5005 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5010 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5011 PyObject
*resultobj
= 0;
5012 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5015 PyObject
*swig_obj
[1] ;
5017 if (!args
) SWIG_fail
;
5019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5020 if (!SWIG_IsOK(res1
)) {
5021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5023 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 (arg1
)->AdjustScrollbars();
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= SWIG_Py_Void();
5037 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
= 0;
5039 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5040 wxScrollWinEvent
*arg2
= 0 ;
5046 PyObject
* obj0
= 0 ;
5047 PyObject
* obj1
= 0 ;
5048 char * kwnames
[] = {
5049 (char *) "self",(char *) "event", NULL
5052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5054 if (!SWIG_IsOK(res1
)) {
5055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5057 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5058 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5059 if (!SWIG_IsOK(res2
)) {
5060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5065 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 resultobj
= SWIG_From_int(static_cast< int >(result
));
5079 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
= 0;
5081 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5082 wxWindow
*arg2
= (wxWindow
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5089 char * kwnames
[] = {
5090 (char *) "self",(char *) "target", NULL
5093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5095 if (!SWIG_IsOK(res1
)) {
5096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5098 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5099 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5100 if (!SWIG_IsOK(res2
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5103 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 (arg1
)->SetTargetWindow(arg2
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= SWIG_Py_Void();
5117 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5118 PyObject
*resultobj
= 0;
5119 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5120 wxWindow
*result
= 0 ;
5123 PyObject
*swig_obj
[1] ;
5125 if (!args
) SWIG_fail
;
5127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5128 if (!SWIG_IsOK(res1
)) {
5129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5131 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= wxPyMake_wxObject(result
, 0);
5147 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
= 0;
5149 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 char * kwnames
[] = {
5157 (char *) "self",(char *) "rect", NULL
5160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5162 if (!SWIG_IsOK(res1
)) {
5163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5165 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5168 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_Py_Void();
5183 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5184 PyObject
*resultobj
= 0;
5185 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5189 PyObject
*swig_obj
[1] ;
5191 if (!args
) SWIG_fail
;
5193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5194 if (!SWIG_IsOK(res1
)) {
5195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5197 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5211 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
= 0;
5213 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5219 PyObject
* obj0
= 0 ;
5220 PyObject
* obj1
= 0 ;
5221 char * kwnames
[] = {
5222 (char *) "self",(char *) "dc", NULL
5225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5227 if (!SWIG_IsOK(res1
)) {
5228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5230 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5232 if (!SWIG_IsOK(res2
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5238 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 (arg1
)->DoPrepareDC(*arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_Py_Void();
5252 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
= 0;
5254 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5255 SwigValueWrapper
<wxVisualAttributes
> result
;
5258 PyObject
* obj0
= 0 ;
5259 char * kwnames
[] = {
5260 (char *) "variant", NULL
5263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5265 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5266 if (!SWIG_IsOK(ecode1
)) {
5267 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5269 arg1
= static_cast< wxWindowVariant
>(val1
);
5272 if (!wxPyCheckForApp()) SWIG_fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5285 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5288 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5289 return SWIG_Py_Void();
5292 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5293 return SWIG_Python_InitShadowInstance(args
);
5296 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5297 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5302 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5303 PyObject
*pyobj
= 0;
5307 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5309 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5316 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5317 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5322 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5323 PyObject
*pyobj
= 0;
5327 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5329 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5336 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5337 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5342 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5343 PyObject
*pyobj
= 0;
5347 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5349 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5356 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5357 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5362 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5363 PyObject
*pyobj
= 0;
5367 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5369 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5376 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
= 0;
5378 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5379 bool arg2
= (bool) true ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5386 char * kwnames
[] = {
5387 (char *) "self",(char *) "maximize", NULL
5390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5392 if (!SWIG_IsOK(res1
)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5395 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5397 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5398 if (!SWIG_IsOK(ecode2
)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5401 arg2
= static_cast< bool >(val2
);
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->Maximize(arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_Py_Void();
5416 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5417 PyObject
*resultobj
= 0;
5418 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5421 PyObject
*swig_obj
[1] ;
5423 if (!args
) SWIG_fail
;
5425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5426 if (!SWIG_IsOK(res1
)) {
5427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5429 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 resultobj
= SWIG_Py_Void();
5443 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
= 0;
5445 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5446 bool arg2
= (bool) true ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 char * kwnames
[] = {
5454 (char *) "self",(char *) "iconize", NULL
5457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5459 if (!SWIG_IsOK(res1
)) {
5460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5462 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5464 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5465 if (!SWIG_IsOK(ecode2
)) {
5466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5468 arg2
= static_cast< bool >(val2
);
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 (arg1
)->Iconize(arg2
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_Py_Void();
5483 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5484 PyObject
*resultobj
= 0;
5485 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5489 PyObject
*swig_obj
[1] ;
5491 if (!args
) SWIG_fail
;
5493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5494 if (!SWIG_IsOK(res1
)) {
5495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5497 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5513 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5514 PyObject
*resultobj
= 0;
5515 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5519 PyObject
*swig_obj
[1] ;
5521 if (!args
) SWIG_fail
;
5523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5524 if (!SWIG_IsOK(res1
)) {
5525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5527 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5543 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5544 PyObject
*resultobj
= 0;
5545 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5549 PyObject
*swig_obj
[1] ;
5551 if (!args
) SWIG_fail
;
5553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5554 if (!SWIG_IsOK(res1
)) {
5555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5557 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5573 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5574 PyObject
*resultobj
= 0;
5575 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5579 PyObject
*swig_obj
[1] ;
5581 if (!args
) SWIG_fail
;
5583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5584 if (!SWIG_IsOK(res1
)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5587 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5601 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
= 0;
5603 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5611 char * kwnames
[] = {
5612 (char *) "self",(char *) "icon", NULL
5615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5617 if (!SWIG_IsOK(res1
)) {
5618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5620 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5622 if (!SWIG_IsOK(res2
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5628 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= SWIG_Py_Void();
5642 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
= 0;
5644 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5645 wxIconBundle
*arg2
= 0 ;
5650 PyObject
* obj0
= 0 ;
5651 PyObject
* obj1
= 0 ;
5652 char * kwnames
[] = {
5653 (char *) "self",(char *) "icons", NULL
5656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5658 if (!SWIG_IsOK(res1
)) {
5659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5661 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5663 if (!SWIG_IsOK(res2
)) {
5664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5669 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_Py_Void();
5683 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
= 0;
5685 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5687 long arg3
= (long) wxFULLSCREEN_ALL
;
5695 PyObject
* obj0
= 0 ;
5696 PyObject
* obj1
= 0 ;
5697 PyObject
* obj2
= 0 ;
5698 char * kwnames
[] = {
5699 (char *) "self",(char *) "show",(char *) "style", NULL
5702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5704 if (!SWIG_IsOK(res1
)) {
5705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5707 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5708 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5709 if (!SWIG_IsOK(ecode2
)) {
5710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5712 arg2
= static_cast< bool >(val2
);
5714 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5715 if (!SWIG_IsOK(ecode3
)) {
5716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5718 arg3
= static_cast< long >(val3
);
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5735 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5736 PyObject
*resultobj
= 0;
5737 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5741 PyObject
*swig_obj
[1] ;
5743 if (!args
) SWIG_fail
;
5745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5746 if (!SWIG_IsOK(res1
)) {
5747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5749 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5765 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
= 0;
5767 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5768 wxString
*arg2
= 0 ;
5771 bool temp2
= false ;
5772 PyObject
* obj0
= 0 ;
5773 PyObject
* obj1
= 0 ;
5774 char * kwnames
[] = {
5775 (char *) "self",(char *) "title", NULL
5778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5780 if (!SWIG_IsOK(res1
)) {
5781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5783 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5785 arg2
= wxString_in_helper(obj1
);
5786 if (arg2
== NULL
) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 (arg1
)->SetTitle((wxString
const &)*arg2
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= SWIG_Py_Void();
5810 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5811 PyObject
*resultobj
= 0;
5812 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5816 PyObject
*swig_obj
[1] ;
5818 if (!args
) SWIG_fail
;
5820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5821 if (!SWIG_IsOK(res1
)) {
5822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5824 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5844 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
= 0;
5846 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5847 wxRegion
*arg2
= 0 ;
5853 PyObject
* obj0
= 0 ;
5854 PyObject
* obj1
= 0 ;
5855 char * kwnames
[] = {
5856 (char *) "self",(char *) "region", NULL
5859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5861 if (!SWIG_IsOK(res1
)) {
5862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5864 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5866 if (!SWIG_IsOK(res2
)) {
5867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5872 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5888 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
= 0;
5890 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5891 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5898 char * kwnames
[] = {
5899 (char *) "self",(char *) "flags", NULL
5902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5904 if (!SWIG_IsOK(res1
)) {
5905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5907 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5910 if (!SWIG_IsOK(ecode2
)) {
5911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5913 arg2
= static_cast< int >(val2
);
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 (arg1
)->RequestUserAttention(arg2
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_Py_Void();
5928 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5929 PyObject
*resultobj
= 0;
5930 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5934 PyObject
*swig_obj
[1] ;
5936 if (!args
) SWIG_fail
;
5938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5939 if (!SWIG_IsOK(res1
)) {
5940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5942 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (bool)(arg1
)->IsActive();
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5958 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
= 0;
5960 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5967 PyObject
* obj1
= 0 ;
5968 char * kwnames
[] = {
5969 (char *) "self",(char *) "on", NULL
5972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5974 if (!SWIG_IsOK(res1
)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5977 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5978 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5979 if (!SWIG_IsOK(ecode2
)) {
5980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5982 arg2
= static_cast< bool >(val2
);
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_Py_Void();
5996 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5997 PyObject
*resultobj
= 0;
5998 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6002 PyObject
*swig_obj
[1] ;
6004 if (!args
) SWIG_fail
;
6006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6007 if (!SWIG_IsOK(res1
)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6010 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6026 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
*resultobj
= 0;
6028 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6029 int arg2
= (int) wxBOTH
;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6036 char * kwnames
[] = {
6037 (char *) "self",(char *) "dir", NULL
6040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6042 if (!SWIG_IsOK(res1
)) {
6043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6045 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6048 if (!SWIG_IsOK(ecode2
)) {
6049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6051 arg2
= static_cast< int >(val2
);
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 (arg1
)->CenterOnScreen(arg2
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_Py_Void();
6066 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
= 0;
6068 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6069 bool arg2
= (bool) true ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6077 char * kwnames
[] = {
6078 (char *) "self",(char *) "enable", NULL
6081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6083 if (!SWIG_IsOK(res1
)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6086 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6088 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6089 if (!SWIG_IsOK(ecode2
)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6092 arg2
= static_cast< bool >(val2
);
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (bool)wxTopLevelWindow_EnableCloseButton(arg1
,arg2
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6109 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
= 0;
6111 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6116 unsigned char val2
;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6120 char * kwnames
[] = {
6121 (char *) "self",(char *) "alpha", NULL
6124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6126 if (!SWIG_IsOK(res1
)) {
6127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6129 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6130 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
6131 if (!SWIG_IsOK(ecode2
)) {
6132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6134 arg2
= static_cast< byte
>(val2
);
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (bool)(arg1
)->SetTransparent(arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6150 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6151 PyObject
*resultobj
= 0;
6152 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6156 PyObject
*swig_obj
[1] ;
6158 if (!args
) SWIG_fail
;
6160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6161 if (!SWIG_IsOK(res1
)) {
6162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6164 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (bool)(arg1
)->CanSetTransparent();
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6180 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6181 PyObject
*resultobj
= 0;
6182 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6183 wxWindow
*result
= 0 ;
6186 PyObject
*swig_obj
[1] ;
6188 if (!args
) SWIG_fail
;
6190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6191 if (!SWIG_IsOK(res1
)) {
6192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6194 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= wxPyMake_wxObject(result
, 0);
6210 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
= 0;
6212 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6213 wxWindow
*arg2
= (wxWindow
*) 0 ;
6214 wxWindow
*result
= 0 ;
6219 PyObject
* obj0
= 0 ;
6220 PyObject
* obj1
= 0 ;
6221 char * kwnames
[] = {
6222 (char *) "self",(char *) "child", NULL
6225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6227 if (!SWIG_IsOK(res1
)) {
6228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6230 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6232 if (!SWIG_IsOK(res2
)) {
6233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6235 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= wxPyMake_wxObject(result
, 0);
6251 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
= 0;
6253 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6254 wxWindow
*arg2
= (wxWindow
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6261 char * kwnames
[] = {
6262 (char *) "self",(char *) "win", NULL
6265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6267 if (!SWIG_IsOK(res1
)) {
6268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6270 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6271 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6272 if (!SWIG_IsOK(res2
)) {
6273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6275 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 (arg1
)->SetTmpDefaultItem(arg2
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= SWIG_Py_Void();
6289 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6290 PyObject
*resultobj
= 0;
6291 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6292 wxWindow
*result
= 0 ;
6295 PyObject
*swig_obj
[1] ;
6297 if (!args
) SWIG_fail
;
6299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6300 if (!SWIG_IsOK(res1
)) {
6301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6303 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= wxPyMake_wxObject(result
, 0);
6319 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6322 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6323 return SWIG_Py_Void();
6326 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
= 0;
6328 wxWindow
*arg1
= (wxWindow
*) 0 ;
6329 int arg2
= (int) (int)-1 ;
6330 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6331 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6332 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6333 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6334 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6335 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6336 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6337 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6338 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6339 wxFrame
*result
= 0 ;
6344 bool temp3
= false ;
6349 bool temp7
= false ;
6350 PyObject
* obj0
= 0 ;
6351 PyObject
* obj1
= 0 ;
6352 PyObject
* obj2
= 0 ;
6353 PyObject
* obj3
= 0 ;
6354 PyObject
* obj4
= 0 ;
6355 PyObject
* obj5
= 0 ;
6356 PyObject
* obj6
= 0 ;
6357 char * kwnames
[] = {
6358 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6363 if (!SWIG_IsOK(res1
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6366 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6369 if (!SWIG_IsOK(ecode2
)) {
6370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6372 arg2
= static_cast< int >(val2
);
6376 arg3
= wxString_in_helper(obj2
);
6377 if (arg3
== NULL
) SWIG_fail
;
6384 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6390 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6394 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6395 if (!SWIG_IsOK(ecode6
)) {
6396 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6398 arg6
= static_cast< long >(val6
);
6402 arg7
= wxString_in_helper(obj6
);
6403 if (arg7
== NULL
) SWIG_fail
;
6408 if (!wxPyCheckForApp()) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6437 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6438 PyObject
*resultobj
= 0;
6439 wxFrame
*result
= 0 ;
6441 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6443 if (!wxPyCheckForApp()) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= (wxFrame
*)new wxFrame();
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6456 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
= 0;
6458 wxFrame
*arg1
= (wxFrame
*) 0 ;
6459 wxWindow
*arg2
= (wxWindow
*) 0 ;
6460 int arg3
= (int) (int)-1 ;
6461 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6462 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6463 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6464 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6465 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6466 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6467 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6468 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6477 bool temp4
= false ;
6482 bool temp8
= false ;
6483 PyObject
* obj0
= 0 ;
6484 PyObject
* obj1
= 0 ;
6485 PyObject
* obj2
= 0 ;
6486 PyObject
* obj3
= 0 ;
6487 PyObject
* obj4
= 0 ;
6488 PyObject
* obj5
= 0 ;
6489 PyObject
* obj6
= 0 ;
6490 PyObject
* obj7
= 0 ;
6491 char * kwnames
[] = {
6492 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6497 if (!SWIG_IsOK(res1
)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6500 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6501 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6502 if (!SWIG_IsOK(res2
)) {
6503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6505 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6508 if (!SWIG_IsOK(ecode3
)) {
6509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6511 arg3
= static_cast< int >(val3
);
6515 arg4
= wxString_in_helper(obj3
);
6516 if (arg4
== NULL
) SWIG_fail
;
6523 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6529 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6533 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6534 if (!SWIG_IsOK(ecode7
)) {
6535 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6537 arg7
= static_cast< long >(val7
);
6541 arg8
= wxString_in_helper(obj7
);
6542 if (arg8
== NULL
) SWIG_fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6577 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6578 PyObject
*resultobj
= 0;
6579 wxFrame
*arg1
= (wxFrame
*) 0 ;
6582 PyObject
*swig_obj
[1] ;
6584 if (!args
) SWIG_fail
;
6586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6587 if (!SWIG_IsOK(res1
)) {
6588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6590 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 (arg1
)->SendSizeEvent();
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= SWIG_Py_Void();
6604 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
= 0;
6606 wxFrame
*arg1
= (wxFrame
*) 0 ;
6607 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6614 char * kwnames
[] = {
6615 (char *) "self",(char *) "menubar", NULL
6618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6620 if (!SWIG_IsOK(res1
)) {
6621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6623 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6625 if (!SWIG_IsOK(res2
)) {
6626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6628 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 (arg1
)->SetMenuBar(arg2
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= SWIG_Py_Void();
6642 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6643 PyObject
*resultobj
= 0;
6644 wxFrame
*arg1
= (wxFrame
*) 0 ;
6645 wxMenuBar
*result
= 0 ;
6648 PyObject
*swig_obj
[1] ;
6650 if (!args
) SWIG_fail
;
6652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6653 if (!SWIG_IsOK(res1
)) {
6654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6656 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= wxPyMake_wxObject(result
, 0);
6672 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
= 0;
6674 wxFrame
*arg1
= (wxFrame
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 char * kwnames
[] = {
6684 (char *) "self",(char *) "winid", NULL
6687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6692 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6694 if (!SWIG_IsOK(ecode2
)) {
6695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6697 arg2
= static_cast< int >(val2
);
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6713 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
= 0;
6715 wxFrame
*arg1
= (wxFrame
*) 0 ;
6716 int arg2
= (int) 1 ;
6717 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6718 int arg4
= (int) 0 ;
6719 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6720 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6721 wxStatusBar
*result
= 0 ;
6730 bool temp5
= false ;
6731 PyObject
* obj0
= 0 ;
6732 PyObject
* obj1
= 0 ;
6733 PyObject
* obj2
= 0 ;
6734 PyObject
* obj3
= 0 ;
6735 PyObject
* obj4
= 0 ;
6736 char * kwnames
[] = {
6737 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6742 if (!SWIG_IsOK(res1
)) {
6743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6745 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6748 if (!SWIG_IsOK(ecode2
)) {
6749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6751 arg2
= static_cast< int >(val2
);
6754 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6755 if (!SWIG_IsOK(ecode3
)) {
6756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6758 arg3
= static_cast< long >(val3
);
6761 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6762 if (!SWIG_IsOK(ecode4
)) {
6763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6765 arg4
= static_cast< int >(val4
);
6769 arg5
= wxString_in_helper(obj4
);
6770 if (arg5
== NULL
) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6797 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6798 PyObject
*resultobj
= 0;
6799 wxFrame
*arg1
= (wxFrame
*) 0 ;
6800 wxStatusBar
*result
= 0 ;
6803 PyObject
*swig_obj
[1] ;
6805 if (!args
) SWIG_fail
;
6807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6808 if (!SWIG_IsOK(res1
)) {
6809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6811 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6827 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
= 0;
6829 wxFrame
*arg1
= (wxFrame
*) 0 ;
6830 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6837 char * kwnames
[] = {
6838 (char *) "self",(char *) "statBar", NULL
6841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6843 if (!SWIG_IsOK(res1
)) {
6844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6846 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6848 if (!SWIG_IsOK(res2
)) {
6849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6851 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 (arg1
)->SetStatusBar(arg2
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= SWIG_Py_Void();
6865 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
= 0;
6867 wxFrame
*arg1
= (wxFrame
*) 0 ;
6868 wxString
*arg2
= 0 ;
6869 int arg3
= (int) 0 ;
6872 bool temp2
= false ;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6877 PyObject
* obj2
= 0 ;
6878 char * kwnames
[] = {
6879 (char *) "self",(char *) "text",(char *) "number", NULL
6882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6884 if (!SWIG_IsOK(res1
)) {
6885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6887 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6889 arg2
= wxString_in_helper(obj1
);
6890 if (arg2
== NULL
) SWIG_fail
;
6894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6895 if (!SWIG_IsOK(ecode3
)) {
6896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6898 arg3
= static_cast< int >(val3
);
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= SWIG_Py_Void();
6921 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
= 0;
6923 wxFrame
*arg1
= (wxFrame
*) 0 ;
6925 int *arg3
= (int *) 0 ;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6930 char * kwnames
[] = {
6931 (char *) "self",(char *) "widths", NULL
6934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6936 if (!SWIG_IsOK(res1
)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6939 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6941 arg2
= PyList_Size(obj1
);
6942 arg3
= int_LIST_helper(obj1
);
6943 if (arg3
== NULL
) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= SWIG_Py_Void();
6953 if (arg3
) delete [] arg3
;
6958 if (arg3
) delete [] arg3
;
6964 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
= 0;
6966 wxFrame
*arg1
= (wxFrame
*) 0 ;
6967 wxString
*arg2
= 0 ;
6968 int arg3
= (int) 0 ;
6971 bool temp2
= false ;
6974 PyObject
* obj0
= 0 ;
6975 PyObject
* obj1
= 0 ;
6976 PyObject
* obj2
= 0 ;
6977 char * kwnames
[] = {
6978 (char *) "self",(char *) "text",(char *) "number", NULL
6981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6983 if (!SWIG_IsOK(res1
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6986 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6988 arg2
= wxString_in_helper(obj1
);
6989 if (arg2
== NULL
) SWIG_fail
;
6993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6994 if (!SWIG_IsOK(ecode3
)) {
6995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6997 arg3
= static_cast< int >(val3
);
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= SWIG_Py_Void();
7020 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
= 0;
7022 wxFrame
*arg1
= (wxFrame
*) 0 ;
7023 int arg2
= (int) 0 ;
7028 PyObject
* obj0
= 0 ;
7029 PyObject
* obj1
= 0 ;
7030 char * kwnames
[] = {
7031 (char *) "self",(char *) "number", NULL
7034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7036 if (!SWIG_IsOK(res1
)) {
7037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7039 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7042 if (!SWIG_IsOK(ecode2
)) {
7043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7045 arg2
= static_cast< int >(val2
);
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 (arg1
)->PopStatusText(arg2
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_Py_Void();
7060 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
= 0;
7062 wxFrame
*arg1
= (wxFrame
*) 0 ;
7068 PyObject
* obj0
= 0 ;
7069 PyObject
* obj1
= 0 ;
7070 char * kwnames
[] = {
7071 (char *) "self",(char *) "n", NULL
7074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7076 if (!SWIG_IsOK(res1
)) {
7077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7079 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7081 if (!SWIG_IsOK(ecode2
)) {
7082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7084 arg2
= static_cast< int >(val2
);
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 (arg1
)->SetStatusBarPane(arg2
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_Py_Void();
7098 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7100 wxFrame
*arg1
= (wxFrame
*) 0 ;
7104 PyObject
*swig_obj
[1] ;
7106 if (!args
) SWIG_fail
;
7108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7109 if (!SWIG_IsOK(res1
)) {
7110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7112 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_From_int(static_cast< int >(result
));
7126 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
= 0;
7128 wxFrame
*arg1
= (wxFrame
*) 0 ;
7129 long arg2
= (long) -1 ;
7130 int arg3
= (int) -1 ;
7131 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7132 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7133 wxToolBar
*result
= 0 ;
7140 bool temp4
= false ;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7143 PyObject
* obj2
= 0 ;
7144 PyObject
* obj3
= 0 ;
7145 char * kwnames
[] = {
7146 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7151 if (!SWIG_IsOK(res1
)) {
7152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7154 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7156 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7157 if (!SWIG_IsOK(ecode2
)) {
7158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7160 arg2
= static_cast< long >(val2
);
7163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7164 if (!SWIG_IsOK(ecode3
)) {
7165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7167 arg3
= static_cast< int >(val3
);
7171 arg4
= wxString_in_helper(obj3
);
7172 if (arg4
== NULL
) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7199 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7200 PyObject
*resultobj
= 0;
7201 wxFrame
*arg1
= (wxFrame
*) 0 ;
7202 wxToolBar
*result
= 0 ;
7205 PyObject
*swig_obj
[1] ;
7207 if (!args
) SWIG_fail
;
7209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7210 if (!SWIG_IsOK(res1
)) {
7211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7213 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7221 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7229 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
= 0;
7231 wxFrame
*arg1
= (wxFrame
*) 0 ;
7232 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7239 char * kwnames
[] = {
7240 (char *) "self",(char *) "toolbar", NULL
7243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7245 if (!SWIG_IsOK(res1
)) {
7246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7248 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7250 if (!SWIG_IsOK(res2
)) {
7251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7253 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 (arg1
)->SetToolBar(arg2
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 resultobj
= SWIG_Py_Void();
7267 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
= 0;
7269 wxFrame
*arg1
= (wxFrame
*) 0 ;
7270 wxString
*arg2
= 0 ;
7274 bool temp2
= false ;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7279 PyObject
* obj2
= 0 ;
7280 char * kwnames
[] = {
7281 (char *) "self",(char *) "text",(char *) "show", NULL
7284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7286 if (!SWIG_IsOK(res1
)) {
7287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7289 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7291 arg2
= wxString_in_helper(obj1
);
7292 if (arg2
== NULL
) SWIG_fail
;
7295 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7296 if (!SWIG_IsOK(ecode3
)) {
7297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7299 arg3
= static_cast< bool >(val3
);
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 resultobj
= SWIG_Py_Void();
7321 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
= 0;
7323 wxFrame
*arg1
= (wxFrame
*) 0 ;
7324 wxMenu
*arg2
= (wxMenu
*) NULL
;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7331 char * kwnames
[] = {
7332 (char *) "self",(char *) "menu", NULL
7335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7337 if (!SWIG_IsOK(res1
)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7340 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7342 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7343 if (!SWIG_IsOK(res2
)) {
7344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7346 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 (arg1
)->DoMenuUpdates(arg2
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 resultobj
= SWIG_Py_Void();
7361 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
= 0;
7363 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7364 SwigValueWrapper
<wxVisualAttributes
> result
;
7367 PyObject
* obj0
= 0 ;
7368 char * kwnames
[] = {
7369 (char *) "variant", NULL
7372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7374 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7375 if (!SWIG_IsOK(ecode1
)) {
7376 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7378 arg1
= static_cast< wxWindowVariant
>(val1
);
7381 if (!wxPyCheckForApp()) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7394 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7397 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7398 return SWIG_Py_Void();
7401 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7402 return SWIG_Python_InitShadowInstance(args
);
7405 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
= 0;
7407 wxWindow
*arg1
= (wxWindow
*) 0 ;
7408 int arg2
= (int) (int)-1 ;
7409 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7410 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7411 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7412 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7413 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7414 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7415 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7416 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7417 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7418 wxDialog
*result
= 0 ;
7423 bool temp3
= false ;
7428 bool temp7
= false ;
7429 PyObject
* obj0
= 0 ;
7430 PyObject
* obj1
= 0 ;
7431 PyObject
* obj2
= 0 ;
7432 PyObject
* obj3
= 0 ;
7433 PyObject
* obj4
= 0 ;
7434 PyObject
* obj5
= 0 ;
7435 PyObject
* obj6
= 0 ;
7436 char * kwnames
[] = {
7437 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7442 if (!SWIG_IsOK(res1
)) {
7443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7445 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7448 if (!SWIG_IsOK(ecode2
)) {
7449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7451 arg2
= static_cast< int >(val2
);
7455 arg3
= wxString_in_helper(obj2
);
7456 if (arg3
== NULL
) SWIG_fail
;
7463 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7469 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7473 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7474 if (!SWIG_IsOK(ecode6
)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7477 arg6
= static_cast< long >(val6
);
7481 arg7
= wxString_in_helper(obj6
);
7482 if (arg7
== NULL
) SWIG_fail
;
7487 if (!wxPyCheckForApp()) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7516 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7517 PyObject
*resultobj
= 0;
7518 wxDialog
*result
= 0 ;
7520 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7522 if (!wxPyCheckForApp()) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (wxDialog
*)new wxDialog();
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7535 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
= 0;
7537 wxDialog
*arg1
= (wxDialog
*) 0 ;
7538 wxWindow
*arg2
= (wxWindow
*) 0 ;
7539 int arg3
= (int) (int)-1 ;
7540 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7541 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7542 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7543 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7544 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7545 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7546 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7547 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7548 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7556 bool temp4
= false ;
7561 bool temp8
= false ;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7564 PyObject
* obj2
= 0 ;
7565 PyObject
* obj3
= 0 ;
7566 PyObject
* obj4
= 0 ;
7567 PyObject
* obj5
= 0 ;
7568 PyObject
* obj6
= 0 ;
7569 PyObject
* obj7
= 0 ;
7570 char * kwnames
[] = {
7571 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7576 if (!SWIG_IsOK(res1
)) {
7577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7579 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7580 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7581 if (!SWIG_IsOK(res2
)) {
7582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7584 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7587 if (!SWIG_IsOK(ecode3
)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7590 arg3
= static_cast< int >(val3
);
7594 arg4
= wxString_in_helper(obj3
);
7595 if (arg4
== NULL
) SWIG_fail
;
7602 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7608 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7612 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7613 if (!SWIG_IsOK(ecode7
)) {
7614 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7616 arg7
= static_cast< long >(val7
);
7620 arg8
= wxString_in_helper(obj7
);
7621 if (arg8
== NULL
) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7656 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
= 0;
7658 wxDialog
*arg1
= (wxDialog
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7665 PyObject
* obj1
= 0 ;
7666 char * kwnames
[] = {
7667 (char *) "self",(char *) "returnCode", NULL
7670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7672 if (!SWIG_IsOK(res1
)) {
7673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7675 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7677 if (!SWIG_IsOK(ecode2
)) {
7678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7680 arg2
= static_cast< int >(val2
);
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 (arg1
)->SetReturnCode(arg2
);
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= SWIG_Py_Void();
7694 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7695 PyObject
*resultobj
= 0;
7696 wxDialog
*arg1
= (wxDialog
*) 0 ;
7700 PyObject
*swig_obj
[1] ;
7702 if (!args
) SWIG_fail
;
7704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7705 if (!SWIG_IsOK(res1
)) {
7706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7708 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7715 resultobj
= SWIG_From_int(static_cast< int >(result
));
7722 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
*resultobj
= 0;
7724 wxDialog
*arg1
= (wxDialog
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7731 PyObject
* obj1
= 0 ;
7732 char * kwnames
[] = {
7733 (char *) "self",(char *) "affirmativeId", NULL
7736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7738 if (!SWIG_IsOK(res1
)) {
7739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7741 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7743 if (!SWIG_IsOK(ecode2
)) {
7744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7746 arg2
= static_cast< int >(val2
);
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 (arg1
)->SetAffirmativeId(arg2
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= SWIG_Py_Void();
7760 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7761 PyObject
*resultobj
= 0;
7762 wxDialog
*arg1
= (wxDialog
*) 0 ;
7766 PyObject
*swig_obj
[1] ;
7768 if (!args
) SWIG_fail
;
7770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7771 if (!SWIG_IsOK(res1
)) {
7772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7774 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_From_int(static_cast< int >(result
));
7788 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
= 0;
7790 wxDialog
*arg1
= (wxDialog
*) 0 ;
7796 PyObject
* obj0
= 0 ;
7797 PyObject
* obj1
= 0 ;
7798 char * kwnames
[] = {
7799 (char *) "self",(char *) "escapeId", NULL
7802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7804 if (!SWIG_IsOK(res1
)) {
7805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7807 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7809 if (!SWIG_IsOK(ecode2
)) {
7810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7812 arg2
= static_cast< int >(val2
);
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 (arg1
)->SetEscapeId(arg2
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_Py_Void();
7826 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7827 PyObject
*resultobj
= 0;
7828 wxDialog
*arg1
= (wxDialog
*) 0 ;
7832 PyObject
*swig_obj
[1] ;
7834 if (!args
) SWIG_fail
;
7836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7837 if (!SWIG_IsOK(res1
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7840 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_From_int(static_cast< int >(result
));
7854 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
= 0;
7856 wxDialog
*arg1
= (wxDialog
*) 0 ;
7857 wxString
*arg2
= 0 ;
7858 wxSizer
*result
= 0 ;
7861 bool temp2
= false ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7864 char * kwnames
[] = {
7865 (char *) "self",(char *) "message", NULL
7868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7870 if (!SWIG_IsOK(res1
)) {
7871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7873 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7875 arg2
= wxString_in_helper(obj1
);
7876 if (arg2
== NULL
) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7902 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
= 0;
7904 wxDialog
*arg1
= (wxDialog
*) 0 ;
7906 bool arg3
= (bool) false ;
7907 int arg4
= (int) 0 ;
7908 wxSizer
*result
= 0 ;
7917 PyObject
* obj0
= 0 ;
7918 PyObject
* obj1
= 0 ;
7919 PyObject
* obj2
= 0 ;
7920 PyObject
* obj3
= 0 ;
7921 char * kwnames
[] = {
7922 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7927 if (!SWIG_IsOK(res1
)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7930 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7931 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7932 if (!SWIG_IsOK(ecode2
)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7935 arg2
= static_cast< long >(val2
);
7937 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7938 if (!SWIG_IsOK(ecode3
)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7941 arg3
= static_cast< bool >(val3
);
7944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7945 if (!SWIG_IsOK(ecode4
)) {
7946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7948 arg4
= static_cast< int >(val4
);
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7957 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7965 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
= 0;
7967 wxDialog
*arg1
= (wxDialog
*) 0 ;
7969 wxStdDialogButtonSizer
*result
= 0 ;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7976 char * kwnames
[] = {
7977 (char *) "self",(char *) "flags", NULL
7980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7982 if (!SWIG_IsOK(res1
)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7985 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7986 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7987 if (!SWIG_IsOK(ecode2
)) {
7988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7990 arg2
= static_cast< long >(val2
);
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
8004 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8005 PyObject
*resultobj
= 0;
8006 wxDialog
*arg1
= (wxDialog
*) 0 ;
8010 PyObject
*swig_obj
[1] ;
8012 if (!args
) SWIG_fail
;
8014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8015 if (!SWIG_IsOK(res1
)) {
8016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8018 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8034 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8035 PyObject
*resultobj
= 0;
8036 wxDialog
*arg1
= (wxDialog
*) 0 ;
8040 PyObject
*swig_obj
[1] ;
8042 if (!args
) SWIG_fail
;
8044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8045 if (!SWIG_IsOK(res1
)) {
8046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8048 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= (int)(arg1
)->ShowModal();
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= SWIG_From_int(static_cast< int >(result
));
8062 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
= 0;
8064 wxDialog
*arg1
= (wxDialog
*) 0 ;
8070 PyObject
* obj0
= 0 ;
8071 PyObject
* obj1
= 0 ;
8072 char * kwnames
[] = {
8073 (char *) "self",(char *) "retCode", NULL
8076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8078 if (!SWIG_IsOK(res1
)) {
8079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8081 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8083 if (!SWIG_IsOK(ecode2
)) {
8084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8086 arg2
= static_cast< int >(val2
);
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 (arg1
)->EndModal(arg2
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= SWIG_Py_Void();
8100 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
= 0;
8102 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8103 SwigValueWrapper
<wxVisualAttributes
> result
;
8106 PyObject
* obj0
= 0 ;
8107 char * kwnames
[] = {
8108 (char *) "variant", NULL
8111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8114 if (!SWIG_IsOK(ecode1
)) {
8115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8117 arg1
= static_cast< wxWindowVariant
>(val1
);
8120 if (!wxPyCheckForApp()) SWIG_fail
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8133 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8136 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8137 return SWIG_Py_Void();
8140 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8141 return SWIG_Python_InitShadowInstance(args
);
8144 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
= 0;
8146 wxWindow
*arg1
= (wxWindow
*) 0 ;
8147 int arg2
= (int) (int)-1 ;
8148 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8149 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8154 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8155 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8157 wxMiniFrame
*result
= 0 ;
8162 bool temp3
= false ;
8167 bool temp7
= false ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8170 PyObject
* obj2
= 0 ;
8171 PyObject
* obj3
= 0 ;
8172 PyObject
* obj4
= 0 ;
8173 PyObject
* obj5
= 0 ;
8174 PyObject
* obj6
= 0 ;
8175 char * kwnames
[] = {
8176 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8181 if (!SWIG_IsOK(res1
)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8184 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8187 if (!SWIG_IsOK(ecode2
)) {
8188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8190 arg2
= static_cast< int >(val2
);
8194 arg3
= wxString_in_helper(obj2
);
8195 if (arg3
== NULL
) SWIG_fail
;
8202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8212 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8213 if (!SWIG_IsOK(ecode6
)) {
8214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8216 arg6
= static_cast< long >(val6
);
8220 arg7
= wxString_in_helper(obj6
);
8221 if (arg7
== NULL
) SWIG_fail
;
8226 if (!wxPyCheckForApp()) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8255 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8256 PyObject
*resultobj
= 0;
8257 wxMiniFrame
*result
= 0 ;
8259 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8261 if (!wxPyCheckForApp()) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 result
= (wxMiniFrame
*)new wxMiniFrame();
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8274 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
= 0;
8276 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8277 wxWindow
*arg2
= (wxWindow
*) 0 ;
8278 int arg3
= (int) (int)-1 ;
8279 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8280 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8281 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8282 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8283 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8284 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8285 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8286 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8287 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8295 bool temp4
= false ;
8300 bool temp8
= false ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 PyObject
* obj2
= 0 ;
8304 PyObject
* obj3
= 0 ;
8305 PyObject
* obj4
= 0 ;
8306 PyObject
* obj5
= 0 ;
8307 PyObject
* obj6
= 0 ;
8308 PyObject
* obj7
= 0 ;
8309 char * kwnames
[] = {
8310 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8315 if (!SWIG_IsOK(res1
)) {
8316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8318 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8320 if (!SWIG_IsOK(res2
)) {
8321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8323 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8326 if (!SWIG_IsOK(ecode3
)) {
8327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8329 arg3
= static_cast< int >(val3
);
8333 arg4
= wxString_in_helper(obj3
);
8334 if (arg4
== NULL
) SWIG_fail
;
8341 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8347 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8351 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8352 if (!SWIG_IsOK(ecode7
)) {
8353 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8355 arg7
= static_cast< long >(val7
);
8359 arg8
= wxString_in_helper(obj7
);
8360 if (arg8
== NULL
) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8395 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8398 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8399 return SWIG_Py_Void();
8402 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8403 return SWIG_Python_InitShadowInstance(args
);
8406 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
= 0;
8408 wxBitmap
*arg1
= 0 ;
8409 wxWindow
*arg2
= (wxWindow
*) 0 ;
8411 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8412 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8413 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8414 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8415 long arg6
= (long) wxNO_BORDER
;
8416 wxSplashScreenWindow
*result
= 0 ;
8427 PyObject
* obj0
= 0 ;
8428 PyObject
* obj1
= 0 ;
8429 PyObject
* obj2
= 0 ;
8430 PyObject
* obj3
= 0 ;
8431 PyObject
* obj4
= 0 ;
8432 PyObject
* obj5
= 0 ;
8433 char * kwnames
[] = {
8434 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8438 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8439 if (!SWIG_IsOK(res1
)) {
8440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8445 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8447 if (!SWIG_IsOK(res2
)) {
8448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8450 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8452 if (!SWIG_IsOK(ecode3
)) {
8453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8455 arg3
= static_cast< int >(val3
);
8459 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8465 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8469 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8470 if (!SWIG_IsOK(ecode6
)) {
8471 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8473 arg6
= static_cast< long >(val6
);
8476 if (!wxPyCheckForApp()) SWIG_fail
;
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8489 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
= 0;
8491 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8492 wxBitmap
*arg2
= 0 ;
8497 PyObject
* obj0
= 0 ;
8498 PyObject
* obj1
= 0 ;
8499 char * kwnames
[] = {
8500 (char *) "self",(char *) "bitmap", NULL
8503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8505 if (!SWIG_IsOK(res1
)) {
8506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8508 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8510 if (!SWIG_IsOK(res2
)) {
8511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8516 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= SWIG_Py_Void();
8530 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8531 PyObject
*resultobj
= 0;
8532 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8533 wxBitmap
*result
= 0 ;
8536 PyObject
*swig_obj
[1] ;
8538 if (!args
) SWIG_fail
;
8540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8541 if (!SWIG_IsOK(res1
)) {
8542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8544 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8549 result
= (wxBitmap
*) &_result_ref
;
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8555 wxBitmap
* resultptr
= new wxBitmap(*result
);
8556 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8564 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8567 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8568 return SWIG_Py_Void();
8571 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8572 return SWIG_Python_InitShadowInstance(args
);
8575 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
= 0;
8577 wxBitmap
*arg1
= 0 ;
8580 wxWindow
*arg4
= (wxWindow
*) 0 ;
8581 int arg5
= (int) -1 ;
8582 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8583 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8584 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8585 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8586 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8587 wxSplashScreen
*result
= 0 ;
8602 PyObject
* obj0
= 0 ;
8603 PyObject
* obj1
= 0 ;
8604 PyObject
* obj2
= 0 ;
8605 PyObject
* obj3
= 0 ;
8606 PyObject
* obj4
= 0 ;
8607 PyObject
* obj5
= 0 ;
8608 PyObject
* obj6
= 0 ;
8609 PyObject
* obj7
= 0 ;
8610 char * kwnames
[] = {
8611 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8615 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8616 if (!SWIG_IsOK(res1
)) {
8617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8622 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8623 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8624 if (!SWIG_IsOK(ecode2
)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8627 arg2
= static_cast< long >(val2
);
8628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8629 if (!SWIG_IsOK(ecode3
)) {
8630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8632 arg3
= static_cast< int >(val3
);
8633 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8634 if (!SWIG_IsOK(res4
)) {
8635 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8637 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8639 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8640 if (!SWIG_IsOK(ecode5
)) {
8641 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8643 arg5
= static_cast< int >(val5
);
8648 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8654 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8658 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8659 if (!SWIG_IsOK(ecode8
)) {
8660 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8662 arg8
= static_cast< long >(val8
);
8665 if (!wxPyCheckForApp()) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8678 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8679 PyObject
*resultobj
= 0;
8680 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8684 PyObject
*swig_obj
[1] ;
8686 if (!args
) SWIG_fail
;
8688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8689 if (!SWIG_IsOK(res1
)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8692 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_From_long(static_cast< long >(result
));
8706 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8707 PyObject
*resultobj
= 0;
8708 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8709 wxSplashScreenWindow
*result
= 0 ;
8712 PyObject
*swig_obj
[1] ;
8714 if (!args
) SWIG_fail
;
8716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8717 if (!SWIG_IsOK(res1
)) {
8718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8720 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8734 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8735 PyObject
*resultobj
= 0;
8736 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8740 PyObject
*swig_obj
[1] ;
8742 if (!args
) SWIG_fail
;
8744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8745 if (!SWIG_IsOK(res1
)) {
8746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8748 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= SWIG_From_int(static_cast< int >(result
));
8762 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8765 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8766 return SWIG_Py_Void();
8769 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8770 return SWIG_Python_InitShadowInstance(args
);
8773 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
= 0;
8775 wxWindow
*arg1
= (wxWindow
*) 0 ;
8776 int arg2
= (int) -1 ;
8777 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8778 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8779 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8780 wxStatusBar
*result
= 0 ;
8787 bool temp4
= false ;
8788 PyObject
* obj0
= 0 ;
8789 PyObject
* obj1
= 0 ;
8790 PyObject
* obj2
= 0 ;
8791 PyObject
* obj3
= 0 ;
8792 char * kwnames
[] = {
8793 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8798 if (!SWIG_IsOK(res1
)) {
8799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8801 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8804 if (!SWIG_IsOK(ecode2
)) {
8805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8807 arg2
= static_cast< int >(val2
);
8810 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8811 if (!SWIG_IsOK(ecode3
)) {
8812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8814 arg3
= static_cast< long >(val3
);
8818 arg4
= wxString_in_helper(obj3
);
8819 if (arg4
== NULL
) SWIG_fail
;
8824 if (!wxPyCheckForApp()) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8845 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8846 PyObject
*resultobj
= 0;
8847 wxStatusBar
*result
= 0 ;
8849 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8851 if (!wxPyCheckForApp()) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (wxStatusBar
*)new wxStatusBar();
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8864 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
= 0;
8866 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8867 wxWindow
*arg2
= (wxWindow
*) 0 ;
8868 int arg3
= (int) -1 ;
8869 long arg4
= (long) wxST_SIZEGRIP
;
8870 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8871 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8881 bool temp5
= false ;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8884 PyObject
* obj2
= 0 ;
8885 PyObject
* obj3
= 0 ;
8886 PyObject
* obj4
= 0 ;
8887 char * kwnames
[] = {
8888 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8893 if (!SWIG_IsOK(res1
)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8896 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8897 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8898 if (!SWIG_IsOK(res2
)) {
8899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8901 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8904 if (!SWIG_IsOK(ecode3
)) {
8905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8907 arg3
= static_cast< int >(val3
);
8910 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8911 if (!SWIG_IsOK(ecode4
)) {
8912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8914 arg4
= static_cast< long >(val4
);
8918 arg5
= wxString_in_helper(obj4
);
8919 if (arg5
== NULL
) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8946 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
= 0;
8948 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8949 int arg2
= (int) 1 ;
8954 PyObject
* obj0
= 0 ;
8955 PyObject
* obj1
= 0 ;
8956 char * kwnames
[] = {
8957 (char *) "self",(char *) "number", NULL
8960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8962 if (!SWIG_IsOK(res1
)) {
8963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8965 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8968 if (!SWIG_IsOK(ecode2
)) {
8969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8971 arg2
= static_cast< int >(val2
);
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 (arg1
)->SetFieldsCount(arg2
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= SWIG_Py_Void();
8986 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8987 PyObject
*resultobj
= 0;
8988 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8992 PyObject
*swig_obj
[1] ;
8994 if (!args
) SWIG_fail
;
8996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8997 if (!SWIG_IsOK(res1
)) {
8998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9000 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= SWIG_From_int(static_cast< int >(result
));
9014 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
= 0;
9016 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9017 wxString
*arg2
= 0 ;
9018 int arg3
= (int) 0 ;
9021 bool temp2
= false ;
9024 PyObject
* obj0
= 0 ;
9025 PyObject
* obj1
= 0 ;
9026 PyObject
* obj2
= 0 ;
9027 char * kwnames
[] = {
9028 (char *) "self",(char *) "text",(char *) "number", NULL
9031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9033 if (!SWIG_IsOK(res1
)) {
9034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9036 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9038 arg2
= wxString_in_helper(obj1
);
9039 if (arg2
== NULL
) SWIG_fail
;
9043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9044 if (!SWIG_IsOK(ecode3
)) {
9045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9047 arg3
= static_cast< int >(val3
);
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= SWIG_Py_Void();
9070 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
= 0;
9072 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9073 int arg2
= (int) 0 ;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9081 char * kwnames
[] = {
9082 (char *) "self",(char *) "number", NULL
9085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9087 if (!SWIG_IsOK(res1
)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9090 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9093 if (!SWIG_IsOK(ecode2
)) {
9094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9096 arg2
= static_cast< int >(val2
);
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9117 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
= 0;
9119 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9120 wxString
*arg2
= 0 ;
9121 int arg3
= (int) 0 ;
9124 bool temp2
= false ;
9127 PyObject
* obj0
= 0 ;
9128 PyObject
* obj1
= 0 ;
9129 PyObject
* obj2
= 0 ;
9130 char * kwnames
[] = {
9131 (char *) "self",(char *) "text",(char *) "number", NULL
9134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9136 if (!SWIG_IsOK(res1
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9139 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9141 arg2
= wxString_in_helper(obj1
);
9142 if (arg2
== NULL
) SWIG_fail
;
9146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9147 if (!SWIG_IsOK(ecode3
)) {
9148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9150 arg3
= static_cast< int >(val3
);
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_Py_Void();
9173 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
= 0;
9175 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9176 int arg2
= (int) 0 ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9183 char * kwnames
[] = {
9184 (char *) "self",(char *) "number", NULL
9187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9189 if (!SWIG_IsOK(res1
)) {
9190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9192 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9195 if (!SWIG_IsOK(ecode2
)) {
9196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9198 arg2
= static_cast< int >(val2
);
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 (arg1
)->PopStatusText(arg2
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_Py_Void();
9213 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9217 int *arg3
= (int *) 0 ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 char * kwnames
[] = {
9223 (char *) "self",(char *) "widths", NULL
9226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9231 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9233 arg2
= PyList_Size(obj1
);
9234 arg3
= int_LIST_helper(obj1
);
9235 if (arg3
== NULL
) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= SWIG_Py_Void();
9245 if (arg3
) delete [] arg3
;
9250 if (arg3
) delete [] arg3
;
9256 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
= 0;
9258 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9260 int *arg3
= (int *) 0 ;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9265 char * kwnames
[] = {
9266 (char *) "self",(char *) "styles", NULL
9269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9271 if (!SWIG_IsOK(res1
)) {
9272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9274 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9276 arg2
= PyList_Size(obj1
);
9277 arg3
= int_LIST_helper(obj1
);
9278 if (arg3
== NULL
) SWIG_fail
;
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9286 resultobj
= SWIG_Py_Void();
9288 if (arg3
) delete [] arg3
;
9293 if (arg3
) delete [] arg3
;
9299 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
= 0;
9301 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9310 char * kwnames
[] = {
9311 (char *) "self",(char *) "i", NULL
9314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9316 if (!SWIG_IsOK(res1
)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9319 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9321 if (!SWIG_IsOK(ecode2
)) {
9322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9324 arg2
= static_cast< int >(val2
);
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9338 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
= 0;
9340 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9348 char * kwnames
[] = {
9349 (char *) "self",(char *) "height", NULL
9352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9354 if (!SWIG_IsOK(res1
)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9357 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9359 if (!SWIG_IsOK(ecode2
)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9362 arg2
= static_cast< int >(val2
);
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 (arg1
)->SetMinHeight(arg2
);
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= SWIG_Py_Void();
9376 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9377 PyObject
*resultobj
= 0;
9378 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9382 PyObject
*swig_obj
[1] ;
9384 if (!args
) SWIG_fail
;
9386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9387 if (!SWIG_IsOK(res1
)) {
9388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9390 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= SWIG_From_int(static_cast< int >(result
));
9404 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9405 PyObject
*resultobj
= 0;
9406 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9410 PyObject
*swig_obj
[1] ;
9412 if (!args
) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9418 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 resultobj
= SWIG_From_int(static_cast< int >(result
));
9432 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
= 0;
9434 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9435 SwigValueWrapper
<wxVisualAttributes
> result
;
9438 PyObject
* obj0
= 0 ;
9439 char * kwnames
[] = {
9440 (char *) "variant", NULL
9443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9446 if (!SWIG_IsOK(ecode1
)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9449 arg1
= static_cast< wxWindowVariant
>(val1
);
9452 if (!wxPyCheckForApp()) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9465 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9468 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9469 return SWIG_Py_Void();
9472 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9473 return SWIG_Python_InitShadowInstance(args
);
9476 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9477 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9482 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9483 PyObject
*pyobj
= 0;
9487 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9489 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9496 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
= 0;
9498 wxWindow
*arg1
= (wxWindow
*) 0 ;
9499 int arg2
= (int) -1 ;
9500 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9501 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9502 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9503 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9504 long arg5
= (long) wxSP_3D
;
9505 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9506 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9507 wxSplitterWindow
*result
= 0 ;
9516 bool temp6
= false ;
9517 PyObject
* obj0
= 0 ;
9518 PyObject
* obj1
= 0 ;
9519 PyObject
* obj2
= 0 ;
9520 PyObject
* obj3
= 0 ;
9521 PyObject
* obj4
= 0 ;
9522 PyObject
* obj5
= 0 ;
9523 char * kwnames
[] = {
9524 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9529 if (!SWIG_IsOK(res1
)) {
9530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9532 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9535 if (!SWIG_IsOK(ecode2
)) {
9536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9538 arg2
= static_cast< int >(val2
);
9543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9549 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9553 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9554 if (!SWIG_IsOK(ecode5
)) {
9555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9557 arg5
= static_cast< long >(val5
);
9561 arg6
= wxString_in_helper(obj5
);
9562 if (arg6
== NULL
) SWIG_fail
;
9567 if (!wxPyCheckForApp()) SWIG_fail
;
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9588 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9589 PyObject
*resultobj
= 0;
9590 wxSplitterWindow
*result
= 0 ;
9592 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9594 if (!wxPyCheckForApp()) SWIG_fail
;
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9607 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
= 0;
9609 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9610 wxWindow
*arg2
= (wxWindow
*) 0 ;
9611 int arg3
= (int) -1 ;
9612 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9613 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9614 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9615 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9616 long arg6
= (long) wxSP_3D
;
9617 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9618 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9630 bool temp7
= false ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9633 PyObject
* obj2
= 0 ;
9634 PyObject
* obj3
= 0 ;
9635 PyObject
* obj4
= 0 ;
9636 PyObject
* obj5
= 0 ;
9637 PyObject
* obj6
= 0 ;
9638 char * kwnames
[] = {
9639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9644 if (!SWIG_IsOK(res1
)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9647 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9649 if (!SWIG_IsOK(res2
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9655 if (!SWIG_IsOK(ecode3
)) {
9656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9658 arg3
= static_cast< int >(val3
);
9663 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9669 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9673 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9674 if (!SWIG_IsOK(ecode6
)) {
9675 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9677 arg6
= static_cast< long >(val6
);
9681 arg7
= wxString_in_helper(obj6
);
9682 if (arg7
== NULL
) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9709 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9710 PyObject
*resultobj
= 0;
9711 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9712 wxWindow
*result
= 0 ;
9715 PyObject
*swig_obj
[1] ;
9717 if (!args
) SWIG_fail
;
9719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9720 if (!SWIG_IsOK(res1
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9723 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= wxPyMake_wxObject(result
, 0);
9739 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9740 PyObject
*resultobj
= 0;
9741 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9742 wxWindow
*result
= 0 ;
9745 PyObject
*swig_obj
[1] ;
9747 if (!args
) SWIG_fail
;
9749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9750 if (!SWIG_IsOK(res1
)) {
9751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9753 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= wxPyMake_wxObject(result
, 0);
9769 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
= 0;
9771 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9779 char * kwnames
[] = {
9780 (char *) "self",(char *) "mode", NULL
9783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9785 if (!SWIG_IsOK(res1
)) {
9786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9788 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9790 if (!SWIG_IsOK(ecode2
)) {
9791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9793 arg2
= static_cast< int >(val2
);
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 (arg1
)->SetSplitMode(arg2
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_Py_Void();
9807 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9808 PyObject
*resultobj
= 0;
9809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9813 PyObject
*swig_obj
[1] ;
9815 if (!args
) SWIG_fail
;
9817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9818 if (!SWIG_IsOK(res1
)) {
9819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9821 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_From_int(static_cast< int >(result
));
9835 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
= 0;
9837 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9838 wxWindow
*arg2
= (wxWindow
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9845 char * kwnames
[] = {
9846 (char *) "self",(char *) "window", NULL
9849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9851 if (!SWIG_IsOK(res1
)) {
9852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9854 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9856 if (!SWIG_IsOK(res2
)) {
9857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9859 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 (arg1
)->Initialize(arg2
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= SWIG_Py_Void();
9873 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
= 0;
9875 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9876 wxWindow
*arg2
= (wxWindow
*) 0 ;
9877 wxWindow
*arg3
= (wxWindow
*) 0 ;
9878 int arg4
= (int) 0 ;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9890 PyObject
* obj2
= 0 ;
9891 PyObject
* obj3
= 0 ;
9892 char * kwnames
[] = {
9893 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9898 if (!SWIG_IsOK(res1
)) {
9899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9901 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9903 if (!SWIG_IsOK(res2
)) {
9904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9906 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9907 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9908 if (!SWIG_IsOK(res3
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9911 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9914 if (!SWIG_IsOK(ecode4
)) {
9915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9917 arg4
= static_cast< int >(val4
);
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9934 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
= 0;
9936 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9937 wxWindow
*arg2
= (wxWindow
*) 0 ;
9938 wxWindow
*arg3
= (wxWindow
*) 0 ;
9939 int arg4
= (int) 0 ;
9949 PyObject
* obj0
= 0 ;
9950 PyObject
* obj1
= 0 ;
9951 PyObject
* obj2
= 0 ;
9952 PyObject
* obj3
= 0 ;
9953 char * kwnames
[] = {
9954 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9959 if (!SWIG_IsOK(res1
)) {
9960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9962 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9964 if (!SWIG_IsOK(res2
)) {
9965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9968 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9969 if (!SWIG_IsOK(res3
)) {
9970 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9972 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9975 if (!SWIG_IsOK(ecode4
)) {
9976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9978 arg4
= static_cast< int >(val4
);
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9995 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
= 0;
9997 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9998 wxWindow
*arg2
= (wxWindow
*) NULL
;
10004 PyObject
* obj0
= 0 ;
10005 PyObject
* obj1
= 0 ;
10006 char * kwnames
[] = {
10007 (char *) "self",(char *) "toRemove", NULL
10010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10012 if (!SWIG_IsOK(res1
)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10015 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10018 if (!SWIG_IsOK(res2
)) {
10019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10021 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 result
= (bool)(arg1
)->Unsplit(arg2
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10038 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
= 0;
10040 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10041 wxWindow
*arg2
= (wxWindow
*) 0 ;
10042 wxWindow
*arg3
= (wxWindow
*) 0 ;
10050 PyObject
* obj0
= 0 ;
10051 PyObject
* obj1
= 0 ;
10052 PyObject
* obj2
= 0 ;
10053 char * kwnames
[] = {
10054 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10059 if (!SWIG_IsOK(res1
)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10062 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10064 if (!SWIG_IsOK(res2
)) {
10065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10067 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10068 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10069 if (!SWIG_IsOK(res3
)) {
10070 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10072 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10088 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10089 PyObject
*resultobj
= 0;
10090 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10093 PyObject
*swig_obj
[1] ;
10095 if (!args
) SWIG_fail
;
10096 swig_obj
[0] = args
;
10097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10098 if (!SWIG_IsOK(res1
)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10101 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 (arg1
)->UpdateSize();
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_Py_Void();
10115 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 PyObject
*resultobj
= 0;
10117 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10121 PyObject
*swig_obj
[1] ;
10123 if (!args
) SWIG_fail
;
10124 swig_obj
[0] = args
;
10125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10129 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10145 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
= 0;
10147 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10153 PyObject
* obj0
= 0 ;
10154 PyObject
* obj1
= 0 ;
10155 char * kwnames
[] = {
10156 (char *) "self",(char *) "width", NULL
10159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10161 if (!SWIG_IsOK(res1
)) {
10162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10164 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10166 if (!SWIG_IsOK(ecode2
)) {
10167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10169 arg2
= static_cast< int >(val2
);
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 (arg1
)->SetSashSize(arg2
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_Py_Void();
10183 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
= 0;
10185 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 char * kwnames
[] = {
10194 (char *) "self",(char *) "width", NULL
10197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10199 if (!SWIG_IsOK(res1
)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10202 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10204 if (!SWIG_IsOK(ecode2
)) {
10205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10207 arg2
= static_cast< int >(val2
);
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 (arg1
)->SetBorderSize(arg2
);
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= SWIG_Py_Void();
10221 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10222 PyObject
*resultobj
= 0;
10223 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10227 PyObject
*swig_obj
[1] ;
10229 if (!args
) SWIG_fail
;
10230 swig_obj
[0] = args
;
10231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10232 if (!SWIG_IsOK(res1
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10235 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_From_int(static_cast< int >(result
));
10249 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10250 PyObject
*resultobj
= 0;
10251 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10255 PyObject
*swig_obj
[1] ;
10257 if (!args
) SWIG_fail
;
10258 swig_obj
[0] = args
;
10259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10260 if (!SWIG_IsOK(res1
)) {
10261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10263 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= SWIG_From_int(static_cast< int >(result
));
10277 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
= 0;
10279 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10281 bool arg3
= (bool) true ;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 PyObject
* obj2
= 0 ;
10291 char * kwnames
[] = {
10292 (char *) "self",(char *) "position",(char *) "redraw", NULL
10295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10297 if (!SWIG_IsOK(res1
)) {
10298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10300 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10302 if (!SWIG_IsOK(ecode2
)) {
10303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10305 arg2
= static_cast< int >(val2
);
10307 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10308 if (!SWIG_IsOK(ecode3
)) {
10309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10311 arg3
= static_cast< bool >(val3
);
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 (arg1
)->SetSashPosition(arg2
,arg3
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= SWIG_Py_Void();
10326 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10327 PyObject
*resultobj
= 0;
10328 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10332 PyObject
*swig_obj
[1] ;
10334 if (!args
) SWIG_fail
;
10335 swig_obj
[0] = args
;
10336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10337 if (!SWIG_IsOK(res1
)) {
10338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10340 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= SWIG_From_int(static_cast< int >(result
));
10354 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
= 0;
10356 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 char * kwnames
[] = {
10365 (char *) "self",(char *) "gravity", NULL
10368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10370 if (!SWIG_IsOK(res1
)) {
10371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10373 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10374 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10375 if (!SWIG_IsOK(ecode2
)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10378 arg2
= static_cast< double >(val2
);
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->SetSashGravity(arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= SWIG_Py_Void();
10392 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10393 PyObject
*resultobj
= 0;
10394 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10398 PyObject
*swig_obj
[1] ;
10400 if (!args
) SWIG_fail
;
10401 swig_obj
[0] = args
;
10402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10403 if (!SWIG_IsOK(res1
)) {
10404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10406 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= SWIG_From_double(static_cast< double >(result
));
10420 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
= 0;
10422 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 char * kwnames
[] = {
10431 (char *) "self",(char *) "min", NULL
10434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10436 if (!SWIG_IsOK(res1
)) {
10437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10439 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10441 if (!SWIG_IsOK(ecode2
)) {
10442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10444 arg2
= static_cast< int >(val2
);
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 (arg1
)->SetMinimumPaneSize(arg2
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 resultobj
= SWIG_Py_Void();
10458 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10459 PyObject
*resultobj
= 0;
10460 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10464 PyObject
*swig_obj
[1] ;
10466 if (!args
) SWIG_fail
;
10467 swig_obj
[0] = args
;
10468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10469 if (!SWIG_IsOK(res1
)) {
10470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10472 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_From_int(static_cast< int >(result
));
10486 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
= 0;
10488 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10491 int arg4
= (int) 5 ;
10501 PyObject
* obj0
= 0 ;
10502 PyObject
* obj1
= 0 ;
10503 PyObject
* obj2
= 0 ;
10504 PyObject
* obj3
= 0 ;
10505 char * kwnames
[] = {
10506 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10511 if (!SWIG_IsOK(res1
)) {
10512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10514 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10516 if (!SWIG_IsOK(ecode2
)) {
10517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10519 arg2
= static_cast< int >(val2
);
10520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10521 if (!SWIG_IsOK(ecode3
)) {
10522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10524 arg3
= static_cast< int >(val3
);
10526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10527 if (!SWIG_IsOK(ecode4
)) {
10528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10530 arg4
= static_cast< int >(val4
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10547 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10548 PyObject
*resultobj
= 0;
10549 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10552 PyObject
*swig_obj
[1] ;
10554 if (!args
) SWIG_fail
;
10555 swig_obj
[0] = args
;
10556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10557 if (!SWIG_IsOK(res1
)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10560 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 (arg1
)->SizeWindows();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_Py_Void();
10574 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
= 0;
10576 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 char * kwnames
[] = {
10585 (char *) "self",(char *) "needUpdating", NULL
10588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10590 if (!SWIG_IsOK(res1
)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10593 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10594 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10595 if (!SWIG_IsOK(ecode2
)) {
10596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10598 arg2
= static_cast< bool >(val2
);
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 (arg1
)->SetNeedUpdating(arg2
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= SWIG_Py_Void();
10612 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10613 PyObject
*resultobj
= 0;
10614 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10618 PyObject
*swig_obj
[1] ;
10620 if (!args
) SWIG_fail
;
10621 swig_obj
[0] = args
;
10622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10623 if (!SWIG_IsOK(res1
)) {
10624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10626 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10642 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
*resultobj
= 0;
10644 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10645 SwigValueWrapper
<wxVisualAttributes
> result
;
10648 PyObject
* obj0
= 0 ;
10649 char * kwnames
[] = {
10650 (char *) "variant", NULL
10653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10655 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10656 if (!SWIG_IsOK(ecode1
)) {
10657 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10659 arg1
= static_cast< wxWindowVariant
>(val1
);
10662 if (!wxPyCheckForApp()) SWIG_fail
;
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10675 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10678 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10679 return SWIG_Py_Void();
10682 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10683 return SWIG_Python_InitShadowInstance(args
);
10686 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
= 0;
10688 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10689 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10690 wxSplitterEvent
*result
= 0 ;
10695 PyObject
* obj0
= 0 ;
10696 PyObject
* obj1
= 0 ;
10697 char * kwnames
[] = {
10698 (char *) "type",(char *) "splitter", NULL
10701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10704 if (!SWIG_IsOK(ecode1
)) {
10705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10707 arg1
= static_cast< wxEventType
>(val1
);
10710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10711 if (!SWIG_IsOK(res2
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10714 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10729 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
= 0;
10731 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 char * kwnames
[] = {
10740 (char *) "self",(char *) "pos", NULL
10743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10745 if (!SWIG_IsOK(res1
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10748 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10750 if (!SWIG_IsOK(ecode2
)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10753 arg2
= static_cast< int >(val2
);
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 (arg1
)->SetSashPosition(arg2
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= SWIG_Py_Void();
10767 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(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_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10781 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= SWIG_From_int(static_cast< int >(result
));
10795 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10796 PyObject
*resultobj
= 0;
10797 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10798 wxWindow
*result
= 0 ;
10801 PyObject
*swig_obj
[1] ;
10803 if (!args
) SWIG_fail
;
10804 swig_obj
[0] = args
;
10805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10806 if (!SWIG_IsOK(res1
)) {
10807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10809 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= wxPyMake_wxObject(result
, 0);
10825 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10826 PyObject
*resultobj
= 0;
10827 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10831 PyObject
*swig_obj
[1] ;
10833 if (!args
) SWIG_fail
;
10834 swig_obj
[0] = args
;
10835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10836 if (!SWIG_IsOK(res1
)) {
10837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10839 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= SWIG_From_int(static_cast< int >(result
));
10853 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10854 PyObject
*resultobj
= 0;
10855 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10859 PyObject
*swig_obj
[1] ;
10861 if (!args
) SWIG_fail
;
10862 swig_obj
[0] = args
;
10863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10864 if (!SWIG_IsOK(res1
)) {
10865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10867 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 resultobj
= SWIG_From_int(static_cast< int >(result
));
10881 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10884 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10885 return SWIG_Py_Void();
10888 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10889 return SWIG_Python_InitShadowInstance(args
);
10892 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10893 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10898 SWIGINTERN PyObject
*SashNameStr_get(void) {
10899 PyObject
*pyobj
= 0;
10903 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10905 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10912 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10913 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10918 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10919 PyObject
*pyobj
= 0;
10923 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10925 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10932 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
= 0;
10934 wxWindow
*arg1
= (wxWindow
*) 0 ;
10935 int arg2
= (int) -1 ;
10936 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10937 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10938 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10939 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10940 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10941 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10942 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10943 wxSashWindow
*result
= 0 ;
10952 bool temp6
= false ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 PyObject
* obj2
= 0 ;
10956 PyObject
* obj3
= 0 ;
10957 PyObject
* obj4
= 0 ;
10958 PyObject
* obj5
= 0 ;
10959 char * kwnames
[] = {
10960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10965 if (!SWIG_IsOK(res1
)) {
10966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10968 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10971 if (!SWIG_IsOK(ecode2
)) {
10972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10974 arg2
= static_cast< int >(val2
);
10979 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10985 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10989 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10990 if (!SWIG_IsOK(ecode5
)) {
10991 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10993 arg5
= static_cast< long >(val5
);
10997 arg6
= wxString_in_helper(obj5
);
10998 if (arg6
== NULL
) SWIG_fail
;
11003 if (!wxPyCheckForApp()) SWIG_fail
;
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
11024 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11025 PyObject
*resultobj
= 0;
11026 wxSashWindow
*result
= 0 ;
11028 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
11030 if (!wxPyCheckForApp()) SWIG_fail
;
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (wxSashWindow
*)new wxSashWindow();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
11043 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
= 0;
11045 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11046 wxWindow
*arg2
= (wxWindow
*) 0 ;
11047 int arg3
= (int) -1 ;
11048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11052 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
11053 wxString
const &arg7_defvalue
= wxPySashNameStr
;
11054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11066 bool temp7
= false ;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 PyObject
* obj2
= 0 ;
11070 PyObject
* obj3
= 0 ;
11071 PyObject
* obj4
= 0 ;
11072 PyObject
* obj5
= 0 ;
11073 PyObject
* obj6
= 0 ;
11074 char * kwnames
[] = {
11075 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11080 if (!SWIG_IsOK(res1
)) {
11081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11083 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11085 if (!SWIG_IsOK(res2
)) {
11086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11088 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11091 if (!SWIG_IsOK(ecode3
)) {
11092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11094 arg3
= static_cast< int >(val3
);
11099 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11105 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11109 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11110 if (!SWIG_IsOK(ecode6
)) {
11111 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11113 arg6
= static_cast< long >(val6
);
11117 arg7
= wxString_in_helper(obj6
);
11118 if (arg7
== NULL
) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11145 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
= 0;
11147 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11148 wxSashEdgePosition arg2
;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 PyObject
* obj2
= 0 ;
11159 char * kwnames
[] = {
11160 (char *) "self",(char *) "edge",(char *) "sash", NULL
11163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11165 if (!SWIG_IsOK(res1
)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11168 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11170 if (!SWIG_IsOK(ecode2
)) {
11171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11173 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11174 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11175 if (!SWIG_IsOK(ecode3
)) {
11176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11178 arg3
= static_cast< bool >(val3
);
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 (arg1
)->SetSashVisible(arg2
,arg3
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 resultobj
= SWIG_Py_Void();
11192 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
= 0;
11194 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11195 wxSashEdgePosition arg2
;
11201 PyObject
* obj0
= 0 ;
11202 PyObject
* obj1
= 0 ;
11203 char * kwnames
[] = {
11204 (char *) "self",(char *) "edge", NULL
11207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11209 if (!SWIG_IsOK(res1
)) {
11210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11212 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11214 if (!SWIG_IsOK(ecode2
)) {
11215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11217 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11233 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
= 0;
11235 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11236 wxSashEdgePosition arg2
;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 PyObject
* obj2
= 0 ;
11247 char * kwnames
[] = {
11248 (char *) "self",(char *) "edge",(char *) "border", NULL
11251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11253 if (!SWIG_IsOK(res1
)) {
11254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11256 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11258 if (!SWIG_IsOK(ecode2
)) {
11259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11261 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11262 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11263 if (!SWIG_IsOK(ecode3
)) {
11264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11266 arg3
= static_cast< bool >(val3
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 (arg1
)->SetSashBorder(arg2
,arg3
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_Py_Void();
11280 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
= 0;
11282 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11283 wxSashEdgePosition arg2
;
11289 PyObject
* obj0
= 0 ;
11290 PyObject
* obj1
= 0 ;
11291 char * kwnames
[] = {
11292 (char *) "self",(char *) "edge", NULL
11295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11300 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11302 if (!SWIG_IsOK(ecode2
)) {
11303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11305 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11321 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
= 0;
11323 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11324 wxSashEdgePosition arg2
;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 char * kwnames
[] = {
11333 (char *) "self",(char *) "edge", NULL
11336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11338 if (!SWIG_IsOK(res1
)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11341 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11343 if (!SWIG_IsOK(ecode2
)) {
11344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11346 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= SWIG_From_int(static_cast< int >(result
));
11360 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
= 0;
11362 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 char * kwnames
[] = {
11371 (char *) "self",(char *) "width", NULL
11374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11376 if (!SWIG_IsOK(res1
)) {
11377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11379 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11381 if (!SWIG_IsOK(ecode2
)) {
11382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11384 arg2
= static_cast< int >(val2
);
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 (arg1
)->SetDefaultBorderSize(arg2
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= SWIG_Py_Void();
11398 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11399 PyObject
*resultobj
= 0;
11400 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11404 PyObject
*swig_obj
[1] ;
11406 if (!args
) SWIG_fail
;
11407 swig_obj
[0] = args
;
11408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11409 if (!SWIG_IsOK(res1
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11412 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 resultobj
= SWIG_From_int(static_cast< int >(result
));
11426 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
= 0;
11428 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 PyObject
* obj1
= 0 ;
11436 char * kwnames
[] = {
11437 (char *) "self",(char *) "width", NULL
11440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11442 if (!SWIG_IsOK(res1
)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11445 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11447 if (!SWIG_IsOK(ecode2
)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11450 arg2
= static_cast< int >(val2
);
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 (arg1
)->SetExtraBorderSize(arg2
);
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= SWIG_Py_Void();
11464 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11465 PyObject
*resultobj
= 0;
11466 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11470 PyObject
*swig_obj
[1] ;
11472 if (!args
) SWIG_fail
;
11473 swig_obj
[0] = args
;
11474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11475 if (!SWIG_IsOK(res1
)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11478 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_From_int(static_cast< int >(result
));
11492 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
= 0;
11494 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 char * kwnames
[] = {
11503 (char *) "self",(char *) "min", NULL
11506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11508 if (!SWIG_IsOK(res1
)) {
11509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11511 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11513 if (!SWIG_IsOK(ecode2
)) {
11514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11516 arg2
= static_cast< int >(val2
);
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 (arg1
)->SetMinimumSizeX(arg2
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_Py_Void();
11530 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
= 0;
11532 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11538 PyObject
* obj0
= 0 ;
11539 PyObject
* obj1
= 0 ;
11540 char * kwnames
[] = {
11541 (char *) "self",(char *) "min", NULL
11544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11546 if (!SWIG_IsOK(res1
)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11549 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11551 if (!SWIG_IsOK(ecode2
)) {
11552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11554 arg2
= static_cast< int >(val2
);
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 (arg1
)->SetMinimumSizeY(arg2
);
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= SWIG_Py_Void();
11568 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11569 PyObject
*resultobj
= 0;
11570 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11574 PyObject
*swig_obj
[1] ;
11576 if (!args
) SWIG_fail
;
11577 swig_obj
[0] = args
;
11578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11579 if (!SWIG_IsOK(res1
)) {
11580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11582 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= SWIG_From_int(static_cast< int >(result
));
11596 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11597 PyObject
*resultobj
= 0;
11598 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11602 PyObject
*swig_obj
[1] ;
11604 if (!args
) SWIG_fail
;
11605 swig_obj
[0] = args
;
11606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11607 if (!SWIG_IsOK(res1
)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11610 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= SWIG_From_int(static_cast< int >(result
));
11624 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
= 0;
11626 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 char * kwnames
[] = {
11635 (char *) "self",(char *) "max", NULL
11638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11640 if (!SWIG_IsOK(res1
)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11643 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11645 if (!SWIG_IsOK(ecode2
)) {
11646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11648 arg2
= static_cast< int >(val2
);
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 (arg1
)->SetMaximumSizeX(arg2
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= SWIG_Py_Void();
11662 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
= 0;
11664 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11670 PyObject
* obj0
= 0 ;
11671 PyObject
* obj1
= 0 ;
11672 char * kwnames
[] = {
11673 (char *) "self",(char *) "max", NULL
11676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11678 if (!SWIG_IsOK(res1
)) {
11679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11681 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11683 if (!SWIG_IsOK(ecode2
)) {
11684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11686 arg2
= static_cast< int >(val2
);
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 (arg1
)->SetMaximumSizeY(arg2
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 resultobj
= SWIG_Py_Void();
11700 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11701 PyObject
*resultobj
= 0;
11702 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11706 PyObject
*swig_obj
[1] ;
11708 if (!args
) SWIG_fail
;
11709 swig_obj
[0] = args
;
11710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11711 if (!SWIG_IsOK(res1
)) {
11712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11714 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= SWIG_From_int(static_cast< int >(result
));
11728 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11729 PyObject
*resultobj
= 0;
11730 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_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11742 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= SWIG_From_int(static_cast< int >(result
));
11756 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
= 0;
11758 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11761 int arg4
= (int) 2 ;
11762 wxSashEdgePosition result
;
11771 PyObject
* obj0
= 0 ;
11772 PyObject
* obj1
= 0 ;
11773 PyObject
* obj2
= 0 ;
11774 PyObject
* obj3
= 0 ;
11775 char * kwnames
[] = {
11776 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11781 if (!SWIG_IsOK(res1
)) {
11782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11784 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11786 if (!SWIG_IsOK(ecode2
)) {
11787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11789 arg2
= static_cast< int >(val2
);
11790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11791 if (!SWIG_IsOK(ecode3
)) {
11792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11794 arg3
= static_cast< int >(val3
);
11796 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11797 if (!SWIG_IsOK(ecode4
)) {
11798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11800 arg4
= static_cast< int >(val4
);
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= SWIG_From_int(static_cast< int >(result
));
11815 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11816 PyObject
*resultobj
= 0;
11817 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11820 PyObject
*swig_obj
[1] ;
11822 if (!args
) SWIG_fail
;
11823 swig_obj
[0] = args
;
11824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11825 if (!SWIG_IsOK(res1
)) {
11826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11828 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 (arg1
)->SizeWindows();
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 resultobj
= SWIG_Py_Void();
11842 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11845 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11846 return SWIG_Py_Void();
11849 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11850 return SWIG_Python_InitShadowInstance(args
);
11853 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
= 0;
11855 int arg1
= (int) 0 ;
11856 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11857 wxSashEvent
*result
= 0 ;
11862 PyObject
* obj0
= 0 ;
11863 PyObject
* obj1
= 0 ;
11864 char * kwnames
[] = {
11865 (char *) "id",(char *) "edge", NULL
11868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11870 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11871 if (!SWIG_IsOK(ecode1
)) {
11872 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11874 arg1
= static_cast< int >(val1
);
11877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11878 if (!SWIG_IsOK(ecode2
)) {
11879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11881 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11885 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11896 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
= 0;
11898 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11899 wxSashEdgePosition arg2
;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 char * kwnames
[] = {
11907 (char *) "self",(char *) "edge", NULL
11910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11912 if (!SWIG_IsOK(res1
)) {
11913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11915 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11917 if (!SWIG_IsOK(ecode2
)) {
11918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11920 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 (arg1
)->SetEdge(arg2
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= SWIG_Py_Void();
11934 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11935 PyObject
*resultobj
= 0;
11936 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11937 wxSashEdgePosition result
;
11940 PyObject
*swig_obj
[1] ;
11942 if (!args
) SWIG_fail
;
11943 swig_obj
[0] = args
;
11944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11945 if (!SWIG_IsOK(res1
)) {
11946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11948 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= SWIG_From_int(static_cast< int >(result
));
11962 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
= 0;
11964 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 PyObject
* obj1
= 0 ;
11971 char * kwnames
[] = {
11972 (char *) "self",(char *) "rect", NULL
11975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11977 if (!SWIG_IsOK(res1
)) {
11978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11980 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11983 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= SWIG_Py_Void();
11998 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11999 PyObject
*resultobj
= 0;
12000 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12004 PyObject
*swig_obj
[1] ;
12006 if (!args
) SWIG_fail
;
12007 swig_obj
[0] = args
;
12008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12009 if (!SWIG_IsOK(res1
)) {
12010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12012 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12026 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12027 PyObject
*resultobj
= 0;
12028 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12029 wxSashDragStatus arg2
;
12034 PyObject
* obj0
= 0 ;
12035 PyObject
* obj1
= 0 ;
12036 char * kwnames
[] = {
12037 (char *) "self",(char *) "status", NULL
12040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12042 if (!SWIG_IsOK(res1
)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12045 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12047 if (!SWIG_IsOK(ecode2
)) {
12048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12050 arg2
= static_cast< wxSashDragStatus
>(val2
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 (arg1
)->SetDragStatus(arg2
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_Py_Void();
12064 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12065 PyObject
*resultobj
= 0;
12066 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12067 wxSashDragStatus result
;
12070 PyObject
*swig_obj
[1] ;
12072 if (!args
) SWIG_fail
;
12073 swig_obj
[0] = args
;
12074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12075 if (!SWIG_IsOK(res1
)) {
12076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12078 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_From_int(static_cast< int >(result
));
12092 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12095 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12096 return SWIG_Py_Void();
12099 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12100 return SWIG_Python_InitShadowInstance(args
);
12103 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
= 0;
12105 int arg1
= (int) 0 ;
12106 wxQueryLayoutInfoEvent
*result
= 0 ;
12109 PyObject
* obj0
= 0 ;
12110 char * kwnames
[] = {
12111 (char *) "id", NULL
12114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12116 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12117 if (!SWIG_IsOK(ecode1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12120 arg1
= static_cast< int >(val1
);
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12135 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
= 0;
12137 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12143 PyObject
* obj0
= 0 ;
12144 PyObject
* obj1
= 0 ;
12145 char * kwnames
[] = {
12146 (char *) "self",(char *) "length", NULL
12149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12151 if (!SWIG_IsOK(res1
)) {
12152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12154 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12156 if (!SWIG_IsOK(ecode2
)) {
12157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12159 arg2
= static_cast< int >(val2
);
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 (arg1
)->SetRequestedLength(arg2
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_Py_Void();
12173 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12174 PyObject
*resultobj
= 0;
12175 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12179 PyObject
*swig_obj
[1] ;
12181 if (!args
) SWIG_fail
;
12182 swig_obj
[0] = args
;
12183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12184 if (!SWIG_IsOK(res1
)) {
12185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12187 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_From_int(static_cast< int >(result
));
12201 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
= 0;
12203 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12209 PyObject
* obj0
= 0 ;
12210 PyObject
* obj1
= 0 ;
12211 char * kwnames
[] = {
12212 (char *) "self",(char *) "flags", NULL
12215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12217 if (!SWIG_IsOK(res1
)) {
12218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12220 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12222 if (!SWIG_IsOK(ecode2
)) {
12223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12225 arg2
= static_cast< int >(val2
);
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 (arg1
)->SetFlags(arg2
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= SWIG_Py_Void();
12239 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12240 PyObject
*resultobj
= 0;
12241 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12245 PyObject
*swig_obj
[1] ;
12247 if (!args
) SWIG_fail
;
12248 swig_obj
[0] = args
;
12249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12250 if (!SWIG_IsOK(res1
)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12253 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= SWIG_From_int(static_cast< int >(result
));
12267 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
= 0;
12269 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12274 PyObject
* obj0
= 0 ;
12275 PyObject
* obj1
= 0 ;
12276 char * kwnames
[] = {
12277 (char *) "self",(char *) "size", NULL
12280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12282 if (!SWIG_IsOK(res1
)) {
12283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12285 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12288 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 (arg1
)->SetSize((wxSize
const &)*arg2
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_Py_Void();
12303 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12309 PyObject
*swig_obj
[1] ;
12311 if (!args
) SWIG_fail
;
12312 swig_obj
[0] = args
;
12313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12314 if (!SWIG_IsOK(res1
)) {
12315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12317 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12331 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
= 0;
12333 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12334 wxLayoutOrientation arg2
;
12339 PyObject
* obj0
= 0 ;
12340 PyObject
* obj1
= 0 ;
12341 char * kwnames
[] = {
12342 (char *) "self",(char *) "orient", NULL
12345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12347 if (!SWIG_IsOK(res1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12350 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12352 if (!SWIG_IsOK(ecode2
)) {
12353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12355 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 (arg1
)->SetOrientation(arg2
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_Py_Void();
12369 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12370 PyObject
*resultobj
= 0;
12371 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12372 wxLayoutOrientation result
;
12375 PyObject
*swig_obj
[1] ;
12377 if (!args
) SWIG_fail
;
12378 swig_obj
[0] = args
;
12379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12380 if (!SWIG_IsOK(res1
)) {
12381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12383 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= SWIG_From_int(static_cast< int >(result
));
12397 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
= 0;
12399 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12400 wxLayoutAlignment arg2
;
12405 PyObject
* obj0
= 0 ;
12406 PyObject
* obj1
= 0 ;
12407 char * kwnames
[] = {
12408 (char *) "self",(char *) "align", NULL
12411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12413 if (!SWIG_IsOK(res1
)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12416 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12418 if (!SWIG_IsOK(ecode2
)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12421 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 (arg1
)->SetAlignment(arg2
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_Py_Void();
12435 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12436 PyObject
*resultobj
= 0;
12437 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12438 wxLayoutAlignment result
;
12441 PyObject
*swig_obj
[1] ;
12443 if (!args
) SWIG_fail
;
12444 swig_obj
[0] = args
;
12445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12446 if (!SWIG_IsOK(res1
)) {
12447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12449 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= SWIG_From_int(static_cast< int >(result
));
12463 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12466 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12467 return SWIG_Py_Void();
12470 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12471 return SWIG_Python_InitShadowInstance(args
);
12474 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
= 0;
12476 int arg1
= (int) 0 ;
12477 wxCalculateLayoutEvent
*result
= 0 ;
12480 PyObject
* obj0
= 0 ;
12481 char * kwnames
[] = {
12482 (char *) "id", NULL
12485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12487 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12488 if (!SWIG_IsOK(ecode1
)) {
12489 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12491 arg1
= static_cast< int >(val1
);
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12506 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
= 0;
12508 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 PyObject
* obj1
= 0 ;
12516 char * kwnames
[] = {
12517 (char *) "self",(char *) "flags", NULL
12520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12522 if (!SWIG_IsOK(res1
)) {
12523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12525 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12527 if (!SWIG_IsOK(ecode2
)) {
12528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12530 arg2
= static_cast< int >(val2
);
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 (arg1
)->SetFlags(arg2
);
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_Py_Void();
12544 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12545 PyObject
*resultobj
= 0;
12546 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12550 PyObject
*swig_obj
[1] ;
12552 if (!args
) SWIG_fail
;
12553 swig_obj
[0] = args
;
12554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12555 if (!SWIG_IsOK(res1
)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12558 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_From_int(static_cast< int >(result
));
12572 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
= 0;
12574 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 char * kwnames
[] = {
12582 (char *) "self",(char *) "rect", NULL
12585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12587 if (!SWIG_IsOK(res1
)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12590 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12593 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 (arg1
)->SetRect((wxRect
const &)*arg2
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_Py_Void();
12608 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12609 PyObject
*resultobj
= 0;
12610 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12614 PyObject
*swig_obj
[1] ;
12616 if (!args
) SWIG_fail
;
12617 swig_obj
[0] = args
;
12618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12619 if (!SWIG_IsOK(res1
)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12622 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12636 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12639 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12640 return SWIG_Py_Void();
12643 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12644 return SWIG_Python_InitShadowInstance(args
);
12647 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
= 0;
12649 wxWindow
*arg1
= (wxWindow
*) 0 ;
12650 int arg2
= (int) -1 ;
12651 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12652 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12653 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12654 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12655 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12656 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12657 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12658 wxSashLayoutWindow
*result
= 0 ;
12667 bool temp6
= false ;
12668 PyObject
* obj0
= 0 ;
12669 PyObject
* obj1
= 0 ;
12670 PyObject
* obj2
= 0 ;
12671 PyObject
* obj3
= 0 ;
12672 PyObject
* obj4
= 0 ;
12673 PyObject
* obj5
= 0 ;
12674 char * kwnames
[] = {
12675 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12680 if (!SWIG_IsOK(res1
)) {
12681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12683 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12686 if (!SWIG_IsOK(ecode2
)) {
12687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12689 arg2
= static_cast< int >(val2
);
12694 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12700 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12704 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12705 if (!SWIG_IsOK(ecode5
)) {
12706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12708 arg5
= static_cast< long >(val5
);
12712 arg6
= wxString_in_helper(obj5
);
12713 if (arg6
== NULL
) SWIG_fail
;
12718 if (!wxPyCheckForApp()) SWIG_fail
;
12719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12720 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12739 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12740 PyObject
*resultobj
= 0;
12741 wxSashLayoutWindow
*result
= 0 ;
12743 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12745 if (!wxPyCheckForApp()) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12758 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
= 0;
12760 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12761 wxWindow
*arg2
= (wxWindow
*) 0 ;
12762 int arg3
= (int) -1 ;
12763 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12764 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12765 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12766 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12767 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12768 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12769 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12781 bool temp7
= false ;
12782 PyObject
* obj0
= 0 ;
12783 PyObject
* obj1
= 0 ;
12784 PyObject
* obj2
= 0 ;
12785 PyObject
* obj3
= 0 ;
12786 PyObject
* obj4
= 0 ;
12787 PyObject
* obj5
= 0 ;
12788 PyObject
* obj6
= 0 ;
12789 char * kwnames
[] = {
12790 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12795 if (!SWIG_IsOK(res1
)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12798 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12799 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12800 if (!SWIG_IsOK(res2
)) {
12801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12803 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12806 if (!SWIG_IsOK(ecode3
)) {
12807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12809 arg3
= static_cast< int >(val3
);
12814 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12820 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12824 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12825 if (!SWIG_IsOK(ecode6
)) {
12826 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12828 arg6
= static_cast< long >(val6
);
12832 arg7
= wxString_in_helper(obj6
);
12833 if (arg7
== NULL
) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12860 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12861 PyObject
*resultobj
= 0;
12862 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12863 wxLayoutAlignment result
;
12866 PyObject
*swig_obj
[1] ;
12868 if (!args
) SWIG_fail
;
12869 swig_obj
[0] = args
;
12870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12871 if (!SWIG_IsOK(res1
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12874 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= SWIG_From_int(static_cast< int >(result
));
12888 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12889 PyObject
*resultobj
= 0;
12890 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12891 wxLayoutOrientation result
;
12894 PyObject
*swig_obj
[1] ;
12896 if (!args
) SWIG_fail
;
12897 swig_obj
[0] = args
;
12898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12899 if (!SWIG_IsOK(res1
)) {
12900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12902 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= SWIG_From_int(static_cast< int >(result
));
12916 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
= 0;
12918 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12919 wxLayoutAlignment arg2
;
12924 PyObject
* obj0
= 0 ;
12925 PyObject
* obj1
= 0 ;
12926 char * kwnames
[] = {
12927 (char *) "self",(char *) "alignment", NULL
12930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12932 if (!SWIG_IsOK(res1
)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12935 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12937 if (!SWIG_IsOK(ecode2
)) {
12938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12940 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 (arg1
)->SetAlignment(arg2
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12947 resultobj
= SWIG_Py_Void();
12954 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
= 0;
12956 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 PyObject
* obj1
= 0 ;
12963 char * kwnames
[] = {
12964 (char *) "self",(char *) "size", NULL
12967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12969 if (!SWIG_IsOK(res1
)) {
12970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12972 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12975 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_Py_Void();
12990 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
= 0;
12992 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12993 wxLayoutOrientation arg2
;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 char * kwnames
[] = {
13001 (char *) "self",(char *) "orientation", NULL
13004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
13006 if (!SWIG_IsOK(res1
)) {
13007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
13009 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
13010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13011 if (!SWIG_IsOK(ecode2
)) {
13012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
13014 arg2
= static_cast< wxLayoutOrientation
>(val2
);
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 (arg1
)->SetOrientation(arg2
);
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= SWIG_Py_Void();
13028 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13031 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
13032 return SWIG_Py_Void();
13035 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13036 return SWIG_Python_InitShadowInstance(args
);
13039 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13040 PyObject
*resultobj
= 0;
13041 wxLayoutAlgorithm
*result
= 0 ;
13043 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
13057 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13058 PyObject
*resultobj
= 0;
13059 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13062 PyObject
*swig_obj
[1] ;
13064 if (!args
) SWIG_fail
;
13065 swig_obj
[0] = args
;
13066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13067 if (!SWIG_IsOK(res1
)) {
13068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13070 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13078 resultobj
= SWIG_Py_Void();
13085 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
= 0;
13087 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13088 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13089 wxRect
*arg3
= (wxRect
*) NULL
;
13097 PyObject
* obj0
= 0 ;
13098 PyObject
* obj1
= 0 ;
13099 PyObject
* obj2
= 0 ;
13100 char * kwnames
[] = {
13101 (char *) "self",(char *) "frame",(char *) "rect", NULL
13104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13106 if (!SWIG_IsOK(res1
)) {
13107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13109 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13111 if (!SWIG_IsOK(res2
)) {
13112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13114 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13116 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13117 if (!SWIG_IsOK(res3
)) {
13118 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13120 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13137 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
= 0;
13139 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13140 wxFrame
*arg2
= (wxFrame
*) 0 ;
13141 wxWindow
*arg3
= (wxWindow
*) NULL
;
13149 PyObject
* obj0
= 0 ;
13150 PyObject
* obj1
= 0 ;
13151 PyObject
* obj2
= 0 ;
13152 char * kwnames
[] = {
13153 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13158 if (!SWIG_IsOK(res1
)) {
13159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13161 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13162 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13163 if (!SWIG_IsOK(res2
)) {
13164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13166 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13168 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13169 if (!SWIG_IsOK(res3
)) {
13170 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13172 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13189 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
= 0;
13191 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13192 wxWindow
*arg2
= (wxWindow
*) 0 ;
13193 wxWindow
*arg3
= (wxWindow
*) NULL
;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 PyObject
* obj2
= 0 ;
13204 char * kwnames
[] = {
13205 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13210 if (!SWIG_IsOK(res1
)) {
13211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13213 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13215 if (!SWIG_IsOK(res2
)) {
13216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13218 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13220 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13221 if (!SWIG_IsOK(res3
)) {
13222 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13224 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13241 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13244 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13245 return SWIG_Py_Void();
13248 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13249 return SWIG_Python_InitShadowInstance(args
);
13252 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
= 0;
13254 wxWindow
*arg1
= (wxWindow
*) 0 ;
13255 int arg2
= (int) wxBORDER_NONE
;
13256 wxPopupWindow
*result
= 0 ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 char * kwnames
[] = {
13264 (char *) "parent",(char *) "flags", NULL
13267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13269 if (!SWIG_IsOK(res1
)) {
13270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13272 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13275 if (!SWIG_IsOK(ecode2
)) {
13276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13278 arg2
= static_cast< int >(val2
);
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13293 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13294 PyObject
*resultobj
= 0;
13295 wxPopupWindow
*result
= 0 ;
13297 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxPopupWindow
*)new wxPopupWindow();
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13311 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13314 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13315 return SWIG_Py_Void();
13318 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13319 return SWIG_Python_InitShadowInstance(args
);
13322 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
= 0;
13324 wxWindow
*arg1
= (wxWindow
*) 0 ;
13325 int arg2
= (int) wxBORDER_NONE
;
13326 wxPyPopupTransientWindow
*result
= 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char * kwnames
[] = {
13334 (char *) "parent",(char *) "style", NULL
13337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13339 if (!SWIG_IsOK(res1
)) {
13340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13342 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13345 if (!SWIG_IsOK(ecode2
)) {
13346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13348 arg2
= static_cast< int >(val2
);
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13363 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13364 PyObject
*resultobj
= 0;
13365 wxPyPopupTransientWindow
*result
= 0 ;
13367 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13381 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13384 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13385 return SWIG_Py_Void();
13388 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13389 return SWIG_Python_InitShadowInstance(args
);
13392 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
= 0;
13394 wxWindow
*arg1
= (wxWindow
*) 0 ;
13395 wxString
*arg2
= 0 ;
13396 int arg3
= (int) 100 ;
13397 wxRect
*arg4
= (wxRect
*) NULL
;
13398 wxTipWindow
*result
= 0 ;
13401 bool temp2
= false ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 PyObject
* obj2
= 0 ;
13409 PyObject
* obj3
= 0 ;
13410 char * kwnames
[] = {
13411 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13416 if (!SWIG_IsOK(res1
)) {
13417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13419 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13421 arg2
= wxString_in_helper(obj1
);
13422 if (arg2
== NULL
) SWIG_fail
;
13426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13427 if (!SWIG_IsOK(ecode3
)) {
13428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13430 arg3
= static_cast< int >(val3
);
13433 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13434 if (!SWIG_IsOK(res4
)) {
13435 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13437 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13440 if (!wxPyCheckForApp()) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13461 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
= 0;
13463 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 PyObject
* obj1
= 0 ;
13470 char * kwnames
[] = {
13471 (char *) "self",(char *) "rectBound", NULL
13474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13476 if (!SWIG_IsOK(res1
)) {
13477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13479 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13482 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= SWIG_Py_Void();
13497 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13498 PyObject
*resultobj
= 0;
13499 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13502 PyObject
*swig_obj
[1] ;
13504 if (!args
) SWIG_fail
;
13505 swig_obj
[0] = args
;
13506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13507 if (!SWIG_IsOK(res1
)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13510 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= SWIG_Py_Void();
13524 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13527 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13528 return SWIG_Py_Void();
13531 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13532 return SWIG_Python_InitShadowInstance(args
);
13535 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
= 0;
13537 wxWindow
*arg1
= (wxWindow
*) 0 ;
13538 int arg2
= (int) wxID_ANY
;
13539 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13540 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13541 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13542 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13543 long arg5
= (long) 0 ;
13544 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13545 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13546 wxPyVScrolledWindow
*result
= 0 ;
13555 bool temp6
= false ;
13556 PyObject
* obj0
= 0 ;
13557 PyObject
* obj1
= 0 ;
13558 PyObject
* obj2
= 0 ;
13559 PyObject
* obj3
= 0 ;
13560 PyObject
* obj4
= 0 ;
13561 PyObject
* obj5
= 0 ;
13562 char * kwnames
[] = {
13563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13568 if (!SWIG_IsOK(res1
)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13571 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13574 if (!SWIG_IsOK(ecode2
)) {
13575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13577 arg2
= static_cast< int >(val2
);
13582 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13588 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13592 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13593 if (!SWIG_IsOK(ecode5
)) {
13594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13596 arg5
= static_cast< long >(val5
);
13600 arg6
= wxString_in_helper(obj5
);
13601 if (arg6
== NULL
) SWIG_fail
;
13606 if (!wxPyCheckForApp()) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13627 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13628 PyObject
*resultobj
= 0;
13629 wxPyVScrolledWindow
*result
= 0 ;
13631 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13633 if (!wxPyCheckForApp()) SWIG_fail
;
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13646 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
= 0;
13648 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13649 PyObject
*arg2
= (PyObject
*) 0 ;
13650 PyObject
*arg3
= (PyObject
*) 0 ;
13653 PyObject
* obj0
= 0 ;
13654 PyObject
* obj1
= 0 ;
13655 PyObject
* obj2
= 0 ;
13656 char * kwnames
[] = {
13657 (char *) "self",(char *) "self",(char *) "_class", NULL
13660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13662 if (!SWIG_IsOK(res1
)) {
13663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13665 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= SWIG_Py_Void();
13681 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
= 0;
13683 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13684 wxWindow
*arg2
= (wxWindow
*) 0 ;
13685 int arg3
= (int) wxID_ANY
;
13686 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13687 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13688 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13689 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13690 long arg6
= (long) 0 ;
13691 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13692 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13704 bool temp7
= false ;
13705 PyObject
* obj0
= 0 ;
13706 PyObject
* obj1
= 0 ;
13707 PyObject
* obj2
= 0 ;
13708 PyObject
* obj3
= 0 ;
13709 PyObject
* obj4
= 0 ;
13710 PyObject
* obj5
= 0 ;
13711 PyObject
* obj6
= 0 ;
13712 char * kwnames
[] = {
13713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13718 if (!SWIG_IsOK(res1
)) {
13719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13721 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13723 if (!SWIG_IsOK(res2
)) {
13724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13726 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13729 if (!SWIG_IsOK(ecode3
)) {
13730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13732 arg3
= static_cast< int >(val3
);
13737 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13743 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13747 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13748 if (!SWIG_IsOK(ecode6
)) {
13749 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13751 arg6
= static_cast< long >(val6
);
13755 arg7
= wxString_in_helper(obj6
);
13756 if (arg7
== NULL
) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13763 wxPyEndAllowThreads(__tstate
);
13764 if (PyErr_Occurred()) SWIG_fail
;
13767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13783 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
= 0;
13785 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj1
= 0 ;
13793 char * kwnames
[] = {
13794 (char *) "self",(char *) "count", NULL
13797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13799 if (!SWIG_IsOK(res1
)) {
13800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13802 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13803 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13804 if (!SWIG_IsOK(ecode2
)) {
13805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13807 arg2
= static_cast< size_t >(val2
);
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 (arg1
)->SetLineCount(arg2
);
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13814 resultobj
= SWIG_Py_Void();
13821 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
= 0;
13823 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13830 PyObject
* obj0
= 0 ;
13831 PyObject
* obj1
= 0 ;
13832 char * kwnames
[] = {
13833 (char *) "self",(char *) "line", NULL
13836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13838 if (!SWIG_IsOK(res1
)) {
13839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13841 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13842 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13843 if (!SWIG_IsOK(ecode2
)) {
13844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13846 arg2
= static_cast< size_t >(val2
);
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13862 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
= 0;
13864 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13870 PyObject
* obj0
= 0 ;
13871 PyObject
* obj1
= 0 ;
13872 char * kwnames
[] = {
13873 (char *) "self",(char *) "line", NULL
13876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13878 if (!SWIG_IsOK(res1
)) {
13879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13881 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13882 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13883 if (!SWIG_IsOK(ecode2
)) {
13884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13886 arg2
= static_cast< size_t >(val2
);
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 (arg1
)->RefreshLine(arg2
);
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_Py_Void();
13900 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
= 0;
13902 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13911 PyObject
* obj0
= 0 ;
13912 PyObject
* obj1
= 0 ;
13913 PyObject
* obj2
= 0 ;
13914 char * kwnames
[] = {
13915 (char *) "self",(char *) "from",(char *) "to", NULL
13918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13920 if (!SWIG_IsOK(res1
)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13923 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13924 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13925 if (!SWIG_IsOK(ecode2
)) {
13926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13928 arg2
= static_cast< size_t >(val2
);
13929 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13930 if (!SWIG_IsOK(ecode3
)) {
13931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13933 arg3
= static_cast< size_t >(val3
);
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 (arg1
)->RefreshLines(arg2
,arg3
);
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13940 resultobj
= SWIG_Py_Void();
13947 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
= 0;
13949 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13959 PyObject
* obj0
= 0 ;
13960 PyObject
* obj1
= 0 ;
13961 PyObject
* obj2
= 0 ;
13962 char * kwnames
[] = {
13963 (char *) "self",(char *) "x",(char *) "y", NULL
13966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13968 if (!SWIG_IsOK(res1
)) {
13969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13971 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13973 if (!SWIG_IsOK(ecode2
)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13976 arg2
= static_cast< int >(val2
);
13977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13978 if (!SWIG_IsOK(ecode3
)) {
13979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13981 arg3
= static_cast< int >(val3
);
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13985 wxPyEndAllowThreads(__tstate
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13988 resultobj
= SWIG_From_int(static_cast< int >(result
));
13995 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
= 0;
13997 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13998 wxPoint
*arg2
= 0 ;
14003 PyObject
* obj0
= 0 ;
14004 PyObject
* obj1
= 0 ;
14005 char * kwnames
[] = {
14006 (char *) "self",(char *) "pt", NULL
14009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14011 if (!SWIG_IsOK(res1
)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14014 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= SWIG_From_int(static_cast< int >(result
));
14032 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14033 PyObject
*resultobj
= 0;
14034 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14037 PyObject
*swig_obj
[1] ;
14039 if (!args
) SWIG_fail
;
14040 swig_obj
[0] = args
;
14041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14042 if (!SWIG_IsOK(res1
)) {
14043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14045 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 (arg1
)->RefreshAll();
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_Py_Void();
14059 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14060 PyObject
*resultobj
= 0;
14061 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14065 PyObject
*swig_obj
[1] ;
14067 if (!args
) SWIG_fail
;
14068 swig_obj
[0] = args
;
14069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14070 if (!SWIG_IsOK(res1
)) {
14071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14073 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14087 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14088 PyObject
*resultobj
= 0;
14089 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14093 PyObject
*swig_obj
[1] ;
14095 if (!args
) SWIG_fail
;
14096 swig_obj
[0] = args
;
14097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14098 if (!SWIG_IsOK(res1
)) {
14099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14101 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14115 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14116 PyObject
*resultobj
= 0;
14117 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14121 PyObject
*swig_obj
[1] ;
14123 if (!args
) SWIG_fail
;
14124 swig_obj
[0] = args
;
14125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14126 if (!SWIG_IsOK(res1
)) {
14127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14129 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14143 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14144 PyObject
*resultobj
= 0;
14145 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 PyObject
* obj1
= 0 ;
14154 char * kwnames
[] = {
14155 (char *) "self",(char *) "line", NULL
14158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14160 if (!SWIG_IsOK(res1
)) {
14161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14163 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14164 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14165 if (!SWIG_IsOK(ecode2
)) {
14166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14168 arg2
= static_cast< size_t >(val2
);
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14184 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14185 PyObject
*resultobj
= 0;
14186 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14190 PyObject
*swig_obj
[1] ;
14192 if (!args
) SWIG_fail
;
14193 swig_obj
[0] = args
;
14194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14195 if (!SWIG_IsOK(res1
)) {
14196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14198 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14212 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14213 PyObject
*resultobj
= 0;
14214 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14218 PyObject
*swig_obj
[1] ;
14220 if (!args
) SWIG_fail
;
14221 swig_obj
[0] = args
;
14222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14223 if (!SWIG_IsOK(res1
)) {
14224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14226 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14240 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14241 PyObject
*resultobj
= 0;
14242 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14244 bool arg3
= (bool) false ;
14252 PyObject
* obj0
= 0 ;
14253 PyObject
* obj1
= 0 ;
14254 PyObject
* obj2
= 0 ;
14255 char * kwnames
[] = {
14256 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14264 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14265 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14266 if (!SWIG_IsOK(ecode2
)) {
14267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14269 arg2
= static_cast< size_t >(val2
);
14271 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14272 if (!SWIG_IsOK(ecode3
)) {
14273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14275 arg3
= static_cast< bool >(val3
);
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14290 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
= 0;
14292 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14302 PyObject
* obj0
= 0 ;
14303 PyObject
* obj1
= 0 ;
14304 PyObject
* obj2
= 0 ;
14305 char * kwnames
[] = {
14306 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14311 if (!SWIG_IsOK(res1
)) {
14312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14314 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14315 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14316 if (!SWIG_IsOK(ecode2
)) {
14317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14319 arg2
= static_cast< size_t >(val2
);
14320 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14321 if (!SWIG_IsOK(ecode3
)) {
14322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14324 arg3
= static_cast< size_t >(val3
);
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_From_int(static_cast< int >(result
));
14338 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14342 return SWIG_Py_Void();
14345 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14346 return SWIG_Python_InitShadowInstance(args
);
14349 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14350 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14355 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14356 PyObject
*pyobj
= 0;
14360 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14362 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14369 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
= 0;
14371 wxWindow
*arg1
= (wxWindow
*) 0 ;
14372 int arg2
= (int) wxID_ANY
;
14373 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14374 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14375 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14376 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14377 long arg5
= (long) 0 ;
14378 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14379 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14380 wxPyVListBox
*result
= 0 ;
14389 bool temp6
= false ;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj1
= 0 ;
14392 PyObject
* obj2
= 0 ;
14393 PyObject
* obj3
= 0 ;
14394 PyObject
* obj4
= 0 ;
14395 PyObject
* obj5
= 0 ;
14396 char * kwnames
[] = {
14397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14402 if (!SWIG_IsOK(res1
)) {
14403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14405 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14408 if (!SWIG_IsOK(ecode2
)) {
14409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14411 arg2
= static_cast< int >(val2
);
14416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14426 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14427 if (!SWIG_IsOK(ecode5
)) {
14428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14430 arg5
= static_cast< long >(val5
);
14434 arg6
= wxString_in_helper(obj5
);
14435 if (arg6
== NULL
) SWIG_fail
;
14440 if (!wxPyCheckForApp()) SWIG_fail
;
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14461 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14462 PyObject
*resultobj
= 0;
14463 wxPyVListBox
*result
= 0 ;
14465 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14467 if (!wxPyCheckForApp()) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (wxPyVListBox
*)new wxPyVListBox();
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14480 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
= 0;
14482 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14483 PyObject
*arg2
= (PyObject
*) 0 ;
14484 PyObject
*arg3
= (PyObject
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 PyObject
* obj1
= 0 ;
14489 PyObject
* obj2
= 0 ;
14490 char * kwnames
[] = {
14491 (char *) "self",(char *) "self",(char *) "_class", NULL
14494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14496 if (!SWIG_IsOK(res1
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14499 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= SWIG_Py_Void();
14515 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
= 0;
14517 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14518 wxWindow
*arg2
= (wxWindow
*) 0 ;
14519 int arg3
= (int) wxID_ANY
;
14520 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14521 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14522 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14523 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14524 long arg6
= (long) 0 ;
14525 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14526 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14538 bool temp7
= false ;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 PyObject
* obj2
= 0 ;
14542 PyObject
* obj3
= 0 ;
14543 PyObject
* obj4
= 0 ;
14544 PyObject
* obj5
= 0 ;
14545 PyObject
* obj6
= 0 ;
14546 char * kwnames
[] = {
14547 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14552 if (!SWIG_IsOK(res1
)) {
14553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14555 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14556 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14557 if (!SWIG_IsOK(res2
)) {
14558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14560 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14563 if (!SWIG_IsOK(ecode3
)) {
14564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14566 arg3
= static_cast< int >(val3
);
14571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14581 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14582 if (!SWIG_IsOK(ecode6
)) {
14583 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14585 arg6
= static_cast< long >(val6
);
14589 arg7
= wxString_in_helper(obj6
);
14590 if (arg7
== NULL
) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14617 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14618 PyObject
*resultobj
= 0;
14619 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14623 PyObject
*swig_obj
[1] ;
14625 if (!args
) SWIG_fail
;
14626 swig_obj
[0] = args
;
14627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14628 if (!SWIG_IsOK(res1
)) {
14629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14631 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14645 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14646 PyObject
*resultobj
= 0;
14647 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14651 PyObject
*swig_obj
[1] ;
14653 if (!args
) SWIG_fail
;
14654 swig_obj
[0] = args
;
14655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14656 if (!SWIG_IsOK(res1
)) {
14657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14659 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14675 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14676 PyObject
*resultobj
= 0;
14677 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14681 PyObject
*swig_obj
[1] ;
14683 if (!args
) SWIG_fail
;
14684 swig_obj
[0] = args
;
14685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14686 if (!SWIG_IsOK(res1
)) {
14687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14689 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14696 resultobj
= SWIG_From_int(static_cast< int >(result
));
14703 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
= 0;
14705 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14712 PyObject
* obj0
= 0 ;
14713 PyObject
* obj1
= 0 ;
14714 char * kwnames
[] = {
14715 (char *) "self",(char *) "item", NULL
14718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14720 if (!SWIG_IsOK(res1
)) {
14721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14723 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14724 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14725 if (!SWIG_IsOK(ecode2
)) {
14726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14728 arg2
= static_cast< size_t >(val2
);
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14744 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
= 0;
14746 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 PyObject
* obj1
= 0 ;
14755 char * kwnames
[] = {
14756 (char *) "self",(char *) "item", NULL
14759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14761 if (!SWIG_IsOK(res1
)) {
14762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14764 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14765 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14766 if (!SWIG_IsOK(ecode2
)) {
14767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14769 arg2
= static_cast< size_t >(val2
);
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14785 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14786 PyObject
*resultobj
= 0;
14787 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14791 PyObject
*swig_obj
[1] ;
14793 if (!args
) SWIG_fail
;
14794 swig_obj
[0] = args
;
14795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14796 if (!SWIG_IsOK(res1
)) {
14797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14799 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14813 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14814 PyObject
*resultobj
= 0;
14815 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14816 PyObject
*result
= 0 ;
14819 PyObject
*swig_obj
[1] ;
14821 if (!args
) SWIG_fail
;
14822 swig_obj
[0] = args
;
14823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14824 if (!SWIG_IsOK(res1
)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14827 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= result
;
14841 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
= 0;
14843 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14844 unsigned long arg2
;
14845 PyObject
*result
= 0 ;
14848 unsigned long val2
;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 char * kwnames
[] = {
14853 (char *) "self",(char *) "cookie", NULL
14856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14858 if (!SWIG_IsOK(res1
)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14861 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14862 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14863 if (!SWIG_IsOK(ecode2
)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14866 arg2
= static_cast< unsigned long >(val2
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= result
;
14880 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14881 PyObject
*resultobj
= 0;
14882 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14886 PyObject
*swig_obj
[1] ;
14888 if (!args
) SWIG_fail
;
14889 swig_obj
[0] = args
;
14890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14894 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14908 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14909 PyObject
*resultobj
= 0;
14910 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14911 wxColour
*result
= 0 ;
14914 PyObject
*swig_obj
[1] ;
14916 if (!args
) SWIG_fail
;
14917 swig_obj
[0] = args
;
14918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14919 if (!SWIG_IsOK(res1
)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14922 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14926 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14927 result
= (wxColour
*) &_result_ref
;
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14939 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
= 0;
14941 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 PyObject
* obj1
= 0 ;
14949 char * kwnames
[] = {
14950 (char *) "self",(char *) "count", NULL
14953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14955 if (!SWIG_IsOK(res1
)) {
14956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14958 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14959 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14960 if (!SWIG_IsOK(ecode2
)) {
14961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14963 arg2
= static_cast< size_t >(val2
);
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 (arg1
)->SetItemCount(arg2
);
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= SWIG_Py_Void();
14977 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14978 PyObject
*resultobj
= 0;
14979 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14982 PyObject
*swig_obj
[1] ;
14984 if (!args
) SWIG_fail
;
14985 swig_obj
[0] = args
;
14986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14987 if (!SWIG_IsOK(res1
)) {
14988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14990 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_Py_Void();
15004 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
= 0;
15006 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 char * kwnames
[] = {
15015 (char *) "self",(char *) "selection", NULL
15018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15020 if (!SWIG_IsOK(res1
)) {
15021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15023 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15025 if (!SWIG_IsOK(ecode2
)) {
15026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15028 arg2
= static_cast< int >(val2
);
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 (arg1
)->SetSelection(arg2
);
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= SWIG_Py_Void();
15042 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
= 0;
15044 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15046 bool arg3
= (bool) true ;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 PyObject
* obj2
= 0 ;
15057 char * kwnames
[] = {
15058 (char *) "self",(char *) "item",(char *) "select", NULL
15061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15063 if (!SWIG_IsOK(res1
)) {
15064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15066 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15067 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15068 if (!SWIG_IsOK(ecode2
)) {
15069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15071 arg2
= static_cast< size_t >(val2
);
15073 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15074 if (!SWIG_IsOK(ecode3
)) {
15075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15077 arg3
= static_cast< bool >(val3
);
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15094 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
= 0;
15096 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 PyObject
* obj2
= 0 ;
15109 char * kwnames
[] = {
15110 (char *) "self",(char *) "from",(char *) "to", NULL
15113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15115 if (!SWIG_IsOK(res1
)) {
15116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15118 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15119 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15120 if (!SWIG_IsOK(ecode2
)) {
15121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15123 arg2
= static_cast< size_t >(val2
);
15124 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15125 if (!SWIG_IsOK(ecode3
)) {
15126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15128 arg3
= static_cast< size_t >(val3
);
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15144 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
= 0;
15146 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char * kwnames
[] = {
15155 (char *) "self",(char *) "item", NULL
15158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15160 if (!SWIG_IsOK(res1
)) {
15161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15163 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15164 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15165 if (!SWIG_IsOK(ecode2
)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15168 arg2
= static_cast< size_t >(val2
);
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 (arg1
)->Toggle(arg2
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_Py_Void();
15182 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15183 PyObject
*resultobj
= 0;
15184 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15188 PyObject
*swig_obj
[1] ;
15190 if (!args
) SWIG_fail
;
15191 swig_obj
[0] = args
;
15192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15193 if (!SWIG_IsOK(res1
)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15196 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (bool)(arg1
)->SelectAll();
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15212 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15213 PyObject
*resultobj
= 0;
15214 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15218 PyObject
*swig_obj
[1] ;
15220 if (!args
) SWIG_fail
;
15221 swig_obj
[0] = args
;
15222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15223 if (!SWIG_IsOK(res1
)) {
15224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15226 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (bool)(arg1
)->DeselectAll();
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15242 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
= 0;
15244 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15245 wxPoint
*arg2
= 0 ;
15249 PyObject
* obj0
= 0 ;
15250 PyObject
* obj1
= 0 ;
15251 char * kwnames
[] = {
15252 (char *) "self",(char *) "pt", NULL
15255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15257 if (!SWIG_IsOK(res1
)) {
15258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15260 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15263 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= SWIG_Py_Void();
15278 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
= 0;
15280 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "self",(char *) "x",(char *) "y", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15301 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15303 if (!SWIG_IsOK(ecode2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15306 arg2
= static_cast< int >(val2
);
15307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15308 if (!SWIG_IsOK(ecode3
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15311 arg3
= static_cast< int >(val3
);
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 (arg1
)->SetMargins(arg2
,arg3
);
15315 wxPyEndAllowThreads(__tstate
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= SWIG_Py_Void();
15325 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
= 0;
15327 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15328 wxColour
*arg2
= 0 ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 char * kwnames
[] = {
15335 (char *) "self",(char *) "col", NULL
15338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15340 if (!SWIG_IsOK(res1
)) {
15341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15343 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15346 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= SWIG_Py_Void();
15361 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
= 0;
15363 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 PyObject
* obj2
= 0 ;
15377 PyObject
* obj3
= 0 ;
15378 char * kwnames
[] = {
15379 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15384 if (!SWIG_IsOK(res1
)) {
15385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15387 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15388 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15389 if (!SWIG_IsOK(res2
)) {
15390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15395 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15398 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15400 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15401 if (!SWIG_IsOK(ecode4
)) {
15402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15404 arg4
= static_cast< size_t >(val4
);
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= SWIG_Py_Void();
15418 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
= 0;
15420 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15431 PyObject
* obj0
= 0 ;
15432 PyObject
* obj1
= 0 ;
15433 PyObject
* obj2
= 0 ;
15434 PyObject
* obj3
= 0 ;
15435 char * kwnames
[] = {
15436 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15441 if (!SWIG_IsOK(res1
)) {
15442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15444 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15446 if (!SWIG_IsOK(res2
)) {
15447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15452 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15455 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15457 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15458 if (!SWIG_IsOK(ecode4
)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15461 arg4
= static_cast< size_t >(val4
);
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= SWIG_Py_Void();
15475 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15478 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15479 return SWIG_Py_Void();
15482 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15483 return SWIG_Python_InitShadowInstance(args
);
15486 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
= 0;
15488 wxWindow
*arg1
= (wxWindow
*) 0 ;
15489 int arg2
= (int) wxID_ANY
;
15490 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15491 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15492 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15493 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15494 long arg5
= (long) 0 ;
15495 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15496 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15497 wxPyHtmlListBox
*result
= 0 ;
15506 bool temp6
= false ;
15507 PyObject
* obj0
= 0 ;
15508 PyObject
* obj1
= 0 ;
15509 PyObject
* obj2
= 0 ;
15510 PyObject
* obj3
= 0 ;
15511 PyObject
* obj4
= 0 ;
15512 PyObject
* obj5
= 0 ;
15513 char * kwnames
[] = {
15514 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15519 if (!SWIG_IsOK(res1
)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15522 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15525 if (!SWIG_IsOK(ecode2
)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15528 arg2
= static_cast< int >(val2
);
15533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15539 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15543 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15544 if (!SWIG_IsOK(ecode5
)) {
15545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15547 arg5
= static_cast< long >(val5
);
15551 arg6
= wxString_in_helper(obj5
);
15552 if (arg6
== NULL
) SWIG_fail
;
15557 if (!wxPyCheckForApp()) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15578 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15579 PyObject
*resultobj
= 0;
15580 wxPyHtmlListBox
*result
= 0 ;
15582 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15584 if (!wxPyCheckForApp()) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15597 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
= 0;
15599 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15600 PyObject
*arg2
= (PyObject
*) 0 ;
15601 PyObject
*arg3
= (PyObject
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 PyObject
* obj1
= 0 ;
15606 PyObject
* obj2
= 0 ;
15607 char * kwnames
[] = {
15608 (char *) "self",(char *) "self",(char *) "_class", NULL
15611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15613 if (!SWIG_IsOK(res1
)) {
15614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15616 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= SWIG_Py_Void();
15632 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
= 0;
15634 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15635 wxWindow
*arg2
= (wxWindow
*) 0 ;
15636 int arg3
= (int) wxID_ANY
;
15637 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15638 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15639 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15640 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15641 long arg6
= (long) 0 ;
15642 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15643 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15655 bool temp7
= false ;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 PyObject
* obj2
= 0 ;
15659 PyObject
* obj3
= 0 ;
15660 PyObject
* obj4
= 0 ;
15661 PyObject
* obj5
= 0 ;
15662 PyObject
* obj6
= 0 ;
15663 char * kwnames
[] = {
15664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15669 if (!SWIG_IsOK(res1
)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15672 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15674 if (!SWIG_IsOK(res2
)) {
15675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15677 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15679 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15680 if (!SWIG_IsOK(ecode3
)) {
15681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15683 arg3
= static_cast< int >(val3
);
15688 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15694 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15698 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15699 if (!SWIG_IsOK(ecode6
)) {
15700 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15702 arg6
= static_cast< long >(val6
);
15706 arg7
= wxString_in_helper(obj6
);
15707 if (arg7
== NULL
) SWIG_fail
;
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15734 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
= 0;
15736 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 char * kwnames
[] = {
15745 (char *) "self",(char *) "count", NULL
15748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15750 if (!SWIG_IsOK(res1
)) {
15751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15753 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15754 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15755 if (!SWIG_IsOK(ecode2
)) {
15756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15758 arg2
= static_cast< size_t >(val2
);
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 (arg1
)->SetItemCount(arg2
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= SWIG_Py_Void();
15772 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15773 PyObject
*resultobj
= 0;
15774 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15775 wxFileSystem
*result
= 0 ;
15778 PyObject
*swig_obj
[1] ;
15780 if (!args
) SWIG_fail
;
15781 swig_obj
[0] = args
;
15782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15783 if (!SWIG_IsOK(res1
)) {
15784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15786 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15791 result
= (wxFileSystem
*) &_result_ref
;
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15803 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
= 0;
15805 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15807 wxHtmlLinkInfo
*arg3
= 0 ;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 PyObject
* obj2
= 0 ;
15817 char * kwnames
[] = {
15818 (char *) "self",(char *) "n",(char *) "link", NULL
15821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15823 if (!SWIG_IsOK(res1
)) {
15824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15826 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15827 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15828 if (!SWIG_IsOK(ecode2
)) {
15829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15831 arg2
= static_cast< size_t >(val2
);
15832 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15833 if (!SWIG_IsOK(res3
)) {
15834 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15839 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= SWIG_Py_Void();
15853 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15855 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15856 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15857 return SWIG_Py_Void();
15860 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15861 return SWIG_Python_InitShadowInstance(args
);
15864 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15865 PyObject
*resultobj
= 0;
15866 wxPyTaskBarIcon
*result
= 0 ;
15868 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15870 if (!wxPyCheckForApp()) SWIG_fail
;
15871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15872 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15883 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15884 PyObject
*resultobj
= 0;
15885 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15888 PyObject
*swig_obj
[1] ;
15890 if (!args
) SWIG_fail
;
15891 swig_obj
[0] = args
;
15892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15893 if (!SWIG_IsOK(res1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15896 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= SWIG_Py_Void();
15911 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
= 0;
15913 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15914 PyObject
*arg2
= (PyObject
*) 0 ;
15915 PyObject
*arg3
= (PyObject
*) 0 ;
15921 PyObject
* obj0
= 0 ;
15922 PyObject
* obj1
= 0 ;
15923 PyObject
* obj2
= 0 ;
15924 PyObject
* obj3
= 0 ;
15925 char * kwnames
[] = {
15926 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15931 if (!SWIG_IsOK(res1
)) {
15932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15934 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15937 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15938 if (!SWIG_IsOK(ecode4
)) {
15939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15941 arg4
= static_cast< int >(val4
);
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= SWIG_Py_Void();
15955 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15956 PyObject
*resultobj
= 0;
15957 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15960 PyObject
*swig_obj
[1] ;
15962 if (!args
) SWIG_fail
;
15963 swig_obj
[0] = args
;
15964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15965 if (!SWIG_IsOK(res1
)) {
15966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15968 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 wxPyTaskBarIcon_Destroy(arg1
);
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15975 resultobj
= SWIG_Py_Void();
15982 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15983 PyObject
*resultobj
= 0;
15984 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15988 PyObject
*swig_obj
[1] ;
15990 if (!args
) SWIG_fail
;
15991 swig_obj
[0] = args
;
15992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15993 if (!SWIG_IsOK(res1
)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15996 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16012 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16013 PyObject
*resultobj
= 0;
16014 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16018 PyObject
*swig_obj
[1] ;
16020 if (!args
) SWIG_fail
;
16021 swig_obj
[0] = args
;
16022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16023 if (!SWIG_IsOK(res1
)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16026 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16042 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
= 0;
16044 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16053 bool temp3
= false ;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 PyObject
* obj2
= 0 ;
16057 char * kwnames
[] = {
16058 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16063 if (!SWIG_IsOK(res1
)) {
16064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16066 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16068 if (!SWIG_IsOK(res2
)) {
16069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16074 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16077 arg3
= wxString_in_helper(obj2
);
16078 if (arg3
== NULL
) SWIG_fail
;
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16105 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16106 PyObject
*resultobj
= 0;
16107 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16111 PyObject
*swig_obj
[1] ;
16113 if (!args
) SWIG_fail
;
16114 swig_obj
[0] = args
;
16115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16116 if (!SWIG_IsOK(res1
)) {
16117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16119 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (bool)(arg1
)->RemoveIcon();
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16135 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
= 0;
16137 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16138 wxMenu
*arg2
= (wxMenu
*) 0 ;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 char * kwnames
[] = {
16147 (char *) "self",(char *) "menu", NULL
16150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16152 if (!SWIG_IsOK(res1
)) {
16153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16155 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16157 if (!SWIG_IsOK(res2
)) {
16158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16160 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (bool)(arg1
)->PopupMenu(arg2
);
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16176 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16179 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16180 return SWIG_Py_Void();
16183 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16184 return SWIG_Python_InitShadowInstance(args
);
16187 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
= 0;
16190 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16191 wxTaskBarIconEvent
*result
= 0 ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 char * kwnames
[] = {
16199 (char *) "evtType",(char *) "tbIcon", NULL
16202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16203 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16204 if (!SWIG_IsOK(ecode1
)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16207 arg1
= static_cast< wxEventType
>(val1
);
16208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16209 if (!SWIG_IsOK(res2
)) {
16210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16212 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16226 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16229 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16230 return SWIG_Py_Void();
16233 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16234 return SWIG_Python_InitShadowInstance(args
);
16237 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16238 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16243 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16244 PyObject
*pyobj
= 0;
16248 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16250 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16257 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16258 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16263 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16264 PyObject
*pyobj
= 0;
16268 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16270 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16277 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16278 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16283 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16284 PyObject
*pyobj
= 0;
16288 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16290 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16297 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16298 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16303 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16304 PyObject
*pyobj
= 0;
16308 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16310 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16317 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16318 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16323 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16324 PyObject
*pyobj
= 0;
16328 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16330 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16337 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16338 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16343 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16344 PyObject
*pyobj
= 0;
16348 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16350 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16357 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16358 PyObject
*resultobj
= 0;
16359 wxColourData
*result
= 0 ;
16361 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (wxColourData
*)new wxColourData();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16375 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16376 PyObject
*resultobj
= 0;
16377 wxColourData
*arg1
= (wxColourData
*) 0 ;
16380 PyObject
*swig_obj
[1] ;
16382 if (!args
) SWIG_fail
;
16383 swig_obj
[0] = args
;
16384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16385 if (!SWIG_IsOK(res1
)) {
16386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16388 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= SWIG_Py_Void();
16403 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16404 PyObject
*resultobj
= 0;
16405 wxColourData
*arg1
= (wxColourData
*) 0 ;
16409 PyObject
*swig_obj
[1] ;
16411 if (!args
) SWIG_fail
;
16412 swig_obj
[0] = args
;
16413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16414 if (!SWIG_IsOK(res1
)) {
16415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16417 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (bool)(arg1
)->GetChooseFull();
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16433 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16434 PyObject
*resultobj
= 0;
16435 wxColourData
*arg1
= (wxColourData
*) 0 ;
16439 PyObject
*swig_obj
[1] ;
16441 if (!args
) SWIG_fail
;
16442 swig_obj
[0] = args
;
16443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16444 if (!SWIG_IsOK(res1
)) {
16445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16447 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 result
= (arg1
)->GetColour();
16451 wxPyEndAllowThreads(__tstate
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16454 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16461 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
= 0;
16463 wxColourData
*arg1
= (wxColourData
*) 0 ;
16470 PyObject
* obj0
= 0 ;
16471 PyObject
* obj1
= 0 ;
16472 char * kwnames
[] = {
16473 (char *) "self",(char *) "i", NULL
16476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16478 if (!SWIG_IsOK(res1
)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16481 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16483 if (!SWIG_IsOK(ecode2
)) {
16484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16486 arg2
= static_cast< int >(val2
);
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 result
= (arg1
)->GetCustomColour(arg2
);
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16500 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
= 0;
16502 wxColourData
*arg1
= (wxColourData
*) 0 ;
16508 PyObject
* obj0
= 0 ;
16509 PyObject
* obj1
= 0 ;
16510 char * kwnames
[] = {
16511 (char *) "self",(char *) "flag", NULL
16514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16516 if (!SWIG_IsOK(res1
)) {
16517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16519 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16521 if (!SWIG_IsOK(ecode2
)) {
16522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16524 arg2
= static_cast< int >(val2
);
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 (arg1
)->SetChooseFull(arg2
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= SWIG_Py_Void();
16538 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
= 0;
16540 wxColourData
*arg1
= (wxColourData
*) 0 ;
16541 wxColour
*arg2
= 0 ;
16545 PyObject
* obj0
= 0 ;
16546 PyObject
* obj1
= 0 ;
16547 char * kwnames
[] = {
16548 (char *) "self",(char *) "colour", NULL
16551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16553 if (!SWIG_IsOK(res1
)) {
16554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16556 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16559 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 (arg1
)->SetColour((wxColour
const &)*arg2
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= SWIG_Py_Void();
16574 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
= 0;
16576 wxColourData
*arg1
= (wxColourData
*) 0 ;
16578 wxColour
*arg3
= 0 ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 PyObject
* obj2
= 0 ;
16587 char * kwnames
[] = {
16588 (char *) "self",(char *) "i",(char *) "colour", NULL
16591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16593 if (!SWIG_IsOK(res1
)) {
16594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16596 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16598 if (!SWIG_IsOK(ecode2
)) {
16599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16601 arg2
= static_cast< int >(val2
);
16604 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= SWIG_Py_Void();
16619 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16622 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16623 return SWIG_Py_Void();
16626 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16627 return SWIG_Python_InitShadowInstance(args
);
16630 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
= 0;
16632 wxWindow
*arg1
= (wxWindow
*) 0 ;
16633 wxColourData
*arg2
= (wxColourData
*) NULL
;
16634 wxColourDialog
*result
= 0 ;
16639 PyObject
* obj0
= 0 ;
16640 PyObject
* obj1
= 0 ;
16641 char * kwnames
[] = {
16642 (char *) "parent",(char *) "data", NULL
16645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16647 if (!SWIG_IsOK(res1
)) {
16648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16650 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16652 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16653 if (!SWIG_IsOK(res2
)) {
16654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16656 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16659 if (!wxPyCheckForApp()) SWIG_fail
;
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16672 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16673 PyObject
*resultobj
= 0;
16674 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16675 wxColourData
*result
= 0 ;
16678 PyObject
*swig_obj
[1] ;
16680 if (!args
) SWIG_fail
;
16681 swig_obj
[0] = args
;
16682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16683 if (!SWIG_IsOK(res1
)) {
16684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16686 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16691 result
= (wxColourData
*) &_result_ref
;
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16703 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16706 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16707 return SWIG_Py_Void();
16710 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16711 return SWIG_Python_InitShadowInstance(args
);
16714 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
= 0;
16716 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16717 wxColour
const &arg2_defvalue
= wxNullColour
;
16718 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16719 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16720 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16725 bool temp3
= false ;
16726 PyObject
* obj0
= 0 ;
16727 PyObject
* obj1
= 0 ;
16728 PyObject
* obj2
= 0 ;
16729 char * kwnames
[] = {
16730 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16736 if (!SWIG_IsOK(res1
)) {
16737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16739 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16749 arg3
= wxString_in_helper(obj2
);
16750 if (arg3
== NULL
) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16775 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
= 0;
16777 wxWindow
*arg1
= (wxWindow
*) 0 ;
16778 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16779 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16780 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16781 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16782 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16783 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16784 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16785 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16786 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16787 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16788 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16789 wxDirDialog
*result
= 0 ;
16792 bool temp2
= false ;
16793 bool temp3
= false ;
16798 bool temp7
= false ;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 PyObject
* obj2
= 0 ;
16802 PyObject
* obj3
= 0 ;
16803 PyObject
* obj4
= 0 ;
16804 PyObject
* obj5
= 0 ;
16805 PyObject
* obj6
= 0 ;
16806 char * kwnames
[] = {
16807 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16815 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16818 arg2
= wxString_in_helper(obj1
);
16819 if (arg2
== NULL
) SWIG_fail
;
16825 arg3
= wxString_in_helper(obj2
);
16826 if (arg3
== NULL
) SWIG_fail
;
16831 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16832 if (!SWIG_IsOK(ecode4
)) {
16833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16835 arg4
= static_cast< long >(val4
);
16840 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16846 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16851 arg7
= wxString_in_helper(obj6
);
16852 if (arg7
== NULL
) SWIG_fail
;
16857 if (!wxPyCheckForApp()) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16894 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16895 PyObject
*resultobj
= 0;
16896 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16900 PyObject
*swig_obj
[1] ;
16902 if (!args
) SWIG_fail
;
16903 swig_obj
[0] = args
;
16904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16905 if (!SWIG_IsOK(res1
)) {
16906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16908 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 result
= (arg1
)->GetPath();
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16928 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16929 PyObject
*resultobj
= 0;
16930 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16934 PyObject
*swig_obj
[1] ;
16936 if (!args
) SWIG_fail
;
16937 swig_obj
[0] = args
;
16938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16939 if (!SWIG_IsOK(res1
)) {
16940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16942 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 result
= (arg1
)->GetMessage();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16962 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
= 0;
16964 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16965 wxString
*arg2
= 0 ;
16968 bool temp2
= false ;
16969 PyObject
* obj0
= 0 ;
16970 PyObject
* obj1
= 0 ;
16971 char * kwnames
[] = {
16972 (char *) "self",(char *) "message", NULL
16975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16977 if (!SWIG_IsOK(res1
)) {
16978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16980 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16982 arg2
= wxString_in_helper(obj1
);
16983 if (arg2
== NULL
) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 (arg1
)->SetMessage((wxString
const &)*arg2
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_Py_Void();
17007 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
= 0;
17009 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17010 wxString
*arg2
= 0 ;
17013 bool temp2
= false ;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 char * kwnames
[] = {
17017 (char *) "self",(char *) "path", NULL
17020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17022 if (!SWIG_IsOK(res1
)) {
17023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17025 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17027 arg2
= wxString_in_helper(obj1
);
17028 if (arg2
== NULL
) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 (arg1
)->SetPath((wxString
const &)*arg2
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= SWIG_Py_Void();
17052 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17055 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17056 return SWIG_Py_Void();
17059 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17060 return SWIG_Python_InitShadowInstance(args
);
17063 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
= 0;
17065 wxWindow
*arg1
= (wxWindow
*) 0 ;
17066 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17067 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17070 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17071 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17072 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17073 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17074 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17075 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17076 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17077 wxFileDialog
*result
= 0 ;
17080 bool temp2
= false ;
17081 bool temp3
= false ;
17082 bool temp4
= false ;
17083 bool temp5
= false ;
17087 PyObject
* obj0
= 0 ;
17088 PyObject
* obj1
= 0 ;
17089 PyObject
* obj2
= 0 ;
17090 PyObject
* obj3
= 0 ;
17091 PyObject
* obj4
= 0 ;
17092 PyObject
* obj5
= 0 ;
17093 PyObject
* obj6
= 0 ;
17094 char * kwnames
[] = {
17095 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17100 if (!SWIG_IsOK(res1
)) {
17101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17103 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17106 arg2
= wxString_in_helper(obj1
);
17107 if (arg2
== NULL
) SWIG_fail
;
17113 arg3
= wxString_in_helper(obj2
);
17114 if (arg3
== NULL
) SWIG_fail
;
17120 arg4
= wxString_in_helper(obj3
);
17121 if (arg4
== NULL
) SWIG_fail
;
17127 arg5
= wxString_in_helper(obj4
);
17128 if (arg5
== NULL
) SWIG_fail
;
17133 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17134 if (!SWIG_IsOK(ecode6
)) {
17135 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17137 arg6
= static_cast< long >(val6
);
17142 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17146 if (!wxPyCheckForApp()) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17191 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
= 0;
17193 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17194 wxString
*arg2
= 0 ;
17197 bool temp2
= false ;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 char * kwnames
[] = {
17201 (char *) "self",(char *) "message", NULL
17204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17206 if (!SWIG_IsOK(res1
)) {
17207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17209 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17211 arg2
= wxString_in_helper(obj1
);
17212 if (arg2
== NULL
) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 (arg1
)->SetMessage((wxString
const &)*arg2
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= SWIG_Py_Void();
17236 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
= 0;
17238 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17239 wxString
*arg2
= 0 ;
17242 bool temp2
= false ;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 char * kwnames
[] = {
17246 (char *) "self",(char *) "path", NULL
17249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17251 if (!SWIG_IsOK(res1
)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17254 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17256 arg2
= wxString_in_helper(obj1
);
17257 if (arg2
== NULL
) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 (arg1
)->SetPath((wxString
const &)*arg2
);
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= SWIG_Py_Void();
17281 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
= 0;
17283 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17284 wxString
*arg2
= 0 ;
17287 bool temp2
= false ;
17288 PyObject
* obj0
= 0 ;
17289 PyObject
* obj1
= 0 ;
17290 char * kwnames
[] = {
17291 (char *) "self",(char *) "dir", NULL
17294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17296 if (!SWIG_IsOK(res1
)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17299 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17301 arg2
= wxString_in_helper(obj1
);
17302 if (arg2
== NULL
) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= SWIG_Py_Void();
17326 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
= 0;
17328 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17329 wxString
*arg2
= 0 ;
17332 bool temp2
= false ;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 char * kwnames
[] = {
17336 (char *) "self",(char *) "name", NULL
17339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17341 if (!SWIG_IsOK(res1
)) {
17342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17344 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17346 arg2
= wxString_in_helper(obj1
);
17347 if (arg2
== NULL
) SWIG_fail
;
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 (arg1
)->SetFilename((wxString
const &)*arg2
);
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= SWIG_Py_Void();
17371 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
= 0;
17373 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17374 wxString
*arg2
= 0 ;
17377 bool temp2
= false ;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 char * kwnames
[] = {
17381 (char *) "self",(char *) "wildCard", NULL
17384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17386 if (!SWIG_IsOK(res1
)) {
17387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17389 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17391 arg2
= wxString_in_helper(obj1
);
17392 if (arg2
== NULL
) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= SWIG_Py_Void();
17416 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
= 0;
17418 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17424 PyObject
* obj0
= 0 ;
17425 PyObject
* obj1
= 0 ;
17426 char * kwnames
[] = {
17427 (char *) "self",(char *) "filterIndex", NULL
17430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17432 if (!SWIG_IsOK(res1
)) {
17433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17435 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17437 if (!SWIG_IsOK(ecode2
)) {
17438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17440 arg2
= static_cast< int >(val2
);
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 (arg1
)->SetFilterIndex(arg2
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17447 resultobj
= SWIG_Py_Void();
17454 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17455 PyObject
*resultobj
= 0;
17456 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17460 PyObject
*swig_obj
[1] ;
17462 if (!args
) SWIG_fail
;
17463 swig_obj
[0] = args
;
17464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17465 if (!SWIG_IsOK(res1
)) {
17466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17468 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17488 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17489 PyObject
*resultobj
= 0;
17490 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17494 PyObject
*swig_obj
[1] ;
17496 if (!args
) SWIG_fail
;
17497 swig_obj
[0] = args
;
17498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17499 if (!SWIG_IsOK(res1
)) {
17500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17502 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17522 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17523 PyObject
*resultobj
= 0;
17524 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17528 PyObject
*swig_obj
[1] ;
17530 if (!args
) SWIG_fail
;
17531 swig_obj
[0] = args
;
17532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17533 if (!SWIG_IsOK(res1
)) {
17534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17536 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17556 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17557 PyObject
*resultobj
= 0;
17558 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17562 PyObject
*swig_obj
[1] ;
17564 if (!args
) SWIG_fail
;
17565 swig_obj
[0] = args
;
17566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17567 if (!SWIG_IsOK(res1
)) {
17568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17570 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17590 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17591 PyObject
*resultobj
= 0;
17592 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17596 PyObject
*swig_obj
[1] ;
17598 if (!args
) SWIG_fail
;
17599 swig_obj
[0] = args
;
17600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17601 if (!SWIG_IsOK(res1
)) {
17602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17604 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17624 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17625 PyObject
*resultobj
= 0;
17626 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17630 PyObject
*swig_obj
[1] ;
17632 if (!args
) SWIG_fail
;
17633 swig_obj
[0] = args
;
17634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17635 if (!SWIG_IsOK(res1
)) {
17636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17638 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= SWIG_From_int(static_cast< int >(result
));
17652 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17653 PyObject
*resultobj
= 0;
17654 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17655 PyObject
*result
= 0 ;
17658 PyObject
*swig_obj
[1] ;
17660 if (!args
) SWIG_fail
;
17661 swig_obj
[0] = args
;
17662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17663 if (!SWIG_IsOK(res1
)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17666 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17673 resultobj
= result
;
17680 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17681 PyObject
*resultobj
= 0;
17682 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17683 PyObject
*result
= 0 ;
17686 PyObject
*swig_obj
[1] ;
17688 if (!args
) SWIG_fail
;
17689 swig_obj
[0] = args
;
17690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17691 if (!SWIG_IsOK(res1
)) {
17692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17694 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17698 wxPyEndAllowThreads(__tstate
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17701 resultobj
= result
;
17708 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17711 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17712 return SWIG_Py_Void();
17715 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17716 return SWIG_Python_InitShadowInstance(args
);
17719 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
= 0;
17721 wxWindow
*arg1
= (wxWindow
*) 0 ;
17722 wxString
*arg2
= 0 ;
17723 wxString
*arg3
= 0 ;
17724 int arg4
= (int) 0 ;
17725 wxString
*arg5
= (wxString
*) NULL
;
17726 long arg6
= (long) wxCHOICEDLG_STYLE
;
17727 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17728 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17729 wxMultiChoiceDialog
*result
= 0 ;
17732 bool temp2
= false ;
17733 bool temp3
= false ;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 PyObject
* obj2
= 0 ;
17740 PyObject
* obj3
= 0 ;
17741 PyObject
* obj4
= 0 ;
17742 PyObject
* obj5
= 0 ;
17743 char * kwnames
[] = {
17744 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17749 if (!SWIG_IsOK(res1
)) {
17750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17752 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17754 arg2
= wxString_in_helper(obj1
);
17755 if (arg2
== NULL
) SWIG_fail
;
17759 arg3
= wxString_in_helper(obj2
);
17760 if (arg3
== NULL
) SWIG_fail
;
17765 arg4
= PyList_Size(obj3
);
17766 arg5
= wxString_LIST_helper(obj3
);
17767 if (arg5
== NULL
) SWIG_fail
;
17771 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17772 if (!SWIG_IsOK(ecode6
)) {
17773 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17775 arg6
= static_cast< long >(val6
);
17780 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17784 if (!wxPyCheckForApp()) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17800 if (arg5
) delete [] arg5
;
17813 if (arg5
) delete [] arg5
;
17819 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
= 0;
17821 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17822 wxArrayInt
*arg2
= 0 ;
17825 bool temp2
= false ;
17826 PyObject
* obj0
= 0 ;
17827 PyObject
* obj1
= 0 ;
17828 char * kwnames
[] = {
17829 (char *) "self",(char *) "selections", NULL
17832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17834 if (!SWIG_IsOK(res1
)) {
17835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17837 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17839 if (! PySequence_Check(obj1
)) {
17840 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17843 arg2
= new wxArrayInt
;
17845 int i
, len
=PySequence_Length(obj1
);
17846 for (i
=0; i
<len
; i
++) {
17847 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17848 PyObject
* number
= PyNumber_Int(item
);
17849 arg2
->Add(PyInt_AS_LONG(number
));
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= SWIG_Py_Void();
17862 if (temp2
) delete arg2
;
17867 if (temp2
) delete arg2
;
17873 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17874 PyObject
*resultobj
= 0;
17875 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17876 PyObject
*result
= 0 ;
17879 PyObject
*swig_obj
[1] ;
17881 if (!args
) SWIG_fail
;
17882 swig_obj
[0] = args
;
17883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17884 if (!SWIG_IsOK(res1
)) {
17885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17887 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= result
;
17901 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17904 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17905 return SWIG_Py_Void();
17908 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17909 return SWIG_Python_InitShadowInstance(args
);
17912 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
= 0;
17914 wxWindow
*arg1
= (wxWindow
*) 0 ;
17915 wxString
*arg2
= 0 ;
17916 wxString
*arg3
= 0 ;
17918 wxString
*arg5
= (wxString
*) 0 ;
17919 long arg6
= (long) wxCHOICEDLG_STYLE
;
17920 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17921 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17922 wxSingleChoiceDialog
*result
= 0 ;
17925 bool temp2
= false ;
17926 bool temp3
= false ;
17930 PyObject
* obj0
= 0 ;
17931 PyObject
* obj1
= 0 ;
17932 PyObject
* obj2
= 0 ;
17933 PyObject
* obj3
= 0 ;
17934 PyObject
* obj4
= 0 ;
17935 PyObject
* obj5
= 0 ;
17936 char * kwnames
[] = {
17937 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17942 if (!SWIG_IsOK(res1
)) {
17943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17945 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17947 arg2
= wxString_in_helper(obj1
);
17948 if (arg2
== NULL
) SWIG_fail
;
17952 arg3
= wxString_in_helper(obj2
);
17953 if (arg3
== NULL
) SWIG_fail
;
17957 arg4
= PyList_Size(obj3
);
17958 arg5
= wxString_LIST_helper(obj3
);
17959 if (arg5
== NULL
) SWIG_fail
;
17962 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17963 if (!SWIG_IsOK(ecode6
)) {
17964 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17966 arg6
= static_cast< long >(val6
);
17971 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17975 if (!wxPyCheckForApp()) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17991 if (arg5
) delete [] arg5
;
18004 if (arg5
) delete [] arg5
;
18010 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18011 PyObject
*resultobj
= 0;
18012 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18016 PyObject
*swig_obj
[1] ;
18018 if (!args
) SWIG_fail
;
18019 swig_obj
[0] = args
;
18020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18021 if (!SWIG_IsOK(res1
)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18024 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 result
= (int)(arg1
)->GetSelection();
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= SWIG_From_int(static_cast< int >(result
));
18038 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18039 PyObject
*resultobj
= 0;
18040 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18044 PyObject
*swig_obj
[1] ;
18046 if (!args
) SWIG_fail
;
18047 swig_obj
[0] = args
;
18048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18049 if (!SWIG_IsOK(res1
)) {
18050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18052 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 result
= (arg1
)->GetStringSelection();
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18072 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
= 0;
18074 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 char * kwnames
[] = {
18083 (char *) "self",(char *) "sel", NULL
18086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18088 if (!SWIG_IsOK(res1
)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18091 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18093 if (!SWIG_IsOK(ecode2
)) {
18094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18096 arg2
= static_cast< int >(val2
);
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 (arg1
)->SetSelection(arg2
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= SWIG_Py_Void();
18110 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18113 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18114 return SWIG_Py_Void();
18117 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18118 return SWIG_Python_InitShadowInstance(args
);
18121 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
= 0;
18123 wxWindow
*arg1
= (wxWindow
*) 0 ;
18124 wxString
*arg2
= 0 ;
18125 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18126 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18127 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18128 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18129 long arg5
= (long) wxTextEntryDialogStyle
;
18130 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18131 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18132 wxTextEntryDialog
*result
= 0 ;
18135 bool temp2
= false ;
18136 bool temp3
= false ;
18137 bool temp4
= false ;
18141 PyObject
* obj0
= 0 ;
18142 PyObject
* obj1
= 0 ;
18143 PyObject
* obj2
= 0 ;
18144 PyObject
* obj3
= 0 ;
18145 PyObject
* obj4
= 0 ;
18146 PyObject
* obj5
= 0 ;
18147 char * kwnames
[] = {
18148 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18153 if (!SWIG_IsOK(res1
)) {
18154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18156 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18158 arg2
= wxString_in_helper(obj1
);
18159 if (arg2
== NULL
) SWIG_fail
;
18164 arg3
= wxString_in_helper(obj2
);
18165 if (arg3
== NULL
) SWIG_fail
;
18171 arg4
= wxString_in_helper(obj3
);
18172 if (arg4
== NULL
) SWIG_fail
;
18177 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18178 if (!SWIG_IsOK(ecode5
)) {
18179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18181 arg5
= static_cast< long >(val5
);
18186 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18190 if (!wxPyCheckForApp()) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18227 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18228 PyObject
*resultobj
= 0;
18229 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18233 PyObject
*swig_obj
[1] ;
18235 if (!args
) SWIG_fail
;
18236 swig_obj
[0] = args
;
18237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18238 if (!SWIG_IsOK(res1
)) {
18239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18241 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 result
= (arg1
)->GetValue();
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18261 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
= 0;
18263 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18264 wxString
*arg2
= 0 ;
18267 bool temp2
= false ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char * kwnames
[] = {
18271 (char *) "self",(char *) "value", NULL
18274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18276 if (!SWIG_IsOK(res1
)) {
18277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18279 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18281 arg2
= wxString_in_helper(obj1
);
18282 if (arg2
== NULL
) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 (arg1
)->SetValue((wxString
const &)*arg2
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= SWIG_Py_Void();
18306 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18309 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18310 return SWIG_Py_Void();
18313 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18314 return SWIG_Python_InitShadowInstance(args
);
18317 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18318 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18323 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18324 PyObject
*pyobj
= 0;
18328 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18330 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18337 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
= 0;
18339 wxWindow
*arg1
= (wxWindow
*) 0 ;
18340 wxString
*arg2
= 0 ;
18341 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18342 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18343 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18344 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18345 long arg5
= (long) wxTextEntryDialogStyle
;
18346 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18347 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18348 wxPasswordEntryDialog
*result
= 0 ;
18351 bool temp2
= false ;
18352 bool temp3
= false ;
18353 bool temp4
= false ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 PyObject
* obj2
= 0 ;
18360 PyObject
* obj3
= 0 ;
18361 PyObject
* obj4
= 0 ;
18362 PyObject
* obj5
= 0 ;
18363 char * kwnames
[] = {
18364 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18369 if (!SWIG_IsOK(res1
)) {
18370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18372 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18374 arg2
= wxString_in_helper(obj1
);
18375 if (arg2
== NULL
) SWIG_fail
;
18380 arg3
= wxString_in_helper(obj2
);
18381 if (arg3
== NULL
) SWIG_fail
;
18387 arg4
= wxString_in_helper(obj3
);
18388 if (arg4
== NULL
) SWIG_fail
;
18393 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18394 if (!SWIG_IsOK(ecode5
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18397 arg5
= static_cast< long >(val5
);
18402 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18442 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18445 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18446 return SWIG_Py_Void();
18449 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18450 return SWIG_Python_InitShadowInstance(args
);
18453 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
= 0;
18455 wxWindow
*arg1
= (wxWindow
*) 0 ;
18456 wxString
*arg2
= 0 ;
18457 wxString
*arg3
= 0 ;
18458 wxString
*arg4
= 0 ;
18462 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18463 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18464 wxNumberEntryDialog
*result
= 0 ;
18467 bool temp2
= false ;
18468 bool temp3
= false ;
18469 bool temp4
= false ;
18477 PyObject
* obj0
= 0 ;
18478 PyObject
* obj1
= 0 ;
18479 PyObject
* obj2
= 0 ;
18480 PyObject
* obj3
= 0 ;
18481 PyObject
* obj4
= 0 ;
18482 PyObject
* obj5
= 0 ;
18483 PyObject
* obj6
= 0 ;
18484 PyObject
* obj7
= 0 ;
18485 char * kwnames
[] = {
18486 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18491 if (!SWIG_IsOK(res1
)) {
18492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18494 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18496 arg2
= wxString_in_helper(obj1
);
18497 if (arg2
== NULL
) SWIG_fail
;
18501 arg3
= wxString_in_helper(obj2
);
18502 if (arg3
== NULL
) SWIG_fail
;
18506 arg4
= wxString_in_helper(obj3
);
18507 if (arg4
== NULL
) SWIG_fail
;
18510 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18511 if (!SWIG_IsOK(ecode5
)) {
18512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18514 arg5
= static_cast< long >(val5
);
18515 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18516 if (!SWIG_IsOK(ecode6
)) {
18517 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18519 arg6
= static_cast< long >(val6
);
18520 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18521 if (!SWIG_IsOK(ecode7
)) {
18522 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18524 arg7
= static_cast< long >(val7
);
18528 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18532 if (!wxPyCheckForApp()) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18569 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18570 PyObject
*resultobj
= 0;
18571 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18575 PyObject
*swig_obj
[1] ;
18577 if (!args
) SWIG_fail
;
18578 swig_obj
[0] = args
;
18579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18580 if (!SWIG_IsOK(res1
)) {
18581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18583 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 result
= (long)(arg1
)->GetValue();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_From_long(static_cast< long >(result
));
18597 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18600 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18601 return SWIG_Py_Void();
18604 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18605 return SWIG_Python_InitShadowInstance(args
);
18608 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18609 PyObject
*resultobj
= 0;
18610 wxFontData
*result
= 0 ;
18612 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 result
= (wxFontData
*)new wxFontData();
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18626 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18627 PyObject
*resultobj
= 0;
18628 wxFontData
*arg1
= (wxFontData
*) 0 ;
18631 PyObject
*swig_obj
[1] ;
18633 if (!args
) SWIG_fail
;
18634 swig_obj
[0] = args
;
18635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18636 if (!SWIG_IsOK(res1
)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18639 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= SWIG_Py_Void();
18654 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
= 0;
18656 wxFontData
*arg1
= (wxFontData
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 PyObject
* obj1
= 0 ;
18664 char * kwnames
[] = {
18665 (char *) "self",(char *) "enable", NULL
18668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18670 if (!SWIG_IsOK(res1
)) {
18671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18673 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18674 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18675 if (!SWIG_IsOK(ecode2
)) {
18676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18678 arg2
= static_cast< bool >(val2
);
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 (arg1
)->EnableEffects(arg2
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_Py_Void();
18692 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(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_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18706 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (bool)(arg1
)->GetAllowSymbols();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18722 SWIGINTERN PyObject
*_wrap_FontData_GetColour(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_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18736 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= (arg1
)->GetColour();
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18750 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(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_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18764 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 result
= (arg1
)->GetChosenFont();
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18778 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18779 PyObject
*resultobj
= 0;
18780 wxFontData
*arg1
= (wxFontData
*) 0 ;
18784 PyObject
*swig_obj
[1] ;
18786 if (!args
) SWIG_fail
;
18787 swig_obj
[0] = args
;
18788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18789 if (!SWIG_IsOK(res1
)) {
18790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18792 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (bool)(arg1
)->GetEnableEffects();
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18808 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18809 PyObject
*resultobj
= 0;
18810 wxFontData
*arg1
= (wxFontData
*) 0 ;
18814 PyObject
*swig_obj
[1] ;
18816 if (!args
) SWIG_fail
;
18817 swig_obj
[0] = args
;
18818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18819 if (!SWIG_IsOK(res1
)) {
18820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18822 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 result
= (arg1
)->GetInitialFont();
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18836 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18837 PyObject
*resultobj
= 0;
18838 wxFontData
*arg1
= (wxFontData
*) 0 ;
18842 PyObject
*swig_obj
[1] ;
18844 if (!args
) SWIG_fail
;
18845 swig_obj
[0] = args
;
18846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18847 if (!SWIG_IsOK(res1
)) {
18848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18850 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 result
= (bool)(arg1
)->GetShowHelp();
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18866 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
= 0;
18868 wxFontData
*arg1
= (wxFontData
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 PyObject
* obj1
= 0 ;
18876 char * kwnames
[] = {
18877 (char *) "self",(char *) "allowSymbols", NULL
18880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18882 if (!SWIG_IsOK(res1
)) {
18883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18885 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18886 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18887 if (!SWIG_IsOK(ecode2
)) {
18888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18890 arg2
= static_cast< bool >(val2
);
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 (arg1
)->SetAllowSymbols(arg2
);
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= SWIG_Py_Void();
18904 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
= 0;
18906 wxFontData
*arg1
= (wxFontData
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 char * kwnames
[] = {
18915 (char *) "self",(char *) "font", NULL
18918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18920 if (!SWIG_IsOK(res1
)) {
18921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18923 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18925 if (!SWIG_IsOK(res2
)) {
18926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18931 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 resultobj
= SWIG_Py_Void();
18945 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
= 0;
18947 wxFontData
*arg1
= (wxFontData
*) 0 ;
18948 wxColour
*arg2
= 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char * kwnames
[] = {
18955 (char *) "self",(char *) "colour", NULL
18958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18960 if (!SWIG_IsOK(res1
)) {
18961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18963 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18966 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 (arg1
)->SetColour((wxColour
const &)*arg2
);
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18974 resultobj
= SWIG_Py_Void();
18981 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
= 0;
18983 wxFontData
*arg1
= (wxFontData
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 char * kwnames
[] = {
18992 (char *) "self",(char *) "font", NULL
18995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18997 if (!SWIG_IsOK(res1
)) {
18998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19000 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19002 if (!SWIG_IsOK(res2
)) {
19003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19008 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= SWIG_Py_Void();
19022 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
= 0;
19024 wxFontData
*arg1
= (wxFontData
*) 0 ;
19033 PyObject
* obj0
= 0 ;
19034 PyObject
* obj1
= 0 ;
19035 PyObject
* obj2
= 0 ;
19036 char * kwnames
[] = {
19037 (char *) "self",(char *) "min",(char *) "max", NULL
19040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19042 if (!SWIG_IsOK(res1
)) {
19043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19045 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19047 if (!SWIG_IsOK(ecode2
)) {
19048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19050 arg2
= static_cast< int >(val2
);
19051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19052 if (!SWIG_IsOK(ecode3
)) {
19053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19055 arg3
= static_cast< int >(val3
);
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->SetRange(arg2
,arg3
);
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 resultobj
= SWIG_Py_Void();
19069 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
= 0;
19071 wxFontData
*arg1
= (wxFontData
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 PyObject
* obj1
= 0 ;
19079 char * kwnames
[] = {
19080 (char *) "self",(char *) "showHelp", NULL
19083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19085 if (!SWIG_IsOK(res1
)) {
19086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19088 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19089 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19090 if (!SWIG_IsOK(ecode2
)) {
19091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19093 arg2
= static_cast< bool >(val2
);
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 (arg1
)->SetShowHelp(arg2
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 resultobj
= SWIG_Py_Void();
19107 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19110 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19111 return SWIG_Py_Void();
19114 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19115 return SWIG_Python_InitShadowInstance(args
);
19118 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
= 0;
19120 wxWindow
*arg1
= (wxWindow
*) 0 ;
19121 wxFontData
*arg2
= 0 ;
19122 wxFontDialog
*result
= 0 ;
19127 PyObject
* obj0
= 0 ;
19128 PyObject
* obj1
= 0 ;
19129 char * kwnames
[] = {
19130 (char *) "parent",(char *) "data", NULL
19133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19135 if (!SWIG_IsOK(res1
)) {
19136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19138 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19139 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19140 if (!SWIG_IsOK(res2
)) {
19141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19146 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19148 if (!wxPyCheckForApp()) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19161 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19162 PyObject
*resultobj
= 0;
19163 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19164 wxFontData
*result
= 0 ;
19167 PyObject
*swig_obj
[1] ;
19169 if (!args
) SWIG_fail
;
19170 swig_obj
[0] = args
;
19171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19172 if (!SWIG_IsOK(res1
)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19175 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19180 result
= (wxFontData
*) &_result_ref
;
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19192 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19195 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19196 return SWIG_Py_Void();
19199 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19200 return SWIG_Python_InitShadowInstance(args
);
19203 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
= 0;
19205 wxWindow
*arg1
= (wxWindow
*) NULL
;
19206 wxFont
const &arg2_defvalue
= wxNullFont
;
19207 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19208 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19209 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19215 bool temp3
= false ;
19216 PyObject
* obj0
= 0 ;
19217 PyObject
* obj1
= 0 ;
19218 PyObject
* obj2
= 0 ;
19219 char * kwnames
[] = {
19220 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19226 if (!SWIG_IsOK(res1
)) {
19227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19229 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19233 if (!SWIG_IsOK(res2
)) {
19234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19239 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19243 arg3
= wxString_in_helper(obj2
);
19244 if (arg3
== NULL
) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19269 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
= 0;
19271 wxWindow
*arg1
= (wxWindow
*) 0 ;
19272 wxString
*arg2
= 0 ;
19273 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19274 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19275 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19276 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19277 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19278 wxMessageDialog
*result
= 0 ;
19281 bool temp2
= false ;
19282 bool temp3
= false ;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 PyObject
* obj2
= 0 ;
19289 PyObject
* obj3
= 0 ;
19290 PyObject
* obj4
= 0 ;
19291 char * kwnames
[] = {
19292 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19297 if (!SWIG_IsOK(res1
)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19300 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19302 arg2
= wxString_in_helper(obj1
);
19303 if (arg2
== NULL
) SWIG_fail
;
19308 arg3
= wxString_in_helper(obj2
);
19309 if (arg3
== NULL
) SWIG_fail
;
19314 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19315 if (!SWIG_IsOK(ecode4
)) {
19316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19318 arg4
= static_cast< long >(val4
);
19323 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19327 if (!wxPyCheckForApp()) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19356 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19359 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19360 return SWIG_Py_Void();
19363 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19364 return SWIG_Python_InitShadowInstance(args
);
19367 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19368 PyObject
*resultobj
= 0;
19369 wxString
*arg1
= 0 ;
19370 wxString
*arg2
= 0 ;
19371 int arg3
= (int) 100 ;
19372 wxWindow
*arg4
= (wxWindow
*) NULL
;
19373 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19374 wxProgressDialog
*result
= 0 ;
19375 bool temp1
= false ;
19376 bool temp2
= false ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 PyObject
* obj2
= 0 ;
19386 PyObject
* obj3
= 0 ;
19387 PyObject
* obj4
= 0 ;
19388 char * kwnames
[] = {
19389 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19394 arg1
= wxString_in_helper(obj0
);
19395 if (arg1
== NULL
) SWIG_fail
;
19399 arg2
= wxString_in_helper(obj1
);
19400 if (arg2
== NULL
) SWIG_fail
;
19404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19405 if (!SWIG_IsOK(ecode3
)) {
19406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19408 arg3
= static_cast< int >(val3
);
19411 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19412 if (!SWIG_IsOK(res4
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19415 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19418 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19419 if (!SWIG_IsOK(ecode5
)) {
19420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19422 arg5
= static_cast< int >(val5
);
19425 if (!wxPyCheckForApp()) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19454 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
= 0;
19456 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19458 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19459 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19460 bool *arg4
= (bool *) 0 ;
19466 bool temp3
= false ;
19468 int res4
= SWIG_TMPOBJ
;
19469 PyObject
* obj0
= 0 ;
19470 PyObject
* obj1
= 0 ;
19471 PyObject
* obj2
= 0 ;
19472 char * kwnames
[] = {
19473 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19479 if (!SWIG_IsOK(res1
)) {
19480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19482 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19484 if (!SWIG_IsOK(ecode2
)) {
19485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19487 arg2
= static_cast< int >(val2
);
19490 arg3
= wxString_in_helper(obj2
);
19491 if (arg3
== NULL
) SWIG_fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19504 if (SWIG_IsTmpObj(res4
)) {
19505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19507 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19524 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19525 PyObject
*resultobj
= 0;
19526 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19529 PyObject
*swig_obj
[1] ;
19531 if (!args
) SWIG_fail
;
19532 swig_obj
[0] = args
;
19533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19534 if (!SWIG_IsOK(res1
)) {
19535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19537 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_Py_Void();
19551 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19554 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19555 return SWIG_Py_Void();
19558 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19559 return SWIG_Python_InitShadowInstance(args
);
19562 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
= 0;
19564 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19565 int arg2
= (int) 0 ;
19566 wxFindDialogEvent
*result
= 0 ;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 char * kwnames
[] = {
19574 (char *) "commandType",(char *) "id", NULL
19577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19579 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19580 if (!SWIG_IsOK(ecode1
)) {
19581 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19583 arg1
= static_cast< wxEventType
>(val1
);
19586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19587 if (!SWIG_IsOK(ecode2
)) {
19588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19590 arg2
= static_cast< int >(val2
);
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19605 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19606 PyObject
*resultobj
= 0;
19607 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19611 PyObject
*swig_obj
[1] ;
19613 if (!args
) SWIG_fail
;
19614 swig_obj
[0] = args
;
19615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19616 if (!SWIG_IsOK(res1
)) {
19617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19619 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 result
= (int)(arg1
)->GetFlags();
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= SWIG_From_int(static_cast< int >(result
));
19633 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19634 PyObject
*resultobj
= 0;
19635 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19636 wxString
*result
= 0 ;
19639 PyObject
*swig_obj
[1] ;
19641 if (!args
) SWIG_fail
;
19642 swig_obj
[0] = args
;
19643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19644 if (!SWIG_IsOK(res1
)) {
19645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19647 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 wxString
const &_result_ref
= (arg1
)->GetFindString();
19652 result
= (wxString
*) &_result_ref
;
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19659 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19661 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19670 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19671 PyObject
*resultobj
= 0;
19672 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19673 wxString
*result
= 0 ;
19676 PyObject
*swig_obj
[1] ;
19678 if (!args
) SWIG_fail
;
19679 swig_obj
[0] = args
;
19680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19681 if (!SWIG_IsOK(res1
)) {
19682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19684 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19689 result
= (wxString
*) &_result_ref
;
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19696 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19698 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19707 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19708 PyObject
*resultobj
= 0;
19709 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19710 wxFindReplaceDialog
*result
= 0 ;
19713 PyObject
*swig_obj
[1] ;
19715 if (!args
) SWIG_fail
;
19716 swig_obj
[0] = args
;
19717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19718 if (!SWIG_IsOK(res1
)) {
19719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19721 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19735 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
= 0;
19737 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19745 char * kwnames
[] = {
19746 (char *) "self",(char *) "flags", NULL
19749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19751 if (!SWIG_IsOK(res1
)) {
19752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19754 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19756 if (!SWIG_IsOK(ecode2
)) {
19757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19759 arg2
= static_cast< int >(val2
);
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 (arg1
)->SetFlags(arg2
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_Py_Void();
19773 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
= 0;
19775 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19776 wxString
*arg2
= 0 ;
19779 bool temp2
= false ;
19780 PyObject
* obj0
= 0 ;
19781 PyObject
* obj1
= 0 ;
19782 char * kwnames
[] = {
19783 (char *) "self",(char *) "str", NULL
19786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19788 if (!SWIG_IsOK(res1
)) {
19789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19791 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19793 arg2
= wxString_in_helper(obj1
);
19794 if (arg2
== NULL
) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 (arg1
)->SetFindString((wxString
const &)*arg2
);
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= SWIG_Py_Void();
19818 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
= 0;
19820 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19821 wxString
*arg2
= 0 ;
19824 bool temp2
= false ;
19825 PyObject
* obj0
= 0 ;
19826 PyObject
* obj1
= 0 ;
19827 char * kwnames
[] = {
19828 (char *) "self",(char *) "str", NULL
19831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19833 if (!SWIG_IsOK(res1
)) {
19834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19836 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19838 arg2
= wxString_in_helper(obj1
);
19839 if (arg2
== NULL
) SWIG_fail
;
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19844 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= SWIG_Py_Void();
19863 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19866 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19867 return SWIG_Py_Void();
19870 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19871 return SWIG_Python_InitShadowInstance(args
);
19874 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
= 0;
19876 int arg1
= (int) 0 ;
19877 wxFindReplaceData
*result
= 0 ;
19880 PyObject
* obj0
= 0 ;
19881 char * kwnames
[] = {
19882 (char *) "flags", NULL
19885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19887 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19888 if (!SWIG_IsOK(ecode1
)) {
19889 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19891 arg1
= static_cast< int >(val1
);
19894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19895 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19906 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19907 PyObject
*resultobj
= 0;
19908 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19911 PyObject
*swig_obj
[1] ;
19913 if (!args
) SWIG_fail
;
19914 swig_obj
[0] = args
;
19915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19916 if (!SWIG_IsOK(res1
)) {
19917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19919 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= SWIG_Py_Void();
19934 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19935 PyObject
*resultobj
= 0;
19936 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19937 wxString
*result
= 0 ;
19940 PyObject
*swig_obj
[1] ;
19942 if (!args
) SWIG_fail
;
19943 swig_obj
[0] = args
;
19944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19945 if (!SWIG_IsOK(res1
)) {
19946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19948 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 wxString
const &_result_ref
= (arg1
)->GetFindString();
19953 result
= (wxString
*) &_result_ref
;
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19962 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19971 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19972 PyObject
*resultobj
= 0;
19973 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19974 wxString
*result
= 0 ;
19977 PyObject
*swig_obj
[1] ;
19979 if (!args
) SWIG_fail
;
19980 swig_obj
[0] = args
;
19981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19982 if (!SWIG_IsOK(res1
)) {
19983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19985 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19990 result
= (wxString
*) &_result_ref
;
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19997 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19999 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20008 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20009 PyObject
*resultobj
= 0;
20010 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20014 PyObject
*swig_obj
[1] ;
20016 if (!args
) SWIG_fail
;
20017 swig_obj
[0] = args
;
20018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20019 if (!SWIG_IsOK(res1
)) {
20020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20022 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 result
= (int)(arg1
)->GetFlags();
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_From_int(static_cast< int >(result
));
20036 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
= 0;
20038 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 char * kwnames
[] = {
20047 (char *) "self",(char *) "flags", NULL
20050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20052 if (!SWIG_IsOK(res1
)) {
20053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20055 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20057 if (!SWIG_IsOK(ecode2
)) {
20058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20060 arg2
= static_cast< int >(val2
);
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 (arg1
)->SetFlags(arg2
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= SWIG_Py_Void();
20074 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
= 0;
20076 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20077 wxString
*arg2
= 0 ;
20080 bool temp2
= false ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 char * kwnames
[] = {
20084 (char *) "self",(char *) "str", NULL
20087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20089 if (!SWIG_IsOK(res1
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20092 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20094 arg2
= wxString_in_helper(obj1
);
20095 if (arg2
== NULL
) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 (arg1
)->SetFindString((wxString
const &)*arg2
);
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= SWIG_Py_Void();
20119 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
= 0;
20121 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20122 wxString
*arg2
= 0 ;
20125 bool temp2
= false ;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 char * kwnames
[] = {
20129 (char *) "self",(char *) "str", NULL
20132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20134 if (!SWIG_IsOK(res1
)) {
20135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20137 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20139 arg2
= wxString_in_helper(obj1
);
20140 if (arg2
== NULL
) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_Py_Void();
20164 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20167 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20168 return SWIG_Py_Void();
20171 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20172 return SWIG_Python_InitShadowInstance(args
);
20175 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
= 0;
20177 wxWindow
*arg1
= (wxWindow
*) 0 ;
20178 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20179 wxString
*arg3
= 0 ;
20180 int arg4
= (int) 0 ;
20181 wxFindReplaceDialog
*result
= 0 ;
20186 bool temp3
= false ;
20189 PyObject
* obj0
= 0 ;
20190 PyObject
* obj1
= 0 ;
20191 PyObject
* obj2
= 0 ;
20192 PyObject
* obj3
= 0 ;
20193 char * kwnames
[] = {
20194 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20199 if (!SWIG_IsOK(res1
)) {
20200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20204 if (!SWIG_IsOK(res2
)) {
20205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20207 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20209 arg3
= wxString_in_helper(obj2
);
20210 if (arg3
== NULL
) SWIG_fail
;
20214 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20215 if (!SWIG_IsOK(ecode4
)) {
20216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20218 arg4
= static_cast< int >(val4
);
20221 if (!wxPyCheckForApp()) SWIG_fail
;
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20242 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20243 PyObject
*resultobj
= 0;
20244 wxFindReplaceDialog
*result
= 0 ;
20246 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20248 if (!wxPyCheckForApp()) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20261 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
= 0;
20263 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20264 wxWindow
*arg2
= (wxWindow
*) 0 ;
20265 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20266 wxString
*arg4
= 0 ;
20267 int arg5
= (int) 0 ;
20275 bool temp4
= false ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 PyObject
* obj2
= 0 ;
20281 PyObject
* obj3
= 0 ;
20282 PyObject
* obj4
= 0 ;
20283 char * kwnames
[] = {
20284 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20289 if (!SWIG_IsOK(res1
)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20292 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20294 if (!SWIG_IsOK(res2
)) {
20295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20298 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20299 if (!SWIG_IsOK(res3
)) {
20300 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20302 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20304 arg4
= wxString_in_helper(obj3
);
20305 if (arg4
== NULL
) SWIG_fail
;
20309 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20310 if (!SWIG_IsOK(ecode5
)) {
20311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20313 arg5
= static_cast< int >(val5
);
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20338 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20339 PyObject
*resultobj
= 0;
20340 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20341 wxFindReplaceData
*result
= 0 ;
20344 PyObject
*swig_obj
[1] ;
20346 if (!args
) SWIG_fail
;
20347 swig_obj
[0] = args
;
20348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20349 if (!SWIG_IsOK(res1
)) {
20350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20352 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20366 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
= 0;
20368 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20369 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20374 PyObject
* obj0
= 0 ;
20375 PyObject
* obj1
= 0 ;
20376 char * kwnames
[] = {
20377 (char *) "self",(char *) "data", NULL
20380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20382 if (!SWIG_IsOK(res1
)) {
20383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20385 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20387 if (!SWIG_IsOK(res2
)) {
20388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20390 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 (arg1
)->SetData(arg2
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= SWIG_Py_Void();
20404 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20407 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20408 return SWIG_Py_Void();
20411 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20412 return SWIG_Python_InitShadowInstance(args
);
20415 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
= 0;
20417 wxWindow
*arg1
= (wxWindow
*) 0 ;
20418 int arg2
= (int) (int)-1 ;
20419 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20420 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20421 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20422 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20423 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20424 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20425 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20426 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20427 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20428 wxMDIParentFrame
*result
= 0 ;
20433 bool temp3
= false ;
20438 bool temp7
= false ;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 PyObject
* obj2
= 0 ;
20442 PyObject
* obj3
= 0 ;
20443 PyObject
* obj4
= 0 ;
20444 PyObject
* obj5
= 0 ;
20445 PyObject
* obj6
= 0 ;
20446 char * kwnames
[] = {
20447 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20452 if (!SWIG_IsOK(res1
)) {
20453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20458 if (!SWIG_IsOK(ecode2
)) {
20459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20461 arg2
= static_cast< int >(val2
);
20465 arg3
= wxString_in_helper(obj2
);
20466 if (arg3
== NULL
) SWIG_fail
;
20473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20483 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20484 if (!SWIG_IsOK(ecode6
)) {
20485 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20487 arg6
= static_cast< long >(val6
);
20491 arg7
= wxString_in_helper(obj6
);
20492 if (arg7
== NULL
) SWIG_fail
;
20497 if (!wxPyCheckForApp()) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20526 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20527 PyObject
*resultobj
= 0;
20528 wxMDIParentFrame
*result
= 0 ;
20530 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20532 if (!wxPyCheckForApp()) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20545 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
= 0;
20547 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20548 wxWindow
*arg2
= (wxWindow
*) 0 ;
20549 int arg3
= (int) (int)-1 ;
20550 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20551 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20552 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20553 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20554 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20555 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20556 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20557 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20558 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20566 bool temp4
= false ;
20571 bool temp8
= false ;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 PyObject
* obj2
= 0 ;
20575 PyObject
* obj3
= 0 ;
20576 PyObject
* obj4
= 0 ;
20577 PyObject
* obj5
= 0 ;
20578 PyObject
* obj6
= 0 ;
20579 PyObject
* obj7
= 0 ;
20580 char * kwnames
[] = {
20581 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20586 if (!SWIG_IsOK(res1
)) {
20587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20589 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20591 if (!SWIG_IsOK(res2
)) {
20592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20594 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20597 if (!SWIG_IsOK(ecode3
)) {
20598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20600 arg3
= static_cast< int >(val3
);
20604 arg4
= wxString_in_helper(obj3
);
20605 if (arg4
== NULL
) SWIG_fail
;
20612 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20618 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20622 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20623 if (!SWIG_IsOK(ecode7
)) {
20624 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20626 arg7
= static_cast< long >(val7
);
20630 arg8
= wxString_in_helper(obj7
);
20631 if (arg8
== NULL
) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20666 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20667 PyObject
*resultobj
= 0;
20668 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20671 PyObject
*swig_obj
[1] ;
20673 if (!args
) SWIG_fail
;
20674 swig_obj
[0] = args
;
20675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20676 if (!SWIG_IsOK(res1
)) {
20677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20679 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 (arg1
)->ActivateNext();
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_Py_Void();
20693 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20694 PyObject
*resultobj
= 0;
20695 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20698 PyObject
*swig_obj
[1] ;
20700 if (!args
) SWIG_fail
;
20701 swig_obj
[0] = args
;
20702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20703 if (!SWIG_IsOK(res1
)) {
20704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20706 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 (arg1
)->ActivatePrevious();
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_Py_Void();
20720 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20721 PyObject
*resultobj
= 0;
20722 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20725 PyObject
*swig_obj
[1] ;
20727 if (!args
) SWIG_fail
;
20728 swig_obj
[0] = args
;
20729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20730 if (!SWIG_IsOK(res1
)) {
20731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20733 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 (arg1
)->ArrangeIcons();
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= SWIG_Py_Void();
20747 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20748 PyObject
*resultobj
= 0;
20749 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20752 PyObject
*swig_obj
[1] ;
20754 if (!args
) SWIG_fail
;
20755 swig_obj
[0] = args
;
20756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20757 if (!SWIG_IsOK(res1
)) {
20758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20760 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= SWIG_Py_Void();
20774 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20775 PyObject
*resultobj
= 0;
20776 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20777 wxMDIChildFrame
*result
= 0 ;
20780 PyObject
*swig_obj
[1] ;
20782 if (!args
) SWIG_fail
;
20783 swig_obj
[0] = args
;
20784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20785 if (!SWIG_IsOK(res1
)) {
20786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20788 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20804 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20805 PyObject
*resultobj
= 0;
20806 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20807 wxMDIClientWindow
*result
= 0 ;
20810 PyObject
*swig_obj
[1] ;
20812 if (!args
) SWIG_fail
;
20813 swig_obj
[0] = args
;
20814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20815 if (!SWIG_IsOK(res1
)) {
20816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20818 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20834 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20835 PyObject
*resultobj
= 0;
20836 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20837 wxWindow
*result
= 0 ;
20840 PyObject
*swig_obj
[1] ;
20842 if (!args
) SWIG_fail
;
20843 swig_obj
[0] = args
;
20844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20845 if (!SWIG_IsOK(res1
)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20848 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= (wxWindow
*)(arg1
)->GetToolBar();
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= wxPyMake_wxObject(result
, 0);
20864 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
= 0;
20866 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20867 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20872 PyObject
* obj0
= 0 ;
20873 PyObject
* obj1
= 0 ;
20874 char * kwnames
[] = {
20875 (char *) "self",(char *) "orient", NULL
20878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20880 if (!SWIG_IsOK(res1
)) {
20881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20883 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20886 if (!SWIG_IsOK(ecode2
)) {
20887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20889 arg2
= static_cast< wxOrientation
>(val2
);
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 (arg1
)->Tile(arg2
);
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20897 resultobj
= SWIG_Py_Void();
20904 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20907 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20908 return SWIG_Py_Void();
20911 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20912 return SWIG_Python_InitShadowInstance(args
);
20915 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
= 0;
20917 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20918 int arg2
= (int) (int)-1 ;
20919 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20920 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20925 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20926 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20927 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20928 wxMDIChildFrame
*result
= 0 ;
20933 bool temp3
= false ;
20938 bool temp7
= false ;
20939 PyObject
* obj0
= 0 ;
20940 PyObject
* obj1
= 0 ;
20941 PyObject
* obj2
= 0 ;
20942 PyObject
* obj3
= 0 ;
20943 PyObject
* obj4
= 0 ;
20944 PyObject
* obj5
= 0 ;
20945 PyObject
* obj6
= 0 ;
20946 char * kwnames
[] = {
20947 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20952 if (!SWIG_IsOK(res1
)) {
20953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20955 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20958 if (!SWIG_IsOK(ecode2
)) {
20959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20961 arg2
= static_cast< int >(val2
);
20965 arg3
= wxString_in_helper(obj2
);
20966 if (arg3
== NULL
) SWIG_fail
;
20973 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20979 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20983 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20984 if (!SWIG_IsOK(ecode6
)) {
20985 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20987 arg6
= static_cast< long >(val6
);
20991 arg7
= wxString_in_helper(obj6
);
20992 if (arg7
== NULL
) SWIG_fail
;
20997 if (!wxPyCheckForApp()) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21026 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21027 PyObject
*resultobj
= 0;
21028 wxMDIChildFrame
*result
= 0 ;
21030 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21032 if (!wxPyCheckForApp()) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21045 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
= 0;
21047 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21048 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21049 int arg3
= (int) (int)-1 ;
21050 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21051 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21052 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21053 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21054 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21055 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21056 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21057 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21058 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21066 bool temp4
= false ;
21071 bool temp8
= false ;
21072 PyObject
* obj0
= 0 ;
21073 PyObject
* obj1
= 0 ;
21074 PyObject
* obj2
= 0 ;
21075 PyObject
* obj3
= 0 ;
21076 PyObject
* obj4
= 0 ;
21077 PyObject
* obj5
= 0 ;
21078 PyObject
* obj6
= 0 ;
21079 PyObject
* obj7
= 0 ;
21080 char * kwnames
[] = {
21081 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21086 if (!SWIG_IsOK(res1
)) {
21087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21089 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21091 if (!SWIG_IsOK(res2
)) {
21092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21094 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21097 if (!SWIG_IsOK(ecode3
)) {
21098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21100 arg3
= static_cast< int >(val3
);
21104 arg4
= wxString_in_helper(obj3
);
21105 if (arg4
== NULL
) SWIG_fail
;
21112 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21118 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21122 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21123 if (!SWIG_IsOK(ecode7
)) {
21124 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21126 arg7
= static_cast< long >(val7
);
21130 arg8
= wxString_in_helper(obj7
);
21131 if (arg8
== NULL
) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21166 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21167 PyObject
*resultobj
= 0;
21168 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21171 PyObject
*swig_obj
[1] ;
21173 if (!args
) SWIG_fail
;
21174 swig_obj
[0] = args
;
21175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21176 if (!SWIG_IsOK(res1
)) {
21177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21179 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 (arg1
)->Activate();
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21186 resultobj
= SWIG_Py_Void();
21193 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21196 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21197 return SWIG_Py_Void();
21200 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21201 return SWIG_Python_InitShadowInstance(args
);
21204 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
= 0;
21206 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21207 long arg2
= (long) 0 ;
21208 wxMDIClientWindow
*result
= 0 ;
21213 PyObject
* obj0
= 0 ;
21214 PyObject
* obj1
= 0 ;
21215 char * kwnames
[] = {
21216 (char *) "parent",(char *) "style", NULL
21219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21221 if (!SWIG_IsOK(res1
)) {
21222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21224 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21226 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21227 if (!SWIG_IsOK(ecode2
)) {
21228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21230 arg2
= static_cast< long >(val2
);
21233 if (!wxPyCheckForApp()) SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21246 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21247 PyObject
*resultobj
= 0;
21248 wxMDIClientWindow
*result
= 0 ;
21250 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21252 if (!wxPyCheckForApp()) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21265 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
= 0;
21267 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21268 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21269 long arg3
= (long) 0 ;
21277 PyObject
* obj0
= 0 ;
21278 PyObject
* obj1
= 0 ;
21279 PyObject
* obj2
= 0 ;
21280 char * kwnames
[] = {
21281 (char *) "self",(char *) "parent",(char *) "style", NULL
21284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21286 if (!SWIG_IsOK(res1
)) {
21287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21289 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21291 if (!SWIG_IsOK(res2
)) {
21292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21294 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21296 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21297 if (!SWIG_IsOK(ecode3
)) {
21298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21300 arg3
= static_cast< long >(val3
);
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21317 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21320 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21321 return SWIG_Py_Void();
21324 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21325 return SWIG_Python_InitShadowInstance(args
);
21328 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
= 0;
21330 wxWindow
*arg1
= (wxWindow
*) 0 ;
21331 int arg2
= (int) (int)-1 ;
21332 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21333 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21334 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21335 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21336 long arg5
= (long) 0 ;
21337 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21338 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21339 wxPyWindow
*result
= 0 ;
21348 bool temp6
= false ;
21349 PyObject
* obj0
= 0 ;
21350 PyObject
* obj1
= 0 ;
21351 PyObject
* obj2
= 0 ;
21352 PyObject
* obj3
= 0 ;
21353 PyObject
* obj4
= 0 ;
21354 PyObject
* obj5
= 0 ;
21355 char * kwnames
[] = {
21356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21361 if (!SWIG_IsOK(res1
)) {
21362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21367 if (!SWIG_IsOK(ecode2
)) {
21368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21370 arg2
= static_cast< int >(val2
);
21375 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21381 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21385 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21386 if (!SWIG_IsOK(ecode5
)) {
21387 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21389 arg5
= static_cast< long >(val5
);
21393 arg6
= wxString_in_helper(obj5
);
21394 if (arg6
== NULL
) SWIG_fail
;
21399 if (!wxPyCheckForApp()) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21420 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21421 PyObject
*resultobj
= 0;
21422 wxPyWindow
*result
= 0 ;
21424 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21426 if (!wxPyCheckForApp()) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (wxPyWindow
*)new wxPyWindow();
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21439 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
= 0;
21441 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21442 PyObject
*arg2
= (PyObject
*) 0 ;
21443 PyObject
*arg3
= (PyObject
*) 0 ;
21446 PyObject
* obj0
= 0 ;
21447 PyObject
* obj1
= 0 ;
21448 PyObject
* obj2
= 0 ;
21449 char * kwnames
[] = {
21450 (char *) "self",(char *) "self",(char *) "_class", NULL
21453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21455 if (!SWIG_IsOK(res1
)) {
21456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21458 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= SWIG_Py_Void();
21474 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
= 0;
21476 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 char * kwnames
[] = {
21484 (char *) "self",(char *) "size", NULL
21487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21492 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21495 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_Py_Void();
21510 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
= 0;
21512 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21513 wxDC
*arg2
= (wxDC
*) 0 ;
21519 PyObject
* obj0
= 0 ;
21520 PyObject
* obj1
= 0 ;
21521 char * kwnames
[] = {
21522 (char *) "self",(char *) "dc", NULL
21525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21527 if (!SWIG_IsOK(res1
)) {
21528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21530 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21532 if (!SWIG_IsOK(res2
)) {
21533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21535 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21551 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
= 0;
21553 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 PyObject
* obj2
= 0 ;
21571 PyObject
* obj3
= 0 ;
21572 PyObject
* obj4
= 0 ;
21573 char * kwnames
[] = {
21574 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21579 if (!SWIG_IsOK(res1
)) {
21580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21582 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21584 if (!SWIG_IsOK(ecode2
)) {
21585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21587 arg2
= static_cast< int >(val2
);
21588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21589 if (!SWIG_IsOK(ecode3
)) {
21590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21592 arg3
= static_cast< int >(val3
);
21593 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21594 if (!SWIG_IsOK(ecode4
)) {
21595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21597 arg4
= static_cast< int >(val4
);
21598 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21599 if (!SWIG_IsOK(ecode5
)) {
21600 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21602 arg5
= static_cast< int >(val5
);
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= SWIG_Py_Void();
21616 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
= 0;
21618 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21623 int arg6
= (int) wxSIZE_AUTO
;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 PyObject
* obj2
= 0 ;
21639 PyObject
* obj3
= 0 ;
21640 PyObject
* obj4
= 0 ;
21641 PyObject
* obj5
= 0 ;
21642 char * kwnames
[] = {
21643 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21648 if (!SWIG_IsOK(res1
)) {
21649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21651 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21653 if (!SWIG_IsOK(ecode2
)) {
21654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21656 arg2
= static_cast< int >(val2
);
21657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21658 if (!SWIG_IsOK(ecode3
)) {
21659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21661 arg3
= static_cast< int >(val3
);
21662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21663 if (!SWIG_IsOK(ecode4
)) {
21664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21666 arg4
= static_cast< int >(val4
);
21667 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21668 if (!SWIG_IsOK(ecode5
)) {
21669 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21671 arg5
= static_cast< int >(val5
);
21673 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21674 if (!SWIG_IsOK(ecode6
)) {
21675 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21677 arg6
= static_cast< int >(val6
);
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 resultobj
= SWIG_Py_Void();
21692 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
= 0;
21694 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21703 PyObject
* obj0
= 0 ;
21704 PyObject
* obj1
= 0 ;
21705 PyObject
* obj2
= 0 ;
21706 char * kwnames
[] = {
21707 (char *) "self",(char *) "width",(char *) "height", NULL
21710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21712 if (!SWIG_IsOK(res1
)) {
21713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21715 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21717 if (!SWIG_IsOK(ecode2
)) {
21718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21720 arg2
= static_cast< int >(val2
);
21721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21722 if (!SWIG_IsOK(ecode3
)) {
21723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21725 arg3
= static_cast< int >(val3
);
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 (arg1
)->DoSetClientSize(arg2
,arg3
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_Py_Void();
21739 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
= 0;
21741 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 PyObject
* obj2
= 0 ;
21753 char * kwnames
[] = {
21754 (char *) "self",(char *) "x",(char *) "y", NULL
21757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21759 if (!SWIG_IsOK(res1
)) {
21760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21762 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21764 if (!SWIG_IsOK(ecode2
)) {
21765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21767 arg2
= static_cast< int >(val2
);
21768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21769 if (!SWIG_IsOK(ecode3
)) {
21770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21772 arg3
= static_cast< int >(val3
);
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= SWIG_Py_Void();
21786 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21787 PyObject
*resultobj
= 0;
21788 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21789 int *arg2
= (int *) 0 ;
21790 int *arg3
= (int *) 0 ;
21794 int res2
= SWIG_TMPOBJ
;
21796 int res3
= SWIG_TMPOBJ
;
21797 PyObject
*swig_obj
[1] ;
21801 if (!args
) SWIG_fail
;
21802 swig_obj
[0] = args
;
21803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21804 if (!SWIG_IsOK(res1
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21807 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_Py_Void();
21815 if (SWIG_IsTmpObj(res2
)) {
21816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21818 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21821 if (SWIG_IsTmpObj(res3
)) {
21822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21824 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21833 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21834 PyObject
*resultobj
= 0;
21835 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21836 int *arg2
= (int *) 0 ;
21837 int *arg3
= (int *) 0 ;
21841 int res2
= SWIG_TMPOBJ
;
21843 int res3
= SWIG_TMPOBJ
;
21844 PyObject
*swig_obj
[1] ;
21848 if (!args
) SWIG_fail
;
21849 swig_obj
[0] = args
;
21850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21851 if (!SWIG_IsOK(res1
)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21854 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 resultobj
= SWIG_Py_Void();
21862 if (SWIG_IsTmpObj(res2
)) {
21863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21865 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21868 if (SWIG_IsTmpObj(res3
)) {
21869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21871 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21880 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21881 PyObject
*resultobj
= 0;
21882 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21883 int *arg2
= (int *) 0 ;
21884 int *arg3
= (int *) 0 ;
21888 int res2
= SWIG_TMPOBJ
;
21890 int res3
= SWIG_TMPOBJ
;
21891 PyObject
*swig_obj
[1] ;
21895 if (!args
) SWIG_fail
;
21896 swig_obj
[0] = args
;
21897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21898 if (!SWIG_IsOK(res1
)) {
21899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21901 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 resultobj
= SWIG_Py_Void();
21909 if (SWIG_IsTmpObj(res2
)) {
21910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21912 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21915 if (SWIG_IsTmpObj(res3
)) {
21916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21918 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21927 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21928 PyObject
*resultobj
= 0;
21929 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21933 PyObject
*swig_obj
[1] ;
21935 if (!args
) SWIG_fail
;
21936 swig_obj
[0] = args
;
21937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21938 if (!SWIG_IsOK(res1
)) {
21939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21941 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21955 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21956 PyObject
*resultobj
= 0;
21957 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_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21969 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21983 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21984 PyObject
*resultobj
= 0;
21985 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21986 SwigValueWrapper
<wxVisualAttributes
> result
;
21989 PyObject
*swig_obj
[1] ;
21991 if (!args
) SWIG_fail
;
21992 swig_obj
[0] = args
;
21993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21994 if (!SWIG_IsOK(res1
)) {
21995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21997 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (arg1
)->GetDefaultAttributes();
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22011 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22012 PyObject
*resultobj
= 0;
22013 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22016 PyObject
*swig_obj
[1] ;
22018 if (!args
) SWIG_fail
;
22019 swig_obj
[0] = args
;
22020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22021 if (!SWIG_IsOK(res1
)) {
22022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22024 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 (arg1
)->OnInternalIdle();
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= SWIG_Py_Void();
22038 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22041 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22042 return SWIG_Py_Void();
22045 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22046 return SWIG_Python_InitShadowInstance(args
);
22049 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
= 0;
22051 wxWindow
*arg1
= (wxWindow
*) 0 ;
22052 int arg2
= (int) (int)-1 ;
22053 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22054 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22055 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22056 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22057 long arg5
= (long) 0 ;
22058 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22059 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22060 wxPyPanel
*result
= 0 ;
22069 bool temp6
= false ;
22070 PyObject
* obj0
= 0 ;
22071 PyObject
* obj1
= 0 ;
22072 PyObject
* obj2
= 0 ;
22073 PyObject
* obj3
= 0 ;
22074 PyObject
* obj4
= 0 ;
22075 PyObject
* obj5
= 0 ;
22076 char * kwnames
[] = {
22077 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22082 if (!SWIG_IsOK(res1
)) {
22083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22088 if (!SWIG_IsOK(ecode2
)) {
22089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22091 arg2
= static_cast< int >(val2
);
22096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22106 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22107 if (!SWIG_IsOK(ecode5
)) {
22108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22110 arg5
= static_cast< long >(val5
);
22114 arg6
= wxString_in_helper(obj5
);
22115 if (arg6
== NULL
) SWIG_fail
;
22120 if (!wxPyCheckForApp()) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22141 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22142 PyObject
*resultobj
= 0;
22143 wxPyPanel
*result
= 0 ;
22145 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22147 if (!wxPyCheckForApp()) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (wxPyPanel
*)new wxPyPanel();
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22160 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
= 0;
22162 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22163 PyObject
*arg2
= (PyObject
*) 0 ;
22164 PyObject
*arg3
= (PyObject
*) 0 ;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 PyObject
* obj2
= 0 ;
22170 char * kwnames
[] = {
22171 (char *) "self",(char *) "self",(char *) "_class", NULL
22174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22176 if (!SWIG_IsOK(res1
)) {
22177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22179 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_Py_Void();
22195 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
= 0;
22197 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 char * kwnames
[] = {
22205 (char *) "self",(char *) "size", NULL
22208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22210 if (!SWIG_IsOK(res1
)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22213 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22216 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= SWIG_Py_Void();
22231 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
= 0;
22233 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22234 wxDC
*arg2
= (wxDC
*) 0 ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 char * kwnames
[] = {
22243 (char *) "self",(char *) "dc", NULL
22246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22248 if (!SWIG_IsOK(res1
)) {
22249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22251 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22253 if (!SWIG_IsOK(res2
)) {
22254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22256 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22272 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22273 PyObject
*resultobj
= 0;
22274 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 PyObject
* obj2
= 0 ;
22292 PyObject
* obj3
= 0 ;
22293 PyObject
* obj4
= 0 ;
22294 char * kwnames
[] = {
22295 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22300 if (!SWIG_IsOK(res1
)) {
22301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22303 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22305 if (!SWIG_IsOK(ecode2
)) {
22306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22308 arg2
= static_cast< int >(val2
);
22309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22310 if (!SWIG_IsOK(ecode3
)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22313 arg3
= static_cast< int >(val3
);
22314 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22315 if (!SWIG_IsOK(ecode4
)) {
22316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22318 arg4
= static_cast< int >(val4
);
22319 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22320 if (!SWIG_IsOK(ecode5
)) {
22321 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22323 arg5
= static_cast< int >(val5
);
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 resultobj
= SWIG_Py_Void();
22337 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
= 0;
22339 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22344 int arg6
= (int) wxSIZE_AUTO
;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 PyObject
* obj2
= 0 ;
22360 PyObject
* obj3
= 0 ;
22361 PyObject
* obj4
= 0 ;
22362 PyObject
* obj5
= 0 ;
22363 char * kwnames
[] = {
22364 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22369 if (!SWIG_IsOK(res1
)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22372 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22374 if (!SWIG_IsOK(ecode2
)) {
22375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22377 arg2
= static_cast< int >(val2
);
22378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22379 if (!SWIG_IsOK(ecode3
)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22382 arg3
= static_cast< int >(val3
);
22383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22384 if (!SWIG_IsOK(ecode4
)) {
22385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22387 arg4
= static_cast< int >(val4
);
22388 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22389 if (!SWIG_IsOK(ecode5
)) {
22390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22392 arg5
= static_cast< int >(val5
);
22394 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22395 if (!SWIG_IsOK(ecode6
)) {
22396 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22398 arg6
= static_cast< int >(val6
);
22401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22406 resultobj
= SWIG_Py_Void();
22413 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
= 0;
22415 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22424 PyObject
* obj0
= 0 ;
22425 PyObject
* obj1
= 0 ;
22426 PyObject
* obj2
= 0 ;
22427 char * kwnames
[] = {
22428 (char *) "self",(char *) "width",(char *) "height", NULL
22431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22433 if (!SWIG_IsOK(res1
)) {
22434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22436 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22438 if (!SWIG_IsOK(ecode2
)) {
22439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22441 arg2
= static_cast< int >(val2
);
22442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22443 if (!SWIG_IsOK(ecode3
)) {
22444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22446 arg3
= static_cast< int >(val3
);
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 (arg1
)->DoSetClientSize(arg2
,arg3
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_Py_Void();
22460 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
= 0;
22462 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22471 PyObject
* obj0
= 0 ;
22472 PyObject
* obj1
= 0 ;
22473 PyObject
* obj2
= 0 ;
22474 char * kwnames
[] = {
22475 (char *) "self",(char *) "x",(char *) "y", NULL
22478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22480 if (!SWIG_IsOK(res1
)) {
22481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22483 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22485 if (!SWIG_IsOK(ecode2
)) {
22486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22488 arg2
= static_cast< int >(val2
);
22489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22490 if (!SWIG_IsOK(ecode3
)) {
22491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22493 arg3
= static_cast< int >(val3
);
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= SWIG_Py_Void();
22507 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22508 PyObject
*resultobj
= 0;
22509 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22510 int *arg2
= (int *) 0 ;
22511 int *arg3
= (int *) 0 ;
22515 int res2
= SWIG_TMPOBJ
;
22517 int res3
= SWIG_TMPOBJ
;
22518 PyObject
*swig_obj
[1] ;
22522 if (!args
) SWIG_fail
;
22523 swig_obj
[0] = args
;
22524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22525 if (!SWIG_IsOK(res1
)) {
22526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22528 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 resultobj
= SWIG_Py_Void();
22536 if (SWIG_IsTmpObj(res2
)) {
22537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22539 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22542 if (SWIG_IsTmpObj(res3
)) {
22543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22545 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22554 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22555 PyObject
*resultobj
= 0;
22556 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22557 int *arg2
= (int *) 0 ;
22558 int *arg3
= (int *) 0 ;
22562 int res2
= SWIG_TMPOBJ
;
22564 int res3
= SWIG_TMPOBJ
;
22565 PyObject
*swig_obj
[1] ;
22569 if (!args
) SWIG_fail
;
22570 swig_obj
[0] = args
;
22571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22572 if (!SWIG_IsOK(res1
)) {
22573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22575 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= SWIG_Py_Void();
22583 if (SWIG_IsTmpObj(res2
)) {
22584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22586 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22589 if (SWIG_IsTmpObj(res3
)) {
22590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22592 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22601 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22602 PyObject
*resultobj
= 0;
22603 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22604 int *arg2
= (int *) 0 ;
22605 int *arg3
= (int *) 0 ;
22609 int res2
= SWIG_TMPOBJ
;
22611 int res3
= SWIG_TMPOBJ
;
22612 PyObject
*swig_obj
[1] ;
22616 if (!args
) SWIG_fail
;
22617 swig_obj
[0] = args
;
22618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22619 if (!SWIG_IsOK(res1
)) {
22620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22622 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 resultobj
= SWIG_Py_Void();
22630 if (SWIG_IsTmpObj(res2
)) {
22631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22633 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22636 if (SWIG_IsTmpObj(res3
)) {
22637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22639 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22648 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22649 PyObject
*resultobj
= 0;
22650 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22654 PyObject
*swig_obj
[1] ;
22656 if (!args
) SWIG_fail
;
22657 swig_obj
[0] = args
;
22658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22659 if (!SWIG_IsOK(res1
)) {
22660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22662 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22665 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22676 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22677 PyObject
*resultobj
= 0;
22678 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_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22690 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22704 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22705 PyObject
*resultobj
= 0;
22706 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22707 SwigValueWrapper
<wxVisualAttributes
> result
;
22710 PyObject
*swig_obj
[1] ;
22712 if (!args
) SWIG_fail
;
22713 swig_obj
[0] = args
;
22714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22715 if (!SWIG_IsOK(res1
)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22718 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= (arg1
)->GetDefaultAttributes();
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22732 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22733 PyObject
*resultobj
= 0;
22734 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22737 PyObject
*swig_obj
[1] ;
22739 if (!args
) SWIG_fail
;
22740 swig_obj
[0] = args
;
22741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22742 if (!SWIG_IsOK(res1
)) {
22743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22745 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 (arg1
)->OnInternalIdle();
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22752 resultobj
= SWIG_Py_Void();
22759 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22762 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22763 return SWIG_Py_Void();
22766 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22767 return SWIG_Python_InitShadowInstance(args
);
22770 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22771 PyObject
*resultobj
= 0;
22772 wxWindow
*arg1
= (wxWindow
*) 0 ;
22773 int arg2
= (int) (int)-1 ;
22774 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22775 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22776 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22777 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22778 long arg5
= (long) 0 ;
22779 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22780 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22781 wxPyScrolledWindow
*result
= 0 ;
22790 bool temp6
= false ;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 PyObject
* obj2
= 0 ;
22794 PyObject
* obj3
= 0 ;
22795 PyObject
* obj4
= 0 ;
22796 PyObject
* obj5
= 0 ;
22797 char * kwnames
[] = {
22798 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22803 if (!SWIG_IsOK(res1
)) {
22804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22809 if (!SWIG_IsOK(ecode2
)) {
22810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22812 arg2
= static_cast< int >(val2
);
22817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22823 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22827 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22828 if (!SWIG_IsOK(ecode5
)) {
22829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22831 arg5
= static_cast< long >(val5
);
22835 arg6
= wxString_in_helper(obj5
);
22836 if (arg6
== NULL
) SWIG_fail
;
22841 if (!wxPyCheckForApp()) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22844 wxPyEndAllowThreads(__tstate
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22862 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22863 PyObject
*resultobj
= 0;
22864 wxPyScrolledWindow
*result
= 0 ;
22866 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22868 if (!wxPyCheckForApp()) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22881 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22882 PyObject
*resultobj
= 0;
22883 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22884 PyObject
*arg2
= (PyObject
*) 0 ;
22885 PyObject
*arg3
= (PyObject
*) 0 ;
22888 PyObject
* obj0
= 0 ;
22889 PyObject
* obj1
= 0 ;
22890 PyObject
* obj2
= 0 ;
22891 char * kwnames
[] = {
22892 (char *) "self",(char *) "self",(char *) "_class", NULL
22895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22897 if (!SWIG_IsOK(res1
)) {
22898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22900 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_Py_Void();
22916 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
= 0;
22918 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22923 PyObject
* obj0
= 0 ;
22924 PyObject
* obj1
= 0 ;
22925 char * kwnames
[] = {
22926 (char *) "self",(char *) "size", NULL
22929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22931 if (!SWIG_IsOK(res1
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22934 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22937 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_Py_Void();
22952 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
= 0;
22954 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22955 wxDC
*arg2
= (wxDC
*) 0 ;
22961 PyObject
* obj0
= 0 ;
22962 PyObject
* obj1
= 0 ;
22963 char * kwnames
[] = {
22964 (char *) "self",(char *) "dc", NULL
22967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22969 if (!SWIG_IsOK(res1
)) {
22970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22972 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22974 if (!SWIG_IsOK(res2
)) {
22975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22977 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22993 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
= 0;
22995 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23010 PyObject
* obj0
= 0 ;
23011 PyObject
* obj1
= 0 ;
23012 PyObject
* obj2
= 0 ;
23013 PyObject
* obj3
= 0 ;
23014 PyObject
* obj4
= 0 ;
23015 char * kwnames
[] = {
23016 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23021 if (!SWIG_IsOK(res1
)) {
23022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23024 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23026 if (!SWIG_IsOK(ecode2
)) {
23027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23029 arg2
= static_cast< int >(val2
);
23030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23031 if (!SWIG_IsOK(ecode3
)) {
23032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23034 arg3
= static_cast< int >(val3
);
23035 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23036 if (!SWIG_IsOK(ecode4
)) {
23037 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23039 arg4
= static_cast< int >(val4
);
23040 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23041 if (!SWIG_IsOK(ecode5
)) {
23042 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23044 arg5
= static_cast< int >(val5
);
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 resultobj
= SWIG_Py_Void();
23058 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
= 0;
23060 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23065 int arg6
= (int) wxSIZE_AUTO
;
23078 PyObject
* obj0
= 0 ;
23079 PyObject
* obj1
= 0 ;
23080 PyObject
* obj2
= 0 ;
23081 PyObject
* obj3
= 0 ;
23082 PyObject
* obj4
= 0 ;
23083 PyObject
* obj5
= 0 ;
23084 char * kwnames
[] = {
23085 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23090 if (!SWIG_IsOK(res1
)) {
23091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23093 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23095 if (!SWIG_IsOK(ecode2
)) {
23096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23098 arg2
= static_cast< int >(val2
);
23099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23100 if (!SWIG_IsOK(ecode3
)) {
23101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23103 arg3
= static_cast< int >(val3
);
23104 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23105 if (!SWIG_IsOK(ecode4
)) {
23106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23108 arg4
= static_cast< int >(val4
);
23109 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23110 if (!SWIG_IsOK(ecode5
)) {
23111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23113 arg5
= static_cast< int >(val5
);
23115 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23116 if (!SWIG_IsOK(ecode6
)) {
23117 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23119 arg6
= static_cast< int >(val6
);
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23123 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= SWIG_Py_Void();
23134 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
= 0;
23136 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23145 PyObject
* obj0
= 0 ;
23146 PyObject
* obj1
= 0 ;
23147 PyObject
* obj2
= 0 ;
23148 char * kwnames
[] = {
23149 (char *) "self",(char *) "width",(char *) "height", NULL
23152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23154 if (!SWIG_IsOK(res1
)) {
23155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23157 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23159 if (!SWIG_IsOK(ecode2
)) {
23160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23162 arg2
= static_cast< int >(val2
);
23163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23164 if (!SWIG_IsOK(ecode3
)) {
23165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23167 arg3
= static_cast< int >(val3
);
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 (arg1
)->DoSetClientSize(arg2
,arg3
);
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= SWIG_Py_Void();
23181 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23182 PyObject
*resultobj
= 0;
23183 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 PyObject
* obj2
= 0 ;
23195 char * kwnames
[] = {
23196 (char *) "self",(char *) "x",(char *) "y", NULL
23199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23201 if (!SWIG_IsOK(res1
)) {
23202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23204 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23206 if (!SWIG_IsOK(ecode2
)) {
23207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23209 arg2
= static_cast< int >(val2
);
23210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23211 if (!SWIG_IsOK(ecode3
)) {
23212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23214 arg3
= static_cast< int >(val3
);
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= SWIG_Py_Void();
23228 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23229 PyObject
*resultobj
= 0;
23230 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23231 int *arg2
= (int *) 0 ;
23232 int *arg3
= (int *) 0 ;
23236 int res2
= SWIG_TMPOBJ
;
23238 int res3
= SWIG_TMPOBJ
;
23239 PyObject
*swig_obj
[1] ;
23243 if (!args
) SWIG_fail
;
23244 swig_obj
[0] = args
;
23245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23246 if (!SWIG_IsOK(res1
)) {
23247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23249 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_Py_Void();
23257 if (SWIG_IsTmpObj(res2
)) {
23258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23260 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23263 if (SWIG_IsTmpObj(res3
)) {
23264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23266 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23275 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23276 PyObject
*resultobj
= 0;
23277 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23278 int *arg2
= (int *) 0 ;
23279 int *arg3
= (int *) 0 ;
23283 int res2
= SWIG_TMPOBJ
;
23285 int res3
= SWIG_TMPOBJ
;
23286 PyObject
*swig_obj
[1] ;
23290 if (!args
) SWIG_fail
;
23291 swig_obj
[0] = args
;
23292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23293 if (!SWIG_IsOK(res1
)) {
23294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23296 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23299 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= SWIG_Py_Void();
23304 if (SWIG_IsTmpObj(res2
)) {
23305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23307 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23310 if (SWIG_IsTmpObj(res3
)) {
23311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23313 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23322 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23323 PyObject
*resultobj
= 0;
23324 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23325 int *arg2
= (int *) 0 ;
23326 int *arg3
= (int *) 0 ;
23330 int res2
= SWIG_TMPOBJ
;
23332 int res3
= SWIG_TMPOBJ
;
23333 PyObject
*swig_obj
[1] ;
23337 if (!args
) SWIG_fail
;
23338 swig_obj
[0] = args
;
23339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23340 if (!SWIG_IsOK(res1
)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23343 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 resultobj
= SWIG_Py_Void();
23351 if (SWIG_IsTmpObj(res2
)) {
23352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23354 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23357 if (SWIG_IsTmpObj(res3
)) {
23358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23360 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23369 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23370 PyObject
*resultobj
= 0;
23371 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23375 PyObject
*swig_obj
[1] ;
23377 if (!args
) SWIG_fail
;
23378 swig_obj
[0] = args
;
23379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23380 if (!SWIG_IsOK(res1
)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23383 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23397 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23398 PyObject
*resultobj
= 0;
23399 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_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23411 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23425 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23426 PyObject
*resultobj
= 0;
23427 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23428 SwigValueWrapper
<wxVisualAttributes
> result
;
23431 PyObject
*swig_obj
[1] ;
23433 if (!args
) SWIG_fail
;
23434 swig_obj
[0] = args
;
23435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23436 if (!SWIG_IsOK(res1
)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23439 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (arg1
)->GetDefaultAttributes();
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23453 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23454 PyObject
*resultobj
= 0;
23455 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23458 PyObject
*swig_obj
[1] ;
23460 if (!args
) SWIG_fail
;
23461 swig_obj
[0] = args
;
23462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23463 if (!SWIG_IsOK(res1
)) {
23464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23466 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 (arg1
)->OnInternalIdle();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_Py_Void();
23480 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23483 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23484 return SWIG_Py_Void();
23487 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23488 return SWIG_Python_InitShadowInstance(args
);
23491 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23492 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23497 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23498 PyObject
*pyobj
= 0;
23502 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23504 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23511 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23512 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23517 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23518 PyObject
*pyobj
= 0;
23522 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23524 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23531 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23532 PyObject
*resultobj
= 0;
23533 wxPrintData
*result
= 0 ;
23535 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= (wxPrintData
*)new wxPrintData();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23549 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23550 PyObject
*resultobj
= 0;
23551 wxPrintData
*arg1
= 0 ;
23552 wxPrintData
*result
= 0 ;
23556 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23558 if (!SWIG_IsOK(res1
)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23564 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23578 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23582 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23585 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23588 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23592 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23597 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23598 PyObject
*resultobj
= 0;
23599 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23602 PyObject
*swig_obj
[1] ;
23604 if (!args
) SWIG_fail
;
23605 swig_obj
[0] = args
;
23606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23607 if (!SWIG_IsOK(res1
)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23610 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_Py_Void();
23625 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23626 PyObject
*resultobj
= 0;
23627 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23631 PyObject
*swig_obj
[1] ;
23633 if (!args
) SWIG_fail
;
23634 swig_obj
[0] = args
;
23635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23636 if (!SWIG_IsOK(res1
)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23639 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 result
= (int)(arg1
)->GetNoCopies();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= SWIG_From_int(static_cast< int >(result
));
23653 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23654 PyObject
*resultobj
= 0;
23655 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23659 PyObject
*swig_obj
[1] ;
23661 if (!args
) SWIG_fail
;
23662 swig_obj
[0] = args
;
23663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23664 if (!SWIG_IsOK(res1
)) {
23665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23667 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 result
= (bool)(arg1
)->GetCollate();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23683 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23684 PyObject
*resultobj
= 0;
23685 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23689 PyObject
*swig_obj
[1] ;
23691 if (!args
) SWIG_fail
;
23692 swig_obj
[0] = args
;
23693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23694 if (!SWIG_IsOK(res1
)) {
23695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23697 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= (int)(arg1
)->GetOrientation();
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= SWIG_From_int(static_cast< int >(result
));
23711 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23712 PyObject
*resultobj
= 0;
23713 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23717 PyObject
*swig_obj
[1] ;
23719 if (!args
) SWIG_fail
;
23720 swig_obj
[0] = args
;
23721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23722 if (!SWIG_IsOK(res1
)) {
23723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23725 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 result
= (bool)(arg1
)->Ok();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23741 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23742 PyObject
*resultobj
= 0;
23743 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23744 wxString
*result
= 0 ;
23747 PyObject
*swig_obj
[1] ;
23749 if (!args
) SWIG_fail
;
23750 swig_obj
[0] = args
;
23751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23752 if (!SWIG_IsOK(res1
)) {
23753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23755 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23760 result
= (wxString
*) &_result_ref
;
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23769 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23778 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23779 PyObject
*resultobj
= 0;
23780 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23784 PyObject
*swig_obj
[1] ;
23786 if (!args
) SWIG_fail
;
23787 swig_obj
[0] = args
;
23788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23789 if (!SWIG_IsOK(res1
)) {
23790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23792 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (bool)(arg1
)->GetColour();
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23808 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23809 PyObject
*resultobj
= 0;
23810 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23811 wxDuplexMode result
;
23814 PyObject
*swig_obj
[1] ;
23816 if (!args
) SWIG_fail
;
23817 swig_obj
[0] = args
;
23818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23819 if (!SWIG_IsOK(res1
)) {
23820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23822 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= SWIG_From_int(static_cast< int >(result
));
23836 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23837 PyObject
*resultobj
= 0;
23838 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23839 wxPaperSize result
;
23842 PyObject
*swig_obj
[1] ;
23844 if (!args
) SWIG_fail
;
23845 swig_obj
[0] = args
;
23846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23847 if (!SWIG_IsOK(res1
)) {
23848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23850 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_From_int(static_cast< int >(result
));
23864 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23865 PyObject
*resultobj
= 0;
23866 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23867 wxSize
*result
= 0 ;
23870 PyObject
*swig_obj
[1] ;
23872 if (!args
) SWIG_fail
;
23873 swig_obj
[0] = args
;
23874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23875 if (!SWIG_IsOK(res1
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23878 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23883 result
= (wxSize
*) &_result_ref
;
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23895 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23896 PyObject
*resultobj
= 0;
23897 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23901 PyObject
*swig_obj
[1] ;
23903 if (!args
) SWIG_fail
;
23904 swig_obj
[0] = args
;
23905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23906 if (!SWIG_IsOK(res1
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23909 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (int)(arg1
)->GetQuality();
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= SWIG_From_int(static_cast< int >(result
));
23923 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23924 PyObject
*resultobj
= 0;
23925 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23929 PyObject
*swig_obj
[1] ;
23931 if (!args
) SWIG_fail
;
23932 swig_obj
[0] = args
;
23933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23934 if (!SWIG_IsOK(res1
)) {
23935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23937 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (wxPrintBin
)(arg1
)->GetBin();
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= SWIG_From_int(static_cast< int >(result
));
23951 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23952 PyObject
*resultobj
= 0;
23953 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23954 wxPrintMode result
;
23957 PyObject
*swig_obj
[1] ;
23959 if (!args
) SWIG_fail
;
23960 swig_obj
[0] = args
;
23961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23962 if (!SWIG_IsOK(res1
)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23965 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= SWIG_From_int(static_cast< int >(result
));
23979 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
= 0;
23981 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char * kwnames
[] = {
23990 (char *) "self",(char *) "v", NULL
23993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23995 if (!SWIG_IsOK(res1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23998 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24000 if (!SWIG_IsOK(ecode2
)) {
24001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24003 arg2
= static_cast< int >(val2
);
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 (arg1
)->SetNoCopies(arg2
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24010 resultobj
= SWIG_Py_Void();
24017 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
= 0;
24019 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 char * kwnames
[] = {
24028 (char *) "self",(char *) "flag", NULL
24031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24033 if (!SWIG_IsOK(res1
)) {
24034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24036 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24037 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24038 if (!SWIG_IsOK(ecode2
)) {
24039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24041 arg2
= static_cast< bool >(val2
);
24043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24044 (arg1
)->SetCollate(arg2
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 resultobj
= SWIG_Py_Void();
24055 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
= 0;
24057 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char * kwnames
[] = {
24066 (char *) "self",(char *) "orient", NULL
24069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24074 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24076 if (!SWIG_IsOK(ecode2
)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24079 arg2
= static_cast< int >(val2
);
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 (arg1
)->SetOrientation(arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_Py_Void();
24093 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
= 0;
24095 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24096 wxString
*arg2
= 0 ;
24099 bool temp2
= false ;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24102 char * kwnames
[] = {
24103 (char *) "self",(char *) "name", NULL
24106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24108 if (!SWIG_IsOK(res1
)) {
24109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24111 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24113 arg2
= wxString_in_helper(obj1
);
24114 if (arg2
== NULL
) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= SWIG_Py_Void();
24138 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
= 0;
24140 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24146 PyObject
* obj0
= 0 ;
24147 PyObject
* obj1
= 0 ;
24148 char * kwnames
[] = {
24149 (char *) "self",(char *) "colour", NULL
24152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24154 if (!SWIG_IsOK(res1
)) {
24155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24157 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24158 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24159 if (!SWIG_IsOK(ecode2
)) {
24160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24162 arg2
= static_cast< bool >(val2
);
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 (arg1
)->SetColour(arg2
);
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= SWIG_Py_Void();
24176 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
= 0;
24178 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24179 wxDuplexMode arg2
;
24184 PyObject
* obj0
= 0 ;
24185 PyObject
* obj1
= 0 ;
24186 char * kwnames
[] = {
24187 (char *) "self",(char *) "duplex", NULL
24190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24192 if (!SWIG_IsOK(res1
)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24195 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24197 if (!SWIG_IsOK(ecode2
)) {
24198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24200 arg2
= static_cast< wxDuplexMode
>(val2
);
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 (arg1
)->SetDuplex(arg2
);
24204 wxPyEndAllowThreads(__tstate
);
24205 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= SWIG_Py_Void();
24214 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
= 0;
24216 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24222 PyObject
* obj0
= 0 ;
24223 PyObject
* obj1
= 0 ;
24224 char * kwnames
[] = {
24225 (char *) "self",(char *) "sizeId", NULL
24228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24230 if (!SWIG_IsOK(res1
)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24233 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24235 if (!SWIG_IsOK(ecode2
)) {
24236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24238 arg2
= static_cast< wxPaperSize
>(val2
);
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 (arg1
)->SetPaperId(arg2
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_Py_Void();
24252 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
= 0;
24254 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24259 PyObject
* obj0
= 0 ;
24260 PyObject
* obj1
= 0 ;
24261 char * kwnames
[] = {
24262 (char *) "self",(char *) "sz", NULL
24265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24267 if (!SWIG_IsOK(res1
)) {
24268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24270 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24273 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= SWIG_Py_Void();
24288 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24289 PyObject
*resultobj
= 0;
24290 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24296 PyObject
* obj0
= 0 ;
24297 PyObject
* obj1
= 0 ;
24298 char * kwnames
[] = {
24299 (char *) "self",(char *) "quality", NULL
24302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24304 if (!SWIG_IsOK(res1
)) {
24305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24307 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24309 if (!SWIG_IsOK(ecode2
)) {
24310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24312 arg2
= static_cast< int >(val2
);
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 (arg1
)->SetQuality(arg2
);
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24319 resultobj
= SWIG_Py_Void();
24326 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24327 PyObject
*resultobj
= 0;
24328 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24334 PyObject
* obj0
= 0 ;
24335 PyObject
* obj1
= 0 ;
24336 char * kwnames
[] = {
24337 (char *) "self",(char *) "bin", NULL
24340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24342 if (!SWIG_IsOK(res1
)) {
24343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24345 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24347 if (!SWIG_IsOK(ecode2
)) {
24348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24350 arg2
= static_cast< wxPrintBin
>(val2
);
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 (arg1
)->SetBin(arg2
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_Py_Void();
24364 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
= 0;
24366 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24372 PyObject
* obj0
= 0 ;
24373 PyObject
* obj1
= 0 ;
24374 char * kwnames
[] = {
24375 (char *) "self",(char *) "printMode", NULL
24378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24380 if (!SWIG_IsOK(res1
)) {
24381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24383 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24385 if (!SWIG_IsOK(ecode2
)) {
24386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24388 arg2
= static_cast< wxPrintMode
>(val2
);
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 (arg1
)->SetPrintMode(arg2
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= SWIG_Py_Void();
24402 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24403 PyObject
*resultobj
= 0;
24404 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24408 PyObject
*swig_obj
[1] ;
24410 if (!args
) SWIG_fail
;
24411 swig_obj
[0] = args
;
24412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24413 if (!SWIG_IsOK(res1
)) {
24414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24416 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24436 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
= 0;
24438 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24439 wxString
*arg2
= 0 ;
24442 bool temp2
= false ;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 char * kwnames
[] = {
24446 (char *) "self",(char *) "filename", NULL
24449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24454 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24456 arg2
= wxString_in_helper(obj1
);
24457 if (arg2
== NULL
) SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 (arg1
)->SetFilename((wxString
const &)*arg2
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= SWIG_Py_Void();
24481 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24482 PyObject
*resultobj
= 0;
24483 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24484 PyObject
*result
= 0 ;
24487 PyObject
*swig_obj
[1] ;
24489 if (!args
) SWIG_fail
;
24490 swig_obj
[0] = args
;
24491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24492 if (!SWIG_IsOK(res1
)) {
24493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24495 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= result
;
24509 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
= 0;
24511 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24512 PyObject
*arg2
= (PyObject
*) 0 ;
24515 PyObject
* obj0
= 0 ;
24516 PyObject
* obj1
= 0 ;
24517 char * kwnames
[] = {
24518 (char *) "self",(char *) "data", NULL
24521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24523 if (!SWIG_IsOK(res1
)) {
24524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24526 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24530 wxPrintData_SetPrivData(arg1
,arg2
);
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= SWIG_Py_Void();
24541 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24544 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24545 return SWIG_Py_Void();
24548 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24549 return SWIG_Python_InitShadowInstance(args
);
24552 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24553 PyObject
*resultobj
= 0;
24554 wxPageSetupDialogData
*result
= 0 ;
24556 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24570 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24571 PyObject
*resultobj
= 0;
24572 wxPageSetupDialogData
*arg1
= 0 ;
24573 wxPageSetupDialogData
*result
= 0 ;
24577 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24585 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24599 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24600 PyObject
*resultobj
= 0;
24601 wxPrintData
*arg1
= 0 ;
24602 wxPageSetupDialogData
*result
= 0 ;
24606 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24608 if (!SWIG_IsOK(res1
)) {
24609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24614 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24628 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24632 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24635 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24640 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24641 _v
= SWIG_CheckState(res
);
24643 if (!_v
) goto check_2
;
24644 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24649 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24653 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24658 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24659 PyObject
*resultobj
= 0;
24660 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24663 PyObject
*swig_obj
[1] ;
24665 if (!args
) SWIG_fail
;
24666 swig_obj
[0] = args
;
24667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24668 if (!SWIG_IsOK(res1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24671 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= SWIG_Py_Void();
24686 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
= 0;
24688 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24694 PyObject
* obj0
= 0 ;
24695 PyObject
* obj1
= 0 ;
24696 char * kwnames
[] = {
24697 (char *) "self",(char *) "flag", NULL
24700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24702 if (!SWIG_IsOK(res1
)) {
24703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24705 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24706 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24707 if (!SWIG_IsOK(ecode2
)) {
24708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24710 arg2
= static_cast< bool >(val2
);
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 (arg1
)->EnableHelp(arg2
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= SWIG_Py_Void();
24724 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
= 0;
24726 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 char * kwnames
[] = {
24735 (char *) "self",(char *) "flag", NULL
24738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24740 if (!SWIG_IsOK(res1
)) {
24741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24743 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24744 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24745 if (!SWIG_IsOK(ecode2
)) {
24746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24748 arg2
= static_cast< bool >(val2
);
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 (arg1
)->EnableMargins(arg2
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 resultobj
= SWIG_Py_Void();
24762 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
= 0;
24764 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24770 PyObject
* obj0
= 0 ;
24771 PyObject
* obj1
= 0 ;
24772 char * kwnames
[] = {
24773 (char *) "self",(char *) "flag", NULL
24776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24778 if (!SWIG_IsOK(res1
)) {
24779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24781 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24782 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24783 if (!SWIG_IsOK(ecode2
)) {
24784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24786 arg2
= static_cast< bool >(val2
);
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 (arg1
)->EnableOrientation(arg2
);
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= SWIG_Py_Void();
24800 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24801 PyObject
*resultobj
= 0;
24802 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 PyObject
* obj1
= 0 ;
24810 char * kwnames
[] = {
24811 (char *) "self",(char *) "flag", NULL
24814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24816 if (!SWIG_IsOK(res1
)) {
24817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24819 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24820 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24821 if (!SWIG_IsOK(ecode2
)) {
24822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24824 arg2
= static_cast< bool >(val2
);
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 (arg1
)->EnablePaper(arg2
);
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= SWIG_Py_Void();
24838 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
= 0;
24840 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24846 PyObject
* obj0
= 0 ;
24847 PyObject
* obj1
= 0 ;
24848 char * kwnames
[] = {
24849 (char *) "self",(char *) "flag", NULL
24852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24854 if (!SWIG_IsOK(res1
)) {
24855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24857 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24858 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24859 if (!SWIG_IsOK(ecode2
)) {
24860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24862 arg2
= static_cast< bool >(val2
);
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 (arg1
)->EnablePrinter(arg2
);
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= SWIG_Py_Void();
24876 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24877 PyObject
*resultobj
= 0;
24878 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24882 PyObject
*swig_obj
[1] ;
24884 if (!args
) SWIG_fail
;
24885 swig_obj
[0] = args
;
24886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24887 if (!SWIG_IsOK(res1
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24890 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= (bool)(arg1
)->GetDefaultMinMargins();
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24906 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24907 PyObject
*resultobj
= 0;
24908 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24912 PyObject
*swig_obj
[1] ;
24914 if (!args
) SWIG_fail
;
24915 swig_obj
[0] = args
;
24916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24917 if (!SWIG_IsOK(res1
)) {
24918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24920 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 result
= (bool)(arg1
)->GetEnableMargins();
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24936 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24937 PyObject
*resultobj
= 0;
24938 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24942 PyObject
*swig_obj
[1] ;
24944 if (!args
) SWIG_fail
;
24945 swig_obj
[0] = args
;
24946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24947 if (!SWIG_IsOK(res1
)) {
24948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24950 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 result
= (bool)(arg1
)->GetEnableOrientation();
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24966 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24967 PyObject
*resultobj
= 0;
24968 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24972 PyObject
*swig_obj
[1] ;
24974 if (!args
) SWIG_fail
;
24975 swig_obj
[0] = args
;
24976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24977 if (!SWIG_IsOK(res1
)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24980 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (bool)(arg1
)->GetEnablePaper();
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24996 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24997 PyObject
*resultobj
= 0;
24998 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25002 PyObject
*swig_obj
[1] ;
25004 if (!args
) SWIG_fail
;
25005 swig_obj
[0] = args
;
25006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25007 if (!SWIG_IsOK(res1
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25010 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 result
= (bool)(arg1
)->GetEnablePrinter();
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25026 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25027 PyObject
*resultobj
= 0;
25028 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25032 PyObject
*swig_obj
[1] ;
25034 if (!args
) SWIG_fail
;
25035 swig_obj
[0] = args
;
25036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25037 if (!SWIG_IsOK(res1
)) {
25038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25040 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (bool)(arg1
)->GetEnableHelp();
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25056 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25057 PyObject
*resultobj
= 0;
25058 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25062 PyObject
*swig_obj
[1] ;
25064 if (!args
) SWIG_fail
;
25065 swig_obj
[0] = args
;
25066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25067 if (!SWIG_IsOK(res1
)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25070 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (bool)(arg1
)->GetDefaultInfo();
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25086 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25087 PyObject
*resultobj
= 0;
25088 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25092 PyObject
*swig_obj
[1] ;
25094 if (!args
) SWIG_fail
;
25095 swig_obj
[0] = args
;
25096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25097 if (!SWIG_IsOK(res1
)) {
25098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25100 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (arg1
)->GetMarginTopLeft();
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25114 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25115 PyObject
*resultobj
= 0;
25116 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25120 PyObject
*swig_obj
[1] ;
25122 if (!args
) SWIG_fail
;
25123 swig_obj
[0] = args
;
25124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25125 if (!SWIG_IsOK(res1
)) {
25126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25128 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 result
= (arg1
)->GetMarginBottomRight();
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25142 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25143 PyObject
*resultobj
= 0;
25144 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25148 PyObject
*swig_obj
[1] ;
25150 if (!args
) SWIG_fail
;
25151 swig_obj
[0] = args
;
25152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25153 if (!SWIG_IsOK(res1
)) {
25154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25156 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25159 result
= (arg1
)->GetMinMarginTopLeft();
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25170 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25171 PyObject
*resultobj
= 0;
25172 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25176 PyObject
*swig_obj
[1] ;
25178 if (!args
) SWIG_fail
;
25179 swig_obj
[0] = args
;
25180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25181 if (!SWIG_IsOK(res1
)) {
25182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25184 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (arg1
)->GetMinMarginBottomRight();
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25198 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25199 PyObject
*resultobj
= 0;
25200 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25201 wxPaperSize result
;
25204 PyObject
*swig_obj
[1] ;
25206 if (!args
) SWIG_fail
;
25207 swig_obj
[0] = args
;
25208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25212 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= SWIG_From_int(static_cast< int >(result
));
25226 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25227 PyObject
*resultobj
= 0;
25228 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25232 PyObject
*swig_obj
[1] ;
25234 if (!args
) SWIG_fail
;
25235 swig_obj
[0] = args
;
25236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25237 if (!SWIG_IsOK(res1
)) {
25238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25240 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 result
= (arg1
)->GetPaperSize();
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25254 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25255 PyObject
*resultobj
= 0;
25256 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25257 wxPrintData
*result
= 0 ;
25260 PyObject
*swig_obj
[1] ;
25262 if (!args
) SWIG_fail
;
25263 swig_obj
[0] = args
;
25264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25265 if (!SWIG_IsOK(res1
)) {
25266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25268 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25273 result
= (wxPrintData
*) &_result_ref
;
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25285 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25286 PyObject
*resultobj
= 0;
25287 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25291 PyObject
*swig_obj
[1] ;
25293 if (!args
) SWIG_fail
;
25294 swig_obj
[0] = args
;
25295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25296 if (!SWIG_IsOK(res1
)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25299 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 result
= (bool)(arg1
)->Ok();
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25315 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
= 0;
25317 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25323 PyObject
* obj0
= 0 ;
25324 PyObject
* obj1
= 0 ;
25325 char * kwnames
[] = {
25326 (char *) "self",(char *) "flag", NULL
25329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25331 if (!SWIG_IsOK(res1
)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25334 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25336 if (!SWIG_IsOK(ecode2
)) {
25337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25339 arg2
= static_cast< bool >(val2
);
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 (arg1
)->SetDefaultInfo(arg2
);
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= SWIG_Py_Void();
25353 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
= 0;
25355 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25361 PyObject
* obj0
= 0 ;
25362 PyObject
* obj1
= 0 ;
25363 char * kwnames
[] = {
25364 (char *) "self",(char *) "flag", NULL
25367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25369 if (!SWIG_IsOK(res1
)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25372 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25374 if (!SWIG_IsOK(ecode2
)) {
25375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25377 arg2
= static_cast< bool >(val2
);
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 (arg1
)->SetDefaultMinMargins(arg2
);
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= SWIG_Py_Void();
25391 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
= 0;
25393 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25394 wxPoint
*arg2
= 0 ;
25398 PyObject
* obj0
= 0 ;
25399 PyObject
* obj1
= 0 ;
25400 char * kwnames
[] = {
25401 (char *) "self",(char *) "pt", NULL
25404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25406 if (!SWIG_IsOK(res1
)) {
25407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25409 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_Py_Void();
25427 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
= 0;
25429 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25430 wxPoint
*arg2
= 0 ;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 char * kwnames
[] = {
25437 (char *) "self",(char *) "pt", NULL
25440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25442 if (!SWIG_IsOK(res1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25445 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25448 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_Py_Void();
25463 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
= 0;
25465 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25466 wxPoint
*arg2
= 0 ;
25470 PyObject
* obj0
= 0 ;
25471 PyObject
* obj1
= 0 ;
25472 char * kwnames
[] = {
25473 (char *) "self",(char *) "pt", NULL
25476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25478 if (!SWIG_IsOK(res1
)) {
25479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25481 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= SWIG_Py_Void();
25499 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
= 0;
25501 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25502 wxPoint
*arg2
= 0 ;
25506 PyObject
* obj0
= 0 ;
25507 PyObject
* obj1
= 0 ;
25508 char * kwnames
[] = {
25509 (char *) "self",(char *) "pt", NULL
25512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25514 if (!SWIG_IsOK(res1
)) {
25515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25517 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= SWIG_Py_Void();
25535 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
= 0;
25537 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25543 PyObject
* obj0
= 0 ;
25544 PyObject
* obj1
= 0 ;
25545 char * kwnames
[] = {
25546 (char *) "self",(char *) "id", NULL
25549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25551 if (!SWIG_IsOK(res1
)) {
25552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25554 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25556 if (!SWIG_IsOK(ecode2
)) {
25557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25559 arg2
= static_cast< wxPaperSize
>(val2
);
25561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 (arg1
)->SetPaperId(arg2
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= SWIG_Py_Void();
25573 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
= 0;
25575 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25580 PyObject
* obj0
= 0 ;
25581 PyObject
* obj1
= 0 ;
25582 char * kwnames
[] = {
25583 (char *) "self",(char *) "size", NULL
25586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25588 if (!SWIG_IsOK(res1
)) {
25589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25591 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25594 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= SWIG_Py_Void();
25609 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
= 0;
25611 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25612 wxPrintData
*arg2
= 0 ;
25617 PyObject
* obj0
= 0 ;
25618 PyObject
* obj1
= 0 ;
25619 char * kwnames
[] = {
25620 (char *) "self",(char *) "printData", NULL
25623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25625 if (!SWIG_IsOK(res1
)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25628 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25629 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25630 if (!SWIG_IsOK(res2
)) {
25631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25636 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 resultobj
= SWIG_Py_Void();
25650 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25651 PyObject
*resultobj
= 0;
25652 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25655 PyObject
*swig_obj
[1] ;
25657 if (!args
) SWIG_fail
;
25658 swig_obj
[0] = args
;
25659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25660 if (!SWIG_IsOK(res1
)) {
25661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25663 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 (arg1
)->CalculateIdFromPaperSize();
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_Py_Void();
25677 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25678 PyObject
*resultobj
= 0;
25679 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25682 PyObject
*swig_obj
[1] ;
25684 if (!args
) SWIG_fail
;
25685 swig_obj
[0] = args
;
25686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25687 if (!SWIG_IsOK(res1
)) {
25688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25690 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25693 (arg1
)->CalculatePaperSizeFromId();
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= SWIG_Py_Void();
25704 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25707 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25708 return SWIG_Py_Void();
25711 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25712 return SWIG_Python_InitShadowInstance(args
);
25715 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
= 0;
25717 wxWindow
*arg1
= (wxWindow
*) 0 ;
25718 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25719 wxPageSetupDialog
*result
= 0 ;
25724 PyObject
* obj0
= 0 ;
25725 PyObject
* obj1
= 0 ;
25726 char * kwnames
[] = {
25727 (char *) "parent",(char *) "data", NULL
25730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25732 if (!SWIG_IsOK(res1
)) {
25733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25735 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25738 if (!SWIG_IsOK(res2
)) {
25739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25741 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25744 if (!wxPyCheckForApp()) SWIG_fail
;
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25757 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25758 PyObject
*resultobj
= 0;
25759 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25762 PyObject
*swig_obj
[1] ;
25764 if (!args
) SWIG_fail
;
25765 swig_obj
[0] = args
;
25766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25767 if (!SWIG_IsOK(res1
)) {
25768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25770 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 wxPyEndAllowThreads(__tstate
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25778 resultobj
= SWIG_Py_Void();
25785 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25786 PyObject
*resultobj
= 0;
25787 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25788 wxPageSetupDialogData
*result
= 0 ;
25791 PyObject
*swig_obj
[1] ;
25793 if (!args
) SWIG_fail
;
25794 swig_obj
[0] = args
;
25795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25796 if (!SWIG_IsOK(res1
)) {
25797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25799 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25803 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25804 result
= (wxPageSetupDialogData
*) &_result_ref
;
25806 wxPyEndAllowThreads(__tstate
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25816 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25817 PyObject
*resultobj
= 0;
25818 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25819 wxPageSetupDialogData
*result
= 0 ;
25822 PyObject
*swig_obj
[1] ;
25824 if (!args
) SWIG_fail
;
25825 swig_obj
[0] = args
;
25826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25827 if (!SWIG_IsOK(res1
)) {
25828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25830 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25834 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25835 result
= (wxPageSetupDialogData
*) &_result_ref
;
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25847 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25848 PyObject
*resultobj
= 0;
25849 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25853 PyObject
*swig_obj
[1] ;
25855 if (!args
) SWIG_fail
;
25856 swig_obj
[0] = args
;
25857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25858 if (!SWIG_IsOK(res1
)) {
25859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25861 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 result
= (int)(arg1
)->ShowModal();
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_From_int(static_cast< int >(result
));
25875 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25878 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25879 return SWIG_Py_Void();
25882 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25883 return SWIG_Python_InitShadowInstance(args
);
25886 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25887 PyObject
*resultobj
= 0;
25888 wxPrintDialogData
*result
= 0 ;
25890 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25904 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25905 PyObject
*resultobj
= 0;
25906 wxPrintData
*arg1
= 0 ;
25907 wxPrintDialogData
*result
= 0 ;
25911 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25913 if (!SWIG_IsOK(res1
)) {
25914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25919 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25933 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25934 PyObject
*resultobj
= 0;
25935 wxPrintDialogData
*arg1
= 0 ;
25936 wxPrintDialogData
*result
= 0 ;
25940 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25942 if (!SWIG_IsOK(res1
)) {
25943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25948 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25962 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25966 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25969 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25974 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25975 _v
= SWIG_CheckState(res
);
25977 if (!_v
) goto check_2
;
25978 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25983 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25987 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25992 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25993 PyObject
*resultobj
= 0;
25994 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25997 PyObject
*swig_obj
[1] ;
25999 if (!args
) SWIG_fail
;
26000 swig_obj
[0] = args
;
26001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26002 if (!SWIG_IsOK(res1
)) {
26003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26005 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= SWIG_Py_Void();
26020 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26021 PyObject
*resultobj
= 0;
26022 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26026 PyObject
*swig_obj
[1] ;
26028 if (!args
) SWIG_fail
;
26029 swig_obj
[0] = args
;
26030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26031 if (!SWIG_IsOK(res1
)) {
26032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26034 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= SWIG_From_int(static_cast< int >(result
));
26048 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26049 PyObject
*resultobj
= 0;
26050 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26054 PyObject
*swig_obj
[1] ;
26056 if (!args
) SWIG_fail
;
26057 swig_obj
[0] = args
;
26058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26059 if (!SWIG_IsOK(res1
)) {
26060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26062 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_From_int(static_cast< int >(result
));
26076 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26077 PyObject
*resultobj
= 0;
26078 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26082 PyObject
*swig_obj
[1] ;
26084 if (!args
) SWIG_fail
;
26085 swig_obj
[0] = args
;
26086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26087 if (!SWIG_IsOK(res1
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26090 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_From_int(static_cast< int >(result
));
26104 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26105 PyObject
*resultobj
= 0;
26106 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26110 PyObject
*swig_obj
[1] ;
26112 if (!args
) SWIG_fail
;
26113 swig_obj
[0] = args
;
26114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26115 if (!SWIG_IsOK(res1
)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26118 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26125 resultobj
= SWIG_From_int(static_cast< int >(result
));
26132 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26133 PyObject
*resultobj
= 0;
26134 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26138 PyObject
*swig_obj
[1] ;
26140 if (!args
) SWIG_fail
;
26141 swig_obj
[0] = args
;
26142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26143 if (!SWIG_IsOK(res1
)) {
26144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26146 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26150 wxPyEndAllowThreads(__tstate
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= SWIG_From_int(static_cast< int >(result
));
26160 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26161 PyObject
*resultobj
= 0;
26162 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26166 PyObject
*swig_obj
[1] ;
26168 if (!args
) SWIG_fail
;
26169 swig_obj
[0] = args
;
26170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26171 if (!SWIG_IsOK(res1
)) {
26172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26174 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26190 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26191 PyObject
*resultobj
= 0;
26192 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26196 PyObject
*swig_obj
[1] ;
26198 if (!args
) SWIG_fail
;
26199 swig_obj
[0] = args
;
26200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26201 if (!SWIG_IsOK(res1
)) {
26202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26204 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26220 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26221 PyObject
*resultobj
= 0;
26222 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26226 PyObject
*swig_obj
[1] ;
26228 if (!args
) SWIG_fail
;
26229 swig_obj
[0] = args
;
26230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26231 if (!SWIG_IsOK(res1
)) {
26232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26234 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26250 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26251 PyObject
*resultobj
= 0;
26252 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26256 PyObject
*swig_obj
[1] ;
26258 if (!args
) SWIG_fail
;
26259 swig_obj
[0] = args
;
26260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26261 if (!SWIG_IsOK(res1
)) {
26262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26264 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26280 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
= 0;
26282 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26288 PyObject
* obj0
= 0 ;
26289 PyObject
* obj1
= 0 ;
26290 char * kwnames
[] = {
26291 (char *) "self",(char *) "v", NULL
26294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26296 if (!SWIG_IsOK(res1
)) {
26297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26299 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26301 if (!SWIG_IsOK(ecode2
)) {
26302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26304 arg2
= static_cast< int >(val2
);
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 (arg1
)->SetFromPage(arg2
);
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 resultobj
= SWIG_Py_Void();
26318 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26319 PyObject
*resultobj
= 0;
26320 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26326 PyObject
* obj0
= 0 ;
26327 PyObject
* obj1
= 0 ;
26328 char * kwnames
[] = {
26329 (char *) "self",(char *) "v", NULL
26332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26334 if (!SWIG_IsOK(res1
)) {
26335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26337 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26339 if (!SWIG_IsOK(ecode2
)) {
26340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26342 arg2
= static_cast< int >(val2
);
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 (arg1
)->SetToPage(arg2
);
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_Py_Void();
26356 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
= 0;
26358 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26364 PyObject
* obj0
= 0 ;
26365 PyObject
* obj1
= 0 ;
26366 char * kwnames
[] = {
26367 (char *) "self",(char *) "v", NULL
26370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26372 if (!SWIG_IsOK(res1
)) {
26373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26375 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26377 if (!SWIG_IsOK(ecode2
)) {
26378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26380 arg2
= static_cast< int >(val2
);
26382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26383 (arg1
)->SetMinPage(arg2
);
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26387 resultobj
= SWIG_Py_Void();
26394 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
= 0;
26396 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26402 PyObject
* obj0
= 0 ;
26403 PyObject
* obj1
= 0 ;
26404 char * kwnames
[] = {
26405 (char *) "self",(char *) "v", NULL
26408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26410 if (!SWIG_IsOK(res1
)) {
26411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26413 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26415 if (!SWIG_IsOK(ecode2
)) {
26416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26418 arg2
= static_cast< int >(val2
);
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 (arg1
)->SetMaxPage(arg2
);
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26425 resultobj
= SWIG_Py_Void();
26432 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26433 PyObject
*resultobj
= 0;
26434 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26440 PyObject
* obj0
= 0 ;
26441 PyObject
* obj1
= 0 ;
26442 char * kwnames
[] = {
26443 (char *) "self",(char *) "v", NULL
26446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26448 if (!SWIG_IsOK(res1
)) {
26449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26451 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26453 if (!SWIG_IsOK(ecode2
)) {
26454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26456 arg2
= static_cast< int >(val2
);
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 (arg1
)->SetNoCopies(arg2
);
26460 wxPyEndAllowThreads(__tstate
);
26461 if (PyErr_Occurred()) SWIG_fail
;
26463 resultobj
= SWIG_Py_Void();
26470 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26471 PyObject
*resultobj
= 0;
26472 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26478 PyObject
* obj0
= 0 ;
26479 PyObject
* obj1
= 0 ;
26480 char * kwnames
[] = {
26481 (char *) "self",(char *) "flag", NULL
26484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26486 if (!SWIG_IsOK(res1
)) {
26487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26489 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26490 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26491 if (!SWIG_IsOK(ecode2
)) {
26492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26494 arg2
= static_cast< bool >(val2
);
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 (arg1
)->SetAllPages(arg2
);
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= SWIG_Py_Void();
26508 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26509 PyObject
*resultobj
= 0;
26510 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26516 PyObject
* obj0
= 0 ;
26517 PyObject
* obj1
= 0 ;
26518 char * kwnames
[] = {
26519 (char *) "self",(char *) "flag", NULL
26522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26524 if (!SWIG_IsOK(res1
)) {
26525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26527 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26528 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26529 if (!SWIG_IsOK(ecode2
)) {
26530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26532 arg2
= static_cast< bool >(val2
);
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 (arg1
)->SetSelection(arg2
);
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= SWIG_Py_Void();
26546 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26547 PyObject
*resultobj
= 0;
26548 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26554 PyObject
* obj0
= 0 ;
26555 PyObject
* obj1
= 0 ;
26556 char * kwnames
[] = {
26557 (char *) "self",(char *) "flag", NULL
26560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26562 if (!SWIG_IsOK(res1
)) {
26563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26565 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26566 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26567 if (!SWIG_IsOK(ecode2
)) {
26568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26570 arg2
= static_cast< bool >(val2
);
26572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 (arg1
)->SetCollate(arg2
);
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 resultobj
= SWIG_Py_Void();
26584 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26585 PyObject
*resultobj
= 0;
26586 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26592 PyObject
* obj0
= 0 ;
26593 PyObject
* obj1
= 0 ;
26594 char * kwnames
[] = {
26595 (char *) "self",(char *) "flag", NULL
26598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26600 if (!SWIG_IsOK(res1
)) {
26601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26603 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26604 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26605 if (!SWIG_IsOK(ecode2
)) {
26606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26608 arg2
= static_cast< bool >(val2
);
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 (arg1
)->SetPrintToFile(arg2
);
26612 wxPyEndAllowThreads(__tstate
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26615 resultobj
= SWIG_Py_Void();
26622 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26623 PyObject
*resultobj
= 0;
26624 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26630 PyObject
* obj0
= 0 ;
26631 PyObject
* obj1
= 0 ;
26632 char * kwnames
[] = {
26633 (char *) "self",(char *) "flag", NULL
26636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26638 if (!SWIG_IsOK(res1
)) {
26639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26641 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26642 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26643 if (!SWIG_IsOK(ecode2
)) {
26644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26646 arg2
= static_cast< bool >(val2
);
26648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 (arg1
)->EnablePrintToFile(arg2
);
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26653 resultobj
= SWIG_Py_Void();
26660 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
= 0;
26662 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26668 PyObject
* obj0
= 0 ;
26669 PyObject
* obj1
= 0 ;
26670 char * kwnames
[] = {
26671 (char *) "self",(char *) "flag", NULL
26674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26676 if (!SWIG_IsOK(res1
)) {
26677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26679 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26680 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26681 if (!SWIG_IsOK(ecode2
)) {
26682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26684 arg2
= static_cast< bool >(val2
);
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 (arg1
)->EnableSelection(arg2
);
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_Py_Void();
26698 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
= 0;
26700 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26706 PyObject
* obj0
= 0 ;
26707 PyObject
* obj1
= 0 ;
26708 char * kwnames
[] = {
26709 (char *) "self",(char *) "flag", NULL
26712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26714 if (!SWIG_IsOK(res1
)) {
26715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26717 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26718 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26719 if (!SWIG_IsOK(ecode2
)) {
26720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26722 arg2
= static_cast< bool >(val2
);
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 (arg1
)->EnablePageNumbers(arg2
);
26726 wxPyEndAllowThreads(__tstate
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26729 resultobj
= SWIG_Py_Void();
26736 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
= 0;
26738 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 char * kwnames
[] = {
26747 (char *) "self",(char *) "flag", NULL
26750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26752 if (!SWIG_IsOK(res1
)) {
26753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26755 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26756 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26757 if (!SWIG_IsOK(ecode2
)) {
26758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26760 arg2
= static_cast< bool >(val2
);
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 (arg1
)->EnableHelp(arg2
);
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26767 resultobj
= SWIG_Py_Void();
26774 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26775 PyObject
*resultobj
= 0;
26776 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26780 PyObject
*swig_obj
[1] ;
26782 if (!args
) SWIG_fail
;
26783 swig_obj
[0] = args
;
26784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26785 if (!SWIG_IsOK(res1
)) {
26786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26788 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26791 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26804 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26805 PyObject
*resultobj
= 0;
26806 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26810 PyObject
*swig_obj
[1] ;
26812 if (!args
) SWIG_fail
;
26813 swig_obj
[0] = args
;
26814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26815 if (!SWIG_IsOK(res1
)) {
26816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26818 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26834 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26835 PyObject
*resultobj
= 0;
26836 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26840 PyObject
*swig_obj
[1] ;
26842 if (!args
) SWIG_fail
;
26843 swig_obj
[0] = args
;
26844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26845 if (!SWIG_IsOK(res1
)) {
26846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26848 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26864 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26865 PyObject
*resultobj
= 0;
26866 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26870 PyObject
*swig_obj
[1] ;
26872 if (!args
) SWIG_fail
;
26873 swig_obj
[0] = args
;
26874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26875 if (!SWIG_IsOK(res1
)) {
26876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26878 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26894 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26895 PyObject
*resultobj
= 0;
26896 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26900 PyObject
*swig_obj
[1] ;
26902 if (!args
) SWIG_fail
;
26903 swig_obj
[0] = args
;
26904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26905 if (!SWIG_IsOK(res1
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26908 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26924 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26925 PyObject
*resultobj
= 0;
26926 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26927 wxPrintData
*result
= 0 ;
26930 PyObject
*swig_obj
[1] ;
26932 if (!args
) SWIG_fail
;
26933 swig_obj
[0] = args
;
26934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26935 if (!SWIG_IsOK(res1
)) {
26936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26938 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26943 result
= (wxPrintData
*) &_result_ref
;
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26955 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
= 0;
26957 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26958 wxPrintData
*arg2
= 0 ;
26963 PyObject
* obj0
= 0 ;
26964 PyObject
* obj1
= 0 ;
26965 char * kwnames
[] = {
26966 (char *) "self",(char *) "printData", NULL
26969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26971 if (!SWIG_IsOK(res1
)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26974 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26976 if (!SWIG_IsOK(res2
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26982 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26985 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26986 wxPyEndAllowThreads(__tstate
);
26987 if (PyErr_Occurred()) SWIG_fail
;
26989 resultobj
= SWIG_Py_Void();
26996 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26999 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27000 return SWIG_Py_Void();
27003 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27004 return SWIG_Python_InitShadowInstance(args
);
27007 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
= 0;
27009 wxWindow
*arg1
= (wxWindow
*) 0 ;
27010 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27011 wxPrintDialog
*result
= 0 ;
27016 PyObject
* obj0
= 0 ;
27017 PyObject
* obj1
= 0 ;
27018 char * kwnames
[] = {
27019 (char *) "parent",(char *) "data", NULL
27022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27024 if (!SWIG_IsOK(res1
)) {
27025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27029 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27030 if (!SWIG_IsOK(res2
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27033 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27036 if (!wxPyCheckForApp()) SWIG_fail
;
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27039 wxPyEndAllowThreads(__tstate
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27049 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27050 PyObject
*resultobj
= 0;
27051 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27054 PyObject
*swig_obj
[1] ;
27056 if (!args
) SWIG_fail
;
27057 swig_obj
[0] = args
;
27058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27059 if (!SWIG_IsOK(res1
)) {
27060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27062 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 resultobj
= SWIG_Py_Void();
27077 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27078 PyObject
*resultobj
= 0;
27079 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27083 PyObject
*swig_obj
[1] ;
27085 if (!args
) SWIG_fail
;
27086 swig_obj
[0] = args
;
27087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27088 if (!SWIG_IsOK(res1
)) {
27089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27091 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 result
= (int)(arg1
)->ShowModal();
27095 wxPyEndAllowThreads(__tstate
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27098 resultobj
= SWIG_From_int(static_cast< int >(result
));
27105 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27106 PyObject
*resultobj
= 0;
27107 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27108 wxPrintDialogData
*result
= 0 ;
27111 PyObject
*swig_obj
[1] ;
27113 if (!args
) SWIG_fail
;
27114 swig_obj
[0] = args
;
27115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27116 if (!SWIG_IsOK(res1
)) {
27117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27119 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27124 result
= (wxPrintDialogData
*) &_result_ref
;
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27136 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27137 PyObject
*resultobj
= 0;
27138 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27139 wxPrintData
*result
= 0 ;
27142 PyObject
*swig_obj
[1] ;
27144 if (!args
) SWIG_fail
;
27145 swig_obj
[0] = args
;
27146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27147 if (!SWIG_IsOK(res1
)) {
27148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27150 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27155 result
= (wxPrintData
*) &_result_ref
;
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27167 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27168 PyObject
*resultobj
= 0;
27169 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27173 PyObject
*swig_obj
[1] ;
27175 if (!args
) SWIG_fail
;
27176 swig_obj
[0] = args
;
27177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27178 if (!SWIG_IsOK(res1
)) {
27179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27181 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27184 result
= (wxDC
*)(arg1
)->GetPrintDC();
27185 wxPyEndAllowThreads(__tstate
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27189 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27197 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27200 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27201 return SWIG_Py_Void();
27204 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27205 return SWIG_Python_InitShadowInstance(args
);
27208 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
= 0;
27210 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27211 wxPrinter
*result
= 0 ;
27214 PyObject
* obj0
= 0 ;
27215 char * kwnames
[] = {
27216 (char *) "data", NULL
27219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27222 if (!SWIG_IsOK(res1
)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27225 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27228 if (!wxPyCheckForApp()) SWIG_fail
;
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= (wxPrinter
*)new wxPrinter(arg1
);
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27241 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27242 PyObject
*resultobj
= 0;
27243 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27246 PyObject
*swig_obj
[1] ;
27248 if (!args
) SWIG_fail
;
27249 swig_obj
[0] = args
;
27250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27251 if (!SWIG_IsOK(res1
)) {
27252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27254 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27262 resultobj
= SWIG_Py_Void();
27269 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
= 0;
27271 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27272 wxWindow
*arg2
= (wxWindow
*) 0 ;
27273 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27274 wxWindow
*result
= 0 ;
27281 PyObject
* obj0
= 0 ;
27282 PyObject
* obj1
= 0 ;
27283 PyObject
* obj2
= 0 ;
27284 char * kwnames
[] = {
27285 (char *) "self",(char *) "parent",(char *) "printout", NULL
27288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27290 if (!SWIG_IsOK(res1
)) {
27291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27293 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27295 if (!SWIG_IsOK(res2
)) {
27296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27299 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27300 if (!SWIG_IsOK(res3
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27303 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27311 resultobj
= wxPyMake_wxObject(result
, 0);
27319 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
= 0;
27321 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27322 wxWindow
*arg2
= (wxWindow
*) 0 ;
27323 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27324 wxString
*arg4
= 0 ;
27331 bool temp4
= false ;
27332 PyObject
* obj0
= 0 ;
27333 PyObject
* obj1
= 0 ;
27334 PyObject
* obj2
= 0 ;
27335 PyObject
* obj3
= 0 ;
27336 char * kwnames
[] = {
27337 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27342 if (!SWIG_IsOK(res1
)) {
27343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27345 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27347 if (!SWIG_IsOK(res2
)) {
27348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27351 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27352 if (!SWIG_IsOK(res3
)) {
27353 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27355 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27357 arg4
= wxString_in_helper(obj3
);
27358 if (arg4
== NULL
) SWIG_fail
;
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= SWIG_Py_Void();
27382 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
= 0;
27384 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27385 wxWindow
*arg2
= (wxWindow
*) 0 ;
27391 PyObject
* obj0
= 0 ;
27392 PyObject
* obj1
= 0 ;
27393 char * kwnames
[] = {
27394 (char *) "self",(char *) "parent", NULL
27397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27399 if (!SWIG_IsOK(res1
)) {
27400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27402 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27404 if (!SWIG_IsOK(res2
)) {
27405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27407 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= (bool)(arg1
)->Setup(arg2
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27423 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
= 0;
27425 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27426 wxWindow
*arg2
= (wxWindow
*) 0 ;
27427 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27428 bool arg4
= (bool) true ;
27438 PyObject
* obj0
= 0 ;
27439 PyObject
* obj1
= 0 ;
27440 PyObject
* obj2
= 0 ;
27441 PyObject
* obj3
= 0 ;
27442 char * kwnames
[] = {
27443 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27448 if (!SWIG_IsOK(res1
)) {
27449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27451 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27452 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27453 if (!SWIG_IsOK(res2
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27456 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27457 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27458 if (!SWIG_IsOK(res3
)) {
27459 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27461 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27463 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27464 if (!SWIG_IsOK(ecode4
)) {
27465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27467 arg4
= static_cast< bool >(val4
);
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27484 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27485 PyObject
*resultobj
= 0;
27486 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27487 wxWindow
*arg2
= (wxWindow
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 PyObject
* obj1
= 0 ;
27495 char * kwnames
[] = {
27496 (char *) "self",(char *) "parent", NULL
27499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27501 if (!SWIG_IsOK(res1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27504 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27506 if (!SWIG_IsOK(res2
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27509 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27512 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27517 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27525 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27526 PyObject
*resultobj
= 0;
27527 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27528 wxPrintDialogData
*result
= 0 ;
27531 PyObject
*swig_obj
[1] ;
27533 if (!args
) SWIG_fail
;
27534 swig_obj
[0] = args
;
27535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27536 if (!SWIG_IsOK(res1
)) {
27537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27539 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27544 result
= (wxPrintDialogData
*) &_result_ref
;
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27556 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27557 PyObject
*resultobj
= 0;
27558 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27562 PyObject
*swig_obj
[1] ;
27564 if (!args
) SWIG_fail
;
27565 swig_obj
[0] = args
;
27566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27567 if (!SWIG_IsOK(res1
)) {
27568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27570 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 result
= (bool)(arg1
)->GetAbort();
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27586 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27587 PyObject
*resultobj
= 0;
27588 wxPrinterError result
;
27590 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 result
= (wxPrinterError
)wxPrinter::GetLastError();
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= SWIG_From_int(static_cast< int >(result
));
27604 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27607 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27608 return SWIG_Py_Void();
27611 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27612 return SWIG_Python_InitShadowInstance(args
);
27615 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
= 0;
27617 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27618 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27619 wxPyPrintout
*result
= 0 ;
27620 bool temp1
= false ;
27621 PyObject
* obj0
= 0 ;
27622 char * kwnames
[] = {
27623 (char *) "title", NULL
27626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27629 arg1
= wxString_in_helper(obj0
);
27630 if (arg1
== NULL
) SWIG_fail
;
27635 if (!wxPyCheckForApp()) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27656 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27657 PyObject
*resultobj
= 0;
27658 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27661 PyObject
*swig_obj
[1] ;
27663 if (!args
) SWIG_fail
;
27664 swig_obj
[0] = args
;
27665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27669 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= SWIG_Py_Void();
27684 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
= 0;
27686 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27687 PyObject
*arg2
= (PyObject
*) 0 ;
27688 PyObject
*arg3
= (PyObject
*) 0 ;
27691 PyObject
* obj0
= 0 ;
27692 PyObject
* obj1
= 0 ;
27693 PyObject
* obj2
= 0 ;
27694 char * kwnames
[] = {
27695 (char *) "self",(char *) "self",(char *) "_class", NULL
27698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27700 if (!SWIG_IsOK(res1
)) {
27701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27703 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27709 wxPyEndAllowThreads(__tstate
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= SWIG_Py_Void();
27719 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27720 PyObject
*resultobj
= 0;
27721 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27725 PyObject
*swig_obj
[1] ;
27727 if (!args
) SWIG_fail
;
27728 swig_obj
[0] = args
;
27729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27730 if (!SWIG_IsOK(res1
)) {
27731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27733 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27736 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27753 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27754 PyObject
*resultobj
= 0;
27755 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27759 PyObject
*swig_obj
[1] ;
27761 if (!args
) SWIG_fail
;
27762 swig_obj
[0] = args
;
27763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27764 if (!SWIG_IsOK(res1
)) {
27765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27767 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 result
= (wxDC
*)(arg1
)->GetDC();
27771 wxPyEndAllowThreads(__tstate
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27775 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27783 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
= 0;
27785 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27786 wxDC
*arg2
= (wxDC
*) 0 ;
27791 PyObject
* obj0
= 0 ;
27792 PyObject
* obj1
= 0 ;
27793 char * kwnames
[] = {
27794 (char *) "self",(char *) "dc", NULL
27797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27799 if (!SWIG_IsOK(res1
)) {
27800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27802 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27804 if (!SWIG_IsOK(res2
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27807 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 (arg1
)->SetDC(arg2
);
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27814 resultobj
= SWIG_Py_Void();
27821 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
= 0;
27823 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27832 PyObject
* obj0
= 0 ;
27833 PyObject
* obj1
= 0 ;
27834 PyObject
* obj2
= 0 ;
27835 char * kwnames
[] = {
27836 (char *) "self",(char *) "w",(char *) "h", NULL
27839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27841 if (!SWIG_IsOK(res1
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27844 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27846 if (!SWIG_IsOK(ecode2
)) {
27847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27849 arg2
= static_cast< int >(val2
);
27850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27851 if (!SWIG_IsOK(ecode3
)) {
27852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27854 arg3
= static_cast< int >(val3
);
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= SWIG_Py_Void();
27868 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27869 PyObject
*resultobj
= 0;
27870 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27871 int *arg2
= (int *) 0 ;
27872 int *arg3
= (int *) 0 ;
27876 int res2
= SWIG_TMPOBJ
;
27878 int res3
= SWIG_TMPOBJ
;
27879 PyObject
*swig_obj
[1] ;
27883 if (!args
) SWIG_fail
;
27884 swig_obj
[0] = args
;
27885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27886 if (!SWIG_IsOK(res1
)) {
27887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27889 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27892 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27896 resultobj
= SWIG_Py_Void();
27897 if (SWIG_IsTmpObj(res2
)) {
27898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27900 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27903 if (SWIG_IsTmpObj(res3
)) {
27904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27906 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27915 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
= 0;
27917 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27926 PyObject
* obj0
= 0 ;
27927 PyObject
* obj1
= 0 ;
27928 PyObject
* obj2
= 0 ;
27929 char * kwnames
[] = {
27930 (char *) "self",(char *) "w",(char *) "h", NULL
27933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27935 if (!SWIG_IsOK(res1
)) {
27936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27938 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27940 if (!SWIG_IsOK(ecode2
)) {
27941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27943 arg2
= static_cast< int >(val2
);
27944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27945 if (!SWIG_IsOK(ecode3
)) {
27946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27948 arg3
= static_cast< int >(val3
);
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27952 wxPyEndAllowThreads(__tstate
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27955 resultobj
= SWIG_Py_Void();
27962 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27963 PyObject
*resultobj
= 0;
27964 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27965 int *arg2
= (int *) 0 ;
27966 int *arg3
= (int *) 0 ;
27970 int res2
= SWIG_TMPOBJ
;
27972 int res3
= SWIG_TMPOBJ
;
27973 PyObject
*swig_obj
[1] ;
27977 if (!args
) SWIG_fail
;
27978 swig_obj
[0] = args
;
27979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27980 if (!SWIG_IsOK(res1
)) {
27981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27983 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27986 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27987 wxPyEndAllowThreads(__tstate
);
27988 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= SWIG_Py_Void();
27991 if (SWIG_IsTmpObj(res2
)) {
27992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27994 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27997 if (SWIG_IsTmpObj(res3
)) {
27998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28000 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28009 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
= 0;
28011 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28020 PyObject
* obj0
= 0 ;
28021 PyObject
* obj1
= 0 ;
28022 PyObject
* obj2
= 0 ;
28023 char * kwnames
[] = {
28024 (char *) "self",(char *) "x",(char *) "y", NULL
28027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28029 if (!SWIG_IsOK(res1
)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28032 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28034 if (!SWIG_IsOK(ecode2
)) {
28035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28037 arg2
= static_cast< int >(val2
);
28038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28039 if (!SWIG_IsOK(ecode3
)) {
28040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28042 arg3
= static_cast< int >(val3
);
28044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 (arg1
)->SetPPIScreen(arg2
,arg3
);
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 resultobj
= SWIG_Py_Void();
28056 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28057 PyObject
*resultobj
= 0;
28058 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28059 int *arg2
= (int *) 0 ;
28060 int *arg3
= (int *) 0 ;
28064 int res2
= SWIG_TMPOBJ
;
28066 int res3
= SWIG_TMPOBJ
;
28067 PyObject
*swig_obj
[1] ;
28071 if (!args
) SWIG_fail
;
28072 swig_obj
[0] = args
;
28073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28074 if (!SWIG_IsOK(res1
)) {
28075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28077 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 (arg1
)->GetPPIScreen(arg2
,arg3
);
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28084 resultobj
= SWIG_Py_Void();
28085 if (SWIG_IsTmpObj(res2
)) {
28086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28088 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28091 if (SWIG_IsTmpObj(res3
)) {
28092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28094 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28103 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
= 0;
28105 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28114 PyObject
* obj0
= 0 ;
28115 PyObject
* obj1
= 0 ;
28116 PyObject
* obj2
= 0 ;
28117 char * kwnames
[] = {
28118 (char *) "self",(char *) "x",(char *) "y", NULL
28121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28123 if (!SWIG_IsOK(res1
)) {
28124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28126 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28128 if (!SWIG_IsOK(ecode2
)) {
28129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28131 arg2
= static_cast< int >(val2
);
28132 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28133 if (!SWIG_IsOK(ecode3
)) {
28134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28136 arg3
= static_cast< int >(val3
);
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= SWIG_Py_Void();
28150 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28151 PyObject
*resultobj
= 0;
28152 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28153 int *arg2
= (int *) 0 ;
28154 int *arg3
= (int *) 0 ;
28158 int res2
= SWIG_TMPOBJ
;
28160 int res3
= SWIG_TMPOBJ
;
28161 PyObject
*swig_obj
[1] ;
28165 if (!args
) SWIG_fail
;
28166 swig_obj
[0] = args
;
28167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28168 if (!SWIG_IsOK(res1
)) {
28169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28171 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28174 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28175 wxPyEndAllowThreads(__tstate
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28178 resultobj
= SWIG_Py_Void();
28179 if (SWIG_IsTmpObj(res2
)) {
28180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28182 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28185 if (SWIG_IsTmpObj(res3
)) {
28186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28188 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28197 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28198 PyObject
*resultobj
= 0;
28199 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28203 PyObject
*swig_obj
[1] ;
28205 if (!args
) SWIG_fail
;
28206 swig_obj
[0] = args
;
28207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28208 if (!SWIG_IsOK(res1
)) {
28209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28211 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28214 result
= (bool)(arg1
)->IsPreview();
28215 wxPyEndAllowThreads(__tstate
);
28216 if (PyErr_Occurred()) SWIG_fail
;
28219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28227 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
= 0;
28229 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28235 PyObject
* obj0
= 0 ;
28236 PyObject
* obj1
= 0 ;
28237 char * kwnames
[] = {
28238 (char *) "self",(char *) "p", NULL
28241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28243 if (!SWIG_IsOK(res1
)) {
28244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28246 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28247 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28248 if (!SWIG_IsOK(ecode2
)) {
28249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28251 arg2
= static_cast< bool >(val2
);
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 (arg1
)->SetIsPreview(arg2
);
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= SWIG_Py_Void();
28265 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
= 0;
28267 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28277 PyObject
* obj0
= 0 ;
28278 PyObject
* obj1
= 0 ;
28279 PyObject
* obj2
= 0 ;
28280 char * kwnames
[] = {
28281 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28286 if (!SWIG_IsOK(res1
)) {
28287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28289 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28291 if (!SWIG_IsOK(ecode2
)) {
28292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28294 arg2
= static_cast< int >(val2
);
28295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28296 if (!SWIG_IsOK(ecode3
)) {
28297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28299 arg3
= static_cast< int >(val3
);
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28315 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28316 PyObject
*resultobj
= 0;
28317 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28320 PyObject
*swig_obj
[1] ;
28322 if (!args
) SWIG_fail
;
28323 swig_obj
[0] = args
;
28324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28325 if (!SWIG_IsOK(res1
)) {
28326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28328 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28331 (arg1
)->OnEndDocument();
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28335 resultobj
= SWIG_Py_Void();
28342 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28343 PyObject
*resultobj
= 0;
28344 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28347 PyObject
*swig_obj
[1] ;
28349 if (!args
) SWIG_fail
;
28350 swig_obj
[0] = args
;
28351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28352 if (!SWIG_IsOK(res1
)) {
28353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28355 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28358 (arg1
)->OnBeginPrinting();
28359 wxPyEndAllowThreads(__tstate
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28362 resultobj
= SWIG_Py_Void();
28369 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28370 PyObject
*resultobj
= 0;
28371 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28374 PyObject
*swig_obj
[1] ;
28376 if (!args
) SWIG_fail
;
28377 swig_obj
[0] = args
;
28378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28379 if (!SWIG_IsOK(res1
)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28382 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28385 (arg1
)->OnEndPrinting();
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28389 resultobj
= SWIG_Py_Void();
28396 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28397 PyObject
*resultobj
= 0;
28398 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28401 PyObject
*swig_obj
[1] ;
28403 if (!args
) SWIG_fail
;
28404 swig_obj
[0] = args
;
28405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28406 if (!SWIG_IsOK(res1
)) {
28407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28409 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 (arg1
)->OnPreparePrinting();
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= SWIG_Py_Void();
28423 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
= 0;
28425 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28432 PyObject
* obj0
= 0 ;
28433 PyObject
* obj1
= 0 ;
28434 char * kwnames
[] = {
28435 (char *) "self",(char *) "page", NULL
28438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28440 if (!SWIG_IsOK(res1
)) {
28441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28443 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28445 if (!SWIG_IsOK(ecode2
)) {
28446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28448 arg2
= static_cast< int >(val2
);
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= (bool)(arg1
)->HasPage(arg2
);
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28464 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28465 PyObject
*resultobj
= 0;
28466 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28467 int *arg2
= (int *) 0 ;
28468 int *arg3
= (int *) 0 ;
28469 int *arg4
= (int *) 0 ;
28470 int *arg5
= (int *) 0 ;
28474 int res2
= SWIG_TMPOBJ
;
28476 int res3
= SWIG_TMPOBJ
;
28478 int res4
= SWIG_TMPOBJ
;
28480 int res5
= SWIG_TMPOBJ
;
28481 PyObject
*swig_obj
[1] ;
28487 if (!args
) SWIG_fail
;
28488 swig_obj
[0] = args
;
28489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28490 if (!SWIG_IsOK(res1
)) {
28491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28493 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28500 resultobj
= SWIG_Py_Void();
28501 if (SWIG_IsTmpObj(res2
)) {
28502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28504 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28507 if (SWIG_IsTmpObj(res3
)) {
28508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28510 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28513 if (SWIG_IsTmpObj(res4
)) {
28514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28516 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28519 if (SWIG_IsTmpObj(res5
)) {
28520 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28522 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28523 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28531 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28533 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28534 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28535 return SWIG_Py_Void();
28538 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28539 return SWIG_Python_InitShadowInstance(args
);
28542 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28543 PyObject
*resultobj
= 0;
28544 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28545 wxWindow
*arg2
= (wxWindow
*) 0 ;
28546 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28547 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28548 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28549 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28550 long arg5
= (long) 0 ;
28551 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28552 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28553 wxPreviewCanvas
*result
= 0 ;
28562 bool temp6
= false ;
28563 PyObject
* obj0
= 0 ;
28564 PyObject
* obj1
= 0 ;
28565 PyObject
* obj2
= 0 ;
28566 PyObject
* obj3
= 0 ;
28567 PyObject
* obj4
= 0 ;
28568 PyObject
* obj5
= 0 ;
28569 char * kwnames
[] = {
28570 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28575 if (!SWIG_IsOK(res1
)) {
28576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28578 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28580 if (!SWIG_IsOK(res2
)) {
28581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28587 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28593 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28597 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28598 if (!SWIG_IsOK(ecode5
)) {
28599 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28601 arg5
= static_cast< long >(val5
);
28605 arg6
= wxString_in_helper(obj5
);
28606 if (arg6
== NULL
) SWIG_fail
;
28611 if (!wxPyCheckForApp()) SWIG_fail
;
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28614 wxPyEndAllowThreads(__tstate
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28632 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28635 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28636 return SWIG_Py_Void();
28639 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28640 return SWIG_Python_InitShadowInstance(args
);
28643 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
= 0;
28645 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28646 wxFrame
*arg2
= (wxFrame
*) 0 ;
28647 wxString
*arg3
= 0 ;
28648 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28649 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28650 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28651 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28652 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28653 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28654 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28655 wxPreviewFrame
*result
= 0 ;
28659 bool temp3
= false ;
28664 bool temp7
= false ;
28665 PyObject
* obj0
= 0 ;
28666 PyObject
* obj1
= 0 ;
28667 PyObject
* obj2
= 0 ;
28668 PyObject
* obj3
= 0 ;
28669 PyObject
* obj4
= 0 ;
28670 PyObject
* obj5
= 0 ;
28671 PyObject
* obj6
= 0 ;
28672 char * kwnames
[] = {
28673 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28677 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28678 if (!SWIG_IsOK(res1
)) {
28679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28681 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28682 if (!SWIG_IsOK(res2
)) {
28683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28685 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28687 arg3
= wxString_in_helper(obj2
);
28688 if (arg3
== NULL
) SWIG_fail
;
28694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28700 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28704 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28705 if (!SWIG_IsOK(ecode6
)) {
28706 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28708 arg6
= static_cast< long >(val6
);
28712 arg7
= wxString_in_helper(obj6
);
28713 if (arg7
== NULL
) SWIG_fail
;
28718 if (!wxPyCheckForApp()) SWIG_fail
;
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28721 wxPyEndAllowThreads(__tstate
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28747 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28748 PyObject
*resultobj
= 0;
28749 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28752 PyObject
*swig_obj
[1] ;
28754 if (!args
) SWIG_fail
;
28755 swig_obj
[0] = args
;
28756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28757 if (!SWIG_IsOK(res1
)) {
28758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28760 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 (arg1
)->Initialize();
28764 wxPyEndAllowThreads(__tstate
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28767 resultobj
= SWIG_Py_Void();
28774 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28775 PyObject
*resultobj
= 0;
28776 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 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_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28787 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 (arg1
)->CreateControlBar();
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= SWIG_Py_Void();
28801 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28802 PyObject
*resultobj
= 0;
28803 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28806 PyObject
*swig_obj
[1] ;
28808 if (!args
) SWIG_fail
;
28809 swig_obj
[0] = args
;
28810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28811 if (!SWIG_IsOK(res1
)) {
28812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28814 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 (arg1
)->CreateCanvas();
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28821 resultobj
= SWIG_Py_Void();
28828 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28829 PyObject
*resultobj
= 0;
28830 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28831 wxPreviewControlBar
*result
= 0 ;
28834 PyObject
*swig_obj
[1] ;
28836 if (!args
) SWIG_fail
;
28837 swig_obj
[0] = args
;
28838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28839 if (!SWIG_IsOK(res1
)) {
28840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28842 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28856 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28859 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28860 return SWIG_Py_Void();
28863 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28864 return SWIG_Python_InitShadowInstance(args
);
28867 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28868 PyObject
*resultobj
= 0;
28869 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28871 wxWindow
*arg3
= (wxWindow
*) 0 ;
28872 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28873 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28874 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28875 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28876 long arg6
= (long) wxTAB_TRAVERSAL
;
28877 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28878 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28879 wxPreviewControlBar
*result
= 0 ;
28890 bool temp7
= false ;
28891 PyObject
* obj0
= 0 ;
28892 PyObject
* obj1
= 0 ;
28893 PyObject
* obj2
= 0 ;
28894 PyObject
* obj3
= 0 ;
28895 PyObject
* obj4
= 0 ;
28896 PyObject
* obj5
= 0 ;
28897 PyObject
* obj6
= 0 ;
28898 char * kwnames
[] = {
28899 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28904 if (!SWIG_IsOK(res1
)) {
28905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28907 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28908 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28909 if (!SWIG_IsOK(ecode2
)) {
28910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28912 arg2
= static_cast< long >(val2
);
28913 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28914 if (!SWIG_IsOK(res3
)) {
28915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28917 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28921 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28927 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28931 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28932 if (!SWIG_IsOK(ecode6
)) {
28933 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28935 arg6
= static_cast< long >(val6
);
28939 arg7
= wxString_in_helper(obj6
);
28940 if (arg7
== NULL
) SWIG_fail
;
28945 if (!wxPyCheckForApp()) SWIG_fail
;
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28948 wxPyEndAllowThreads(__tstate
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28966 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28967 PyObject
*resultobj
= 0;
28968 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28972 PyObject
*swig_obj
[1] ;
28974 if (!args
) SWIG_fail
;
28975 swig_obj
[0] = args
;
28976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28977 if (!SWIG_IsOK(res1
)) {
28978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28980 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28983 result
= (int)(arg1
)->GetZoomControl();
28984 wxPyEndAllowThreads(__tstate
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28987 resultobj
= SWIG_From_int(static_cast< int >(result
));
28994 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28995 PyObject
*resultobj
= 0;
28996 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29002 PyObject
* obj0
= 0 ;
29003 PyObject
* obj1
= 0 ;
29004 char * kwnames
[] = {
29005 (char *) "self",(char *) "zoom", NULL
29008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29010 if (!SWIG_IsOK(res1
)) {
29011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29013 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29015 if (!SWIG_IsOK(ecode2
)) {
29016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29018 arg2
= static_cast< int >(val2
);
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 (arg1
)->SetZoomControl(arg2
);
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 resultobj
= SWIG_Py_Void();
29032 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29033 PyObject
*resultobj
= 0;
29034 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29035 wxPrintPreview
*result
= 0 ;
29038 PyObject
*swig_obj
[1] ;
29040 if (!args
) SWIG_fail
;
29041 swig_obj
[0] = args
;
29042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29043 if (!SWIG_IsOK(res1
)) {
29044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29046 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29049 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29050 wxPyEndAllowThreads(__tstate
);
29051 if (PyErr_Occurred()) SWIG_fail
;
29053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29060 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29061 PyObject
*resultobj
= 0;
29062 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29065 PyObject
*swig_obj
[1] ;
29067 if (!args
) SWIG_fail
;
29068 swig_obj
[0] = args
;
29069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29070 if (!SWIG_IsOK(res1
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29073 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 resultobj
= SWIG_Py_Void();
29087 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29088 PyObject
*resultobj
= 0;
29089 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29092 PyObject
*swig_obj
[1] ;
29094 if (!args
) SWIG_fail
;
29095 swig_obj
[0] = args
;
29096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29097 if (!SWIG_IsOK(res1
)) {
29098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29100 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 (arg1
)->OnPrevious();
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29107 resultobj
= SWIG_Py_Void();
29114 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29115 PyObject
*resultobj
= 0;
29116 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29119 PyObject
*swig_obj
[1] ;
29121 if (!args
) SWIG_fail
;
29122 swig_obj
[0] = args
;
29123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29124 if (!SWIG_IsOK(res1
)) {
29125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29127 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29131 wxPyEndAllowThreads(__tstate
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29134 resultobj
= SWIG_Py_Void();
29141 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29142 PyObject
*resultobj
= 0;
29143 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29146 PyObject
*swig_obj
[1] ;
29148 if (!args
) SWIG_fail
;
29149 swig_obj
[0] = args
;
29150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29151 if (!SWIG_IsOK(res1
)) {
29152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29154 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 resultobj
= SWIG_Py_Void();
29168 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29169 PyObject
*resultobj
= 0;
29170 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29173 PyObject
*swig_obj
[1] ;
29175 if (!args
) SWIG_fail
;
29176 swig_obj
[0] = args
;
29177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29178 if (!SWIG_IsOK(res1
)) {
29179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29181 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 wxPyEndAllowThreads(__tstate
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29188 resultobj
= SWIG_Py_Void();
29195 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29198 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29199 return SWIG_Py_Void();
29202 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29203 return SWIG_Python_InitShadowInstance(args
);
29206 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29207 PyObject
*resultobj
= 0;
29208 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29209 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29210 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29211 wxPrintPreview
*result
= 0 ;
29217 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29218 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29219 if (!SWIG_IsOK(res1
)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29222 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29223 if (!SWIG_IsOK(res2
)) {
29224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29227 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29228 if (!SWIG_IsOK(res3
)) {
29229 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29231 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29234 if (!wxPyCheckForApp()) SWIG_fail
;
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29237 wxPyEndAllowThreads(__tstate
);
29238 if (PyErr_Occurred()) SWIG_fail
;
29240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29247 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29248 PyObject
*resultobj
= 0;
29249 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29250 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29251 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29252 wxPrintPreview
*result
= 0 ;
29258 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29259 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29260 if (!SWIG_IsOK(res1
)) {
29261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29263 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29264 if (!SWIG_IsOK(res2
)) {
29265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29267 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29268 if (!SWIG_IsOK(res3
)) {
29269 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29271 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29273 if (!wxPyCheckForApp()) SWIG_fail
;
29274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29275 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29276 wxPyEndAllowThreads(__tstate
);
29277 if (PyErr_Occurred()) SWIG_fail
;
29279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29286 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29290 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29292 if ((argc
>= 2) && (argc
<= 3)) {
29297 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29298 _v
= SWIG_CheckState(res
);
29300 if (!_v
) goto check_1
;
29302 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29307 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29311 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29316 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29317 PyObject
*resultobj
= 0;
29318 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29321 PyObject
*swig_obj
[1] ;
29323 if (!args
) SWIG_fail
;
29324 swig_obj
[0] = args
;
29325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29326 if (!SWIG_IsOK(res1
)) {
29327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29329 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= SWIG_Py_Void();
29344 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
= 0;
29346 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29353 PyObject
* obj0
= 0 ;
29354 PyObject
* obj1
= 0 ;
29355 char * kwnames
[] = {
29356 (char *) "self",(char *) "pageNum", NULL
29359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29361 if (!SWIG_IsOK(res1
)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29364 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29366 if (!SWIG_IsOK(ecode2
)) {
29367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29369 arg2
= static_cast< int >(val2
);
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29385 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29386 PyObject
*resultobj
= 0;
29387 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29391 PyObject
*swig_obj
[1] ;
29393 if (!args
) SWIG_fail
;
29394 swig_obj
[0] = args
;
29395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29396 if (!SWIG_IsOK(res1
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29399 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29402 result
= (int)(arg1
)->GetCurrentPage();
29403 wxPyEndAllowThreads(__tstate
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= SWIG_From_int(static_cast< int >(result
));
29413 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
= 0;
29415 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29416 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29420 PyObject
* obj0
= 0 ;
29421 PyObject
* obj1
= 0 ;
29422 char * kwnames
[] = {
29423 (char *) "self",(char *) "printout", NULL
29426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29428 if (!SWIG_IsOK(res1
)) {
29429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29431 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29432 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29433 if (!SWIG_IsOK(res2
)) {
29434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29438 (arg1
)->SetPrintout(arg2
);
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29442 resultobj
= SWIG_Py_Void();
29449 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29450 PyObject
*resultobj
= 0;
29451 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29452 wxPyPrintout
*result
= 0 ;
29455 PyObject
*swig_obj
[1] ;
29457 if (!args
) SWIG_fail
;
29458 swig_obj
[0] = args
;
29459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29460 if (!SWIG_IsOK(res1
)) {
29461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29463 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29466 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= wxPyMake_wxObject(result
, 0);
29479 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29480 PyObject
*resultobj
= 0;
29481 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29482 wxPyPrintout
*result
= 0 ;
29485 PyObject
*swig_obj
[1] ;
29487 if (!args
) SWIG_fail
;
29488 swig_obj
[0] = args
;
29489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29490 if (!SWIG_IsOK(res1
)) {
29491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29493 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29496 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29497 wxPyEndAllowThreads(__tstate
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29501 resultobj
= wxPyMake_wxObject(result
, 0);
29509 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
= 0;
29511 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29512 wxFrame
*arg2
= (wxFrame
*) 0 ;
29517 PyObject
* obj0
= 0 ;
29518 PyObject
* obj1
= 0 ;
29519 char * kwnames
[] = {
29520 (char *) "self",(char *) "frame", NULL
29523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29525 if (!SWIG_IsOK(res1
)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29528 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29529 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29530 if (!SWIG_IsOK(res2
)) {
29531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29533 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29536 (arg1
)->SetFrame(arg2
);
29537 wxPyEndAllowThreads(__tstate
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29540 resultobj
= SWIG_Py_Void();
29547 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
= 0;
29549 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29550 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29555 PyObject
* obj0
= 0 ;
29556 PyObject
* obj1
= 0 ;
29557 char * kwnames
[] = {
29558 (char *) "self",(char *) "canvas", NULL
29561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29563 if (!SWIG_IsOK(res1
)) {
29564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29566 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29568 if (!SWIG_IsOK(res2
)) {
29569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29571 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29574 (arg1
)->SetCanvas(arg2
);
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29578 resultobj
= SWIG_Py_Void();
29585 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29586 PyObject
*resultobj
= 0;
29587 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29588 wxFrame
*result
= 0 ;
29591 PyObject
*swig_obj
[1] ;
29593 if (!args
) SWIG_fail
;
29594 swig_obj
[0] = args
;
29595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29596 if (!SWIG_IsOK(res1
)) {
29597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29599 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29602 result
= (wxFrame
*)(arg1
)->GetFrame();
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= wxPyMake_wxObject(result
, 0);
29615 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29616 PyObject
*resultobj
= 0;
29617 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29618 wxPreviewCanvas
*result
= 0 ;
29621 PyObject
*swig_obj
[1] ;
29623 if (!args
) SWIG_fail
;
29624 swig_obj
[0] = args
;
29625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29626 if (!SWIG_IsOK(res1
)) {
29627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29629 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29643 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
= 0;
29645 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29646 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29655 PyObject
* obj0
= 0 ;
29656 PyObject
* obj1
= 0 ;
29657 PyObject
* obj2
= 0 ;
29658 char * kwnames
[] = {
29659 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29664 if (!SWIG_IsOK(res1
)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29667 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29669 if (!SWIG_IsOK(res2
)) {
29670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29672 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29673 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29674 if (!SWIG_IsOK(res3
)) {
29675 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29680 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29683 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29684 wxPyEndAllowThreads(__tstate
);
29685 if (PyErr_Occurred()) SWIG_fail
;
29688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29696 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29697 PyObject
*resultobj
= 0;
29698 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29699 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29708 PyObject
* obj0
= 0 ;
29709 PyObject
* obj1
= 0 ;
29710 PyObject
* obj2
= 0 ;
29711 char * kwnames
[] = {
29712 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29717 if (!SWIG_IsOK(res1
)) {
29718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29720 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29722 if (!SWIG_IsOK(res2
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29725 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29726 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29727 if (!SWIG_IsOK(res3
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29733 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29749 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
= 0;
29751 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29758 PyObject
* obj0
= 0 ;
29759 PyObject
* obj1
= 0 ;
29760 char * kwnames
[] = {
29761 (char *) "self",(char *) "pageNum", NULL
29764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29766 if (!SWIG_IsOK(res1
)) {
29767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29769 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29771 if (!SWIG_IsOK(ecode2
)) {
29772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29774 arg2
= static_cast< int >(val2
);
29776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29777 result
= (bool)(arg1
)->RenderPage(arg2
);
29778 wxPyEndAllowThreads(__tstate
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29790 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29791 PyObject
*resultobj
= 0;
29792 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29793 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29798 PyObject
* obj0
= 0 ;
29799 PyObject
* obj1
= 0 ;
29800 char * kwnames
[] = {
29801 (char *) "self",(char *) "canvas", NULL
29804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29806 if (!SWIG_IsOK(res1
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29809 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29810 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29811 if (!SWIG_IsOK(res2
)) {
29812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29814 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 (arg1
)->AdjustScrollbars(arg2
);
29818 wxPyEndAllowThreads(__tstate
);
29819 if (PyErr_Occurred()) SWIG_fail
;
29821 resultobj
= SWIG_Py_Void();
29828 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29829 PyObject
*resultobj
= 0;
29830 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29831 wxPrintDialogData
*result
= 0 ;
29834 PyObject
*swig_obj
[1] ;
29836 if (!args
) SWIG_fail
;
29837 swig_obj
[0] = args
;
29838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29839 if (!SWIG_IsOK(res1
)) {
29840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29842 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29847 result
= (wxPrintDialogData
*) &_result_ref
;
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29859 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
= 0;
29861 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29867 PyObject
* obj0
= 0 ;
29868 PyObject
* obj1
= 0 ;
29869 char * kwnames
[] = {
29870 (char *) "self",(char *) "percent", NULL
29873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29875 if (!SWIG_IsOK(res1
)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29878 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29880 if (!SWIG_IsOK(ecode2
)) {
29881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29883 arg2
= static_cast< int >(val2
);
29885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29886 (arg1
)->SetZoom(arg2
);
29887 wxPyEndAllowThreads(__tstate
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29890 resultobj
= SWIG_Py_Void();
29897 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29898 PyObject
*resultobj
= 0;
29899 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29903 PyObject
*swig_obj
[1] ;
29905 if (!args
) SWIG_fail
;
29906 swig_obj
[0] = args
;
29907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29908 if (!SWIG_IsOK(res1
)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29911 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 result
= (int)(arg1
)->GetZoom();
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29918 resultobj
= SWIG_From_int(static_cast< int >(result
));
29925 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29926 PyObject
*resultobj
= 0;
29927 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29931 PyObject
*swig_obj
[1] ;
29933 if (!args
) SWIG_fail
;
29934 swig_obj
[0] = args
;
29935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29936 if (!SWIG_IsOK(res1
)) {
29937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29939 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= (int)(arg1
)->GetMaxPage();
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= SWIG_From_int(static_cast< int >(result
));
29953 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29954 PyObject
*resultobj
= 0;
29955 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29959 PyObject
*swig_obj
[1] ;
29961 if (!args
) SWIG_fail
;
29962 swig_obj
[0] = args
;
29963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29964 if (!SWIG_IsOK(res1
)) {
29965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29967 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29970 result
= (int)(arg1
)->GetMinPage();
29971 wxPyEndAllowThreads(__tstate
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= SWIG_From_int(static_cast< int >(result
));
29981 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29982 PyObject
*resultobj
= 0;
29983 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29987 PyObject
*swig_obj
[1] ;
29989 if (!args
) SWIG_fail
;
29990 swig_obj
[0] = args
;
29991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29992 if (!SWIG_IsOK(res1
)) {
29993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29995 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29998 result
= (bool)(arg1
)->Ok();
29999 wxPyEndAllowThreads(__tstate
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30011 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
= 0;
30013 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30019 PyObject
* obj0
= 0 ;
30020 PyObject
* obj1
= 0 ;
30021 char * kwnames
[] = {
30022 (char *) "self",(char *) "ok", NULL
30025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30027 if (!SWIG_IsOK(res1
)) {
30028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30030 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30031 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30032 if (!SWIG_IsOK(ecode2
)) {
30033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30035 arg2
= static_cast< bool >(val2
);
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 (arg1
)->SetOk(arg2
);
30039 wxPyEndAllowThreads(__tstate
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30042 resultobj
= SWIG_Py_Void();
30049 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
= 0;
30051 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 char * kwnames
[] = {
30061 (char *) "self",(char *) "interactive", NULL
30064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30066 if (!SWIG_IsOK(res1
)) {
30067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30069 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30070 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30071 if (!SWIG_IsOK(ecode2
)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30074 arg2
= static_cast< bool >(val2
);
30076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30077 result
= (bool)(arg1
)->Print(arg2
);
30078 wxPyEndAllowThreads(__tstate
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30090 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30091 PyObject
*resultobj
= 0;
30092 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30095 PyObject
*swig_obj
[1] ;
30097 if (!args
) SWIG_fail
;
30098 swig_obj
[0] = args
;
30099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30100 if (!SWIG_IsOK(res1
)) {
30101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30103 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30106 (arg1
)->DetermineScaling();
30107 wxPyEndAllowThreads(__tstate
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30110 resultobj
= SWIG_Py_Void();
30117 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30120 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30121 return SWIG_Py_Void();
30124 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30125 return SWIG_Python_InitShadowInstance(args
);
30128 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30129 PyObject
*resultobj
= 0;
30130 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30131 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30132 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30133 wxPyPrintPreview
*result
= 0 ;
30139 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30140 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30141 if (!SWIG_IsOK(res1
)) {
30142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30144 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30145 if (!SWIG_IsOK(res2
)) {
30146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30149 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30150 if (!SWIG_IsOK(res3
)) {
30151 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30153 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30156 if (!wxPyCheckForApp()) SWIG_fail
;
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30169 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30170 PyObject
*resultobj
= 0;
30171 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30172 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30173 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30174 wxPyPrintPreview
*result
= 0 ;
30180 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30181 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30182 if (!SWIG_IsOK(res1
)) {
30183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30185 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30186 if (!SWIG_IsOK(res2
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30189 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30190 if (!SWIG_IsOK(res3
)) {
30191 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30193 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30195 if (!wxPyCheckForApp()) SWIG_fail
;
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30208 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30212 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30214 if ((argc
>= 2) && (argc
<= 3)) {
30219 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30220 _v
= SWIG_CheckState(res
);
30222 if (!_v
) goto check_1
;
30224 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30229 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30233 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30238 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30239 PyObject
*resultobj
= 0;
30240 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30241 PyObject
*arg2
= (PyObject
*) 0 ;
30242 PyObject
*arg3
= (PyObject
*) 0 ;
30245 PyObject
* obj0
= 0 ;
30246 PyObject
* obj1
= 0 ;
30247 PyObject
* obj2
= 0 ;
30248 char * kwnames
[] = {
30249 (char *) "self",(char *) "self",(char *) "_class", NULL
30252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30254 if (!SWIG_IsOK(res1
)) {
30255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30257 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30262 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30263 wxPyEndAllowThreads(__tstate
);
30264 if (PyErr_Occurred()) SWIG_fail
;
30266 resultobj
= SWIG_Py_Void();
30273 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30275 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30276 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30277 return SWIG_Py_Void();
30280 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30281 return SWIG_Python_InitShadowInstance(args
);
30284 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30285 PyObject
*resultobj
= 0;
30286 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30287 wxFrame
*arg2
= (wxFrame
*) 0 ;
30288 wxString
*arg3
= 0 ;
30289 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30290 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30291 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30292 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30293 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30294 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30295 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30296 wxPyPreviewFrame
*result
= 0 ;
30301 bool temp3
= false ;
30306 bool temp7
= false ;
30307 PyObject
* obj0
= 0 ;
30308 PyObject
* obj1
= 0 ;
30309 PyObject
* obj2
= 0 ;
30310 PyObject
* obj3
= 0 ;
30311 PyObject
* obj4
= 0 ;
30312 PyObject
* obj5
= 0 ;
30313 PyObject
* obj6
= 0 ;
30314 char * kwnames
[] = {
30315 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30320 if (!SWIG_IsOK(res1
)) {
30321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30323 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30325 if (!SWIG_IsOK(res2
)) {
30326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30328 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30330 arg3
= wxString_in_helper(obj2
);
30331 if (arg3
== NULL
) SWIG_fail
;
30337 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30343 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30347 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30348 if (!SWIG_IsOK(ecode6
)) {
30349 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30351 arg6
= static_cast< long >(val6
);
30355 arg7
= wxString_in_helper(obj6
);
30356 if (arg7
== NULL
) SWIG_fail
;
30361 if (!wxPyCheckForApp()) SWIG_fail
;
30362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30363 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30364 wxPyEndAllowThreads(__tstate
);
30365 if (PyErr_Occurred()) SWIG_fail
;
30367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30390 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
= 0;
30392 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30393 PyObject
*arg2
= (PyObject
*) 0 ;
30394 PyObject
*arg3
= (PyObject
*) 0 ;
30397 PyObject
* obj0
= 0 ;
30398 PyObject
* obj1
= 0 ;
30399 PyObject
* obj2
= 0 ;
30400 char * kwnames
[] = {
30401 (char *) "self",(char *) "self",(char *) "_class", NULL
30404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30406 if (!SWIG_IsOK(res1
)) {
30407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30409 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30414 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30415 wxPyEndAllowThreads(__tstate
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30418 resultobj
= SWIG_Py_Void();
30425 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30426 PyObject
*resultobj
= 0;
30427 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30428 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30433 PyObject
* obj0
= 0 ;
30434 PyObject
* obj1
= 0 ;
30435 char * kwnames
[] = {
30436 (char *) "self",(char *) "canvas", NULL
30439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30441 if (!SWIG_IsOK(res1
)) {
30442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30444 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30446 if (!SWIG_IsOK(res2
)) {
30447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30449 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 (arg1
)->SetPreviewCanvas(arg2
);
30453 wxPyEndAllowThreads(__tstate
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30456 resultobj
= SWIG_Py_Void();
30463 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
= 0;
30465 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30466 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30471 PyObject
* obj0
= 0 ;
30472 PyObject
* obj1
= 0 ;
30473 char * kwnames
[] = {
30474 (char *) "self",(char *) "bar", NULL
30477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30479 if (!SWIG_IsOK(res1
)) {
30480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30482 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30483 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30484 if (!SWIG_IsOK(res2
)) {
30485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30487 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30490 (arg1
)->SetControlBar(arg2
);
30491 wxPyEndAllowThreads(__tstate
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30494 resultobj
= SWIG_Py_Void();
30501 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30502 PyObject
*resultobj
= 0;
30503 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30506 PyObject
*swig_obj
[1] ;
30508 if (!args
) SWIG_fail
;
30509 swig_obj
[0] = args
;
30510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30511 if (!SWIG_IsOK(res1
)) {
30512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30514 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30517 (arg1
)->Initialize();
30518 wxPyEndAllowThreads(__tstate
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 resultobj
= SWIG_Py_Void();
30528 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30529 PyObject
*resultobj
= 0;
30530 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30533 PyObject
*swig_obj
[1] ;
30535 if (!args
) SWIG_fail
;
30536 swig_obj
[0] = args
;
30537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30538 if (!SWIG_IsOK(res1
)) {
30539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30541 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 (arg1
)->CreateCanvas();
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= SWIG_Py_Void();
30555 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30556 PyObject
*resultobj
= 0;
30557 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30560 PyObject
*swig_obj
[1] ;
30562 if (!args
) SWIG_fail
;
30563 swig_obj
[0] = args
;
30564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30565 if (!SWIG_IsOK(res1
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30568 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30571 (arg1
)->CreateControlBar();
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= SWIG_Py_Void();
30582 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30585 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30586 return SWIG_Py_Void();
30589 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30590 return SWIG_Python_InitShadowInstance(args
);
30593 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30594 PyObject
*resultobj
= 0;
30595 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30597 wxWindow
*arg3
= (wxWindow
*) 0 ;
30598 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30599 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30600 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30601 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30602 long arg6
= (long) 0 ;
30603 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30604 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30605 wxPyPreviewControlBar
*result
= 0 ;
30616 bool temp7
= false ;
30617 PyObject
* obj0
= 0 ;
30618 PyObject
* obj1
= 0 ;
30619 PyObject
* obj2
= 0 ;
30620 PyObject
* obj3
= 0 ;
30621 PyObject
* obj4
= 0 ;
30622 PyObject
* obj5
= 0 ;
30623 PyObject
* obj6
= 0 ;
30624 char * kwnames
[] = {
30625 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30630 if (!SWIG_IsOK(res1
)) {
30631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30633 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30634 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30635 if (!SWIG_IsOK(ecode2
)) {
30636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30638 arg2
= static_cast< long >(val2
);
30639 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30640 if (!SWIG_IsOK(res3
)) {
30641 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30643 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30647 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30653 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30657 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30658 if (!SWIG_IsOK(ecode6
)) {
30659 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30661 arg6
= static_cast< long >(val6
);
30665 arg7
= wxString_in_helper(obj6
);
30666 if (arg7
== NULL
) SWIG_fail
;
30671 if (!wxPyCheckForApp()) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30692 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
= 0;
30694 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30695 PyObject
*arg2
= (PyObject
*) 0 ;
30696 PyObject
*arg3
= (PyObject
*) 0 ;
30699 PyObject
* obj0
= 0 ;
30700 PyObject
* obj1
= 0 ;
30701 PyObject
* obj2
= 0 ;
30702 char * kwnames
[] = {
30703 (char *) "self",(char *) "self",(char *) "_class", NULL
30706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30708 if (!SWIG_IsOK(res1
)) {
30709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30711 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= SWIG_Py_Void();
30727 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30728 PyObject
*resultobj
= 0;
30729 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30730 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30735 PyObject
* obj0
= 0 ;
30736 PyObject
* obj1
= 0 ;
30737 char * kwnames
[] = {
30738 (char *) "self",(char *) "preview", NULL
30741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30743 if (!SWIG_IsOK(res1
)) {
30744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30746 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30748 if (!SWIG_IsOK(res2
)) {
30749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30751 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30754 (arg1
)->SetPrintPreview(arg2
);
30755 wxPyEndAllowThreads(__tstate
);
30756 if (PyErr_Occurred()) SWIG_fail
;
30758 resultobj
= SWIG_Py_Void();
30765 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30766 PyObject
*resultobj
= 0;
30767 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30770 PyObject
*swig_obj
[1] ;
30772 if (!args
) SWIG_fail
;
30773 swig_obj
[0] = args
;
30774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30775 if (!SWIG_IsOK(res1
)) {
30776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30778 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30781 (arg1
)->CreateButtons();
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= SWIG_Py_Void();
30792 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30793 PyObject
*resultobj
= 0;
30794 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30800 PyObject
* obj0
= 0 ;
30801 PyObject
* obj1
= 0 ;
30802 char * kwnames
[] = {
30803 (char *) "self",(char *) "zoom", NULL
30806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30811 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30813 if (!SWIG_IsOK(ecode2
)) {
30814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30816 arg2
= static_cast< int >(val2
);
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 (arg1
)->SetZoomControl(arg2
);
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= SWIG_Py_Void();
30830 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30833 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30834 return SWIG_Py_Void();
30837 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30838 return SWIG_Python_InitShadowInstance(args
);
30841 static PyMethodDef SwigMethods
[] = {
30842 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30844 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30846 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30848 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30849 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30851 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30858 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30860 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30862 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30863 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30864 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30865 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30866 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30869 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30871 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30872 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30874 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30875 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30877 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30879 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30880 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30881 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30882 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30886 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30888 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30891 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30893 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction
) _wrap_TopLevelWindow_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction
)_wrap_TopLevelWindow_CanSetTransparent
, METH_O
, NULL
},
30897 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
30898 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
30901 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30902 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30904 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30906 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30908 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30911 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30918 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30920 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30925 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30926 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30928 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30931 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30933 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30935 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30938 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30939 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30940 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30943 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30944 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30946 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30948 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30949 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30952 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30953 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30954 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30956 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30957 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30958 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30959 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30960 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30962 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30965 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30974 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30975 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30977 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30978 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30980 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30982 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30983 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30985 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30991 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30992 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30995 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30996 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30998 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31000 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31002 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31004 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31006 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31008 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31009 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31012 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31013 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31014 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31015 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31016 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31017 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31019 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31027 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31029 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31032 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31033 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31036 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31037 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31039 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31040 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31041 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31044 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31046 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31048 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31049 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31050 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31053 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31055 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31057 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31059 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31061 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31062 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31063 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31066 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31068 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31069 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31070 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31072 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31074 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31075 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31079 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31080 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31081 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31082 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31086 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31087 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31089 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31090 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31091 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31093 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31094 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31095 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31098 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31099 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31100 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31102 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31111 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31112 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31113 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31114 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31116 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31117 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31120 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31121 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31123 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31126 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31127 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31128 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31131 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31132 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31134 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31135 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31137 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31142 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31143 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31149 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31150 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31152 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31156 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31158 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31159 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31160 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31161 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31163 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31164 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31165 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31167 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31169 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31170 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31172 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31173 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31174 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31175 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31176 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31177 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31182 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31183 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31185 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31186 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31187 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31190 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31191 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31194 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31195 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31203 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31204 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31205 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31206 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31207 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31208 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31209 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31210 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31211 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31212 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31215 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31216 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31217 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31219 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31220 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31222 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31223 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31225 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31227 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31228 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31230 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31231 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31233 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31234 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31235 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31236 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31237 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31239 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31240 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31241 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31242 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31243 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31244 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31251 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31252 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31254 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31255 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31256 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31259 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31260 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31263 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31264 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31265 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31267 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31268 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31269 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31270 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31274 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31275 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31277 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31278 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31279 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31280 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31284 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31285 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31287 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31289 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31291 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31292 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31294 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31296 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31297 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31298 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31299 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31300 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31301 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31302 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31304 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31305 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31307 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31309 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31310 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31311 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31313 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31315 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31316 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31318 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31326 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31327 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31328 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31329 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31330 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31331 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31332 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31333 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31334 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31336 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31344 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31345 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31346 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31347 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31348 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31349 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31350 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31351 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31352 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31354 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31362 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31363 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31364 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31365 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31366 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31367 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31368 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31369 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31370 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31371 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31372 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31373 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31374 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31375 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31376 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31377 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31378 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31379 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31380 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31381 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31382 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31383 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31384 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31396 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31398 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31400 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31401 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31402 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31403 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31409 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31410 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31411 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31412 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31413 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31414 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31415 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31416 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31417 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31418 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31419 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31420 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31421 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31422 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31423 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31433 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31434 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31435 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31436 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31438 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31439 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31440 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31441 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31442 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31443 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31444 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31445 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31446 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31447 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31448 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31449 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31450 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31451 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31452 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31453 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31454 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31468 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31469 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31470 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31471 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31472 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31473 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31475 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31476 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31478 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31479 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31480 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31481 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31482 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31483 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31484 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31486 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31492 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31493 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31494 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31495 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31496 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31498 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31500 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31501 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31504 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31506 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31508 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31510 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31511 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31514 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31515 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31516 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31517 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31519 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31520 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31521 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31523 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31524 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31526 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31527 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31528 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31529 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31530 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31531 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31533 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31535 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31536 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31537 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31538 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31539 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31540 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31541 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31542 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31543 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31544 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31546 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31548 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31549 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31552 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31553 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31558 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31560 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31561 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31562 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31563 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31566 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31567 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31568 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31569 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31571 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31572 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31577 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31578 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31579 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31580 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31581 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31585 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31587 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31588 { NULL
, NULL
, 0, NULL
}
31592 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31594 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31595 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31597 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31598 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31600 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31601 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31603 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31604 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31606 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31607 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31609 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31610 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31612 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31613 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31615 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31616 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31618 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31619 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31621 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31622 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31624 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31625 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31627 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31628 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31630 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31631 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31633 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31634 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31636 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31637 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31639 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31640 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31642 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31643 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31645 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31646 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31648 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31649 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31651 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31652 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31654 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31655 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31657 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31658 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31660 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31661 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31663 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31664 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31666 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31667 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31669 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31670 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31672 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31673 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31675 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31676 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31678 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31679 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31681 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31682 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31684 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31685 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31687 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31688 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31690 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31691 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31693 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31694 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31696 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31697 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31699 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31700 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31702 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31703 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31705 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31706 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31708 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31709 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31711 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31712 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31714 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31715 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31717 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31718 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31720 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31721 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31723 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31724 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31726 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31727 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31729 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31730 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31732 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31735 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31738 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31741 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31742 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31744 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31745 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31747 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31748 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31750 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31751 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31753 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31756 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31759 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31760 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31762 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31765 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31768 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31771 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31774 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31777 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31780 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31781 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31783 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31784 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31786 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31789 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31792 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31795 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31796 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31798 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31801 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31802 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31804 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31805 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31807 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31808 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31810 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31811 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31813 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31814 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31816 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31817 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31819 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31820 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31822 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31825 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31826 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31828 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31829 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31831 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31832 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31834 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31837 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31838 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31840 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31843 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31844 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31846 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31849 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31850 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31852 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31853 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31855 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31856 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31858 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31861 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31862 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31864 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31867 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31868 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31870 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31873 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31876 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31879 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31882 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31883 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31885 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31886 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31888 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31889 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31891 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31892 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31894 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31895 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31897 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31898 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31900 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31901 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31903 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31904 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31906 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31907 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31909 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31910 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31912 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31913 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31915 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31918 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31921 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31922 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31924 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31925 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31927 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31930 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31931 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31933 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31934 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31936 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31937 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31939 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31940 return (void *)((wxObject
*) ((wxSizer
*) x
));
31942 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31943 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31945 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31948 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31951 static void *_p_wxEventTo_p_wxObject(void *x
) {
31952 return (void *)((wxObject
*) ((wxEvent
*) x
));
31954 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31955 return (void *)((wxObject
*) ((wxFontData
*) x
));
31957 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31958 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31960 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31961 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31963 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31964 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31966 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31967 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31969 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31970 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31972 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31973 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31975 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31978 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31981 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31982 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31984 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31985 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31987 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31988 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31990 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31991 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31993 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31994 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31996 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31997 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31999 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32002 static void *_p_wxControlTo_p_wxObject(void *x
) {
32003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32005 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32006 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32008 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32009 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32011 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32012 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32014 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32015 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32017 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32018 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32020 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32023 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) ((wxColourData
*) x
));
32026 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32029 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32032 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32035 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32038 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32041 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32044 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32047 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32050 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32053 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32056 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32059 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32062 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32065 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32066 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32068 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32069 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32071 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32072 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32074 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32075 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32077 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32078 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32080 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32083 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32084 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32086 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32087 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32089 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32090 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32092 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32093 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32095 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32096 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32098 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32099 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32101 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32102 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32104 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32105 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32107 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32108 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32110 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32111 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32113 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32114 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32116 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32117 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32119 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32120 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32122 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32123 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32125 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32126 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32128 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32129 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32131 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32132 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32134 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32135 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32137 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32138 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32140 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32141 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32143 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32144 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32146 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32149 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32152 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32153 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32155 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32156 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32158 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32161 static void *_p_wxImageTo_p_wxObject(void *x
) {
32162 return (void *)((wxObject
*) ((wxImage
*) x
));
32164 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32167 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32168 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32170 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32171 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32173 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32174 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32176 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32179 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32182 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32183 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32185 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32186 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32188 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32189 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32191 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32192 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32194 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32195 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32197 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32200 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32203 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32206 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32209 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32210 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32212 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32215 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32218 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32221 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32222 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32224 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32227 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32230 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32233 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32236 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32237 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32239 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32240 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32242 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32243 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32245 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32248 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32251 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32254 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32257 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32260 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32261 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32263 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32264 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32266 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32267 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32269 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32270 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32272 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32273 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32275 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32276 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32278 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32279 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32281 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32282 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32284 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32285 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32287 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32288 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32290 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32291 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32293 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32294 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32296 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32299 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32300 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32302 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32303 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32305 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32308 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32311 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32314 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32317 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32320 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32323 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32324 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32326 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32327 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32329 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32330 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32332 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32333 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32335 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32336 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32338 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32339 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32341 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32342 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32344 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32345 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32347 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32348 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32350 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32351 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32353 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32354 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32356 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
32357 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
32359 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32360 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32362 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32363 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32365 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32366 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32368 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32369 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32371 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32372 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32374 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32375 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32377 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32378 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32380 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32381 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32383 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32384 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32386 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32387 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32389 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32390 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32392 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32393 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32395 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32396 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32398 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32399 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32401 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32402 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32404 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32405 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32407 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32408 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32410 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32411 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32413 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32414 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32416 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32417 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32419 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32420 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32422 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32423 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32425 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32426 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32428 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32429 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32431 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32432 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32434 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32435 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32437 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32438 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32440 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32441 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32443 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32444 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32446 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32447 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32449 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32450 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32452 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32453 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32455 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32456 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32458 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32459 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32461 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32462 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32464 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32465 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32467 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32468 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32470 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32471 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32473 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32474 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32476 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32477 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32479 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32480 return (void *)((wxWindow
*) ((wxControl
*) x
));
32482 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32483 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32485 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32486 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32488 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32489 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32491 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32492 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32494 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32495 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32497 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32498 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32500 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32501 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32503 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32504 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32506 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32507 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32509 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32510 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32512 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32513 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32515 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32516 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32518 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32519 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32521 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32522 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32524 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32525 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32527 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32528 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32530 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32531 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32533 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32534 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32536 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32537 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32539 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32540 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32542 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32543 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32545 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32546 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32548 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32549 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32551 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32552 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32554 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32555 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32557 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32558 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32560 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32561 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32563 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32564 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32566 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32567 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32569 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32570 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32572 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32573 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32575 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32576 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32578 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32579 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32581 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32582 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32584 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32585 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32587 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32588 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32590 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32591 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32593 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32594 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32596 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32597 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32599 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32600 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32602 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32603 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32605 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32606 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32608 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32609 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32611 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32612 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32614 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32615 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32617 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32618 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32620 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32621 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32623 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32624 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32626 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32627 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32629 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32630 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32632 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32633 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32635 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32636 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32638 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32639 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32641 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32642 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32643 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};
32644 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32646 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32647 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32648 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32649 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32650 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32651 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32652 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32653 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32654 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32655 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32656 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32657 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32658 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32659 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32660 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32661 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32662 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32663 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32664 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32665 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32666 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32667 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32668 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32669 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32670 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32671 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32672 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32673 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32674 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32675 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32676 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32677 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32678 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32679 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32680 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32681 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32682 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32683 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32684 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32685 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32686 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32687 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32688 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32689 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32690 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32691 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32692 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32693 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32694 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32695 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32696 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32697 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32698 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32699 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32700 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32701 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32702 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32703 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32704 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32705 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32706 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32707 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32708 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32709 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32710 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32711 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32712 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32713 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32714 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32715 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32716 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32717 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32718 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32719 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32720 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32721 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32722 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32723 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32724 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32725 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32726 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32727 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32728 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32729 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32730 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32731 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32732 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32733 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32734 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32735 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32736 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32737 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32738 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32739 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32740 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32741 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32742 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32743 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32744 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32745 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32746 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32747 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32748 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32749 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32750 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32751 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32752 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32753 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32754 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32755 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32756 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32757 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32758 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32759 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32760 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32761 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32762 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32763 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32764 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32765 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32766 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32767 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32768 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32769 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32770 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32771 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32772 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32775 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32783 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32787 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32788 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32789 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32790 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32791 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32792 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32793 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32794 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32795 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32796 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32797 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32798 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32799 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32800 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32801 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32802 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32803 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32804 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32806 static swig_type_info
*swig_type_initial
[] = {
32809 &_swigt__p_form_ops_t
,
32811 &_swigt__p_unsigned_char
,
32812 &_swigt__p_unsigned_int
,
32813 &_swigt__p_unsigned_long
,
32814 &_swigt__p_wxANIHandler
,
32815 &_swigt__p_wxAcceleratorTable
,
32816 &_swigt__p_wxActivateEvent
,
32817 &_swigt__p_wxArrayInt
,
32818 &_swigt__p_wxBMPHandler
,
32819 &_swigt__p_wxBitmap
,
32820 &_swigt__p_wxBoxSizer
,
32821 &_swigt__p_wxCURHandler
,
32822 &_swigt__p_wxCalculateLayoutEvent
,
32823 &_swigt__p_wxChildFocusEvent
,
32824 &_swigt__p_wxClipboardTextEvent
,
32825 &_swigt__p_wxCloseEvent
,
32826 &_swigt__p_wxColour
,
32827 &_swigt__p_wxColourData
,
32828 &_swigt__p_wxColourDialog
,
32829 &_swigt__p_wxCommandEvent
,
32830 &_swigt__p_wxContextMenuEvent
,
32831 &_swigt__p_wxControl
,
32832 &_swigt__p_wxControlWithItems
,
32834 &_swigt__p_wxDateEvent
,
32835 &_swigt__p_wxDialog
,
32836 &_swigt__p_wxDirDialog
,
32837 &_swigt__p_wxDisplayChangedEvent
,
32838 &_swigt__p_wxDropFilesEvent
,
32839 &_swigt__p_wxDuplexMode
,
32840 &_swigt__p_wxEraseEvent
,
32841 &_swigt__p_wxEvent
,
32842 &_swigt__p_wxEvtHandler
,
32843 &_swigt__p_wxFSFile
,
32844 &_swigt__p_wxFileDialog
,
32845 &_swigt__p_wxFileSystem
,
32846 &_swigt__p_wxFindDialogEvent
,
32847 &_swigt__p_wxFindReplaceData
,
32848 &_swigt__p_wxFindReplaceDialog
,
32849 &_swigt__p_wxFlexGridSizer
,
32850 &_swigt__p_wxFocusEvent
,
32852 &_swigt__p_wxFontData
,
32853 &_swigt__p_wxFontDialog
,
32854 &_swigt__p_wxFrame
,
32855 &_swigt__p_wxGBSizerItem
,
32856 &_swigt__p_wxGIFHandler
,
32857 &_swigt__p_wxGridBagSizer
,
32858 &_swigt__p_wxGridSizer
,
32859 &_swigt__p_wxHtmlLinkInfo
,
32860 &_swigt__p_wxICOHandler
,
32862 &_swigt__p_wxIconBundle
,
32863 &_swigt__p_wxIconizeEvent
,
32864 &_swigt__p_wxIdleEvent
,
32865 &_swigt__p_wxImage
,
32866 &_swigt__p_wxImageHandler
,
32867 &_swigt__p_wxIndividualLayoutConstraint
,
32868 &_swigt__p_wxInitDialogEvent
,
32869 &_swigt__p_wxJPEGHandler
,
32870 &_swigt__p_wxKeyEvent
,
32871 &_swigt__p_wxLayoutAlgorithm
,
32872 &_swigt__p_wxLayoutConstraints
,
32873 &_swigt__p_wxMDIChildFrame
,
32874 &_swigt__p_wxMDIClientWindow
,
32875 &_swigt__p_wxMDIParentFrame
,
32876 &_swigt__p_wxMaximizeEvent
,
32878 &_swigt__p_wxMenuBar
,
32879 &_swigt__p_wxMenuEvent
,
32880 &_swigt__p_wxMenuItem
,
32881 &_swigt__p_wxMessageDialog
,
32882 &_swigt__p_wxMiniFrame
,
32883 &_swigt__p_wxMouseCaptureChangedEvent
,
32884 &_swigt__p_wxMouseEvent
,
32885 &_swigt__p_wxMoveEvent
,
32886 &_swigt__p_wxMultiChoiceDialog
,
32887 &_swigt__p_wxNavigationKeyEvent
,
32888 &_swigt__p_wxNcPaintEvent
,
32889 &_swigt__p_wxNotifyEvent
,
32890 &_swigt__p_wxNumberEntryDialog
,
32891 &_swigt__p_wxObject
,
32892 &_swigt__p_wxPCXHandler
,
32893 &_swigt__p_wxPNGHandler
,
32894 &_swigt__p_wxPNMHandler
,
32895 &_swigt__p_wxPageSetupDialog
,
32896 &_swigt__p_wxPageSetupDialogData
,
32897 &_swigt__p_wxPaintEvent
,
32898 &_swigt__p_wxPaletteChangedEvent
,
32899 &_swigt__p_wxPanel
,
32900 &_swigt__p_wxPaperSize
,
32901 &_swigt__p_wxPasswordEntryDialog
,
32902 &_swigt__p_wxPoint
,
32903 &_swigt__p_wxPopupWindow
,
32904 &_swigt__p_wxPreviewCanvas
,
32905 &_swigt__p_wxPreviewControlBar
,
32906 &_swigt__p_wxPreviewFrame
,
32907 &_swigt__p_wxPrintData
,
32908 &_swigt__p_wxPrintDialog
,
32909 &_swigt__p_wxPrintDialogData
,
32910 &_swigt__p_wxPrintPreview
,
32911 &_swigt__p_wxPrinter
,
32912 &_swigt__p_wxProgressDialog
,
32913 &_swigt__p_wxPyApp
,
32914 &_swigt__p_wxPyCommandEvent
,
32915 &_swigt__p_wxPyEvent
,
32916 &_swigt__p_wxPyHtmlListBox
,
32917 &_swigt__p_wxPyImageHandler
,
32918 &_swigt__p_wxPyPanel
,
32919 &_swigt__p_wxPyPopupTransientWindow
,
32920 &_swigt__p_wxPyPreviewControlBar
,
32921 &_swigt__p_wxPyPreviewFrame
,
32922 &_swigt__p_wxPyPrintPreview
,
32923 &_swigt__p_wxPyPrintout
,
32924 &_swigt__p_wxPyScrolledWindow
,
32925 &_swigt__p_wxPySizer
,
32926 &_swigt__p_wxPyTaskBarIcon
,
32927 &_swigt__p_wxPyVListBox
,
32928 &_swigt__p_wxPyVScrolledWindow
,
32929 &_swigt__p_wxPyValidator
,
32930 &_swigt__p_wxPyWindow
,
32931 &_swigt__p_wxQueryLayoutInfoEvent
,
32932 &_swigt__p_wxQueryNewPaletteEvent
,
32934 &_swigt__p_wxRegion
,
32935 &_swigt__p_wxSashEvent
,
32936 &_swigt__p_wxSashLayoutWindow
,
32937 &_swigt__p_wxSashWindow
,
32938 &_swigt__p_wxScrollEvent
,
32939 &_swigt__p_wxScrollWinEvent
,
32940 &_swigt__p_wxScrolledWindow
,
32941 &_swigt__p_wxSetCursorEvent
,
32942 &_swigt__p_wxShowEvent
,
32943 &_swigt__p_wxSingleChoiceDialog
,
32945 &_swigt__p_wxSizeEvent
,
32946 &_swigt__p_wxSizer
,
32947 &_swigt__p_wxSizerItem
,
32948 &_swigt__p_wxSplashScreen
,
32949 &_swigt__p_wxSplashScreenWindow
,
32950 &_swigt__p_wxSplitterEvent
,
32951 &_swigt__p_wxSplitterWindow
,
32952 &_swigt__p_wxStaticBoxSizer
,
32953 &_swigt__p_wxStatusBar
,
32954 &_swigt__p_wxStdDialogButtonSizer
,
32955 &_swigt__p_wxString
,
32956 &_swigt__p_wxSysColourChangedEvent
,
32957 &_swigt__p_wxTIFFHandler
,
32958 &_swigt__p_wxTaskBarIcon
,
32959 &_swigt__p_wxTaskBarIconEvent
,
32960 &_swigt__p_wxTextEntryDialog
,
32961 &_swigt__p_wxTipWindow
,
32962 &_swigt__p_wxToolBar
,
32963 &_swigt__p_wxTopLevelWindow
,
32964 &_swigt__p_wxUpdateUIEvent
,
32965 &_swigt__p_wxValidator
,
32966 &_swigt__p_wxVisualAttributes
,
32967 &_swigt__p_wxWindow
,
32968 &_swigt__p_wxWindowCreateEvent
,
32969 &_swigt__p_wxWindowDestroyEvent
,
32970 &_swigt__p_wxXPMHandler
,
32973 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32977 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32980 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32995 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}};
32996 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32997 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}};
32998 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33006 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33008 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33030 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33031 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}};
33032 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33036 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33038 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33039 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33040 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}};
33041 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33053 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}};
33054 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33063 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33064 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33066 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33067 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33069 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33070 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33071 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33072 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33073 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33075 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33076 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33077 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33080 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33081 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33083 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33084 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33086 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}};
33087 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33089 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33090 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}};
33091 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33092 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}};
33093 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}};
33094 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33096 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33097 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}};
33098 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33100 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33101 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33102 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33103 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33104 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33105 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33106 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33107 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33108 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33109 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}};
33110 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}};
33111 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33114 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33115 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33117 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}};
33118 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33119 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}};
33120 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33121 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33126 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33127 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33128 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33129 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33130 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33131 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}};
33132 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33134 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}};
33135 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33136 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}};
33138 static swig_cast_info
*swig_cast_initial
[] = {
33141 _swigc__p_form_ops_t
,
33143 _swigc__p_unsigned_char
,
33144 _swigc__p_unsigned_int
,
33145 _swigc__p_unsigned_long
,
33146 _swigc__p_wxANIHandler
,
33147 _swigc__p_wxAcceleratorTable
,
33148 _swigc__p_wxActivateEvent
,
33149 _swigc__p_wxArrayInt
,
33150 _swigc__p_wxBMPHandler
,
33151 _swigc__p_wxBitmap
,
33152 _swigc__p_wxBoxSizer
,
33153 _swigc__p_wxCURHandler
,
33154 _swigc__p_wxCalculateLayoutEvent
,
33155 _swigc__p_wxChildFocusEvent
,
33156 _swigc__p_wxClipboardTextEvent
,
33157 _swigc__p_wxCloseEvent
,
33158 _swigc__p_wxColour
,
33159 _swigc__p_wxColourData
,
33160 _swigc__p_wxColourDialog
,
33161 _swigc__p_wxCommandEvent
,
33162 _swigc__p_wxContextMenuEvent
,
33163 _swigc__p_wxControl
,
33164 _swigc__p_wxControlWithItems
,
33166 _swigc__p_wxDateEvent
,
33167 _swigc__p_wxDialog
,
33168 _swigc__p_wxDirDialog
,
33169 _swigc__p_wxDisplayChangedEvent
,
33170 _swigc__p_wxDropFilesEvent
,
33171 _swigc__p_wxDuplexMode
,
33172 _swigc__p_wxEraseEvent
,
33174 _swigc__p_wxEvtHandler
,
33175 _swigc__p_wxFSFile
,
33176 _swigc__p_wxFileDialog
,
33177 _swigc__p_wxFileSystem
,
33178 _swigc__p_wxFindDialogEvent
,
33179 _swigc__p_wxFindReplaceData
,
33180 _swigc__p_wxFindReplaceDialog
,
33181 _swigc__p_wxFlexGridSizer
,
33182 _swigc__p_wxFocusEvent
,
33184 _swigc__p_wxFontData
,
33185 _swigc__p_wxFontDialog
,
33187 _swigc__p_wxGBSizerItem
,
33188 _swigc__p_wxGIFHandler
,
33189 _swigc__p_wxGridBagSizer
,
33190 _swigc__p_wxGridSizer
,
33191 _swigc__p_wxHtmlLinkInfo
,
33192 _swigc__p_wxICOHandler
,
33194 _swigc__p_wxIconBundle
,
33195 _swigc__p_wxIconizeEvent
,
33196 _swigc__p_wxIdleEvent
,
33198 _swigc__p_wxImageHandler
,
33199 _swigc__p_wxIndividualLayoutConstraint
,
33200 _swigc__p_wxInitDialogEvent
,
33201 _swigc__p_wxJPEGHandler
,
33202 _swigc__p_wxKeyEvent
,
33203 _swigc__p_wxLayoutAlgorithm
,
33204 _swigc__p_wxLayoutConstraints
,
33205 _swigc__p_wxMDIChildFrame
,
33206 _swigc__p_wxMDIClientWindow
,
33207 _swigc__p_wxMDIParentFrame
,
33208 _swigc__p_wxMaximizeEvent
,
33210 _swigc__p_wxMenuBar
,
33211 _swigc__p_wxMenuEvent
,
33212 _swigc__p_wxMenuItem
,
33213 _swigc__p_wxMessageDialog
,
33214 _swigc__p_wxMiniFrame
,
33215 _swigc__p_wxMouseCaptureChangedEvent
,
33216 _swigc__p_wxMouseEvent
,
33217 _swigc__p_wxMoveEvent
,
33218 _swigc__p_wxMultiChoiceDialog
,
33219 _swigc__p_wxNavigationKeyEvent
,
33220 _swigc__p_wxNcPaintEvent
,
33221 _swigc__p_wxNotifyEvent
,
33222 _swigc__p_wxNumberEntryDialog
,
33223 _swigc__p_wxObject
,
33224 _swigc__p_wxPCXHandler
,
33225 _swigc__p_wxPNGHandler
,
33226 _swigc__p_wxPNMHandler
,
33227 _swigc__p_wxPageSetupDialog
,
33228 _swigc__p_wxPageSetupDialogData
,
33229 _swigc__p_wxPaintEvent
,
33230 _swigc__p_wxPaletteChangedEvent
,
33232 _swigc__p_wxPaperSize
,
33233 _swigc__p_wxPasswordEntryDialog
,
33235 _swigc__p_wxPopupWindow
,
33236 _swigc__p_wxPreviewCanvas
,
33237 _swigc__p_wxPreviewControlBar
,
33238 _swigc__p_wxPreviewFrame
,
33239 _swigc__p_wxPrintData
,
33240 _swigc__p_wxPrintDialog
,
33241 _swigc__p_wxPrintDialogData
,
33242 _swigc__p_wxPrintPreview
,
33243 _swigc__p_wxPrinter
,
33244 _swigc__p_wxProgressDialog
,
33246 _swigc__p_wxPyCommandEvent
,
33247 _swigc__p_wxPyEvent
,
33248 _swigc__p_wxPyHtmlListBox
,
33249 _swigc__p_wxPyImageHandler
,
33250 _swigc__p_wxPyPanel
,
33251 _swigc__p_wxPyPopupTransientWindow
,
33252 _swigc__p_wxPyPreviewControlBar
,
33253 _swigc__p_wxPyPreviewFrame
,
33254 _swigc__p_wxPyPrintPreview
,
33255 _swigc__p_wxPyPrintout
,
33256 _swigc__p_wxPyScrolledWindow
,
33257 _swigc__p_wxPySizer
,
33258 _swigc__p_wxPyTaskBarIcon
,
33259 _swigc__p_wxPyVListBox
,
33260 _swigc__p_wxPyVScrolledWindow
,
33261 _swigc__p_wxPyValidator
,
33262 _swigc__p_wxPyWindow
,
33263 _swigc__p_wxQueryLayoutInfoEvent
,
33264 _swigc__p_wxQueryNewPaletteEvent
,
33266 _swigc__p_wxRegion
,
33267 _swigc__p_wxSashEvent
,
33268 _swigc__p_wxSashLayoutWindow
,
33269 _swigc__p_wxSashWindow
,
33270 _swigc__p_wxScrollEvent
,
33271 _swigc__p_wxScrollWinEvent
,
33272 _swigc__p_wxScrolledWindow
,
33273 _swigc__p_wxSetCursorEvent
,
33274 _swigc__p_wxShowEvent
,
33275 _swigc__p_wxSingleChoiceDialog
,
33277 _swigc__p_wxSizeEvent
,
33279 _swigc__p_wxSizerItem
,
33280 _swigc__p_wxSplashScreen
,
33281 _swigc__p_wxSplashScreenWindow
,
33282 _swigc__p_wxSplitterEvent
,
33283 _swigc__p_wxSplitterWindow
,
33284 _swigc__p_wxStaticBoxSizer
,
33285 _swigc__p_wxStatusBar
,
33286 _swigc__p_wxStdDialogButtonSizer
,
33287 _swigc__p_wxString
,
33288 _swigc__p_wxSysColourChangedEvent
,
33289 _swigc__p_wxTIFFHandler
,
33290 _swigc__p_wxTaskBarIcon
,
33291 _swigc__p_wxTaskBarIconEvent
,
33292 _swigc__p_wxTextEntryDialog
,
33293 _swigc__p_wxTipWindow
,
33294 _swigc__p_wxToolBar
,
33295 _swigc__p_wxTopLevelWindow
,
33296 _swigc__p_wxUpdateUIEvent
,
33297 _swigc__p_wxValidator
,
33298 _swigc__p_wxVisualAttributes
,
33299 _swigc__p_wxWindow
,
33300 _swigc__p_wxWindowCreateEvent
,
33301 _swigc__p_wxWindowDestroyEvent
,
33302 _swigc__p_wxXPMHandler
,
33306 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33308 static swig_const_info swig_const_table
[] = {
33309 {0, 0, 0, 0.0, 0, 0}};
33314 /* -----------------------------------------------------------------------------
33315 * Type initialization:
33316 * This problem is tough by the requirement that no dynamic
33317 * memory is used. Also, since swig_type_info structures store pointers to
33318 * swig_cast_info structures and swig_cast_info structures store pointers back
33319 * to swig_type_info structures, we need some lookup code at initialization.
33320 * The idea is that swig generates all the structures that are needed.
33321 * The runtime then collects these partially filled structures.
33322 * The SWIG_InitializeModule function takes these initial arrays out of
33323 * swig_module, and does all the lookup, filling in the swig_module.types
33324 * array with the correct data and linking the correct swig_cast_info
33325 * structures together.
33327 * The generated swig_type_info structures are assigned staticly to an initial
33328 * array. We just loop though that array, and handle each type individually.
33329 * First we lookup if this type has been already loaded, and if so, use the
33330 * loaded structure instead of the generated one. Then we have to fill in the
33331 * cast linked list. The cast data is initially stored in something like a
33332 * two-dimensional array. Each row corresponds to a type (there are the same
33333 * number of rows as there are in the swig_type_initial array). Each entry in
33334 * a column is one of the swig_cast_info structures for that type.
33335 * The cast_initial array is actually an array of arrays, because each row has
33336 * a variable number of columns. So to actually build the cast linked list,
33337 * we find the array of casts associated with the type, and loop through it
33338 * adding the casts to the list. The one last trick we need to do is making
33339 * sure the type pointer in the swig_cast_info struct is correct.
33341 * First off, we lookup the cast->type name to see if it is already loaded.
33342 * There are three cases to handle:
33343 * 1) If the cast->type has already been loaded AND the type we are adding
33344 * casting info to has not been loaded (it is in this module), THEN we
33345 * replace the cast->type pointer with the type pointer that has already
33347 * 2) If BOTH types (the one we are adding casting info to, and the
33348 * cast->type) are loaded, THEN the cast info has already been loaded by
33349 * the previous module so we just ignore it.
33350 * 3) Finally, if cast->type has not already been loaded, then we add that
33351 * swig_cast_info to the linked list (because the cast->type) pointer will
33353 * ----------------------------------------------------------------------------- */
33363 #define SWIGRUNTIME_DEBUG
33367 SWIG_InitializeModule(void *clientdata
) {
33369 swig_module_info
*module_head
;
33370 static int init_run
= 0;
33372 clientdata
= clientdata
;
33374 if (init_run
) return;
33377 /* Initialize the swig_module */
33378 swig_module
.type_initial
= swig_type_initial
;
33379 swig_module
.cast_initial
= swig_cast_initial
;
33381 /* Try and load any already created modules */
33382 module_head
= SWIG_GetModule(clientdata
);
33384 swig_module
.next
= module_head
->next
;
33385 module_head
->next
= &swig_module
;
33387 /* This is the first module loaded */
33388 swig_module
.next
= &swig_module
;
33389 SWIG_SetModule(clientdata
, &swig_module
);
33392 /* Now work on filling in swig_module.types */
33393 #ifdef SWIGRUNTIME_DEBUG
33394 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33396 for (i
= 0; i
< swig_module
.size
; ++i
) {
33397 swig_type_info
*type
= 0;
33398 swig_type_info
*ret
;
33399 swig_cast_info
*cast
;
33401 #ifdef SWIGRUNTIME_DEBUG
33402 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33405 /* if there is another module already loaded */
33406 if (swig_module
.next
!= &swig_module
) {
33407 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33410 /* Overwrite clientdata field */
33411 #ifdef SWIGRUNTIME_DEBUG
33412 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33414 if (swig_module
.type_initial
[i
]->clientdata
) {
33415 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33416 #ifdef SWIGRUNTIME_DEBUG
33417 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33421 type
= swig_module
.type_initial
[i
];
33424 /* Insert casting types */
33425 cast
= swig_module
.cast_initial
[i
];
33426 while (cast
->type
) {
33427 /* Don't need to add information already in the list */
33429 #ifdef SWIGRUNTIME_DEBUG
33430 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33432 if (swig_module
.next
!= &swig_module
) {
33433 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33434 #ifdef SWIGRUNTIME_DEBUG
33435 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33439 if (type
== swig_module
.type_initial
[i
]) {
33440 #ifdef SWIGRUNTIME_DEBUG
33441 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33446 /* Check for casting already in the list */
33447 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33448 #ifdef SWIGRUNTIME_DEBUG
33449 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33451 if (!ocast
) ret
= 0;
33456 #ifdef SWIGRUNTIME_DEBUG
33457 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33460 type
->cast
->prev
= cast
;
33461 cast
->next
= type
->cast
;
33467 /* Set entry in modules->types array equal to the type */
33468 swig_module
.types
[i
] = type
;
33470 swig_module
.types
[i
] = 0;
33472 #ifdef SWIGRUNTIME_DEBUG
33473 printf("**** SWIG_InitializeModule: Cast List ******\n");
33474 for (i
= 0; i
< swig_module
.size
; ++i
) {
33476 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33477 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33478 while (cast
->type
) {
33479 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33483 printf("---- Total casts: %d\n",j
);
33485 printf("**** SWIG_InitializeModule: Cast List ******\n");
33489 /* This function will propagate the clientdata field of type to
33490 * any new swig_type_info structures that have been added into the list
33491 * of equivalent types. It is like calling
33492 * SWIG_TypeClientData(type, clientdata) a second time.
33495 SWIG_PropagateClientData(void) {
33497 swig_cast_info
*equiv
;
33498 static int init_run
= 0;
33500 if (init_run
) return;
33503 for (i
= 0; i
< swig_module
.size
; i
++) {
33504 if (swig_module
.types
[i
]->clientdata
) {
33505 equiv
= swig_module
.types
[i
]->cast
;
33507 if (!equiv
->converter
) {
33508 if (equiv
->type
&& !equiv
->type
->clientdata
)
33509 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33511 equiv
= equiv
->next
;
33531 /* Python-specific SWIG API */
33532 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33533 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33534 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33536 /* -----------------------------------------------------------------------------
33537 * global variable support code.
33538 * ----------------------------------------------------------------------------- */
33540 typedef struct swig_globalvar
{
33541 char *name
; /* Name of global variable */
33542 PyObject
*(*get_attr
)(void); /* Return the current value */
33543 int (*set_attr
)(PyObject
*); /* Set the value */
33544 struct swig_globalvar
*next
;
33547 typedef struct swig_varlinkobject
{
33549 swig_globalvar
*vars
;
33550 } swig_varlinkobject
;
33552 SWIGINTERN PyObject
*
33553 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33554 return PyString_FromString("<Swig global variables>");
33557 SWIGINTERN PyObject
*
33558 swig_varlink_str(swig_varlinkobject
*v
) {
33559 PyObject
*str
= PyString_FromString("(");
33560 swig_globalvar
*var
;
33561 for (var
= v
->vars
; var
; var
=var
->next
) {
33562 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33563 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33565 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33570 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33571 PyObject
*str
= swig_varlink_str(v
);
33572 fprintf(fp
,"Swig global variables ");
33573 fprintf(fp
,"%s\n", PyString_AsString(str
));
33579 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33580 swig_globalvar
*var
= v
->vars
;
33582 swig_globalvar
*n
= var
->next
;
33589 SWIGINTERN PyObject
*
33590 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33591 PyObject
*res
= NULL
;
33592 swig_globalvar
*var
= v
->vars
;
33594 if (strcmp(var
->name
,n
) == 0) {
33595 res
= (*var
->get_attr
)();
33600 if (res
== NULL
&& !PyErr_Occurred()) {
33601 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33607 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33609 swig_globalvar
*var
= v
->vars
;
33611 if (strcmp(var
->name
,n
) == 0) {
33612 res
= (*var
->set_attr
)(p
);
33617 if (res
== 1 && !PyErr_Occurred()) {
33618 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33623 SWIGINTERN PyTypeObject
*
33624 swig_varlink_type(void) {
33625 static char varlink__doc__
[] = "Swig var link object";
33626 static PyTypeObject varlink_type
;
33627 static int type_init
= 0;
33629 const PyTypeObject tmp
33631 PyObject_HEAD_INIT(NULL
)
33632 0, /* Number of items in variable part (ob_size) */
33633 (char *)"swigvarlink", /* Type name (tp_name) */
33634 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33635 0, /* Itemsize (tp_itemsize) */
33636 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33637 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33638 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33639 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33640 0, /* tp_compare */
33641 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33642 0, /* tp_as_number */
33643 0, /* tp_as_sequence */
33644 0, /* tp_as_mapping */
33647 (reprfunc
)swig_varlink_str
, /* tp_str */
33648 0, /* tp_getattro */
33649 0, /* tp_setattro */
33650 0, /* tp_as_buffer */
33652 varlink__doc__
, /* tp_doc */
33653 0, /* tp_traverse */
33655 0, /* tp_richcompare */
33656 0, /* tp_weaklistoffset */
33657 #if PY_VERSION_HEX >= 0x02020000
33658 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33660 #if PY_VERSION_HEX >= 0x02030000
33663 #ifdef COUNT_ALLOCS
33664 0,0,0,0 /* tp_alloc -> tp_next */
33667 varlink_type
= tmp
;
33668 varlink_type
.ob_type
= &PyType_Type
;
33671 return &varlink_type
;
33674 /* Create a variable linking object for use later */
33675 SWIGINTERN PyObject
*
33676 SWIG_Python_newvarlink(void) {
33677 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33681 return ((PyObject
*) result
);
33685 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33686 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33687 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33689 size_t size
= strlen(name
)+1;
33690 gv
->name
= (char *)malloc(size
);
33692 strncpy(gv
->name
,name
,size
);
33693 gv
->get_attr
= get_attr
;
33694 gv
->set_attr
= set_attr
;
33695 gv
->next
= v
->vars
;
33701 SWIGINTERN PyObject
*
33703 static PyObject
*_SWIG_globals
= 0;
33704 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33705 return _SWIG_globals
;
33708 /* -----------------------------------------------------------------------------
33709 * constants/methods manipulation
33710 * ----------------------------------------------------------------------------- */
33712 /* Install Constants */
33714 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33717 for (i
= 0; constants
[i
].type
; ++i
) {
33718 switch(constants
[i
].type
) {
33719 case SWIG_PY_POINTER
:
33720 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33722 case SWIG_PY_BINARY
:
33723 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33730 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33736 /* -----------------------------------------------------------------------------*/
33737 /* Fix SwigMethods to carry the callback ptrs when needed */
33738 /* -----------------------------------------------------------------------------*/
33741 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33742 swig_const_info
*const_table
,
33743 swig_type_info
**types
,
33744 swig_type_info
**types_initial
) {
33746 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33747 const char *c
= methods
[i
].ml_doc
;
33748 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33750 swig_const_info
*ci
= 0;
33751 const char *name
= c
+ 10;
33752 for (j
= 0; const_table
[j
].type
; ++j
) {
33753 if (strncmp(const_table
[j
].name
, name
,
33754 strlen(const_table
[j
].name
)) == 0) {
33755 ci
= &(const_table
[j
]);
33760 size_t shift
= (ci
->ptype
) - types
;
33761 swig_type_info
*ty
= types_initial
[shift
];
33762 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33763 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33764 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33767 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33769 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33771 strncpy(buff
, "swig_ptr: ", 10);
33773 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33774 methods
[i
].ml_doc
= ndoc
;
33786 /* -----------------------------------------------------------------------------*
33787 * Partial Init method
33788 * -----------------------------------------------------------------------------*/
33793 SWIGEXPORT
void SWIG_init(void) {
33796 /* Fix SwigMethods to carry the callback ptrs when needed */
33797 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33799 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33800 d
= PyModule_GetDict(m
);
33802 SWIG_InitializeModule(0);
33803 SWIG_InstallConstants(d
,swig_const_table
);
33806 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33807 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33808 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33809 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33810 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33811 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33812 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33813 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33814 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33815 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33816 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33817 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33818 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33819 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33820 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33821 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33822 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33823 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33824 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33825 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33826 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33827 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33828 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33829 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33830 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33831 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33832 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33833 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33834 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33835 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33836 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33837 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33838 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33839 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33840 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33841 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33842 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33843 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33844 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33845 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33846 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33847 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33848 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33849 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33850 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33851 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33852 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33853 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33854 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33855 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33856 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33857 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33858 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33859 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33860 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33861 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33862 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33863 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33864 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33865 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33866 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33867 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33868 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33869 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33870 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33871 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33872 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33873 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33874 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33875 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33876 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33877 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33878 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33879 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33880 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33881 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33882 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33883 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33884 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33885 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33886 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33887 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33888 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33889 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33890 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33891 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33892 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33893 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33894 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33895 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33896 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33897 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33898 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33899 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33900 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33901 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33902 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33903 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33904 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33905 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33906 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33907 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33909 // Map renamed classes back to their common name for OOR
33910 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33911 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33912 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33914 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33915 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33916 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33917 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33918 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33919 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33920 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33921 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33922 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33923 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33924 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33925 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33926 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33927 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33928 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33929 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33930 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33931 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33932 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33933 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33934 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33935 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33936 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33937 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33938 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33939 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33940 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33941 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33942 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33943 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
33944 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33945 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33946 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33947 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33948 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33949 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33950 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33951 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33952 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33953 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33954 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33955 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33956 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33957 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33958 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33959 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33960 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33961 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33962 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33963 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33964 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33965 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33966 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33967 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33968 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33969 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33970 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33971 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33972 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33973 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33974 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33975 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33976 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33977 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33978 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33979 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33980 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33981 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33982 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33983 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33984 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33985 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33986 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33987 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33988 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33989 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33990 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33991 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33992 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33993 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33994 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33995 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33996 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33997 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33998 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33999 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34000 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34001 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34002 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34003 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34004 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34005 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34006 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34007 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34008 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34009 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34011 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");