1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2652 #define SWIG_name "_windows_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2735 # define LLONG_MIN LONG_LONG_MIN
2738 # define LLONG_MAX LONG_LONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2746 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2748 if (PyNumber_Check(obj
)) {
2749 if (val
) *val
= PyInt_AsLong(obj
);
2752 return SWIG_TypeError
;
2757 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2760 int res
= SWIG_AsVal_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< int >(v
);
2773 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2775 if (obj
== Py_True
) {
2776 if (val
) *val
= true;
2778 } else if (obj
== Py_False
) {
2779 if (val
) *val
= false;
2783 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2784 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2790 #define SWIG_From_long PyInt_FromLong
2793 SWIGINTERNINLINE PyObject
*
2794 SWIG_From_int (int value
)
2796 return SWIG_From_long (value
);
2801 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2803 if (PyNumber_Check(obj
)) {
2804 if (val
) *val
= PyFloat_AsDouble(obj
);
2807 return SWIG_TypeError
;
2811 #define SWIG_From_double PyFloat_FromDouble
2813 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2814 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2815 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2816 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2817 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2818 int style
= self
->GetExtraStyle();
2820 style
|= wxFRAME_EX_METAL
;
2822 style
&= ~wxFRAME_EX_METAL
;
2823 self
->SetExtraStyle(style
);
2827 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2829 self
->GetFieldRect(i
, r
);
2832 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2836 #include <wx/popupwin.h>
2839 class wxPopupWindow
: public wxWindow
{
2841 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2842 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2845 class wxPyPopupTransientWindow
: public wxPopupWindow
2848 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2849 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2853 #include <wx/tipwin.h>
2855 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2856 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2859 #include <wx/tipwin.h>
2862 #include <wx/vscroll.h>
2865 class wxPyVScrolledWindow
: public wxVScrolledWindow
2867 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2869 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2871 wxPyVScrolledWindow(wxWindow
*parent
,
2872 wxWindowID id
= wxID_ANY
,
2873 const wxPoint
& pos
= wxDefaultPosition
,
2874 const wxSize
& size
= wxDefaultSize
,
2876 const wxString
& name
= wxPyPanelNameStr
)
2877 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2880 // Overridable virtuals
2882 // this function must be overridden in the derived class and it should
2883 // return the height of the given line in pixels
2884 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2887 // this function doesn't have to be overridden but it may be useful to do
2888 // it if calculating the lines heights is a relatively expensive operation
2889 // as it gives the user code a possibility to calculate several of them at
2892 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2893 // shouldn't rely on the latter being called for all lines in the interval
2894 // specified here. It is also possible that OnGetLineHeight() will be
2895 // called for the lines outside of this interval, so this is really just a
2896 // hint, not a promise.
2898 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2900 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2903 // when the number of lines changes, we try to estimate the total height
2904 // of all lines which is a rather expensive operation in terms of lines
2905 // access, so if the user code may estimate the average height
2906 // better/faster than we do, it should override this function to implement
2909 // this function should return the best guess for the total height it may
2911 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2914 // Also expose some other interesting protected methods
2917 // find the index of the line we need to show at the top of the window such
2918 // that the last (fully or partially) visible line is the given one
2919 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2920 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2922 // get the total height of the lines between lineMin (inclusive) and
2923 // lineMax (exclusive)
2924 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2925 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2927 // update the thumb size shown by the scrollbar
2928 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2930 // remove the scrollbar completely because we don't need it
2931 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2936 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2938 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2939 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2940 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2944 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2947 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2948 return SWIG_TypeError
;
2951 *val
= (unsigned long)v
;
2956 SWIGINTERNINLINE
int
2957 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2960 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2961 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 SWIGINTERNINLINE PyObject
*
2967 SWIG_From_unsigned_SS_long (unsigned long value
)
2969 return (value
> LONG_MAX
) ?
2970 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2974 SWIGINTERNINLINE PyObject
*
2975 SWIG_From_size_t (size_t value
)
2977 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2981 #include <wx/vlbox.h>
2983 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2985 class wxPyVListBox
: public wxVListBox
2987 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2989 wxPyVListBox() : wxVListBox() {}
2991 wxPyVListBox(wxWindow
*parent
,
2992 wxWindowID id
= wxID_ANY
,
2993 const wxPoint
& pos
= wxDefaultPosition
,
2994 const wxSize
& size
= wxDefaultSize
,
2996 const wxString
& name
= wxPyVListBoxNameStr
)
2997 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3000 // Overridable virtuals
3002 // the derived class must implement this function to actually draw the item
3003 // with the given index on the provided DC
3004 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3005 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3008 // the derived class must implement this method to return the height of the
3010 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3011 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3014 // this method may be used to draw separators between the lines; note that
3015 // the rectangle may be modified, typically to deflate it a bit before
3016 // passing to OnDrawItem()
3018 // the base class version doesn't do anything
3019 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3020 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3023 // this method is used to draw the items background and, maybe, a border
3026 // the base class version implements a reasonable default behaviour which
3027 // consists in drawing the selected item with the standard background
3028 // colour and drawing a border around the item if it is either selected or
3030 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3031 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3037 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3039 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3040 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3041 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3042 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3045 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3046 unsigned long cookie
= 0;
3047 int selected
= self
->GetFirstSelected(cookie
);
3048 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3049 PyObject
* tup
= PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3051 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3052 wxPyEndBlockThreads(blocked
);
3055 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3056 int selected
= self
->GetNextSelected(cookie
);
3057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3058 PyObject
* tup
= PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3060 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3061 wxPyEndBlockThreads(blocked
);
3065 #include <wx/htmllbox.h>
3068 class wxPyHtmlListBox
: public wxHtmlListBox
3070 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3072 wxPyHtmlListBox() : wxHtmlListBox() {}
3074 wxPyHtmlListBox(wxWindow
*parent
,
3075 wxWindowID id
= wxID_ANY
,
3076 const wxPoint
& pos
= wxDefaultPosition
,
3077 const wxSize
& size
= wxDefaultSize
,
3079 const wxString
& name
= wxPyVListBoxNameStr
)
3080 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3083 // Overridable virtuals
3085 // this method must be implemented in the derived class and should return
3086 // the body (i.e. without <html>) of the HTML for the given item
3087 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3089 // this function may be overridden to decorate HTML returned by OnGetItem()
3090 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3092 // These are from wxVListBox
3093 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3094 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3097 // // this method allows to customize the selection appearance: it may be used
3098 // // to specify the colour of the text which normally has the given colour
3099 // // colFg when it is inside the selection
3101 // // by default, the original colour is not used at all and all text has the
3102 // // same (default for this system) colour inside selection
3103 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3105 // // this is the same as GetSelectedTextColour() but allows to customize the
3106 // // background colour -- this is even more rarely used as you can change it
3107 // // globally using SetSelectionBackground()
3108 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3111 // This method may be overriden to handle clicking on a link in
3112 // the listbox. By default, clicking links is ignored.
3113 virtual void OnLinkClicked(size_t n
,
3114 const wxHtmlLinkInfo
& link
);
3120 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3122 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3123 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3124 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3125 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3128 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3129 const wxHtmlLinkInfo
& link
) {
3131 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3132 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3133 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3134 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3137 wxPyEndBlockThreads(blocked
);
3139 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3146 #ifndef wxHAS_TASK_BAR_ICON
3147 // implement dummy classes for platforms that don't have it
3149 class wxTaskBarIcon
: public wxEvtHandler
3152 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3156 class wxTaskBarIconEvent
: public wxEvent
3159 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3160 { wxPyRaiseNotImplemented(); }
3161 virtual wxEvent
* Clone() const { return NULL
; }
3162 bool IsOk() const { return false; }
3163 bool IsIconInstalled() const { return false; }
3164 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3165 bool RemoveIcon() { return false; }
3166 bool PopupMenu(wxMenu
*menu
) { return false; }
3170 wxEVT_TASKBAR_MOVE
= 0,
3171 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3172 wxEVT_TASKBAR_LEFT_UP
= 0,
3173 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3174 wxEVT_TASKBAR_RIGHT_UP
= 0,
3175 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3176 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3181 // Otherwise make a class that can virtualize CreatePopupMenu
3182 class wxPyTaskBarIcon
: public wxTaskBarIcon
3184 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3186 wxPyTaskBarIcon() : wxTaskBarIcon()
3189 wxMenu
* CreatePopupMenu() {
3190 wxMenu
*rval
= NULL
;
3192 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3193 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3196 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3198 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3203 wxPyEndBlockThreads(blocked
);
3205 rval
= wxTaskBarIcon::CreatePopupMenu();
3212 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3216 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3220 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3221 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3222 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3223 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3224 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3225 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3227 // for compatibility only
3228 #define wxHIDE_READONLY 0
3230 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3232 self
->GetFilenames(arr
);
3233 return wxArrayString2PyList_helper(arr
);
3235 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3237 self
->GetPaths(arr
);
3238 return wxArrayString2PyList_helper(arr
);
3240 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3241 return wxArrayInt2PyList_helper(self
->GetSelections());
3243 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
){
3244 return new wxSingleChoiceDialog(parent
, message
, caption
,
3245 choices
, choices_array
, NULL
, style
, pos
);
3247 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3249 SWIGINTERNINLINE PyObject
*
3250 SWIG_From_bool (bool value
)
3252 return PyBool_FromLong(value
? 1 : 0);
3258 // C++ version of Python aware wxWindow
3259 class wxPyWindow
: public wxWindow
3261 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3263 wxPyWindow() : wxWindow() {}
3264 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3265 const wxPoint
& pos
= wxDefaultPosition
,
3266 const wxSize
& size
= wxDefaultSize
,
3268 const wxString
& name
= wxPyPanelNameStr
)
3269 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3271 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3273 bool DoEraseBackground(wxDC
* dc
) {
3275 return wxWindow::DoEraseBackground(dc
->GetHDC());
3277 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3295 DEC_PYCALLBACK__(InitDialog
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3298 DEC_PYCALLBACK_BOOL_(Validate
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3319 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3329 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3331 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3332 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3334 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3337 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3338 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3346 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3348 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3350 // C++ version of Python aware wxPanel
3351 class wxPyPanel
: public wxPanel
3353 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3355 wxPyPanel() : wxPanel() {}
3356 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3357 const wxPoint
& pos
= wxDefaultPosition
,
3358 const wxSize
& size
= wxDefaultSize
,
3360 const wxString
& name
= wxPyPanelNameStr
)
3361 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3363 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3364 bool DoEraseBackground(wxDC
* dc
) {
3366 return wxWindow::DoEraseBackground(dc
->GetHDC());
3368 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3375 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3376 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3377 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3378 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3380 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3381 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3382 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3384 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3385 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3387 DEC_PYCALLBACK__(InitDialog
);
3388 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3389 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3390 DEC_PYCALLBACK_BOOL_(Validate
);
3392 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3393 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3394 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3396 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3397 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3399 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3400 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3402 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3404 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3409 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3411 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3412 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3413 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3414 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3416 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3417 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3418 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3420 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3421 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3423 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3424 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3425 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3426 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3428 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3429 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3430 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3432 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3433 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3436 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3438 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3440 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3442 // C++ version of Python aware wxScrolledWindow
3443 class wxPyScrolledWindow
: public wxScrolledWindow
3445 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3447 wxPyScrolledWindow() : wxScrolledWindow() {}
3448 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3449 const wxPoint
& pos
= wxDefaultPosition
,
3450 const wxSize
& size
= wxDefaultSize
,
3452 const wxString
& name
= wxPyPanelNameStr
)
3453 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3455 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3456 bool DoEraseBackground(wxDC
* dc
) {
3458 return wxWindow::DoEraseBackground(dc
->GetHDC());
3460 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3466 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3467 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3468 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3469 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3471 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3472 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3473 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3475 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3476 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3478 DEC_PYCALLBACK__(InitDialog
);
3479 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3480 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3481 DEC_PYCALLBACK_BOOL_(Validate
);
3483 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3484 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3485 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3487 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3488 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3490 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3491 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3493 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3495 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3500 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3502 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3503 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3504 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3505 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3507 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3508 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3509 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3511 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3512 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3514 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3515 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3516 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3517 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3519 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3520 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3521 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3523 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3524 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3527 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3531 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3534 #include "wx/wxPython/printfw.h"
3537 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3538 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3539 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3541 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3542 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3543 self
->GetPrivDataLen());
3544 wxPyEndBlockThreads(blocked
);
3547 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3548 if (! PyString_Check(data
)) {
3549 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3550 "Expected string object"));
3554 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3555 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3556 wxPyEndBlockThreads(blocked
);
3560 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3562 // Since this one would be tough and ugly to do with the Macros...
3563 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3564 bool hadErr
= false;
3567 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3568 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3569 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3570 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3573 val
= PyTuple_GetItem(result
, 0);
3574 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3577 val
= PyTuple_GetItem(result
, 1);
3578 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3581 val
= PyTuple_GetItem(result
, 2);
3582 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3585 val
= PyTuple_GetItem(result
, 3);
3586 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3593 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3598 wxPyEndBlockThreads(blocked
);
3600 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3605 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3606 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3607 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3608 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3609 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3610 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3611 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3617 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3618 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3621 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3622 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3625 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3626 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3627 PyObject* win = wxPyMake_wxObject(a,false); \
3628 PyObject* dc = wxPyMake_wxObject(&b,false); \
3629 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3633 wxPyEndBlockThreads(blocked); \
3635 rval = PCLASS::CBNAME(a, b); \
3642 class wxPyPrintPreview
: public wxPrintPreview
3644 DECLARE_CLASS(wxPyPrintPreview
)
3646 wxPyPrintPreview(wxPyPrintout
* printout
,
3647 wxPyPrintout
* printoutForPrinting
,
3648 wxPrintDialogData
* data
=NULL
)
3649 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3651 wxPyPrintPreview(wxPyPrintout
* printout
,
3652 wxPyPrintout
* printoutForPrinting
,
3654 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3657 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3658 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3659 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3660 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3661 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3662 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3663 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3668 // Stupid renamed classes... Fix this in 2.5...
3669 #if defined(__WXMSW__)
3670 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3671 #elif defined(__WXMAC__)
3672 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3674 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3677 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3678 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3679 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3680 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3681 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3682 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3683 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3686 class wxPyPreviewFrame
: public wxPreviewFrame
3688 DECLARE_CLASS(wxPyPreviewFrame
)
3690 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3691 const wxString
& title
,
3692 const wxPoint
& pos
= wxDefaultPosition
,
3693 const wxSize
& size
= wxDefaultSize
,
3694 long style
= wxDEFAULT_FRAME_STYLE
,
3695 const wxString
& name
= wxPyFrameNameStr
)
3696 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3699 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3700 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3702 DEC_PYCALLBACK_VOID_(Initialize
);
3703 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3704 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3709 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3711 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3712 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3713 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3716 class wxPyPreviewControlBar
: public wxPreviewControlBar
3718 DECLARE_CLASS(wxPyPreviewControlBar
)
3720 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3723 const wxPoint
& pos
= wxDefaultPosition
,
3724 const wxSize
& size
= wxDefaultSize
,
3726 const wxString
& name
= wxPyPanelNameStr
)
3727 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3730 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3732 DEC_PYCALLBACK_VOID_(CreateButtons
);
3733 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3738 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3739 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3740 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3745 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
*resultobj
= 0;
3747 wxWindow
*arg1
= (wxWindow
*) 0 ;
3748 int arg2
= (int) (int)-1 ;
3749 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3750 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3751 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3752 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3753 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3754 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3755 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3756 wxPanel
*result
= 0 ;
3765 bool temp6
= false ;
3766 PyObject
* obj0
= 0 ;
3767 PyObject
* obj1
= 0 ;
3768 PyObject
* obj2
= 0 ;
3769 PyObject
* obj3
= 0 ;
3770 PyObject
* obj4
= 0 ;
3771 PyObject
* obj5
= 0 ;
3772 char * kwnames
[] = {
3773 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3778 if (!SWIG_IsOK(res1
)) {
3779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3781 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3784 if (!SWIG_IsOK(ecode2
)) {
3785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3787 arg2
= static_cast< int >(val2
);
3792 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3798 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3802 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3803 if (!SWIG_IsOK(ecode5
)) {
3804 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3806 arg5
= static_cast< long >(val5
);
3810 arg6
= wxString_in_helper(obj5
);
3811 if (arg6
== NULL
) SWIG_fail
;
3816 if (!wxPyCheckForApp()) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3837 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3838 PyObject
*resultobj
= 0;
3839 wxPanel
*result
= 0 ;
3841 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3843 if (!wxPyCheckForApp()) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (wxPanel
*)new wxPanel();
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3856 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
= 0;
3858 wxPanel
*arg1
= (wxPanel
*) 0 ;
3859 wxWindow
*arg2
= (wxWindow
*) 0 ;
3860 int arg3
= (int) (int)-1 ;
3861 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3862 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3863 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3864 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3865 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3866 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3867 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3879 bool temp7
= false ;
3880 PyObject
* obj0
= 0 ;
3881 PyObject
* obj1
= 0 ;
3882 PyObject
* obj2
= 0 ;
3883 PyObject
* obj3
= 0 ;
3884 PyObject
* obj4
= 0 ;
3885 PyObject
* obj5
= 0 ;
3886 PyObject
* obj6
= 0 ;
3887 char * kwnames
[] = {
3888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3893 if (!SWIG_IsOK(res1
)) {
3894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3896 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3897 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3898 if (!SWIG_IsOK(res2
)) {
3899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3901 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3904 if (!SWIG_IsOK(ecode3
)) {
3905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3907 arg3
= static_cast< int >(val3
);
3912 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3918 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3922 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3923 if (!SWIG_IsOK(ecode6
)) {
3924 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3926 arg6
= static_cast< long >(val6
);
3930 arg7
= wxString_in_helper(obj6
);
3931 if (arg7
== NULL
) SWIG_fail
;
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3958 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3959 PyObject
*resultobj
= 0;
3960 wxPanel
*arg1
= (wxPanel
*) 0 ;
3963 PyObject
*swig_obj
[1] ;
3965 if (!args
) SWIG_fail
;
3967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3968 if (!SWIG_IsOK(res1
)) {
3969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3971 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 (arg1
)->SetFocusIgnoringChildren();
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 resultobj
= SWIG_Py_Void();
3985 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
= 0;
3987 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3988 SwigValueWrapper
<wxVisualAttributes
> result
;
3991 PyObject
* obj0
= 0 ;
3992 char * kwnames
[] = {
3993 (char *) "variant", NULL
3996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3998 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3999 if (!SWIG_IsOK(ecode1
)) {
4000 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4002 arg1
= static_cast< wxWindowVariant
>(val1
);
4005 if (!wxPyCheckForApp()) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4018 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4020 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4021 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4022 return SWIG_Py_Void();
4025 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4026 return SWIG_Python_InitShadowInstance(args
);
4029 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
= 0;
4031 wxWindow
*arg1
= (wxWindow
*) 0 ;
4032 int arg2
= (int) (int)-1 ;
4033 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4034 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4035 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4036 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4037 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4038 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4039 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4040 wxScrolledWindow
*result
= 0 ;
4049 bool temp6
= false ;
4050 PyObject
* obj0
= 0 ;
4051 PyObject
* obj1
= 0 ;
4052 PyObject
* obj2
= 0 ;
4053 PyObject
* obj3
= 0 ;
4054 PyObject
* obj4
= 0 ;
4055 PyObject
* obj5
= 0 ;
4056 char * kwnames
[] = {
4057 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4062 if (!SWIG_IsOK(res1
)) {
4063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4065 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4068 if (!SWIG_IsOK(ecode2
)) {
4069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4071 arg2
= static_cast< int >(val2
);
4076 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4082 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4086 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4087 if (!SWIG_IsOK(ecode5
)) {
4088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4090 arg5
= static_cast< long >(val5
);
4094 arg6
= wxString_in_helper(obj5
);
4095 if (arg6
== NULL
) SWIG_fail
;
4100 if (!wxPyCheckForApp()) SWIG_fail
;
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4121 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4122 PyObject
*resultobj
= 0;
4123 wxScrolledWindow
*result
= 0 ;
4125 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4127 if (!wxPyCheckForApp()) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4140 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
= 0;
4142 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4143 wxWindow
*arg2
= (wxWindow
*) 0 ;
4144 int arg3
= (int) (int)-1 ;
4145 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4146 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4147 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4148 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4149 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4150 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4151 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4163 bool temp7
= false ;
4164 PyObject
* obj0
= 0 ;
4165 PyObject
* obj1
= 0 ;
4166 PyObject
* obj2
= 0 ;
4167 PyObject
* obj3
= 0 ;
4168 PyObject
* obj4
= 0 ;
4169 PyObject
* obj5
= 0 ;
4170 PyObject
* obj6
= 0 ;
4171 char * kwnames
[] = {
4172 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4177 if (!SWIG_IsOK(res1
)) {
4178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4180 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4182 if (!SWIG_IsOK(res2
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4185 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4188 if (!SWIG_IsOK(ecode3
)) {
4189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4191 arg3
= static_cast< int >(val3
);
4196 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4202 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4206 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4207 if (!SWIG_IsOK(ecode6
)) {
4208 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4210 arg6
= static_cast< long >(val6
);
4214 arg7
= wxString_in_helper(obj6
);
4215 if (arg7
== NULL
) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4242 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
= 0;
4244 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4249 int arg6
= (int) 0 ;
4250 int arg7
= (int) 0 ;
4251 bool arg8
= (bool) false ;
4268 PyObject
* obj0
= 0 ;
4269 PyObject
* obj1
= 0 ;
4270 PyObject
* obj2
= 0 ;
4271 PyObject
* obj3
= 0 ;
4272 PyObject
* obj4
= 0 ;
4273 PyObject
* obj5
= 0 ;
4274 PyObject
* obj6
= 0 ;
4275 PyObject
* obj7
= 0 ;
4276 char * kwnames
[] = {
4277 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4282 if (!SWIG_IsOK(res1
)) {
4283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4285 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4287 if (!SWIG_IsOK(ecode2
)) {
4288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4290 arg2
= static_cast< int >(val2
);
4291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4292 if (!SWIG_IsOK(ecode3
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4295 arg3
= static_cast< int >(val3
);
4296 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4297 if (!SWIG_IsOK(ecode4
)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4300 arg4
= static_cast< int >(val4
);
4301 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4302 if (!SWIG_IsOK(ecode5
)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4305 arg5
= static_cast< int >(val5
);
4307 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4308 if (!SWIG_IsOK(ecode6
)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4311 arg6
= static_cast< int >(val6
);
4314 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4315 if (!SWIG_IsOK(ecode7
)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4318 arg7
= static_cast< int >(val7
);
4321 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4322 if (!SWIG_IsOK(ecode8
)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4325 arg8
= static_cast< bool >(val8
);
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= SWIG_Py_Void();
4340 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
= 0;
4342 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4353 PyObject
* obj2
= 0 ;
4354 char * kwnames
[] = {
4355 (char *) "self",(char *) "x",(char *) "y", NULL
4358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4360 if (!SWIG_IsOK(res1
)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4363 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4365 if (!SWIG_IsOK(ecode2
)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4368 arg2
= static_cast< int >(val2
);
4369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4370 if (!SWIG_IsOK(ecode3
)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4373 arg3
= static_cast< int >(val3
);
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 (arg1
)->Scroll(arg2
,arg3
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 resultobj
= SWIG_Py_Void();
4387 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
= 0;
4389 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4398 char * kwnames
[] = {
4399 (char *) "self",(char *) "orient", NULL
4402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4404 if (!SWIG_IsOK(res1
)) {
4405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4407 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4409 if (!SWIG_IsOK(ecode2
)) {
4410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4412 arg2
= static_cast< int >(val2
);
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 resultobj
= SWIG_From_int(static_cast< int >(result
));
4426 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
= 0;
4428 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4437 PyObject
* obj0
= 0 ;
4438 PyObject
* obj1
= 0 ;
4439 PyObject
* obj2
= 0 ;
4440 char * kwnames
[] = {
4441 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4446 if (!SWIG_IsOK(res1
)) {
4447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4449 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4451 if (!SWIG_IsOK(ecode2
)) {
4452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4454 arg2
= static_cast< int >(val2
);
4455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4456 if (!SWIG_IsOK(ecode3
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4459 arg3
= static_cast< int >(val3
);
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_Py_Void();
4473 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
= 0;
4475 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4486 PyObject
* obj2
= 0 ;
4487 char * kwnames
[] = {
4488 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4493 if (!SWIG_IsOK(res1
)) {
4494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4496 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4498 if (!SWIG_IsOK(ecode2
)) {
4499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4501 arg2
= static_cast< int >(val2
);
4502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4503 if (!SWIG_IsOK(ecode3
)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4506 arg3
= static_cast< int >(val3
);
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 (arg1
)->SetScrollRate(arg2
,arg3
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) SWIG_fail
;
4513 resultobj
= SWIG_Py_Void();
4520 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4521 PyObject
*resultobj
= 0;
4522 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4523 int *arg2
= (int *) 0 ;
4524 int *arg3
= (int *) 0 ;
4528 int res2
= SWIG_TMPOBJ
;
4530 int res3
= SWIG_TMPOBJ
;
4531 PyObject
*swig_obj
[1] ;
4535 if (!args
) SWIG_fail
;
4537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4538 if (!SWIG_IsOK(res1
)) {
4539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4541 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 resultobj
= SWIG_Py_Void();
4549 if (SWIG_IsTmpObj(res2
)) {
4550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4552 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4555 if (SWIG_IsTmpObj(res3
)) {
4556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4558 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4567 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
*resultobj
= 0;
4569 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4578 PyObject
* obj0
= 0 ;
4579 PyObject
* obj1
= 0 ;
4580 PyObject
* obj2
= 0 ;
4581 char * kwnames
[] = {
4582 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4587 if (!SWIG_IsOK(res1
)) {
4588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4590 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4591 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4592 if (!SWIG_IsOK(ecode2
)) {
4593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4595 arg2
= static_cast< bool >(val2
);
4596 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4597 if (!SWIG_IsOK(ecode3
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4600 arg3
= static_cast< bool >(val3
);
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 (arg1
)->EnableScrolling(arg2
,arg3
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 resultobj
= SWIG_Py_Void();
4614 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4615 PyObject
*resultobj
= 0;
4616 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4617 int *arg2
= (int *) 0 ;
4618 int *arg3
= (int *) 0 ;
4622 int res2
= SWIG_TMPOBJ
;
4624 int res3
= SWIG_TMPOBJ
;
4625 PyObject
*swig_obj
[1] ;
4629 if (!args
) SWIG_fail
;
4631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4632 if (!SWIG_IsOK(res1
)) {
4633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4635 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= SWIG_Py_Void();
4643 if (SWIG_IsTmpObj(res2
)) {
4644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4646 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4649 if (SWIG_IsTmpObj(res3
)) {
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4652 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4661 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
= 0;
4663 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4674 PyObject
* obj2
= 0 ;
4675 char * kwnames
[] = {
4676 (char *) "self",(char *) "xs",(char *) "ys", NULL
4679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4681 if (!SWIG_IsOK(res1
)) {
4682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4684 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4685 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4686 if (!SWIG_IsOK(ecode2
)) {
4687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4689 arg2
= static_cast< double >(val2
);
4690 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4691 if (!SWIG_IsOK(ecode3
)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4694 arg3
= static_cast< double >(val3
);
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 (arg1
)->SetScale(arg2
,arg3
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 resultobj
= SWIG_Py_Void();
4708 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4709 PyObject
*resultobj
= 0;
4710 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4714 PyObject
*swig_obj
[1] ;
4716 if (!args
) SWIG_fail
;
4718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4719 if (!SWIG_IsOK(res1
)) {
4720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4722 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= SWIG_From_double(static_cast< double >(result
));
4736 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4737 PyObject
*resultobj
= 0;
4738 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4742 PyObject
*swig_obj
[1] ;
4744 if (!args
) SWIG_fail
;
4746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4747 if (!SWIG_IsOK(res1
)) {
4748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4750 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= SWIG_From_double(static_cast< double >(result
));
4764 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4765 PyObject
*resultobj
= 0;
4766 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4773 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4775 if (!SWIG_IsOK(res1
)) {
4776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4778 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4781 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4796 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4797 PyObject
*resultobj
= 0;
4798 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4801 int *arg4
= (int *) 0 ;
4802 int *arg5
= (int *) 0 ;
4810 int res4
= SWIG_TMPOBJ
;
4812 int res5
= SWIG_TMPOBJ
;
4816 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4818 if (!SWIG_IsOK(res1
)) {
4819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4821 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4822 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4823 if (!SWIG_IsOK(ecode2
)) {
4824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4826 arg2
= static_cast< int >(val2
);
4827 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4828 if (!SWIG_IsOK(ecode3
)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4831 arg3
= static_cast< int >(val3
);
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= SWIG_Py_Void();
4839 if (SWIG_IsTmpObj(res4
)) {
4840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4842 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4845 if (SWIG_IsTmpObj(res5
)) {
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4848 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4857 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4861 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4864 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4867 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4871 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4876 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4877 PyObject
*resultobj
= 0;
4878 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4885 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4887 if (!SWIG_IsOK(res1
)) {
4888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4890 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4893 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4908 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4909 PyObject
*resultobj
= 0;
4910 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4913 int *arg4
= (int *) 0 ;
4914 int *arg5
= (int *) 0 ;
4922 int res4
= SWIG_TMPOBJ
;
4924 int res5
= SWIG_TMPOBJ
;
4928 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4930 if (!SWIG_IsOK(res1
)) {
4931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4933 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4934 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4935 if (!SWIG_IsOK(ecode2
)) {
4936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4938 arg2
= static_cast< int >(val2
);
4939 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4940 if (!SWIG_IsOK(ecode3
)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4943 arg3
= static_cast< int >(val3
);
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= SWIG_Py_Void();
4951 if (SWIG_IsTmpObj(res4
)) {
4952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4954 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4957 if (SWIG_IsTmpObj(res5
)) {
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4960 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4969 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4973 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4976 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4979 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4983 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4988 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4989 PyObject
*resultobj
= 0;
4990 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4993 PyObject
*swig_obj
[1] ;
4995 if (!args
) SWIG_fail
;
4997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4998 if (!SWIG_IsOK(res1
)) {
4999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5001 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 (arg1
)->AdjustScrollbars();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_Py_Void();
5015 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
= 0;
5017 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5018 wxScrollWinEvent
*arg2
= 0 ;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5026 char * kwnames
[] = {
5027 (char *) "self",(char *) "event", NULL
5030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5035 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5037 if (!SWIG_IsOK(res2
)) {
5038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5043 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= SWIG_From_int(static_cast< int >(result
));
5057 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
= 0;
5059 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5060 wxWindow
*arg2
= (wxWindow
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5067 char * kwnames
[] = {
5068 (char *) "self",(char *) "target", NULL
5071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5073 if (!SWIG_IsOK(res1
)) {
5074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5076 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5078 if (!SWIG_IsOK(res2
)) {
5079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5081 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 (arg1
)->SetTargetWindow(arg2
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= SWIG_Py_Void();
5095 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5096 PyObject
*resultobj
= 0;
5097 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5098 wxWindow
*result
= 0 ;
5101 PyObject
*swig_obj
[1] ;
5103 if (!args
) SWIG_fail
;
5105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5106 if (!SWIG_IsOK(res1
)) {
5107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5109 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= wxPyMake_wxObject(result
, 0);
5125 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
= 0;
5127 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5132 PyObject
* obj0
= 0 ;
5133 PyObject
* obj1
= 0 ;
5134 char * kwnames
[] = {
5135 (char *) "self",(char *) "rect", NULL
5138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5140 if (!SWIG_IsOK(res1
)) {
5141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5143 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5146 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_Py_Void();
5161 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5162 PyObject
*resultobj
= 0;
5163 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5167 PyObject
*swig_obj
[1] ;
5169 if (!args
) SWIG_fail
;
5171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5172 if (!SWIG_IsOK(res1
)) {
5173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5175 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5189 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
= 0;
5191 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5199 char * kwnames
[] = {
5200 (char *) "self",(char *) "dc", NULL
5203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5205 if (!SWIG_IsOK(res1
)) {
5206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5208 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5210 if (!SWIG_IsOK(res2
)) {
5211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5216 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 (arg1
)->DoPrepareDC(*arg2
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= SWIG_Py_Void();
5230 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
= 0;
5232 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5233 SwigValueWrapper
<wxVisualAttributes
> result
;
5236 PyObject
* obj0
= 0 ;
5237 char * kwnames
[] = {
5238 (char *) "variant", NULL
5241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5243 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5244 if (!SWIG_IsOK(ecode1
)) {
5245 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5247 arg1
= static_cast< wxWindowVariant
>(val1
);
5250 if (!wxPyCheckForApp()) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5263 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5266 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5267 return SWIG_Py_Void();
5270 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5271 return SWIG_Python_InitShadowInstance(args
);
5274 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5275 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5280 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5281 PyObject
*pyobj
= 0;
5285 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5287 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5294 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5295 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5300 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5301 PyObject
*pyobj
= 0;
5305 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5307 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5314 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5315 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5320 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5321 PyObject
*pyobj
= 0;
5325 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5327 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5334 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5335 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5340 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5341 PyObject
*pyobj
= 0;
5345 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5347 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5354 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
= 0;
5356 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5357 bool arg2
= (bool) true ;
5362 PyObject
* obj0
= 0 ;
5363 PyObject
* obj1
= 0 ;
5364 char * kwnames
[] = {
5365 (char *) "self",(char *) "maximize", NULL
5368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5370 if (!SWIG_IsOK(res1
)) {
5371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5373 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5375 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5376 if (!SWIG_IsOK(ecode2
)) {
5377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5379 arg2
= static_cast< bool >(val2
);
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 (arg1
)->Maximize(arg2
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 resultobj
= SWIG_Py_Void();
5394 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5395 PyObject
*resultobj
= 0;
5396 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5399 PyObject
*swig_obj
[1] ;
5401 if (!args
) SWIG_fail
;
5403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5404 if (!SWIG_IsOK(res1
)) {
5405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5407 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_Py_Void();
5421 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
= 0;
5423 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5424 bool arg2
= (bool) true ;
5429 PyObject
* obj0
= 0 ;
5430 PyObject
* obj1
= 0 ;
5431 char * kwnames
[] = {
5432 (char *) "self",(char *) "iconize", NULL
5435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5437 if (!SWIG_IsOK(res1
)) {
5438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5440 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5442 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5443 if (!SWIG_IsOK(ecode2
)) {
5444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5446 arg2
= static_cast< bool >(val2
);
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 (arg1
)->Iconize(arg2
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= SWIG_Py_Void();
5461 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5462 PyObject
*resultobj
= 0;
5463 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5467 PyObject
*swig_obj
[1] ;
5469 if (!args
) SWIG_fail
;
5471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5472 if (!SWIG_IsOK(res1
)) {
5473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5475 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5491 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5492 PyObject
*resultobj
= 0;
5493 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5497 PyObject
*swig_obj
[1] ;
5499 if (!args
) SWIG_fail
;
5501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5502 if (!SWIG_IsOK(res1
)) {
5503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5505 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5521 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5522 PyObject
*resultobj
= 0;
5523 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5527 PyObject
*swig_obj
[1] ;
5529 if (!args
) SWIG_fail
;
5531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5532 if (!SWIG_IsOK(res1
)) {
5533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5535 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5539 wxPyEndAllowThreads(__tstate
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5551 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5552 PyObject
*resultobj
= 0;
5553 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5557 PyObject
*swig_obj
[1] ;
5559 if (!args
) SWIG_fail
;
5561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5562 if (!SWIG_IsOK(res1
)) {
5563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5565 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5579 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
= 0;
5581 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5589 char * kwnames
[] = {
5590 (char *) "self",(char *) "icon", NULL
5593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5595 if (!SWIG_IsOK(res1
)) {
5596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5598 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5600 if (!SWIG_IsOK(res2
)) {
5601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5606 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= SWIG_Py_Void();
5620 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
= 0;
5622 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5623 wxIconBundle
*arg2
= 0 ;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5630 char * kwnames
[] = {
5631 (char *) "self",(char *) "icons", NULL
5634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5636 if (!SWIG_IsOK(res1
)) {
5637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5639 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5641 if (!SWIG_IsOK(res2
)) {
5642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5647 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= SWIG_Py_Void();
5661 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
= 0;
5663 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5665 long arg3
= (long) wxFULLSCREEN_ALL
;
5673 PyObject
* obj0
= 0 ;
5674 PyObject
* obj1
= 0 ;
5675 PyObject
* obj2
= 0 ;
5676 char * kwnames
[] = {
5677 (char *) "self",(char *) "show",(char *) "style", NULL
5680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5682 if (!SWIG_IsOK(res1
)) {
5683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5685 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5686 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5687 if (!SWIG_IsOK(ecode2
)) {
5688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5690 arg2
= static_cast< bool >(val2
);
5692 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5693 if (!SWIG_IsOK(ecode3
)) {
5694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5696 arg3
= static_cast< long >(val3
);
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5713 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5714 PyObject
*resultobj
= 0;
5715 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5719 PyObject
*swig_obj
[1] ;
5721 if (!args
) SWIG_fail
;
5723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5724 if (!SWIG_IsOK(res1
)) {
5725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5727 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5743 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
= 0;
5745 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5746 wxString
*arg2
= 0 ;
5749 bool temp2
= false ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5752 char * kwnames
[] = {
5753 (char *) "self",(char *) "title", NULL
5756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5758 if (!SWIG_IsOK(res1
)) {
5759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5761 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5763 arg2
= wxString_in_helper(obj1
);
5764 if (arg2
== NULL
) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 (arg1
)->SetTitle((wxString
const &)*arg2
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= SWIG_Py_Void();
5788 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5789 PyObject
*resultobj
= 0;
5790 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5794 PyObject
*swig_obj
[1] ;
5796 if (!args
) SWIG_fail
;
5798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5799 if (!SWIG_IsOK(res1
)) {
5800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5802 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5822 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
= 0;
5824 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5825 wxRegion
*arg2
= 0 ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5833 char * kwnames
[] = {
5834 (char *) "self",(char *) "region", NULL
5837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5839 if (!SWIG_IsOK(res1
)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5842 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5844 if (!SWIG_IsOK(res2
)) {
5845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5850 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5866 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
= 0;
5868 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5869 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5874 PyObject
* obj0
= 0 ;
5875 PyObject
* obj1
= 0 ;
5876 char * kwnames
[] = {
5877 (char *) "self",(char *) "flags", NULL
5880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5882 if (!SWIG_IsOK(res1
)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5885 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5888 if (!SWIG_IsOK(ecode2
)) {
5889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5891 arg2
= static_cast< int >(val2
);
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 (arg1
)->RequestUserAttention(arg2
);
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5899 resultobj
= SWIG_Py_Void();
5906 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5907 PyObject
*resultobj
= 0;
5908 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5912 PyObject
*swig_obj
[1] ;
5914 if (!args
) SWIG_fail
;
5916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5917 if (!SWIG_IsOK(res1
)) {
5918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5920 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 result
= (bool)(arg1
)->IsActive();
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5936 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
= 0;
5938 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5944 PyObject
* obj0
= 0 ;
5945 PyObject
* obj1
= 0 ;
5946 char * kwnames
[] = {
5947 (char *) "self",(char *) "on", NULL
5950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5952 if (!SWIG_IsOK(res1
)) {
5953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5955 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5956 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5957 if (!SWIG_IsOK(ecode2
)) {
5958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5960 arg2
= static_cast< bool >(val2
);
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= SWIG_Py_Void();
5974 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5975 PyObject
*resultobj
= 0;
5976 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5980 PyObject
*swig_obj
[1] ;
5982 if (!args
) SWIG_fail
;
5984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5985 if (!SWIG_IsOK(res1
)) {
5986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5988 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6004 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
= 0;
6006 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6007 int arg2
= (int) wxBOTH
;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6014 char * kwnames
[] = {
6015 (char *) "self",(char *) "dir", NULL
6018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6020 if (!SWIG_IsOK(res1
)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6023 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6026 if (!SWIG_IsOK(ecode2
)) {
6027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6029 arg2
= static_cast< int >(val2
);
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 (arg1
)->CenterOnScreen(arg2
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= SWIG_Py_Void();
6044 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6047 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6048 return SWIG_Py_Void();
6051 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
= 0;
6053 wxWindow
*arg1
= (wxWindow
*) 0 ;
6054 int arg2
= (int) (int)-1 ;
6055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6057 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6058 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6059 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6060 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6061 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6062 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6063 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6064 wxFrame
*result
= 0 ;
6069 bool temp3
= false ;
6074 bool temp7
= false ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6077 PyObject
* obj2
= 0 ;
6078 PyObject
* obj3
= 0 ;
6079 PyObject
* obj4
= 0 ;
6080 PyObject
* obj5
= 0 ;
6081 PyObject
* obj6
= 0 ;
6082 char * kwnames
[] = {
6083 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6088 if (!SWIG_IsOK(res1
)) {
6089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6091 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6094 if (!SWIG_IsOK(ecode2
)) {
6095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6097 arg2
= static_cast< int >(val2
);
6101 arg3
= wxString_in_helper(obj2
);
6102 if (arg3
== NULL
) SWIG_fail
;
6109 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6115 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6119 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6120 if (!SWIG_IsOK(ecode6
)) {
6121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6123 arg6
= static_cast< long >(val6
);
6127 arg7
= wxString_in_helper(obj6
);
6128 if (arg7
== NULL
) SWIG_fail
;
6133 if (!wxPyCheckForApp()) SWIG_fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6162 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6163 PyObject
*resultobj
= 0;
6164 wxFrame
*result
= 0 ;
6166 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6168 if (!wxPyCheckForApp()) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 result
= (wxFrame
*)new wxFrame();
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6181 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
= 0;
6183 wxFrame
*arg1
= (wxFrame
*) 0 ;
6184 wxWindow
*arg2
= (wxWindow
*) 0 ;
6185 int arg3
= (int) (int)-1 ;
6186 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6187 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6188 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6189 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6190 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6191 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6192 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6193 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6194 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6202 bool temp4
= false ;
6207 bool temp8
= false ;
6208 PyObject
* obj0
= 0 ;
6209 PyObject
* obj1
= 0 ;
6210 PyObject
* obj2
= 0 ;
6211 PyObject
* obj3
= 0 ;
6212 PyObject
* obj4
= 0 ;
6213 PyObject
* obj5
= 0 ;
6214 PyObject
* obj6
= 0 ;
6215 PyObject
* obj7
= 0 ;
6216 char * kwnames
[] = {
6217 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6222 if (!SWIG_IsOK(res1
)) {
6223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6225 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6226 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6227 if (!SWIG_IsOK(res2
)) {
6228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6230 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6233 if (!SWIG_IsOK(ecode3
)) {
6234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6236 arg3
= static_cast< int >(val3
);
6240 arg4
= wxString_in_helper(obj3
);
6241 if (arg4
== NULL
) SWIG_fail
;
6248 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6254 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6258 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6259 if (!SWIG_IsOK(ecode7
)) {
6260 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6262 arg7
= static_cast< long >(val7
);
6266 arg8
= wxString_in_helper(obj7
);
6267 if (arg8
== NULL
) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6274 wxPyEndAllowThreads(__tstate
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6302 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6303 PyObject
*resultobj
= 0;
6304 wxFrame
*arg1
= (wxFrame
*) 0 ;
6307 PyObject
*swig_obj
[1] ;
6309 if (!args
) SWIG_fail
;
6311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6312 if (!SWIG_IsOK(res1
)) {
6313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6315 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 (arg1
)->SendSizeEvent();
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= SWIG_Py_Void();
6329 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
= 0;
6331 wxFrame
*arg1
= (wxFrame
*) 0 ;
6332 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 char * kwnames
[] = {
6340 (char *) "self",(char *) "menubar", NULL
6343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6345 if (!SWIG_IsOK(res1
)) {
6346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6348 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6350 if (!SWIG_IsOK(res2
)) {
6351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6353 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 (arg1
)->SetMenuBar(arg2
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= SWIG_Py_Void();
6367 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6368 PyObject
*resultobj
= 0;
6369 wxFrame
*arg1
= (wxFrame
*) 0 ;
6370 wxMenuBar
*result
= 0 ;
6373 PyObject
*swig_obj
[1] ;
6375 if (!args
) SWIG_fail
;
6377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6378 if (!SWIG_IsOK(res1
)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6381 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= wxPyMake_wxObject(result
, 0);
6397 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
= 0;
6399 wxFrame
*arg1
= (wxFrame
*) 0 ;
6406 PyObject
* obj0
= 0 ;
6407 PyObject
* obj1
= 0 ;
6408 char * kwnames
[] = {
6409 (char *) "self",(char *) "winid", NULL
6412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6414 if (!SWIG_IsOK(res1
)) {
6415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6417 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6419 if (!SWIG_IsOK(ecode2
)) {
6420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6422 arg2
= static_cast< int >(val2
);
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6438 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
= 0;
6440 wxFrame
*arg1
= (wxFrame
*) 0 ;
6441 int arg2
= (int) 1 ;
6442 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6443 int arg4
= (int) 0 ;
6444 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6445 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6446 wxStatusBar
*result
= 0 ;
6455 bool temp5
= false ;
6456 PyObject
* obj0
= 0 ;
6457 PyObject
* obj1
= 0 ;
6458 PyObject
* obj2
= 0 ;
6459 PyObject
* obj3
= 0 ;
6460 PyObject
* obj4
= 0 ;
6461 char * kwnames
[] = {
6462 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6470 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6473 if (!SWIG_IsOK(ecode2
)) {
6474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6476 arg2
= static_cast< int >(val2
);
6479 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6480 if (!SWIG_IsOK(ecode3
)) {
6481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6483 arg3
= static_cast< long >(val3
);
6486 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6487 if (!SWIG_IsOK(ecode4
)) {
6488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6490 arg4
= static_cast< int >(val4
);
6494 arg5
= wxString_in_helper(obj4
);
6495 if (arg5
== NULL
) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6522 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6523 PyObject
*resultobj
= 0;
6524 wxFrame
*arg1
= (wxFrame
*) 0 ;
6525 wxStatusBar
*result
= 0 ;
6528 PyObject
*swig_obj
[1] ;
6530 if (!args
) SWIG_fail
;
6532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6533 if (!SWIG_IsOK(res1
)) {
6534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6536 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6552 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
= 0;
6554 wxFrame
*arg1
= (wxFrame
*) 0 ;
6555 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6560 PyObject
* obj0
= 0 ;
6561 PyObject
* obj1
= 0 ;
6562 char * kwnames
[] = {
6563 (char *) "self",(char *) "statBar", NULL
6566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6568 if (!SWIG_IsOK(res1
)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6571 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6573 if (!SWIG_IsOK(res2
)) {
6574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6576 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 (arg1
)->SetStatusBar(arg2
);
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6583 resultobj
= SWIG_Py_Void();
6590 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
= 0;
6592 wxFrame
*arg1
= (wxFrame
*) 0 ;
6593 wxString
*arg2
= 0 ;
6594 int arg3
= (int) 0 ;
6597 bool temp2
= false ;
6600 PyObject
* obj0
= 0 ;
6601 PyObject
* obj1
= 0 ;
6602 PyObject
* obj2
= 0 ;
6603 char * kwnames
[] = {
6604 (char *) "self",(char *) "text",(char *) "number", NULL
6607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6612 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6614 arg2
= wxString_in_helper(obj1
);
6615 if (arg2
== NULL
) SWIG_fail
;
6619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6620 if (!SWIG_IsOK(ecode3
)) {
6621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6623 arg3
= static_cast< int >(val3
);
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_Py_Void();
6646 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
= 0;
6648 wxFrame
*arg1
= (wxFrame
*) 0 ;
6650 int *arg3
= (int *) 0 ;
6653 PyObject
* obj0
= 0 ;
6654 PyObject
* obj1
= 0 ;
6655 char * kwnames
[] = {
6656 (char *) "self",(char *) "widths", NULL
6659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6661 if (!SWIG_IsOK(res1
)) {
6662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6664 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6666 arg2
= PyList_Size(obj1
);
6667 arg3
= int_LIST_helper(obj1
);
6668 if (arg3
== NULL
) SWIG_fail
;
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= SWIG_Py_Void();
6678 if (arg3
) delete [] arg3
;
6683 if (arg3
) delete [] arg3
;
6689 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
= 0;
6691 wxFrame
*arg1
= (wxFrame
*) 0 ;
6692 wxString
*arg2
= 0 ;
6693 int arg3
= (int) 0 ;
6696 bool temp2
= false ;
6699 PyObject
* obj0
= 0 ;
6700 PyObject
* obj1
= 0 ;
6701 PyObject
* obj2
= 0 ;
6702 char * kwnames
[] = {
6703 (char *) "self",(char *) "text",(char *) "number", NULL
6706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6708 if (!SWIG_IsOK(res1
)) {
6709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6711 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6713 arg2
= wxString_in_helper(obj1
);
6714 if (arg2
== NULL
) SWIG_fail
;
6718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6719 if (!SWIG_IsOK(ecode3
)) {
6720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6722 arg3
= static_cast< int >(val3
);
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= SWIG_Py_Void();
6745 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
= 0;
6747 wxFrame
*arg1
= (wxFrame
*) 0 ;
6748 int arg2
= (int) 0 ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 char * kwnames
[] = {
6756 (char *) "self",(char *) "number", NULL
6759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6761 if (!SWIG_IsOK(res1
)) {
6762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6764 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6767 if (!SWIG_IsOK(ecode2
)) {
6768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6770 arg2
= static_cast< int >(val2
);
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 (arg1
)->PopStatusText(arg2
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= SWIG_Py_Void();
6785 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
= 0;
6787 wxFrame
*arg1
= (wxFrame
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6795 char * kwnames
[] = {
6796 (char *) "self",(char *) "n", NULL
6799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6801 if (!SWIG_IsOK(res1
)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6804 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6806 if (!SWIG_IsOK(ecode2
)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6809 arg2
= static_cast< int >(val2
);
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 (arg1
)->SetStatusBarPane(arg2
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_Py_Void();
6823 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6824 PyObject
*resultobj
= 0;
6825 wxFrame
*arg1
= (wxFrame
*) 0 ;
6829 PyObject
*swig_obj
[1] ;
6831 if (!args
) SWIG_fail
;
6833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6834 if (!SWIG_IsOK(res1
)) {
6835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6837 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_From_int(static_cast< int >(result
));
6851 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
= 0;
6853 wxFrame
*arg1
= (wxFrame
*) 0 ;
6854 long arg2
= (long) -1 ;
6855 int arg3
= (int) -1 ;
6856 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6857 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6858 wxToolBar
*result
= 0 ;
6865 bool temp4
= false ;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6868 PyObject
* obj2
= 0 ;
6869 PyObject
* obj3
= 0 ;
6870 char * kwnames
[] = {
6871 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6876 if (!SWIG_IsOK(res1
)) {
6877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6879 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6881 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6882 if (!SWIG_IsOK(ecode2
)) {
6883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6885 arg2
= static_cast< long >(val2
);
6888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6889 if (!SWIG_IsOK(ecode3
)) {
6890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6892 arg3
= static_cast< int >(val3
);
6896 arg4
= wxString_in_helper(obj3
);
6897 if (arg4
== NULL
) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6924 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6925 PyObject
*resultobj
= 0;
6926 wxFrame
*arg1
= (wxFrame
*) 0 ;
6927 wxToolBar
*result
= 0 ;
6930 PyObject
*swig_obj
[1] ;
6932 if (!args
) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6938 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6954 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
= 0;
6956 wxFrame
*arg1
= (wxFrame
*) 0 ;
6957 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6963 PyObject
* obj1
= 0 ;
6964 char * kwnames
[] = {
6965 (char *) "self",(char *) "toolbar", NULL
6968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6970 if (!SWIG_IsOK(res1
)) {
6971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6973 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6975 if (!SWIG_IsOK(res2
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6978 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 (arg1
)->SetToolBar(arg2
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_Py_Void();
6992 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
= 0;
6994 wxFrame
*arg1
= (wxFrame
*) 0 ;
6995 wxString
*arg2
= 0 ;
6999 bool temp2
= false ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7004 PyObject
* obj2
= 0 ;
7005 char * kwnames
[] = {
7006 (char *) "self",(char *) "text",(char *) "show", NULL
7009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7011 if (!SWIG_IsOK(res1
)) {
7012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7014 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7016 arg2
= wxString_in_helper(obj1
);
7017 if (arg2
== NULL
) SWIG_fail
;
7020 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7021 if (!SWIG_IsOK(ecode3
)) {
7022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7024 arg3
= static_cast< bool >(val3
);
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_Py_Void();
7046 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
= 0;
7048 wxFrame
*arg1
= (wxFrame
*) 0 ;
7049 wxMenu
*arg2
= (wxMenu
*) NULL
;
7054 PyObject
* obj0
= 0 ;
7055 PyObject
* obj1
= 0 ;
7056 char * kwnames
[] = {
7057 (char *) "self",(char *) "menu", NULL
7060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7062 if (!SWIG_IsOK(res1
)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7065 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7068 if (!SWIG_IsOK(res2
)) {
7069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7071 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 (arg1
)->DoMenuUpdates(arg2
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_Py_Void();
7086 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
= 0;
7088 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7089 SwigValueWrapper
<wxVisualAttributes
> result
;
7092 PyObject
* obj0
= 0 ;
7093 char * kwnames
[] = {
7094 (char *) "variant", NULL
7097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7099 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7100 if (!SWIG_IsOK(ecode1
)) {
7101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7103 arg1
= static_cast< wxWindowVariant
>(val1
);
7106 if (!wxPyCheckForApp()) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7119 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7122 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7123 return SWIG_Py_Void();
7126 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7127 return SWIG_Python_InitShadowInstance(args
);
7130 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
= 0;
7132 wxWindow
*arg1
= (wxWindow
*) 0 ;
7133 int arg2
= (int) (int)-1 ;
7134 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7135 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7136 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7137 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7138 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7139 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7140 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7141 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7142 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7143 wxDialog
*result
= 0 ;
7148 bool temp3
= false ;
7153 bool temp7
= false ;
7154 PyObject
* obj0
= 0 ;
7155 PyObject
* obj1
= 0 ;
7156 PyObject
* obj2
= 0 ;
7157 PyObject
* obj3
= 0 ;
7158 PyObject
* obj4
= 0 ;
7159 PyObject
* obj5
= 0 ;
7160 PyObject
* obj6
= 0 ;
7161 char * kwnames
[] = {
7162 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7167 if (!SWIG_IsOK(res1
)) {
7168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7173 if (!SWIG_IsOK(ecode2
)) {
7174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7176 arg2
= static_cast< int >(val2
);
7180 arg3
= wxString_in_helper(obj2
);
7181 if (arg3
== NULL
) SWIG_fail
;
7188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7198 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7199 if (!SWIG_IsOK(ecode6
)) {
7200 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7202 arg6
= static_cast< long >(val6
);
7206 arg7
= wxString_in_helper(obj6
);
7207 if (arg7
== NULL
) SWIG_fail
;
7212 if (!wxPyCheckForApp()) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7241 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7242 PyObject
*resultobj
= 0;
7243 wxDialog
*result
= 0 ;
7245 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7247 if (!wxPyCheckForApp()) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 result
= (wxDialog
*)new wxDialog();
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7260 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
= 0;
7262 wxDialog
*arg1
= (wxDialog
*) 0 ;
7263 wxWindow
*arg2
= (wxWindow
*) 0 ;
7264 int arg3
= (int) (int)-1 ;
7265 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7266 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7267 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7268 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7269 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7270 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7271 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7272 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7273 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7281 bool temp4
= false ;
7286 bool temp8
= false ;
7287 PyObject
* obj0
= 0 ;
7288 PyObject
* obj1
= 0 ;
7289 PyObject
* obj2
= 0 ;
7290 PyObject
* obj3
= 0 ;
7291 PyObject
* obj4
= 0 ;
7292 PyObject
* obj5
= 0 ;
7293 PyObject
* obj6
= 0 ;
7294 PyObject
* obj7
= 0 ;
7295 char * kwnames
[] = {
7296 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7301 if (!SWIG_IsOK(res1
)) {
7302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7304 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7305 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7306 if (!SWIG_IsOK(res2
)) {
7307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7309 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7312 if (!SWIG_IsOK(ecode3
)) {
7313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7315 arg3
= static_cast< int >(val3
);
7319 arg4
= wxString_in_helper(obj3
);
7320 if (arg4
== NULL
) SWIG_fail
;
7327 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7333 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7337 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7338 if (!SWIG_IsOK(ecode7
)) {
7339 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7341 arg7
= static_cast< long >(val7
);
7345 arg8
= wxString_in_helper(obj7
);
7346 if (arg8
== NULL
) SWIG_fail
;
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7381 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
= 0;
7383 wxDialog
*arg1
= (wxDialog
*) 0 ;
7389 PyObject
* obj0
= 0 ;
7390 PyObject
* obj1
= 0 ;
7391 char * kwnames
[] = {
7392 (char *) "self",(char *) "returnCode", NULL
7395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7397 if (!SWIG_IsOK(res1
)) {
7398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7400 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7402 if (!SWIG_IsOK(ecode2
)) {
7403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7405 arg2
= static_cast< int >(val2
);
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 (arg1
)->SetReturnCode(arg2
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= SWIG_Py_Void();
7419 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7420 PyObject
*resultobj
= 0;
7421 wxDialog
*arg1
= (wxDialog
*) 0 ;
7425 PyObject
*swig_obj
[1] ;
7427 if (!args
) SWIG_fail
;
7429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7430 if (!SWIG_IsOK(res1
)) {
7431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7433 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_From_int(static_cast< int >(result
));
7447 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
= 0;
7449 wxDialog
*arg1
= (wxDialog
*) 0 ;
7455 PyObject
* obj0
= 0 ;
7456 PyObject
* obj1
= 0 ;
7457 char * kwnames
[] = {
7458 (char *) "self",(char *) "affirmativeId", NULL
7461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7463 if (!SWIG_IsOK(res1
)) {
7464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7466 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7468 if (!SWIG_IsOK(ecode2
)) {
7469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7471 arg2
= static_cast< int >(val2
);
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 (arg1
)->SetAffirmativeId(arg2
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 resultobj
= SWIG_Py_Void();
7485 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7486 PyObject
*resultobj
= 0;
7487 wxDialog
*arg1
= (wxDialog
*) 0 ;
7491 PyObject
*swig_obj
[1] ;
7493 if (!args
) SWIG_fail
;
7495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7496 if (!SWIG_IsOK(res1
)) {
7497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7499 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= SWIG_From_int(static_cast< int >(result
));
7513 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
= 0;
7515 wxDialog
*arg1
= (wxDialog
*) 0 ;
7521 PyObject
* obj0
= 0 ;
7522 PyObject
* obj1
= 0 ;
7523 char * kwnames
[] = {
7524 (char *) "self",(char *) "escapeId", NULL
7527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7529 if (!SWIG_IsOK(res1
)) {
7530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7532 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7534 if (!SWIG_IsOK(ecode2
)) {
7535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7537 arg2
= static_cast< int >(val2
);
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 (arg1
)->SetEscapeId(arg2
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= SWIG_Py_Void();
7551 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7552 PyObject
*resultobj
= 0;
7553 wxDialog
*arg1
= (wxDialog
*) 0 ;
7557 PyObject
*swig_obj
[1] ;
7559 if (!args
) SWIG_fail
;
7561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7562 if (!SWIG_IsOK(res1
)) {
7563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7565 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= SWIG_From_int(static_cast< int >(result
));
7579 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
= 0;
7581 wxDialog
*arg1
= (wxDialog
*) 0 ;
7582 wxString
*arg2
= 0 ;
7583 wxSizer
*result
= 0 ;
7586 bool temp2
= false ;
7587 PyObject
* obj0
= 0 ;
7588 PyObject
* obj1
= 0 ;
7589 char * kwnames
[] = {
7590 (char *) "self",(char *) "message", NULL
7593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7595 if (!SWIG_IsOK(res1
)) {
7596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7598 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7600 arg2
= wxString_in_helper(obj1
);
7601 if (arg2
== NULL
) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7627 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
= 0;
7629 wxDialog
*arg1
= (wxDialog
*) 0 ;
7631 bool arg3
= (bool) false ;
7632 int arg4
= (int) 0 ;
7633 wxSizer
*result
= 0 ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7644 PyObject
* obj2
= 0 ;
7645 PyObject
* obj3
= 0 ;
7646 char * kwnames
[] = {
7647 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7652 if (!SWIG_IsOK(res1
)) {
7653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7655 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7656 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7657 if (!SWIG_IsOK(ecode2
)) {
7658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7660 arg2
= static_cast< long >(val2
);
7662 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7663 if (!SWIG_IsOK(ecode3
)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7666 arg3
= static_cast< bool >(val3
);
7669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7670 if (!SWIG_IsOK(ecode4
)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7673 arg4
= static_cast< int >(val4
);
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7690 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
= 0;
7692 wxDialog
*arg1
= (wxDialog
*) 0 ;
7694 wxStdDialogButtonSizer
*result
= 0 ;
7699 PyObject
* obj0
= 0 ;
7700 PyObject
* obj1
= 0 ;
7701 char * kwnames
[] = {
7702 (char *) "self",(char *) "flags", NULL
7705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7707 if (!SWIG_IsOK(res1
)) {
7708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7710 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7711 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7712 if (!SWIG_IsOK(ecode2
)) {
7713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7715 arg2
= static_cast< long >(val2
);
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7729 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7730 PyObject
*resultobj
= 0;
7731 wxDialog
*arg1
= (wxDialog
*) 0 ;
7735 PyObject
*swig_obj
[1] ;
7737 if (!args
) SWIG_fail
;
7739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7740 if (!SWIG_IsOK(res1
)) {
7741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7743 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7759 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7760 PyObject
*resultobj
= 0;
7761 wxDialog
*arg1
= (wxDialog
*) 0 ;
7765 PyObject
*swig_obj
[1] ;
7767 if (!args
) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7773 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (int)(arg1
)->ShowModal();
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= SWIG_From_int(static_cast< int >(result
));
7787 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
= 0;
7789 wxDialog
*arg1
= (wxDialog
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7797 char * kwnames
[] = {
7798 (char *) "self",(char *) "retCode", NULL
7801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7803 if (!SWIG_IsOK(res1
)) {
7804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7806 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7808 if (!SWIG_IsOK(ecode2
)) {
7809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7811 arg2
= static_cast< int >(val2
);
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 (arg1
)->EndModal(arg2
);
7815 wxPyEndAllowThreads(__tstate
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= SWIG_Py_Void();
7825 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
= 0;
7827 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7828 SwigValueWrapper
<wxVisualAttributes
> result
;
7831 PyObject
* obj0
= 0 ;
7832 char * kwnames
[] = {
7833 (char *) "variant", NULL
7836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7838 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7839 if (!SWIG_IsOK(ecode1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7842 arg1
= static_cast< wxWindowVariant
>(val1
);
7845 if (!wxPyCheckForApp()) SWIG_fail
;
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7858 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7860 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7861 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7862 return SWIG_Py_Void();
7865 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7866 return SWIG_Python_InitShadowInstance(args
);
7869 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
= 0;
7871 wxWindow
*arg1
= (wxWindow
*) 0 ;
7872 int arg2
= (int) (int)-1 ;
7873 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7874 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7879 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7880 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7882 wxMiniFrame
*result
= 0 ;
7887 bool temp3
= false ;
7892 bool temp7
= false ;
7893 PyObject
* obj0
= 0 ;
7894 PyObject
* obj1
= 0 ;
7895 PyObject
* obj2
= 0 ;
7896 PyObject
* obj3
= 0 ;
7897 PyObject
* obj4
= 0 ;
7898 PyObject
* obj5
= 0 ;
7899 PyObject
* obj6
= 0 ;
7900 char * kwnames
[] = {
7901 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7909 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7912 if (!SWIG_IsOK(ecode2
)) {
7913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7915 arg2
= static_cast< int >(val2
);
7919 arg3
= wxString_in_helper(obj2
);
7920 if (arg3
== NULL
) SWIG_fail
;
7927 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7933 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7937 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7938 if (!SWIG_IsOK(ecode6
)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7941 arg6
= static_cast< long >(val6
);
7945 arg7
= wxString_in_helper(obj6
);
7946 if (arg7
== NULL
) SWIG_fail
;
7951 if (!wxPyCheckForApp()) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7980 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7981 PyObject
*resultobj
= 0;
7982 wxMiniFrame
*result
= 0 ;
7984 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7986 if (!wxPyCheckForApp()) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (wxMiniFrame
*)new wxMiniFrame();
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7999 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
= 0;
8001 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8002 wxWindow
*arg2
= (wxWindow
*) 0 ;
8003 int arg3
= (int) (int)-1 ;
8004 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8005 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8006 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8007 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8008 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8009 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8010 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8011 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8012 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8020 bool temp4
= false ;
8025 bool temp8
= false ;
8026 PyObject
* obj0
= 0 ;
8027 PyObject
* obj1
= 0 ;
8028 PyObject
* obj2
= 0 ;
8029 PyObject
* obj3
= 0 ;
8030 PyObject
* obj4
= 0 ;
8031 PyObject
* obj5
= 0 ;
8032 PyObject
* obj6
= 0 ;
8033 PyObject
* obj7
= 0 ;
8034 char * kwnames
[] = {
8035 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8040 if (!SWIG_IsOK(res1
)) {
8041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8043 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8044 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8045 if (!SWIG_IsOK(res2
)) {
8046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8048 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8051 if (!SWIG_IsOK(ecode3
)) {
8052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8054 arg3
= static_cast< int >(val3
);
8058 arg4
= wxString_in_helper(obj3
);
8059 if (arg4
== NULL
) SWIG_fail
;
8066 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8072 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8076 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8077 if (!SWIG_IsOK(ecode7
)) {
8078 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8080 arg7
= static_cast< long >(val7
);
8084 arg8
= wxString_in_helper(obj7
);
8085 if (arg8
== NULL
) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8120 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8123 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8124 return SWIG_Py_Void();
8127 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8128 return SWIG_Python_InitShadowInstance(args
);
8131 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
= 0;
8133 wxBitmap
*arg1
= 0 ;
8134 wxWindow
*arg2
= (wxWindow
*) 0 ;
8136 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8137 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8138 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8139 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8140 long arg6
= (long) wxNO_BORDER
;
8141 wxSplashScreenWindow
*result
= 0 ;
8152 PyObject
* obj0
= 0 ;
8153 PyObject
* obj1
= 0 ;
8154 PyObject
* obj2
= 0 ;
8155 PyObject
* obj3
= 0 ;
8156 PyObject
* obj4
= 0 ;
8157 PyObject
* obj5
= 0 ;
8158 char * kwnames
[] = {
8159 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8163 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8164 if (!SWIG_IsOK(res1
)) {
8165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8170 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8171 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8172 if (!SWIG_IsOK(res2
)) {
8173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8175 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8177 if (!SWIG_IsOK(ecode3
)) {
8178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8180 arg3
= static_cast< int >(val3
);
8184 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8190 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8194 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8195 if (!SWIG_IsOK(ecode6
)) {
8196 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8198 arg6
= static_cast< long >(val6
);
8201 if (!wxPyCheckForApp()) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8214 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
= 0;
8216 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8217 wxBitmap
*arg2
= 0 ;
8222 PyObject
* obj0
= 0 ;
8223 PyObject
* obj1
= 0 ;
8224 char * kwnames
[] = {
8225 (char *) "self",(char *) "bitmap", NULL
8228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8230 if (!SWIG_IsOK(res1
)) {
8231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8233 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8234 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8235 if (!SWIG_IsOK(res2
)) {
8236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8241 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8244 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_Py_Void();
8255 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8256 PyObject
*resultobj
= 0;
8257 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8258 wxBitmap
*result
= 0 ;
8261 PyObject
*swig_obj
[1] ;
8263 if (!args
) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8269 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8274 result
= (wxBitmap
*) &_result_ref
;
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8280 wxBitmap
* resultptr
= new wxBitmap(*result
);
8281 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8289 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8292 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8293 return SWIG_Py_Void();
8296 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8297 return SWIG_Python_InitShadowInstance(args
);
8300 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
= 0;
8302 wxBitmap
*arg1
= 0 ;
8305 wxWindow
*arg4
= (wxWindow
*) 0 ;
8306 int arg5
= (int) -1 ;
8307 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8308 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8309 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8310 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8311 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8312 wxSplashScreen
*result
= 0 ;
8327 PyObject
* obj0
= 0 ;
8328 PyObject
* obj1
= 0 ;
8329 PyObject
* obj2
= 0 ;
8330 PyObject
* obj3
= 0 ;
8331 PyObject
* obj4
= 0 ;
8332 PyObject
* obj5
= 0 ;
8333 PyObject
* obj6
= 0 ;
8334 PyObject
* obj7
= 0 ;
8335 char * kwnames
[] = {
8336 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8340 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8341 if (!SWIG_IsOK(res1
)) {
8342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8347 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8348 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8349 if (!SWIG_IsOK(ecode2
)) {
8350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8352 arg2
= static_cast< long >(val2
);
8353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8354 if (!SWIG_IsOK(ecode3
)) {
8355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8357 arg3
= static_cast< int >(val3
);
8358 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8359 if (!SWIG_IsOK(res4
)) {
8360 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8362 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8364 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8365 if (!SWIG_IsOK(ecode5
)) {
8366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8368 arg5
= static_cast< int >(val5
);
8373 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8379 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8383 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8384 if (!SWIG_IsOK(ecode8
)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8387 arg8
= static_cast< long >(val8
);
8390 if (!wxPyCheckForApp()) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8403 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8404 PyObject
*resultobj
= 0;
8405 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8409 PyObject
*swig_obj
[1] ;
8411 if (!args
) SWIG_fail
;
8413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8414 if (!SWIG_IsOK(res1
)) {
8415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8417 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= SWIG_From_long(static_cast< long >(result
));
8431 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8432 PyObject
*resultobj
= 0;
8433 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8434 wxSplashScreenWindow
*result
= 0 ;
8437 PyObject
*swig_obj
[1] ;
8439 if (!args
) SWIG_fail
;
8441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8442 if (!SWIG_IsOK(res1
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8445 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8459 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8460 PyObject
*resultobj
= 0;
8461 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8465 PyObject
*swig_obj
[1] ;
8467 if (!args
) SWIG_fail
;
8469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8470 if (!SWIG_IsOK(res1
)) {
8471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8473 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= SWIG_From_int(static_cast< int >(result
));
8487 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8490 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8491 return SWIG_Py_Void();
8494 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8495 return SWIG_Python_InitShadowInstance(args
);
8498 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
= 0;
8500 wxWindow
*arg1
= (wxWindow
*) 0 ;
8501 int arg2
= (int) -1 ;
8502 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8503 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8504 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8505 wxStatusBar
*result
= 0 ;
8512 bool temp4
= false ;
8513 PyObject
* obj0
= 0 ;
8514 PyObject
* obj1
= 0 ;
8515 PyObject
* obj2
= 0 ;
8516 PyObject
* obj3
= 0 ;
8517 char * kwnames
[] = {
8518 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8523 if (!SWIG_IsOK(res1
)) {
8524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8526 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8529 if (!SWIG_IsOK(ecode2
)) {
8530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8532 arg2
= static_cast< int >(val2
);
8535 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8536 if (!SWIG_IsOK(ecode3
)) {
8537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8539 arg3
= static_cast< long >(val3
);
8543 arg4
= wxString_in_helper(obj3
);
8544 if (arg4
== NULL
) SWIG_fail
;
8549 if (!wxPyCheckForApp()) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8570 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8571 PyObject
*resultobj
= 0;
8572 wxStatusBar
*result
= 0 ;
8574 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8576 if (!wxPyCheckForApp()) SWIG_fail
;
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 result
= (wxStatusBar
*)new wxStatusBar();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8589 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
= 0;
8591 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8592 wxWindow
*arg2
= (wxWindow
*) 0 ;
8593 int arg3
= (int) -1 ;
8594 long arg4
= (long) wxST_SIZEGRIP
;
8595 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8596 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8606 bool temp5
= false ;
8607 PyObject
* obj0
= 0 ;
8608 PyObject
* obj1
= 0 ;
8609 PyObject
* obj2
= 0 ;
8610 PyObject
* obj3
= 0 ;
8611 PyObject
* obj4
= 0 ;
8612 char * kwnames
[] = {
8613 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8621 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8623 if (!SWIG_IsOK(res2
)) {
8624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8626 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8629 if (!SWIG_IsOK(ecode3
)) {
8630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8632 arg3
= static_cast< int >(val3
);
8635 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8636 if (!SWIG_IsOK(ecode4
)) {
8637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8639 arg4
= static_cast< long >(val4
);
8643 arg5
= wxString_in_helper(obj4
);
8644 if (arg5
== NULL
) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8671 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
= 0;
8673 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8674 int arg2
= (int) 1 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8681 char * kwnames
[] = {
8682 (char *) "self",(char *) "number", NULL
8685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8687 if (!SWIG_IsOK(res1
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8690 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8693 if (!SWIG_IsOK(ecode2
)) {
8694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8696 arg2
= static_cast< int >(val2
);
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 (arg1
)->SetFieldsCount(arg2
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 resultobj
= SWIG_Py_Void();
8711 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8712 PyObject
*resultobj
= 0;
8713 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8717 PyObject
*swig_obj
[1] ;
8719 if (!args
) SWIG_fail
;
8721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8722 if (!SWIG_IsOK(res1
)) {
8723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8725 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8728 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 resultobj
= SWIG_From_int(static_cast< int >(result
));
8739 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
= 0;
8741 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8742 wxString
*arg2
= 0 ;
8743 int arg3
= (int) 0 ;
8746 bool temp2
= false ;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj1
= 0 ;
8751 PyObject
* obj2
= 0 ;
8752 char * kwnames
[] = {
8753 (char *) "self",(char *) "text",(char *) "number", NULL
8756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8758 if (!SWIG_IsOK(res1
)) {
8759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8761 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8763 arg2
= wxString_in_helper(obj1
);
8764 if (arg2
== NULL
) SWIG_fail
;
8768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8769 if (!SWIG_IsOK(ecode3
)) {
8770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8772 arg3
= static_cast< int >(val3
);
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= SWIG_Py_Void();
8795 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
= 0;
8797 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8798 int arg2
= (int) 0 ;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8806 char * kwnames
[] = {
8807 (char *) "self",(char *) "number", NULL
8810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8812 if (!SWIG_IsOK(res1
)) {
8813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8815 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8818 if (!SWIG_IsOK(ecode2
)) {
8819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8821 arg2
= static_cast< int >(val2
);
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8842 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
= 0;
8844 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8845 wxString
*arg2
= 0 ;
8846 int arg3
= (int) 0 ;
8849 bool temp2
= false ;
8852 PyObject
* obj0
= 0 ;
8853 PyObject
* obj1
= 0 ;
8854 PyObject
* obj2
= 0 ;
8855 char * kwnames
[] = {
8856 (char *) "self",(char *) "text",(char *) "number", NULL
8859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8861 if (!SWIG_IsOK(res1
)) {
8862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8864 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8866 arg2
= wxString_in_helper(obj1
);
8867 if (arg2
== NULL
) SWIG_fail
;
8871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8872 if (!SWIG_IsOK(ecode3
)) {
8873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8875 arg3
= static_cast< int >(val3
);
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 resultobj
= SWIG_Py_Void();
8898 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
= 0;
8900 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8901 int arg2
= (int) 0 ;
8906 PyObject
* obj0
= 0 ;
8907 PyObject
* obj1
= 0 ;
8908 char * kwnames
[] = {
8909 (char *) "self",(char *) "number", NULL
8912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8914 if (!SWIG_IsOK(res1
)) {
8915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8917 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8920 if (!SWIG_IsOK(ecode2
)) {
8921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8923 arg2
= static_cast< int >(val2
);
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 (arg1
)->PopStatusText(arg2
);
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 resultobj
= SWIG_Py_Void();
8938 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8939 PyObject
*resultobj
= 0;
8940 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8942 int *arg3
= (int *) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8947 char * kwnames
[] = {
8948 (char *) "self",(char *) "widths", NULL
8951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8953 if (!SWIG_IsOK(res1
)) {
8954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8956 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8958 arg2
= PyList_Size(obj1
);
8959 arg3
= int_LIST_helper(obj1
);
8960 if (arg3
== NULL
) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= SWIG_Py_Void();
8970 if (arg3
) delete [] arg3
;
8975 if (arg3
) delete [] arg3
;
8981 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
= 0;
8983 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8985 int *arg3
= (int *) 0 ;
8988 PyObject
* obj0
= 0 ;
8989 PyObject
* obj1
= 0 ;
8990 char * kwnames
[] = {
8991 (char *) "self",(char *) "styles", NULL
8994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8996 if (!SWIG_IsOK(res1
)) {
8997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8999 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9001 arg2
= PyList_Size(obj1
);
9002 arg3
= int_LIST_helper(obj1
);
9003 if (arg3
== NULL
) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 resultobj
= SWIG_Py_Void();
9013 if (arg3
) delete [] arg3
;
9018 if (arg3
) delete [] arg3
;
9024 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
= 0;
9026 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9033 PyObject
* obj0
= 0 ;
9034 PyObject
* obj1
= 0 ;
9035 char * kwnames
[] = {
9036 (char *) "self",(char *) "i", NULL
9039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9041 if (!SWIG_IsOK(res1
)) {
9042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9044 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9046 if (!SWIG_IsOK(ecode2
)) {
9047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9049 arg2
= static_cast< int >(val2
);
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9063 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
= 0;
9065 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 char * kwnames
[] = {
9074 (char *) "self",(char *) "height", NULL
9077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9079 if (!SWIG_IsOK(res1
)) {
9080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9082 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9084 if (!SWIG_IsOK(ecode2
)) {
9085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9087 arg2
= static_cast< int >(val2
);
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 (arg1
)->SetMinHeight(arg2
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= SWIG_Py_Void();
9101 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9102 PyObject
*resultobj
= 0;
9103 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9107 PyObject
*swig_obj
[1] ;
9109 if (!args
) SWIG_fail
;
9111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9112 if (!SWIG_IsOK(res1
)) {
9113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9115 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_From_int(static_cast< int >(result
));
9129 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9130 PyObject
*resultobj
= 0;
9131 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9135 PyObject
*swig_obj
[1] ;
9137 if (!args
) SWIG_fail
;
9139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9140 if (!SWIG_IsOK(res1
)) {
9141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9143 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= SWIG_From_int(static_cast< int >(result
));
9157 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
= 0;
9159 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9160 SwigValueWrapper
<wxVisualAttributes
> result
;
9163 PyObject
* obj0
= 0 ;
9164 char * kwnames
[] = {
9165 (char *) "variant", NULL
9168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9170 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9171 if (!SWIG_IsOK(ecode1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9174 arg1
= static_cast< wxWindowVariant
>(val1
);
9177 if (!wxPyCheckForApp()) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9190 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9193 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9194 return SWIG_Py_Void();
9197 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9198 return SWIG_Python_InitShadowInstance(args
);
9201 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9202 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9207 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9208 PyObject
*pyobj
= 0;
9212 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9214 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9221 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
= 0;
9223 wxWindow
*arg1
= (wxWindow
*) 0 ;
9224 int arg2
= (int) -1 ;
9225 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9226 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9227 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9228 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9229 long arg5
= (long) wxSP_3D
;
9230 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9231 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9232 wxSplitterWindow
*result
= 0 ;
9241 bool temp6
= false ;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9244 PyObject
* obj2
= 0 ;
9245 PyObject
* obj3
= 0 ;
9246 PyObject
* obj4
= 0 ;
9247 PyObject
* obj5
= 0 ;
9248 char * kwnames
[] = {
9249 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9254 if (!SWIG_IsOK(res1
)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9257 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9260 if (!SWIG_IsOK(ecode2
)) {
9261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9263 arg2
= static_cast< int >(val2
);
9268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9274 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9278 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9279 if (!SWIG_IsOK(ecode5
)) {
9280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9282 arg5
= static_cast< long >(val5
);
9286 arg6
= wxString_in_helper(obj5
);
9287 if (arg6
== NULL
) SWIG_fail
;
9292 if (!wxPyCheckForApp()) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9313 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9314 PyObject
*resultobj
= 0;
9315 wxSplitterWindow
*result
= 0 ;
9317 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9319 if (!wxPyCheckForApp()) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9332 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
= 0;
9334 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9335 wxWindow
*arg2
= (wxWindow
*) 0 ;
9336 int arg3
= (int) -1 ;
9337 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9338 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9339 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9340 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9341 long arg6
= (long) wxSP_3D
;
9342 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9343 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9355 bool temp7
= false ;
9356 PyObject
* obj0
= 0 ;
9357 PyObject
* obj1
= 0 ;
9358 PyObject
* obj2
= 0 ;
9359 PyObject
* obj3
= 0 ;
9360 PyObject
* obj4
= 0 ;
9361 PyObject
* obj5
= 0 ;
9362 PyObject
* obj6
= 0 ;
9363 char * kwnames
[] = {
9364 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9369 if (!SWIG_IsOK(res1
)) {
9370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9372 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9374 if (!SWIG_IsOK(res2
)) {
9375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9377 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9380 if (!SWIG_IsOK(ecode3
)) {
9381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9383 arg3
= static_cast< int >(val3
);
9388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9398 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9399 if (!SWIG_IsOK(ecode6
)) {
9400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9402 arg6
= static_cast< long >(val6
);
9406 arg7
= wxString_in_helper(obj6
);
9407 if (arg7
== NULL
) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9434 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9435 PyObject
*resultobj
= 0;
9436 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9437 wxWindow
*result
= 0 ;
9440 PyObject
*swig_obj
[1] ;
9442 if (!args
) SWIG_fail
;
9444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9445 if (!SWIG_IsOK(res1
)) {
9446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9448 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= wxPyMake_wxObject(result
, 0);
9464 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9465 PyObject
*resultobj
= 0;
9466 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9467 wxWindow
*result
= 0 ;
9470 PyObject
*swig_obj
[1] ;
9472 if (!args
) SWIG_fail
;
9474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9475 if (!SWIG_IsOK(res1
)) {
9476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9478 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= wxPyMake_wxObject(result
, 0);
9494 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
= 0;
9496 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9502 PyObject
* obj0
= 0 ;
9503 PyObject
* obj1
= 0 ;
9504 char * kwnames
[] = {
9505 (char *) "self",(char *) "mode", NULL
9508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9510 if (!SWIG_IsOK(res1
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9513 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9515 if (!SWIG_IsOK(ecode2
)) {
9516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9518 arg2
= static_cast< int >(val2
);
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 (arg1
)->SetSplitMode(arg2
);
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 resultobj
= SWIG_Py_Void();
9532 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9533 PyObject
*resultobj
= 0;
9534 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9538 PyObject
*swig_obj
[1] ;
9540 if (!args
) SWIG_fail
;
9542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9543 if (!SWIG_IsOK(res1
)) {
9544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9546 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= SWIG_From_int(static_cast< int >(result
));
9560 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
= 0;
9562 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9563 wxWindow
*arg2
= (wxWindow
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9569 PyObject
* obj1
= 0 ;
9570 char * kwnames
[] = {
9571 (char *) "self",(char *) "window", NULL
9574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9576 if (!SWIG_IsOK(res1
)) {
9577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9579 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9580 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9581 if (!SWIG_IsOK(res2
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9584 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 (arg1
)->Initialize(arg2
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= SWIG_Py_Void();
9598 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
= 0;
9600 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9601 wxWindow
*arg2
= (wxWindow
*) 0 ;
9602 wxWindow
*arg3
= (wxWindow
*) 0 ;
9603 int arg4
= (int) 0 ;
9613 PyObject
* obj0
= 0 ;
9614 PyObject
* obj1
= 0 ;
9615 PyObject
* obj2
= 0 ;
9616 PyObject
* obj3
= 0 ;
9617 char * kwnames
[] = {
9618 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9623 if (!SWIG_IsOK(res1
)) {
9624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9626 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9628 if (!SWIG_IsOK(res2
)) {
9629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9631 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9632 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9633 if (!SWIG_IsOK(res3
)) {
9634 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9636 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9639 if (!SWIG_IsOK(ecode4
)) {
9640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9642 arg4
= static_cast< int >(val4
);
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9659 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
= 0;
9661 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9662 wxWindow
*arg2
= (wxWindow
*) 0 ;
9663 wxWindow
*arg3
= (wxWindow
*) 0 ;
9664 int arg4
= (int) 0 ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 PyObject
* obj2
= 0 ;
9677 PyObject
* obj3
= 0 ;
9678 char * kwnames
[] = {
9679 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9684 if (!SWIG_IsOK(res1
)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9687 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9689 if (!SWIG_IsOK(res2
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9692 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9693 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9694 if (!SWIG_IsOK(res3
)) {
9695 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9697 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9700 if (!SWIG_IsOK(ecode4
)) {
9701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9703 arg4
= static_cast< int >(val4
);
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9720 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
= 0;
9722 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9723 wxWindow
*arg2
= (wxWindow
*) NULL
;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9731 char * kwnames
[] = {
9732 (char *) "self",(char *) "toRemove", NULL
9735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9737 if (!SWIG_IsOK(res1
)) {
9738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9740 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9743 if (!SWIG_IsOK(res2
)) {
9744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9746 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (bool)(arg1
)->Unsplit(arg2
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9763 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
= 0;
9765 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9766 wxWindow
*arg2
= (wxWindow
*) 0 ;
9767 wxWindow
*arg3
= (wxWindow
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9776 PyObject
* obj1
= 0 ;
9777 PyObject
* obj2
= 0 ;
9778 char * kwnames
[] = {
9779 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9784 if (!SWIG_IsOK(res1
)) {
9785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9787 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9789 if (!SWIG_IsOK(res2
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9792 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9793 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9794 if (!SWIG_IsOK(res3
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9797 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9813 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9814 PyObject
*resultobj
= 0;
9815 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9818 PyObject
*swig_obj
[1] ;
9820 if (!args
) SWIG_fail
;
9822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9823 if (!SWIG_IsOK(res1
)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9826 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 (arg1
)->UpdateSize();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_Py_Void();
9840 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9841 PyObject
*resultobj
= 0;
9842 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9846 PyObject
*swig_obj
[1] ;
9848 if (!args
) SWIG_fail
;
9850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9851 if (!SWIG_IsOK(res1
)) {
9852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9854 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9870 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
= 0;
9872 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9880 char * kwnames
[] = {
9881 (char *) "self",(char *) "width", NULL
9884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9886 if (!SWIG_IsOK(res1
)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9889 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9891 if (!SWIG_IsOK(ecode2
)) {
9892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9894 arg2
= static_cast< int >(val2
);
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 (arg1
)->SetSashSize(arg2
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_Py_Void();
9908 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
= 0;
9910 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9917 PyObject
* obj1
= 0 ;
9918 char * kwnames
[] = {
9919 (char *) "self",(char *) "width", NULL
9922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9927 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9929 if (!SWIG_IsOK(ecode2
)) {
9930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9932 arg2
= static_cast< int >(val2
);
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 (arg1
)->SetBorderSize(arg2
);
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= SWIG_Py_Void();
9946 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9947 PyObject
*resultobj
= 0;
9948 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9952 PyObject
*swig_obj
[1] ;
9954 if (!args
) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9960 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= SWIG_From_int(static_cast< int >(result
));
9974 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9975 PyObject
*resultobj
= 0;
9976 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9980 PyObject
*swig_obj
[1] ;
9982 if (!args
) SWIG_fail
;
9984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9985 if (!SWIG_IsOK(res1
)) {
9986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9988 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= SWIG_From_int(static_cast< int >(result
));
10002 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
= 0;
10004 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10006 bool arg3
= (bool) true ;
10013 PyObject
* obj0
= 0 ;
10014 PyObject
* obj1
= 0 ;
10015 PyObject
* obj2
= 0 ;
10016 char * kwnames
[] = {
10017 (char *) "self",(char *) "position",(char *) "redraw", NULL
10020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10022 if (!SWIG_IsOK(res1
)) {
10023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10025 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10027 if (!SWIG_IsOK(ecode2
)) {
10028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10030 arg2
= static_cast< int >(val2
);
10032 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10033 if (!SWIG_IsOK(ecode3
)) {
10034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10036 arg3
= static_cast< bool >(val3
);
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 (arg1
)->SetSashPosition(arg2
,arg3
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= SWIG_Py_Void();
10051 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10052 PyObject
*resultobj
= 0;
10053 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10057 PyObject
*swig_obj
[1] ;
10059 if (!args
) SWIG_fail
;
10060 swig_obj
[0] = args
;
10061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10062 if (!SWIG_IsOK(res1
)) {
10063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10065 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= SWIG_From_int(static_cast< int >(result
));
10079 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
= 0;
10081 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 PyObject
* obj1
= 0 ;
10089 char * kwnames
[] = {
10090 (char *) "self",(char *) "gravity", NULL
10093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10095 if (!SWIG_IsOK(res1
)) {
10096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10098 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10099 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10100 if (!SWIG_IsOK(ecode2
)) {
10101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10103 arg2
= static_cast< double >(val2
);
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 (arg1
)->SetSashGravity(arg2
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= SWIG_Py_Void();
10117 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10118 PyObject
*resultobj
= 0;
10119 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10123 PyObject
*swig_obj
[1] ;
10125 if (!args
) SWIG_fail
;
10126 swig_obj
[0] = args
;
10127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10128 if (!SWIG_IsOK(res1
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10131 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_From_double(static_cast< double >(result
));
10145 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(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 *) "min", NULL
10159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",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_SetMinimumPaneSize" "', 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_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10169 arg2
= static_cast< int >(val2
);
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 (arg1
)->SetMinimumPaneSize(arg2
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_Py_Void();
10183 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10184 PyObject
*resultobj
= 0;
10185 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10189 PyObject
*swig_obj
[1] ;
10191 if (!args
) SWIG_fail
;
10192 swig_obj
[0] = args
;
10193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10194 if (!SWIG_IsOK(res1
)) {
10195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10197 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= SWIG_From_int(static_cast< int >(result
));
10211 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
= 0;
10213 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10216 int arg4
= (int) 5 ;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 PyObject
* obj2
= 0 ;
10229 PyObject
* obj3
= 0 ;
10230 char * kwnames
[] = {
10231 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10236 if (!SWIG_IsOK(res1
)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10239 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10241 if (!SWIG_IsOK(ecode2
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10244 arg2
= static_cast< int >(val2
);
10245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10246 if (!SWIG_IsOK(ecode3
)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10249 arg3
= static_cast< int >(val3
);
10251 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10252 if (!SWIG_IsOK(ecode4
)) {
10253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10255 arg4
= static_cast< int >(val4
);
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10272 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10273 PyObject
*resultobj
= 0;
10274 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10277 PyObject
*swig_obj
[1] ;
10279 if (!args
) SWIG_fail
;
10280 swig_obj
[0] = args
;
10281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10282 if (!SWIG_IsOK(res1
)) {
10283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10285 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 (arg1
)->SizeWindows();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= SWIG_Py_Void();
10299 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
= 0;
10301 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10307 PyObject
* obj0
= 0 ;
10308 PyObject
* obj1
= 0 ;
10309 char * kwnames
[] = {
10310 (char *) "self",(char *) "needUpdating", NULL
10313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10315 if (!SWIG_IsOK(res1
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10318 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10319 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10320 if (!SWIG_IsOK(ecode2
)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10323 arg2
= static_cast< bool >(val2
);
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 (arg1
)->SetNeedUpdating(arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= SWIG_Py_Void();
10337 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10338 PyObject
*resultobj
= 0;
10339 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10343 PyObject
*swig_obj
[1] ;
10345 if (!args
) SWIG_fail
;
10346 swig_obj
[0] = args
;
10347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10348 if (!SWIG_IsOK(res1
)) {
10349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10351 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10367 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
= 0;
10369 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10370 SwigValueWrapper
<wxVisualAttributes
> result
;
10373 PyObject
* obj0
= 0 ;
10374 char * kwnames
[] = {
10375 (char *) "variant", NULL
10378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10381 if (!SWIG_IsOK(ecode1
)) {
10382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10384 arg1
= static_cast< wxWindowVariant
>(val1
);
10387 if (!wxPyCheckForApp()) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10400 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10403 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10404 return SWIG_Py_Void();
10407 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10408 return SWIG_Python_InitShadowInstance(args
);
10411 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
= 0;
10413 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10414 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10415 wxSplitterEvent
*result
= 0 ;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 char * kwnames
[] = {
10423 (char *) "type",(char *) "splitter", NULL
10426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10428 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10429 if (!SWIG_IsOK(ecode1
)) {
10430 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10432 arg1
= static_cast< wxEventType
>(val1
);
10435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10436 if (!SWIG_IsOK(res2
)) {
10437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10439 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10454 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
= 0;
10456 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10462 PyObject
* obj0
= 0 ;
10463 PyObject
* obj1
= 0 ;
10464 char * kwnames
[] = {
10465 (char *) "self",(char *) "pos", NULL
10468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10470 if (!SWIG_IsOK(res1
)) {
10471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10473 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10475 if (!SWIG_IsOK(ecode2
)) {
10476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10478 arg2
= static_cast< int >(val2
);
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 (arg1
)->SetSashPosition(arg2
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= SWIG_Py_Void();
10492 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10493 PyObject
*resultobj
= 0;
10494 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10498 PyObject
*swig_obj
[1] ;
10500 if (!args
) SWIG_fail
;
10501 swig_obj
[0] = args
;
10502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10503 if (!SWIG_IsOK(res1
)) {
10504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10506 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_From_int(static_cast< int >(result
));
10520 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10521 PyObject
*resultobj
= 0;
10522 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10523 wxWindow
*result
= 0 ;
10526 PyObject
*swig_obj
[1] ;
10528 if (!args
) SWIG_fail
;
10529 swig_obj
[0] = args
;
10530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10531 if (!SWIG_IsOK(res1
)) {
10532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10534 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= wxPyMake_wxObject(result
, 0);
10550 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10551 PyObject
*resultobj
= 0;
10552 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10556 PyObject
*swig_obj
[1] ;
10558 if (!args
) SWIG_fail
;
10559 swig_obj
[0] = args
;
10560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10564 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_From_int(static_cast< int >(result
));
10578 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10579 PyObject
*resultobj
= 0;
10580 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10584 PyObject
*swig_obj
[1] ;
10586 if (!args
) SWIG_fail
;
10587 swig_obj
[0] = args
;
10588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10589 if (!SWIG_IsOK(res1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10592 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 resultobj
= SWIG_From_int(static_cast< int >(result
));
10606 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10609 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10610 return SWIG_Py_Void();
10613 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10614 return SWIG_Python_InitShadowInstance(args
);
10617 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10618 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10623 SWIGINTERN PyObject
*SashNameStr_get(void) {
10624 PyObject
*pyobj
= 0;
10628 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10630 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10637 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10638 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10643 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10644 PyObject
*pyobj
= 0;
10648 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10650 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10657 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
= 0;
10659 wxWindow
*arg1
= (wxWindow
*) 0 ;
10660 int arg2
= (int) -1 ;
10661 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10662 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10663 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10664 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10665 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10666 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10667 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10668 wxSashWindow
*result
= 0 ;
10677 bool temp6
= false ;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 PyObject
* obj2
= 0 ;
10681 PyObject
* obj3
= 0 ;
10682 PyObject
* obj4
= 0 ;
10683 PyObject
* obj5
= 0 ;
10684 char * kwnames
[] = {
10685 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10690 if (!SWIG_IsOK(res1
)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10693 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10696 if (!SWIG_IsOK(ecode2
)) {
10697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10699 arg2
= static_cast< int >(val2
);
10704 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10710 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10714 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10715 if (!SWIG_IsOK(ecode5
)) {
10716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10718 arg5
= static_cast< long >(val5
);
10722 arg6
= wxString_in_helper(obj5
);
10723 if (arg6
== NULL
) SWIG_fail
;
10728 if (!wxPyCheckForApp()) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10749 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10750 PyObject
*resultobj
= 0;
10751 wxSashWindow
*result
= 0 ;
10753 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10755 if (!wxPyCheckForApp()) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 result
= (wxSashWindow
*)new wxSashWindow();
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10768 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
= 0;
10770 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10771 wxWindow
*arg2
= (wxWindow
*) 0 ;
10772 int arg3
= (int) -1 ;
10773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10777 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10778 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10779 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10791 bool temp7
= false ;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 PyObject
* obj2
= 0 ;
10795 PyObject
* obj3
= 0 ;
10796 PyObject
* obj4
= 0 ;
10797 PyObject
* obj5
= 0 ;
10798 PyObject
* obj6
= 0 ;
10799 char * kwnames
[] = {
10800 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10805 if (!SWIG_IsOK(res1
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10808 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10810 if (!SWIG_IsOK(res2
)) {
10811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10813 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10816 if (!SWIG_IsOK(ecode3
)) {
10817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10819 arg3
= static_cast< int >(val3
);
10824 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10830 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10834 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10835 if (!SWIG_IsOK(ecode6
)) {
10836 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10838 arg6
= static_cast< long >(val6
);
10842 arg7
= wxString_in_helper(obj6
);
10843 if (arg7
== NULL
) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10870 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
= 0;
10872 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10873 wxSashEdgePosition arg2
;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 PyObject
* obj2
= 0 ;
10884 char * kwnames
[] = {
10885 (char *) "self",(char *) "edge",(char *) "sash", NULL
10888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10890 if (!SWIG_IsOK(res1
)) {
10891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10893 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10895 if (!SWIG_IsOK(ecode2
)) {
10896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10898 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10899 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10900 if (!SWIG_IsOK(ecode3
)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10903 arg3
= static_cast< bool >(val3
);
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 (arg1
)->SetSashVisible(arg2
,arg3
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_Py_Void();
10917 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
= 0;
10919 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10920 wxSashEdgePosition arg2
;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 char * kwnames
[] = {
10929 (char *) "self",(char *) "edge", NULL
10932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10934 if (!SWIG_IsOK(res1
)) {
10935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10937 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10939 if (!SWIG_IsOK(ecode2
)) {
10940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10942 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10958 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
= 0;
10960 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10961 wxSashEdgePosition arg2
;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 PyObject
* obj2
= 0 ;
10972 char * kwnames
[] = {
10973 (char *) "self",(char *) "edge",(char *) "border", NULL
10976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10978 if (!SWIG_IsOK(res1
)) {
10979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10981 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10983 if (!SWIG_IsOK(ecode2
)) {
10984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10986 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10987 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10988 if (!SWIG_IsOK(ecode3
)) {
10989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10991 arg3
= static_cast< bool >(val3
);
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 (arg1
)->SetSashBorder(arg2
,arg3
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= SWIG_Py_Void();
11005 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
= 0;
11007 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11008 wxSashEdgePosition arg2
;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 char * kwnames
[] = {
11017 (char *) "self",(char *) "edge", NULL
11020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11022 if (!SWIG_IsOK(res1
)) {
11023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11025 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11027 if (!SWIG_IsOK(ecode2
)) {
11028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11030 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11034 wxPyEndAllowThreads(__tstate
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11046 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
= 0;
11048 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11049 wxSashEdgePosition arg2
;
11055 PyObject
* obj0
= 0 ;
11056 PyObject
* obj1
= 0 ;
11057 char * kwnames
[] = {
11058 (char *) "self",(char *) "edge", NULL
11061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11063 if (!SWIG_IsOK(res1
)) {
11064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11066 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11068 if (!SWIG_IsOK(ecode2
)) {
11069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11071 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= SWIG_From_int(static_cast< int >(result
));
11085 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
= 0;
11087 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 PyObject
* obj1
= 0 ;
11095 char * kwnames
[] = {
11096 (char *) "self",(char *) "width", NULL
11099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11101 if (!SWIG_IsOK(res1
)) {
11102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11104 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11106 if (!SWIG_IsOK(ecode2
)) {
11107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11109 arg2
= static_cast< int >(val2
);
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 (arg1
)->SetDefaultBorderSize(arg2
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 resultobj
= SWIG_Py_Void();
11123 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11124 PyObject
*resultobj
= 0;
11125 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11129 PyObject
*swig_obj
[1] ;
11131 if (!args
) SWIG_fail
;
11132 swig_obj
[0] = args
;
11133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11134 if (!SWIG_IsOK(res1
)) {
11135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11137 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= SWIG_From_int(static_cast< int >(result
));
11151 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
= 0;
11153 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11159 PyObject
* obj0
= 0 ;
11160 PyObject
* obj1
= 0 ;
11161 char * kwnames
[] = {
11162 (char *) "self",(char *) "width", NULL
11165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11167 if (!SWIG_IsOK(res1
)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11170 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11172 if (!SWIG_IsOK(ecode2
)) {
11173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11175 arg2
= static_cast< int >(val2
);
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 (arg1
)->SetExtraBorderSize(arg2
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= SWIG_Py_Void();
11189 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11190 PyObject
*resultobj
= 0;
11191 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11195 PyObject
*swig_obj
[1] ;
11197 if (!args
) SWIG_fail
;
11198 swig_obj
[0] = args
;
11199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11200 if (!SWIG_IsOK(res1
)) {
11201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11203 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= SWIG_From_int(static_cast< int >(result
));
11217 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
= 0;
11219 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11225 PyObject
* obj0
= 0 ;
11226 PyObject
* obj1
= 0 ;
11227 char * kwnames
[] = {
11228 (char *) "self",(char *) "min", NULL
11231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11233 if (!SWIG_IsOK(res1
)) {
11234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11236 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11238 if (!SWIG_IsOK(ecode2
)) {
11239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11241 arg2
= static_cast< int >(val2
);
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 (arg1
)->SetMinimumSizeX(arg2
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= SWIG_Py_Void();
11255 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
= 0;
11257 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11263 PyObject
* obj0
= 0 ;
11264 PyObject
* obj1
= 0 ;
11265 char * kwnames
[] = {
11266 (char *) "self",(char *) "min", NULL
11269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11271 if (!SWIG_IsOK(res1
)) {
11272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11274 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11276 if (!SWIG_IsOK(ecode2
)) {
11277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11279 arg2
= static_cast< int >(val2
);
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 (arg1
)->SetMinimumSizeY(arg2
);
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= SWIG_Py_Void();
11293 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11294 PyObject
*resultobj
= 0;
11295 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11299 PyObject
*swig_obj
[1] ;
11301 if (!args
) SWIG_fail
;
11302 swig_obj
[0] = args
;
11303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11304 if (!SWIG_IsOK(res1
)) {
11305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11307 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= SWIG_From_int(static_cast< int >(result
));
11321 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11322 PyObject
*resultobj
= 0;
11323 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11327 PyObject
*swig_obj
[1] ;
11329 if (!args
) SWIG_fail
;
11330 swig_obj
[0] = args
;
11331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11332 if (!SWIG_IsOK(res1
)) {
11333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11335 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= SWIG_From_int(static_cast< int >(result
));
11349 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
= 0;
11351 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11357 PyObject
* obj0
= 0 ;
11358 PyObject
* obj1
= 0 ;
11359 char * kwnames
[] = {
11360 (char *) "self",(char *) "max", NULL
11363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11365 if (!SWIG_IsOK(res1
)) {
11366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11368 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11370 if (!SWIG_IsOK(ecode2
)) {
11371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11373 arg2
= static_cast< int >(val2
);
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 (arg1
)->SetMaximumSizeX(arg2
);
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11380 resultobj
= SWIG_Py_Void();
11387 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
= 0;
11389 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 char * kwnames
[] = {
11398 (char *) "self",(char *) "max", NULL
11401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11403 if (!SWIG_IsOK(res1
)) {
11404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11406 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11408 if (!SWIG_IsOK(ecode2
)) {
11409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11411 arg2
= static_cast< int >(val2
);
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 (arg1
)->SetMaximumSizeY(arg2
);
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_Py_Void();
11425 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11426 PyObject
*resultobj
= 0;
11427 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11431 PyObject
*swig_obj
[1] ;
11433 if (!args
) SWIG_fail
;
11434 swig_obj
[0] = args
;
11435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11436 if (!SWIG_IsOK(res1
)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11439 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_From_int(static_cast< int >(result
));
11453 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11454 PyObject
*resultobj
= 0;
11455 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11459 PyObject
*swig_obj
[1] ;
11461 if (!args
) SWIG_fail
;
11462 swig_obj
[0] = args
;
11463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11467 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= SWIG_From_int(static_cast< int >(result
));
11481 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
= 0;
11483 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11486 int arg4
= (int) 2 ;
11487 wxSashEdgePosition result
;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 PyObject
* obj2
= 0 ;
11499 PyObject
* obj3
= 0 ;
11500 char * kwnames
[] = {
11501 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11506 if (!SWIG_IsOK(res1
)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11509 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11511 if (!SWIG_IsOK(ecode2
)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11514 arg2
= static_cast< int >(val2
);
11515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11516 if (!SWIG_IsOK(ecode3
)) {
11517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11519 arg3
= static_cast< int >(val3
);
11521 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11522 if (!SWIG_IsOK(ecode4
)) {
11523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11525 arg4
= static_cast< int >(val4
);
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= SWIG_From_int(static_cast< int >(result
));
11540 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11541 PyObject
*resultobj
= 0;
11542 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11545 PyObject
*swig_obj
[1] ;
11547 if (!args
) SWIG_fail
;
11548 swig_obj
[0] = args
;
11549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11550 if (!SWIG_IsOK(res1
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11553 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 (arg1
)->SizeWindows();
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_Py_Void();
11567 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11570 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11571 return SWIG_Py_Void();
11574 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11575 return SWIG_Python_InitShadowInstance(args
);
11578 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
= 0;
11580 int arg1
= (int) 0 ;
11581 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11582 wxSashEvent
*result
= 0 ;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 char * kwnames
[] = {
11590 (char *) "id",(char *) "edge", NULL
11593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11595 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11596 if (!SWIG_IsOK(ecode1
)) {
11597 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11599 arg1
= static_cast< int >(val1
);
11602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11603 if (!SWIG_IsOK(ecode2
)) {
11604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11606 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11621 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
= 0;
11623 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11624 wxSashEdgePosition arg2
;
11629 PyObject
* obj0
= 0 ;
11630 PyObject
* obj1
= 0 ;
11631 char * kwnames
[] = {
11632 (char *) "self",(char *) "edge", NULL
11635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11637 if (!SWIG_IsOK(res1
)) {
11638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11640 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11642 if (!SWIG_IsOK(ecode2
)) {
11643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11645 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 (arg1
)->SetEdge(arg2
);
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 resultobj
= SWIG_Py_Void();
11659 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11660 PyObject
*resultobj
= 0;
11661 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11662 wxSashEdgePosition result
;
11665 PyObject
*swig_obj
[1] ;
11667 if (!args
) SWIG_fail
;
11668 swig_obj
[0] = args
;
11669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11670 if (!SWIG_IsOK(res1
)) {
11671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11673 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= SWIG_From_int(static_cast< int >(result
));
11687 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
= 0;
11689 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11694 PyObject
* obj0
= 0 ;
11695 PyObject
* obj1
= 0 ;
11696 char * kwnames
[] = {
11697 (char *) "self",(char *) "rect", NULL
11700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11702 if (!SWIG_IsOK(res1
)) {
11703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11705 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11708 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_Py_Void();
11723 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11724 PyObject
*resultobj
= 0;
11725 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11729 PyObject
*swig_obj
[1] ;
11731 if (!args
) SWIG_fail
;
11732 swig_obj
[0] = args
;
11733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11734 if (!SWIG_IsOK(res1
)) {
11735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11737 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11751 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
= 0;
11753 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11754 wxSashDragStatus arg2
;
11759 PyObject
* obj0
= 0 ;
11760 PyObject
* obj1
= 0 ;
11761 char * kwnames
[] = {
11762 (char *) "self",(char *) "status", NULL
11765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11767 if (!SWIG_IsOK(res1
)) {
11768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11770 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11772 if (!SWIG_IsOK(ecode2
)) {
11773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11775 arg2
= static_cast< wxSashDragStatus
>(val2
);
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 (arg1
)->SetDragStatus(arg2
);
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= SWIG_Py_Void();
11789 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11790 PyObject
*resultobj
= 0;
11791 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11792 wxSashDragStatus result
;
11795 PyObject
*swig_obj
[1] ;
11797 if (!args
) SWIG_fail
;
11798 swig_obj
[0] = args
;
11799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11800 if (!SWIG_IsOK(res1
)) {
11801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11803 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= SWIG_From_int(static_cast< int >(result
));
11817 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11820 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11821 return SWIG_Py_Void();
11824 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11825 return SWIG_Python_InitShadowInstance(args
);
11828 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
= 0;
11830 int arg1
= (int) 0 ;
11831 wxQueryLayoutInfoEvent
*result
= 0 ;
11834 PyObject
* obj0
= 0 ;
11835 char * kwnames
[] = {
11836 (char *) "id", NULL
11839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11841 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11842 if (!SWIG_IsOK(ecode1
)) {
11843 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11845 arg1
= static_cast< int >(val1
);
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11860 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
= 0;
11862 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11868 PyObject
* obj0
= 0 ;
11869 PyObject
* obj1
= 0 ;
11870 char * kwnames
[] = {
11871 (char *) "self",(char *) "length", NULL
11874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11876 if (!SWIG_IsOK(res1
)) {
11877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11879 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11881 if (!SWIG_IsOK(ecode2
)) {
11882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11884 arg2
= static_cast< int >(val2
);
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 (arg1
)->SetRequestedLength(arg2
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 resultobj
= SWIG_Py_Void();
11898 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11899 PyObject
*resultobj
= 0;
11900 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11904 PyObject
*swig_obj
[1] ;
11906 if (!args
) SWIG_fail
;
11907 swig_obj
[0] = args
;
11908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11909 if (!SWIG_IsOK(res1
)) {
11910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11912 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= SWIG_From_int(static_cast< int >(result
));
11926 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
= 0;
11928 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11934 PyObject
* obj0
= 0 ;
11935 PyObject
* obj1
= 0 ;
11936 char * kwnames
[] = {
11937 (char *) "self",(char *) "flags", NULL
11940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11942 if (!SWIG_IsOK(res1
)) {
11943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11945 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11947 if (!SWIG_IsOK(ecode2
)) {
11948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11950 arg2
= static_cast< int >(val2
);
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 (arg1
)->SetFlags(arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= SWIG_Py_Void();
11964 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11965 PyObject
*resultobj
= 0;
11966 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11970 PyObject
*swig_obj
[1] ;
11972 if (!args
) SWIG_fail
;
11973 swig_obj
[0] = args
;
11974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11975 if (!SWIG_IsOK(res1
)) {
11976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11978 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_From_int(static_cast< int >(result
));
11992 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
= 0;
11994 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 char * kwnames
[] = {
12002 (char *) "self",(char *) "size", NULL
12005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12007 if (!SWIG_IsOK(res1
)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12010 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12013 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 (arg1
)->SetSize((wxSize
const &)*arg2
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= SWIG_Py_Void();
12028 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12029 PyObject
*resultobj
= 0;
12030 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12034 PyObject
*swig_obj
[1] ;
12036 if (!args
) SWIG_fail
;
12037 swig_obj
[0] = args
;
12038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12039 if (!SWIG_IsOK(res1
)) {
12040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12042 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12056 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
= 0;
12058 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12059 wxLayoutOrientation arg2
;
12064 PyObject
* obj0
= 0 ;
12065 PyObject
* obj1
= 0 ;
12066 char * kwnames
[] = {
12067 (char *) "self",(char *) "orient", NULL
12070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12072 if (!SWIG_IsOK(res1
)) {
12073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12075 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12077 if (!SWIG_IsOK(ecode2
)) {
12078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12080 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 (arg1
)->SetOrientation(arg2
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12087 resultobj
= SWIG_Py_Void();
12094 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12095 PyObject
*resultobj
= 0;
12096 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12097 wxLayoutOrientation result
;
12100 PyObject
*swig_obj
[1] ;
12102 if (!args
) SWIG_fail
;
12103 swig_obj
[0] = args
;
12104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12105 if (!SWIG_IsOK(res1
)) {
12106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12108 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= SWIG_From_int(static_cast< int >(result
));
12122 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
= 0;
12124 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12125 wxLayoutAlignment arg2
;
12130 PyObject
* obj0
= 0 ;
12131 PyObject
* obj1
= 0 ;
12132 char * kwnames
[] = {
12133 (char *) "self",(char *) "align", NULL
12136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12138 if (!SWIG_IsOK(res1
)) {
12139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12141 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12143 if (!SWIG_IsOK(ecode2
)) {
12144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12146 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 (arg1
)->SetAlignment(arg2
);
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= SWIG_Py_Void();
12160 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12161 PyObject
*resultobj
= 0;
12162 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12163 wxLayoutAlignment result
;
12166 PyObject
*swig_obj
[1] ;
12168 if (!args
) SWIG_fail
;
12169 swig_obj
[0] = args
;
12170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12171 if (!SWIG_IsOK(res1
)) {
12172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12174 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 resultobj
= SWIG_From_int(static_cast< int >(result
));
12188 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12191 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12192 return SWIG_Py_Void();
12195 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12196 return SWIG_Python_InitShadowInstance(args
);
12199 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
= 0;
12201 int arg1
= (int) 0 ;
12202 wxCalculateLayoutEvent
*result
= 0 ;
12205 PyObject
* obj0
= 0 ;
12206 char * kwnames
[] = {
12207 (char *) "id", NULL
12210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12212 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12213 if (!SWIG_IsOK(ecode1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12216 arg1
= static_cast< int >(val1
);
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12231 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
= 0;
12233 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 PyObject
* obj1
= 0 ;
12241 char * kwnames
[] = {
12242 (char *) "self",(char *) "flags", NULL
12245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12247 if (!SWIG_IsOK(res1
)) {
12248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12250 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12252 if (!SWIG_IsOK(ecode2
)) {
12253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12255 arg2
= static_cast< int >(val2
);
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 (arg1
)->SetFlags(arg2
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= SWIG_Py_Void();
12269 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12283 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= SWIG_From_int(static_cast< int >(result
));
12297 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
= 0;
12299 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12304 PyObject
* obj0
= 0 ;
12305 PyObject
* obj1
= 0 ;
12306 char * kwnames
[] = {
12307 (char *) "self",(char *) "rect", NULL
12310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12312 if (!SWIG_IsOK(res1
)) {
12313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12315 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12318 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 (arg1
)->SetRect((wxRect
const &)*arg2
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_Py_Void();
12333 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12334 PyObject
*resultobj
= 0;
12335 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12339 PyObject
*swig_obj
[1] ;
12341 if (!args
) SWIG_fail
;
12342 swig_obj
[0] = args
;
12343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12344 if (!SWIG_IsOK(res1
)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12347 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12361 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12364 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12365 return SWIG_Py_Void();
12368 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12369 return SWIG_Python_InitShadowInstance(args
);
12372 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
= 0;
12374 wxWindow
*arg1
= (wxWindow
*) 0 ;
12375 int arg2
= (int) -1 ;
12376 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12377 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12378 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12379 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12380 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12381 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12382 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12383 wxSashLayoutWindow
*result
= 0 ;
12392 bool temp6
= false ;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 PyObject
* obj2
= 0 ;
12396 PyObject
* obj3
= 0 ;
12397 PyObject
* obj4
= 0 ;
12398 PyObject
* obj5
= 0 ;
12399 char * kwnames
[] = {
12400 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12405 if (!SWIG_IsOK(res1
)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12408 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12411 if (!SWIG_IsOK(ecode2
)) {
12412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12414 arg2
= static_cast< int >(val2
);
12419 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12425 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12429 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12430 if (!SWIG_IsOK(ecode5
)) {
12431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12433 arg5
= static_cast< long >(val5
);
12437 arg6
= wxString_in_helper(obj5
);
12438 if (arg6
== NULL
) SWIG_fail
;
12443 if (!wxPyCheckForApp()) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12464 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12465 PyObject
*resultobj
= 0;
12466 wxSashLayoutWindow
*result
= 0 ;
12468 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12470 if (!wxPyCheckForApp()) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12483 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
= 0;
12485 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12486 wxWindow
*arg2
= (wxWindow
*) 0 ;
12487 int arg3
= (int) -1 ;
12488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12492 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12493 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12494 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12506 bool temp7
= false ;
12507 PyObject
* obj0
= 0 ;
12508 PyObject
* obj1
= 0 ;
12509 PyObject
* obj2
= 0 ;
12510 PyObject
* obj3
= 0 ;
12511 PyObject
* obj4
= 0 ;
12512 PyObject
* obj5
= 0 ;
12513 PyObject
* obj6
= 0 ;
12514 char * kwnames
[] = {
12515 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12520 if (!SWIG_IsOK(res1
)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12523 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12524 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12525 if (!SWIG_IsOK(res2
)) {
12526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12528 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12531 if (!SWIG_IsOK(ecode3
)) {
12532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12534 arg3
= static_cast< int >(val3
);
12539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12549 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12550 if (!SWIG_IsOK(ecode6
)) {
12551 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12553 arg6
= static_cast< long >(val6
);
12557 arg7
= wxString_in_helper(obj6
);
12558 if (arg7
== NULL
) SWIG_fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12585 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12586 PyObject
*resultobj
= 0;
12587 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12588 wxLayoutAlignment result
;
12591 PyObject
*swig_obj
[1] ;
12593 if (!args
) SWIG_fail
;
12594 swig_obj
[0] = args
;
12595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12596 if (!SWIG_IsOK(res1
)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12599 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= SWIG_From_int(static_cast< int >(result
));
12613 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12614 PyObject
*resultobj
= 0;
12615 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12616 wxLayoutOrientation result
;
12619 PyObject
*swig_obj
[1] ;
12621 if (!args
) SWIG_fail
;
12622 swig_obj
[0] = args
;
12623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12627 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= SWIG_From_int(static_cast< int >(result
));
12641 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
= 0;
12643 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12644 wxLayoutAlignment arg2
;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 char * kwnames
[] = {
12652 (char *) "self",(char *) "alignment", NULL
12655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12657 if (!SWIG_IsOK(res1
)) {
12658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12660 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12662 if (!SWIG_IsOK(ecode2
)) {
12663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12665 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 (arg1
)->SetAlignment(arg2
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= SWIG_Py_Void();
12679 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
= 0;
12681 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 char * kwnames
[] = {
12689 (char *) "self",(char *) "size", NULL
12692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12694 if (!SWIG_IsOK(res1
)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12697 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12700 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 resultobj
= SWIG_Py_Void();
12715 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
= 0;
12717 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12718 wxLayoutOrientation arg2
;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12725 char * kwnames
[] = {
12726 (char *) "self",(char *) "orientation", NULL
12729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12731 if (!SWIG_IsOK(res1
)) {
12732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12734 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12736 if (!SWIG_IsOK(ecode2
)) {
12737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12739 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 (arg1
)->SetOrientation(arg2
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_Py_Void();
12753 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12756 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12757 return SWIG_Py_Void();
12760 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12761 return SWIG_Python_InitShadowInstance(args
);
12764 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12765 PyObject
*resultobj
= 0;
12766 wxLayoutAlgorithm
*result
= 0 ;
12768 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12782 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12783 PyObject
*resultobj
= 0;
12784 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12787 PyObject
*swig_obj
[1] ;
12789 if (!args
) SWIG_fail
;
12790 swig_obj
[0] = args
;
12791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12792 if (!SWIG_IsOK(res1
)) {
12793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12795 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= SWIG_Py_Void();
12810 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
= 0;
12812 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12813 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12814 wxRect
*arg3
= (wxRect
*) NULL
;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 PyObject
* obj2
= 0 ;
12825 char * kwnames
[] = {
12826 (char *) "self",(char *) "frame",(char *) "rect", NULL
12829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12831 if (!SWIG_IsOK(res1
)) {
12832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12834 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12836 if (!SWIG_IsOK(res2
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12839 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12841 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12842 if (!SWIG_IsOK(res3
)) {
12843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12845 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12862 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
= 0;
12864 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12865 wxFrame
*arg2
= (wxFrame
*) 0 ;
12866 wxWindow
*arg3
= (wxWindow
*) NULL
;
12874 PyObject
* obj0
= 0 ;
12875 PyObject
* obj1
= 0 ;
12876 PyObject
* obj2
= 0 ;
12877 char * kwnames
[] = {
12878 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12883 if (!SWIG_IsOK(res1
)) {
12884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12886 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12887 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12888 if (!SWIG_IsOK(res2
)) {
12889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12891 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12893 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12894 if (!SWIG_IsOK(res3
)) {
12895 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12897 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12914 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
= 0;
12916 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12917 wxWindow
*arg2
= (wxWindow
*) 0 ;
12918 wxWindow
*arg3
= (wxWindow
*) NULL
;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 PyObject
* obj2
= 0 ;
12929 char * kwnames
[] = {
12930 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12935 if (!SWIG_IsOK(res1
)) {
12936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12938 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12940 if (!SWIG_IsOK(res2
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12945 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12946 if (!SWIG_IsOK(res3
)) {
12947 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12949 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12966 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12969 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12970 return SWIG_Py_Void();
12973 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12974 return SWIG_Python_InitShadowInstance(args
);
12977 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12978 PyObject
*resultobj
= 0;
12979 wxWindow
*arg1
= (wxWindow
*) 0 ;
12980 int arg2
= (int) wxBORDER_NONE
;
12981 wxPopupWindow
*result
= 0 ;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 char * kwnames
[] = {
12989 (char *) "parent",(char *) "flags", NULL
12992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13000 if (!SWIG_IsOK(ecode2
)) {
13001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13003 arg2
= static_cast< int >(val2
);
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13018 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13019 PyObject
*resultobj
= 0;
13020 wxPopupWindow
*result
= 0 ;
13022 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (wxPopupWindow
*)new wxPopupWindow();
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13036 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13039 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13040 return SWIG_Py_Void();
13043 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13044 return SWIG_Python_InitShadowInstance(args
);
13047 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
= 0;
13049 wxWindow
*arg1
= (wxWindow
*) 0 ;
13050 int arg2
= (int) wxBORDER_NONE
;
13051 wxPyPopupTransientWindow
*result
= 0 ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char * kwnames
[] = {
13059 (char *) "parent",(char *) "style", NULL
13062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13064 if (!SWIG_IsOK(res1
)) {
13065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13067 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13070 if (!SWIG_IsOK(ecode2
)) {
13071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13073 arg2
= static_cast< int >(val2
);
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13088 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13089 PyObject
*resultobj
= 0;
13090 wxPyPopupTransientWindow
*result
= 0 ;
13092 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13106 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13109 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13110 return SWIG_Py_Void();
13113 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13114 return SWIG_Python_InitShadowInstance(args
);
13117 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
= 0;
13119 wxWindow
*arg1
= (wxWindow
*) 0 ;
13120 wxString
*arg2
= 0 ;
13121 int arg3
= (int) 100 ;
13122 wxRect
*arg4
= (wxRect
*) NULL
;
13123 wxTipWindow
*result
= 0 ;
13126 bool temp2
= false ;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 PyObject
* obj2
= 0 ;
13134 PyObject
* obj3
= 0 ;
13135 char * kwnames
[] = {
13136 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13144 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13146 arg2
= wxString_in_helper(obj1
);
13147 if (arg2
== NULL
) SWIG_fail
;
13151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13152 if (!SWIG_IsOK(ecode3
)) {
13153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13155 arg3
= static_cast< int >(val3
);
13158 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13159 if (!SWIG_IsOK(res4
)) {
13160 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13162 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13165 if (!wxPyCheckForApp()) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13186 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
= 0;
13188 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 char * kwnames
[] = {
13196 (char *) "self",(char *) "rectBound", NULL
13199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13201 if (!SWIG_IsOK(res1
)) {
13202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13204 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13207 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_Py_Void();
13222 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13223 PyObject
*resultobj
= 0;
13224 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13227 PyObject
*swig_obj
[1] ;
13229 if (!args
) SWIG_fail
;
13230 swig_obj
[0] = args
;
13231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13232 if (!SWIG_IsOK(res1
)) {
13233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13235 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= SWIG_Py_Void();
13249 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13252 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13253 return SWIG_Py_Void();
13256 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13257 return SWIG_Python_InitShadowInstance(args
);
13260 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
= 0;
13262 wxWindow
*arg1
= (wxWindow
*) 0 ;
13263 int arg2
= (int) wxID_ANY
;
13264 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13265 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13266 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13267 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13268 long arg5
= (long) 0 ;
13269 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13270 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13271 wxPyVScrolledWindow
*result
= 0 ;
13280 bool temp6
= false ;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 PyObject
* obj2
= 0 ;
13284 PyObject
* obj3
= 0 ;
13285 PyObject
* obj4
= 0 ;
13286 PyObject
* obj5
= 0 ;
13287 char * kwnames
[] = {
13288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13293 if (!SWIG_IsOK(res1
)) {
13294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13296 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13299 if (!SWIG_IsOK(ecode2
)) {
13300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13302 arg2
= static_cast< int >(val2
);
13307 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13313 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13317 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13318 if (!SWIG_IsOK(ecode5
)) {
13319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13321 arg5
= static_cast< long >(val5
);
13325 arg6
= wxString_in_helper(obj5
);
13326 if (arg6
== NULL
) SWIG_fail
;
13331 if (!wxPyCheckForApp()) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13352 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 PyObject
*resultobj
= 0;
13354 wxPyVScrolledWindow
*result
= 0 ;
13356 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13358 if (!wxPyCheckForApp()) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13371 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
= 0;
13373 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13374 PyObject
*arg2
= (PyObject
*) 0 ;
13375 PyObject
*arg3
= (PyObject
*) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 PyObject
* obj1
= 0 ;
13380 PyObject
* obj2
= 0 ;
13381 char * kwnames
[] = {
13382 (char *) "self",(char *) "self",(char *) "_class", NULL
13385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13387 if (!SWIG_IsOK(res1
)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13390 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_Py_Void();
13406 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
= 0;
13408 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13409 wxWindow
*arg2
= (wxWindow
*) 0 ;
13410 int arg3
= (int) wxID_ANY
;
13411 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13412 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13413 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13414 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13415 long arg6
= (long) 0 ;
13416 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13417 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13429 bool temp7
= false ;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 PyObject
* obj2
= 0 ;
13433 PyObject
* obj3
= 0 ;
13434 PyObject
* obj4
= 0 ;
13435 PyObject
* obj5
= 0 ;
13436 PyObject
* obj6
= 0 ;
13437 char * kwnames
[] = {
13438 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13443 if (!SWIG_IsOK(res1
)) {
13444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13446 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13448 if (!SWIG_IsOK(res2
)) {
13449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13451 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13454 if (!SWIG_IsOK(ecode3
)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13457 arg3
= static_cast< int >(val3
);
13462 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13468 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13472 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13473 if (!SWIG_IsOK(ecode6
)) {
13474 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13476 arg6
= static_cast< long >(val6
);
13480 arg7
= wxString_in_helper(obj6
);
13481 if (arg7
== NULL
) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13508 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
= 0;
13510 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13516 PyObject
* obj0
= 0 ;
13517 PyObject
* obj1
= 0 ;
13518 char * kwnames
[] = {
13519 (char *) "self",(char *) "count", NULL
13522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13527 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13528 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13529 if (!SWIG_IsOK(ecode2
)) {
13530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13532 arg2
= static_cast< size_t >(val2
);
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 (arg1
)->SetLineCount(arg2
);
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= SWIG_Py_Void();
13546 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
= 0;
13548 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char * kwnames
[] = {
13558 (char *) "self",(char *) "line", NULL
13561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13563 if (!SWIG_IsOK(res1
)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13566 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13567 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13568 if (!SWIG_IsOK(ecode2
)) {
13569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13571 arg2
= static_cast< size_t >(val2
);
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13587 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
= 0;
13589 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13595 PyObject
* obj0
= 0 ;
13596 PyObject
* obj1
= 0 ;
13597 char * kwnames
[] = {
13598 (char *) "self",(char *) "line", NULL
13601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13603 if (!SWIG_IsOK(res1
)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13606 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13607 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13608 if (!SWIG_IsOK(ecode2
)) {
13609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13611 arg2
= static_cast< size_t >(val2
);
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 (arg1
)->RefreshLine(arg2
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= SWIG_Py_Void();
13625 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
= 0;
13627 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 PyObject
* obj2
= 0 ;
13639 char * kwnames
[] = {
13640 (char *) "self",(char *) "from",(char *) "to", NULL
13643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13645 if (!SWIG_IsOK(res1
)) {
13646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13648 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13649 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13650 if (!SWIG_IsOK(ecode2
)) {
13651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13653 arg2
= static_cast< size_t >(val2
);
13654 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13655 if (!SWIG_IsOK(ecode3
)) {
13656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13658 arg3
= static_cast< size_t >(val3
);
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 (arg1
)->RefreshLines(arg2
,arg3
);
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= SWIG_Py_Void();
13672 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
= 0;
13674 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 PyObject
* obj2
= 0 ;
13687 char * kwnames
[] = {
13688 (char *) "self",(char *) "x",(char *) "y", NULL
13691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13693 if (!SWIG_IsOK(res1
)) {
13694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13696 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13698 if (!SWIG_IsOK(ecode2
)) {
13699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13701 arg2
= static_cast< int >(val2
);
13702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13703 if (!SWIG_IsOK(ecode3
)) {
13704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13706 arg3
= static_cast< int >(val3
);
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_From_int(static_cast< int >(result
));
13720 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
= 0;
13722 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13723 wxPoint
*arg2
= 0 ;
13728 PyObject
* obj0
= 0 ;
13729 PyObject
* obj1
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "self",(char *) "pt", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13736 if (!SWIG_IsOK(res1
)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13739 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13742 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= SWIG_From_int(static_cast< int >(result
));
13757 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13758 PyObject
*resultobj
= 0;
13759 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13762 PyObject
*swig_obj
[1] ;
13764 if (!args
) SWIG_fail
;
13765 swig_obj
[0] = args
;
13766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13767 if (!SWIG_IsOK(res1
)) {
13768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13770 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 (arg1
)->RefreshAll();
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_Py_Void();
13784 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13785 PyObject
*resultobj
= 0;
13786 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13790 PyObject
*swig_obj
[1] ;
13792 if (!args
) SWIG_fail
;
13793 swig_obj
[0] = args
;
13794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13795 if (!SWIG_IsOK(res1
)) {
13796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13798 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13812 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13813 PyObject
*resultobj
= 0;
13814 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13818 PyObject
*swig_obj
[1] ;
13820 if (!args
) SWIG_fail
;
13821 swig_obj
[0] = args
;
13822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13823 if (!SWIG_IsOK(res1
)) {
13824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13826 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13840 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13841 PyObject
*resultobj
= 0;
13842 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13846 PyObject
*swig_obj
[1] ;
13848 if (!args
) SWIG_fail
;
13849 swig_obj
[0] = args
;
13850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13851 if (!SWIG_IsOK(res1
)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13854 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13868 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
= 0;
13870 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13877 PyObject
* obj0
= 0 ;
13878 PyObject
* obj1
= 0 ;
13879 char * kwnames
[] = {
13880 (char *) "self",(char *) "line", NULL
13883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13885 if (!SWIG_IsOK(res1
)) {
13886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13888 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13889 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13890 if (!SWIG_IsOK(ecode2
)) {
13891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13893 arg2
= static_cast< size_t >(val2
);
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13909 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13910 PyObject
*resultobj
= 0;
13911 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13915 PyObject
*swig_obj
[1] ;
13917 if (!args
) SWIG_fail
;
13918 swig_obj
[0] = args
;
13919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13920 if (!SWIG_IsOK(res1
)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13923 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13937 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13938 PyObject
*resultobj
= 0;
13939 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13943 PyObject
*swig_obj
[1] ;
13945 if (!args
) SWIG_fail
;
13946 swig_obj
[0] = args
;
13947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13948 if (!SWIG_IsOK(res1
)) {
13949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13951 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13965 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
= 0;
13967 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13969 bool arg3
= (bool) false ;
13977 PyObject
* obj0
= 0 ;
13978 PyObject
* obj1
= 0 ;
13979 PyObject
* obj2
= 0 ;
13980 char * kwnames
[] = {
13981 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13986 if (!SWIG_IsOK(res1
)) {
13987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13989 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13990 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13991 if (!SWIG_IsOK(ecode2
)) {
13992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13994 arg2
= static_cast< size_t >(val2
);
13996 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13997 if (!SWIG_IsOK(ecode3
)) {
13998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14000 arg3
= static_cast< bool >(val3
);
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14015 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
= 0;
14017 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 PyObject
* obj2
= 0 ;
14030 char * kwnames
[] = {
14031 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14036 if (!SWIG_IsOK(res1
)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14039 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14040 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14041 if (!SWIG_IsOK(ecode2
)) {
14042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14044 arg2
= static_cast< size_t >(val2
);
14045 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14046 if (!SWIG_IsOK(ecode3
)) {
14047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14049 arg3
= static_cast< size_t >(val3
);
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= SWIG_From_int(static_cast< int >(result
));
14063 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14067 return SWIG_Py_Void();
14070 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14071 return SWIG_Python_InitShadowInstance(args
);
14074 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14075 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14080 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14081 PyObject
*pyobj
= 0;
14085 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14087 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14094 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
= 0;
14096 wxWindow
*arg1
= (wxWindow
*) 0 ;
14097 int arg2
= (int) wxID_ANY
;
14098 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14099 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14100 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14101 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14102 long arg5
= (long) 0 ;
14103 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14104 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14105 wxPyVListBox
*result
= 0 ;
14114 bool temp6
= false ;
14115 PyObject
* obj0
= 0 ;
14116 PyObject
* obj1
= 0 ;
14117 PyObject
* obj2
= 0 ;
14118 PyObject
* obj3
= 0 ;
14119 PyObject
* obj4
= 0 ;
14120 PyObject
* obj5
= 0 ;
14121 char * kwnames
[] = {
14122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14127 if (!SWIG_IsOK(res1
)) {
14128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14133 if (!SWIG_IsOK(ecode2
)) {
14134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14136 arg2
= static_cast< int >(val2
);
14141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14147 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14151 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14152 if (!SWIG_IsOK(ecode5
)) {
14153 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14155 arg5
= static_cast< long >(val5
);
14159 arg6
= wxString_in_helper(obj5
);
14160 if (arg6
== NULL
) SWIG_fail
;
14165 if (!wxPyCheckForApp()) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14186 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14187 PyObject
*resultobj
= 0;
14188 wxPyVListBox
*result
= 0 ;
14190 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14192 if (!wxPyCheckForApp()) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (wxPyVListBox
*)new wxPyVListBox();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14205 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
= 0;
14207 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14208 PyObject
*arg2
= (PyObject
*) 0 ;
14209 PyObject
*arg3
= (PyObject
*) 0 ;
14212 PyObject
* obj0
= 0 ;
14213 PyObject
* obj1
= 0 ;
14214 PyObject
* obj2
= 0 ;
14215 char * kwnames
[] = {
14216 (char *) "self",(char *) "self",(char *) "_class", NULL
14219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14221 if (!SWIG_IsOK(res1
)) {
14222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14224 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= SWIG_Py_Void();
14240 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14241 PyObject
*resultobj
= 0;
14242 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14243 wxWindow
*arg2
= (wxWindow
*) 0 ;
14244 int arg3
= (int) wxID_ANY
;
14245 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14246 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14247 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14248 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14249 long arg6
= (long) 0 ;
14250 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14251 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14263 bool temp7
= false ;
14264 PyObject
* obj0
= 0 ;
14265 PyObject
* obj1
= 0 ;
14266 PyObject
* obj2
= 0 ;
14267 PyObject
* obj3
= 0 ;
14268 PyObject
* obj4
= 0 ;
14269 PyObject
* obj5
= 0 ;
14270 PyObject
* obj6
= 0 ;
14271 char * kwnames
[] = {
14272 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14277 if (!SWIG_IsOK(res1
)) {
14278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14280 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14282 if (!SWIG_IsOK(res2
)) {
14283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14285 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14288 if (!SWIG_IsOK(ecode3
)) {
14289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14291 arg3
= static_cast< int >(val3
);
14296 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14302 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14306 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14307 if (!SWIG_IsOK(ecode6
)) {
14308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14310 arg6
= static_cast< long >(val6
);
14314 arg7
= wxString_in_helper(obj6
);
14315 if (arg7
== NULL
) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14342 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14343 PyObject
*resultobj
= 0;
14344 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14348 PyObject
*swig_obj
[1] ;
14350 if (!args
) SWIG_fail
;
14351 swig_obj
[0] = args
;
14352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14356 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14370 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14371 PyObject
*resultobj
= 0;
14372 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14376 PyObject
*swig_obj
[1] ;
14378 if (!args
) SWIG_fail
;
14379 swig_obj
[0] = args
;
14380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14381 if (!SWIG_IsOK(res1
)) {
14382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14384 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14400 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14401 PyObject
*resultobj
= 0;
14402 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14406 PyObject
*swig_obj
[1] ;
14408 if (!args
) SWIG_fail
;
14409 swig_obj
[0] = args
;
14410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14411 if (!SWIG_IsOK(res1
)) {
14412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14414 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= SWIG_From_int(static_cast< int >(result
));
14428 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
= 0;
14430 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 PyObject
* obj1
= 0 ;
14439 char * kwnames
[] = {
14440 (char *) "self",(char *) "item", NULL
14443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14445 if (!SWIG_IsOK(res1
)) {
14446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14448 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14449 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14450 if (!SWIG_IsOK(ecode2
)) {
14451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14453 arg2
= static_cast< size_t >(val2
);
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14469 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
= 0;
14471 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 char * kwnames
[] = {
14481 (char *) "self",(char *) "item", NULL
14484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14486 if (!SWIG_IsOK(res1
)) {
14487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14489 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14490 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14491 if (!SWIG_IsOK(ecode2
)) {
14492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14494 arg2
= static_cast< size_t >(val2
);
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14510 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14511 PyObject
*resultobj
= 0;
14512 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14516 PyObject
*swig_obj
[1] ;
14518 if (!args
) SWIG_fail
;
14519 swig_obj
[0] = args
;
14520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14521 if (!SWIG_IsOK(res1
)) {
14522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14524 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14538 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14539 PyObject
*resultobj
= 0;
14540 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14541 PyObject
*result
= 0 ;
14544 PyObject
*swig_obj
[1] ;
14546 if (!args
) SWIG_fail
;
14547 swig_obj
[0] = args
;
14548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14549 if (!SWIG_IsOK(res1
)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14552 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= result
;
14566 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
= 0;
14568 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14569 unsigned long arg2
;
14570 PyObject
*result
= 0 ;
14573 unsigned long val2
;
14575 PyObject
* obj0
= 0 ;
14576 PyObject
* obj1
= 0 ;
14577 char * kwnames
[] = {
14578 (char *) "self",(char *) "cookie", NULL
14581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14583 if (!SWIG_IsOK(res1
)) {
14584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14586 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14587 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14588 if (!SWIG_IsOK(ecode2
)) {
14589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14591 arg2
= static_cast< unsigned long >(val2
);
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 resultobj
= result
;
14605 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14606 PyObject
*resultobj
= 0;
14607 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14611 PyObject
*swig_obj
[1] ;
14613 if (!args
) SWIG_fail
;
14614 swig_obj
[0] = args
;
14615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14616 if (!SWIG_IsOK(res1
)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14619 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14633 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14634 PyObject
*resultobj
= 0;
14635 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14636 wxColour
*result
= 0 ;
14639 PyObject
*swig_obj
[1] ;
14641 if (!args
) SWIG_fail
;
14642 swig_obj
[0] = args
;
14643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14644 if (!SWIG_IsOK(res1
)) {
14645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14647 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14652 result
= (wxColour
*) &_result_ref
;
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14664 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
= 0;
14666 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14672 PyObject
* obj0
= 0 ;
14673 PyObject
* obj1
= 0 ;
14674 char * kwnames
[] = {
14675 (char *) "self",(char *) "count", NULL
14678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14680 if (!SWIG_IsOK(res1
)) {
14681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14683 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14684 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14685 if (!SWIG_IsOK(ecode2
)) {
14686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14688 arg2
= static_cast< size_t >(val2
);
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 (arg1
)->SetItemCount(arg2
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= SWIG_Py_Void();
14702 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14703 PyObject
*resultobj
= 0;
14704 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14707 PyObject
*swig_obj
[1] ;
14709 if (!args
) SWIG_fail
;
14710 swig_obj
[0] = args
;
14711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14712 if (!SWIG_IsOK(res1
)) {
14713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14715 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_Py_Void();
14729 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
= 0;
14731 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 PyObject
* obj1
= 0 ;
14739 char * kwnames
[] = {
14740 (char *) "self",(char *) "selection", NULL
14743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14745 if (!SWIG_IsOK(res1
)) {
14746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14748 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14750 if (!SWIG_IsOK(ecode2
)) {
14751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14753 arg2
= static_cast< int >(val2
);
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 (arg1
)->SetSelection(arg2
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= SWIG_Py_Void();
14767 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
= 0;
14769 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14771 bool arg3
= (bool) true ;
14779 PyObject
* obj0
= 0 ;
14780 PyObject
* obj1
= 0 ;
14781 PyObject
* obj2
= 0 ;
14782 char * kwnames
[] = {
14783 (char *) "self",(char *) "item",(char *) "select", NULL
14786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14788 if (!SWIG_IsOK(res1
)) {
14789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14791 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14792 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14793 if (!SWIG_IsOK(ecode2
)) {
14794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14796 arg2
= static_cast< size_t >(val2
);
14798 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14799 if (!SWIG_IsOK(ecode3
)) {
14800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14802 arg3
= static_cast< bool >(val3
);
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14819 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
= 0;
14821 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14831 PyObject
* obj0
= 0 ;
14832 PyObject
* obj1
= 0 ;
14833 PyObject
* obj2
= 0 ;
14834 char * kwnames
[] = {
14835 (char *) "self",(char *) "from",(char *) "to", NULL
14838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14840 if (!SWIG_IsOK(res1
)) {
14841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14843 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14844 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14845 if (!SWIG_IsOK(ecode2
)) {
14846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14848 arg2
= static_cast< size_t >(val2
);
14849 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14850 if (!SWIG_IsOK(ecode3
)) {
14851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14853 arg3
= static_cast< size_t >(val3
);
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14869 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
= 0;
14871 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 char * kwnames
[] = {
14880 (char *) "self",(char *) "item", NULL
14883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14885 if (!SWIG_IsOK(res1
)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14888 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14889 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14890 if (!SWIG_IsOK(ecode2
)) {
14891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14893 arg2
= static_cast< size_t >(val2
);
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 (arg1
)->Toggle(arg2
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= SWIG_Py_Void();
14907 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14908 PyObject
*resultobj
= 0;
14909 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14913 PyObject
*swig_obj
[1] ;
14915 if (!args
) SWIG_fail
;
14916 swig_obj
[0] = args
;
14917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14918 if (!SWIG_IsOK(res1
)) {
14919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14921 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (bool)(arg1
)->SelectAll();
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14937 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14938 PyObject
*resultobj
= 0;
14939 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14943 PyObject
*swig_obj
[1] ;
14945 if (!args
) SWIG_fail
;
14946 swig_obj
[0] = args
;
14947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14948 if (!SWIG_IsOK(res1
)) {
14949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14951 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14954 result
= (bool)(arg1
)->DeselectAll();
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14967 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
= 0;
14969 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14970 wxPoint
*arg2
= 0 ;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 char * kwnames
[] = {
14977 (char *) "self",(char *) "pt", NULL
14980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14982 if (!SWIG_IsOK(res1
)) {
14983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14985 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14988 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= SWIG_Py_Void();
15003 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
= 0;
15005 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 PyObject
* obj2
= 0 ;
15017 char * kwnames
[] = {
15018 (char *) "self",(char *) "x",(char *) "y", NULL
15021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15026 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15028 if (!SWIG_IsOK(ecode2
)) {
15029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15031 arg2
= static_cast< int >(val2
);
15032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15033 if (!SWIG_IsOK(ecode3
)) {
15034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15036 arg3
= static_cast< int >(val3
);
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 (arg1
)->SetMargins(arg2
,arg3
);
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= SWIG_Py_Void();
15050 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
= 0;
15052 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15053 wxColour
*arg2
= 0 ;
15057 PyObject
* obj0
= 0 ;
15058 PyObject
* obj1
= 0 ;
15059 char * kwnames
[] = {
15060 (char *) "self",(char *) "col", NULL
15063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15065 if (!SWIG_IsOK(res1
)) {
15066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15068 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15071 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_Py_Void();
15086 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
= 0;
15088 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 PyObject
* obj1
= 0 ;
15101 PyObject
* obj2
= 0 ;
15102 PyObject
* obj3
= 0 ;
15103 char * kwnames
[] = {
15104 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15109 if (!SWIG_IsOK(res1
)) {
15110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15112 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15114 if (!SWIG_IsOK(res2
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15120 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15123 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15125 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15126 if (!SWIG_IsOK(ecode4
)) {
15127 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15129 arg4
= static_cast< size_t >(val4
);
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= SWIG_Py_Void();
15143 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
= 0;
15145 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 PyObject
* obj2
= 0 ;
15159 PyObject
* obj3
= 0 ;
15160 char * kwnames
[] = {
15161 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15166 if (!SWIG_IsOK(res1
)) {
15167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15169 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15170 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15171 if (!SWIG_IsOK(res2
)) {
15172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15177 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15180 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15182 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15183 if (!SWIG_IsOK(ecode4
)) {
15184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15186 arg4
= static_cast< size_t >(val4
);
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_Py_Void();
15200 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15203 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15204 return SWIG_Py_Void();
15207 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15208 return SWIG_Python_InitShadowInstance(args
);
15211 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= 0;
15213 wxWindow
*arg1
= (wxWindow
*) 0 ;
15214 int arg2
= (int) wxID_ANY
;
15215 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15216 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15217 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15218 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15219 long arg5
= (long) 0 ;
15220 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15221 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15222 wxPyHtmlListBox
*result
= 0 ;
15231 bool temp6
= false ;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 PyObject
* obj2
= 0 ;
15235 PyObject
* obj3
= 0 ;
15236 PyObject
* obj4
= 0 ;
15237 PyObject
* obj5
= 0 ;
15238 char * kwnames
[] = {
15239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15244 if (!SWIG_IsOK(res1
)) {
15245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15247 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15250 if (!SWIG_IsOK(ecode2
)) {
15251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15253 arg2
= static_cast< int >(val2
);
15258 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15264 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15268 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15269 if (!SWIG_IsOK(ecode5
)) {
15270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15272 arg5
= static_cast< long >(val5
);
15276 arg6
= wxString_in_helper(obj5
);
15277 if (arg6
== NULL
) SWIG_fail
;
15282 if (!wxPyCheckForApp()) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15303 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15304 PyObject
*resultobj
= 0;
15305 wxPyHtmlListBox
*result
= 0 ;
15307 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15309 if (!wxPyCheckForApp()) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15322 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
= 0;
15324 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15325 PyObject
*arg2
= (PyObject
*) 0 ;
15326 PyObject
*arg3
= (PyObject
*) 0 ;
15329 PyObject
* obj0
= 0 ;
15330 PyObject
* obj1
= 0 ;
15331 PyObject
* obj2
= 0 ;
15332 char * kwnames
[] = {
15333 (char *) "self",(char *) "self",(char *) "_class", NULL
15336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15338 if (!SWIG_IsOK(res1
)) {
15339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15341 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= SWIG_Py_Void();
15357 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
= 0;
15359 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15360 wxWindow
*arg2
= (wxWindow
*) 0 ;
15361 int arg3
= (int) wxID_ANY
;
15362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15366 long arg6
= (long) 0 ;
15367 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15380 bool temp7
= false ;
15381 PyObject
* obj0
= 0 ;
15382 PyObject
* obj1
= 0 ;
15383 PyObject
* obj2
= 0 ;
15384 PyObject
* obj3
= 0 ;
15385 PyObject
* obj4
= 0 ;
15386 PyObject
* obj5
= 0 ;
15387 PyObject
* obj6
= 0 ;
15388 char * kwnames
[] = {
15389 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15394 if (!SWIG_IsOK(res1
)) {
15395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15397 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15399 if (!SWIG_IsOK(res2
)) {
15400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15402 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15405 if (!SWIG_IsOK(ecode3
)) {
15406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15408 arg3
= static_cast< int >(val3
);
15413 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15419 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15423 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15424 if (!SWIG_IsOK(ecode6
)) {
15425 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15427 arg6
= static_cast< long >(val6
);
15431 arg7
= wxString_in_helper(obj6
);
15432 if (arg7
== NULL
) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15459 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
= 0;
15461 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15469 char * kwnames
[] = {
15470 (char *) "self",(char *) "count", NULL
15473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15475 if (!SWIG_IsOK(res1
)) {
15476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15478 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15479 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15480 if (!SWIG_IsOK(ecode2
)) {
15481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15483 arg2
= static_cast< size_t >(val2
);
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->SetItemCount(arg2
);
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_Py_Void();
15497 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15498 PyObject
*resultobj
= 0;
15499 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15500 wxFileSystem
*result
= 0 ;
15503 PyObject
*swig_obj
[1] ;
15505 if (!args
) SWIG_fail
;
15506 swig_obj
[0] = args
;
15507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15508 if (!SWIG_IsOK(res1
)) {
15509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15511 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15516 result
= (wxFileSystem
*) &_result_ref
;
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15528 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
= 0;
15530 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15532 wxHtmlLinkInfo
*arg3
= 0 ;
15539 PyObject
* obj0
= 0 ;
15540 PyObject
* obj1
= 0 ;
15541 PyObject
* obj2
= 0 ;
15542 char * kwnames
[] = {
15543 (char *) "self",(char *) "n",(char *) "link", NULL
15546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15548 if (!SWIG_IsOK(res1
)) {
15549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15551 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15552 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15553 if (!SWIG_IsOK(ecode2
)) {
15554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15556 arg2
= static_cast< size_t >(val2
);
15557 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15558 if (!SWIG_IsOK(res3
)) {
15559 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15564 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_Py_Void();
15578 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15581 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15582 return SWIG_Py_Void();
15585 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15586 return SWIG_Python_InitShadowInstance(args
);
15589 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15590 PyObject
*resultobj
= 0;
15591 wxPyTaskBarIcon
*result
= 0 ;
15593 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15595 if (!wxPyCheckForApp()) SWIG_fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15608 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15609 PyObject
*resultobj
= 0;
15610 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15613 PyObject
*swig_obj
[1] ;
15615 if (!args
) SWIG_fail
;
15616 swig_obj
[0] = args
;
15617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15618 if (!SWIG_IsOK(res1
)) {
15619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15621 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_Py_Void();
15636 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
= 0;
15638 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15639 PyObject
*arg2
= (PyObject
*) 0 ;
15640 PyObject
*arg3
= (PyObject
*) 0 ;
15646 PyObject
* obj0
= 0 ;
15647 PyObject
* obj1
= 0 ;
15648 PyObject
* obj2
= 0 ;
15649 PyObject
* obj3
= 0 ;
15650 char * kwnames
[] = {
15651 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15656 if (!SWIG_IsOK(res1
)) {
15657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15659 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15663 if (!SWIG_IsOK(ecode4
)) {
15664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15666 arg4
= static_cast< int >(val4
);
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_Py_Void();
15680 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15681 PyObject
*resultobj
= 0;
15682 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15685 PyObject
*swig_obj
[1] ;
15687 if (!args
) SWIG_fail
;
15688 swig_obj
[0] = args
;
15689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15690 if (!SWIG_IsOK(res1
)) {
15691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15693 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 wxPyTaskBarIcon_Destroy(arg1
);
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15700 resultobj
= SWIG_Py_Void();
15707 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15708 PyObject
*resultobj
= 0;
15709 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15713 PyObject
*swig_obj
[1] ;
15715 if (!args
) SWIG_fail
;
15716 swig_obj
[0] = args
;
15717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15718 if (!SWIG_IsOK(res1
)) {
15719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15721 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15737 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15738 PyObject
*resultobj
= 0;
15739 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15743 PyObject
*swig_obj
[1] ;
15745 if (!args
) SWIG_fail
;
15746 swig_obj
[0] = args
;
15747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15748 if (!SWIG_IsOK(res1
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15751 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15767 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
= 0;
15769 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15771 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15772 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15778 bool temp3
= false ;
15779 PyObject
* obj0
= 0 ;
15780 PyObject
* obj1
= 0 ;
15781 PyObject
* obj2
= 0 ;
15782 char * kwnames
[] = {
15783 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15788 if (!SWIG_IsOK(res1
)) {
15789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15791 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15793 if (!SWIG_IsOK(res2
)) {
15794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15799 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15802 arg3
= wxString_in_helper(obj2
);
15803 if (arg3
== NULL
) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15830 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15831 PyObject
*resultobj
= 0;
15832 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15836 PyObject
*swig_obj
[1] ;
15838 if (!args
) SWIG_fail
;
15839 swig_obj
[0] = args
;
15840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15841 if (!SWIG_IsOK(res1
)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15844 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 result
= (bool)(arg1
)->RemoveIcon();
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15860 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
= 0;
15862 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15863 wxMenu
*arg2
= (wxMenu
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 PyObject
* obj1
= 0 ;
15871 char * kwnames
[] = {
15872 (char *) "self",(char *) "menu", NULL
15875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15877 if (!SWIG_IsOK(res1
)) {
15878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15880 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15882 if (!SWIG_IsOK(res2
)) {
15883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15885 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (bool)(arg1
)->PopupMenu(arg2
);
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15901 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15904 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15905 return SWIG_Py_Void();
15908 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15909 return SWIG_Python_InitShadowInstance(args
);
15912 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
= 0;
15915 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
15916 wxTaskBarIconEvent
*result
= 0 ;
15921 PyObject
* obj0
= 0 ;
15922 PyObject
* obj1
= 0 ;
15923 char * kwnames
[] = {
15924 (char *) "evtType",(char *) "tbIcon", NULL
15927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15928 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15929 if (!SWIG_IsOK(ecode1
)) {
15930 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15932 arg1
= static_cast< wxEventType
>(val1
);
15933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
15934 if (!SWIG_IsOK(res2
)) {
15935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15937 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
15951 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15954 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
15955 return SWIG_Py_Void();
15958 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15959 return SWIG_Python_InitShadowInstance(args
);
15962 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
15963 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
15968 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
15969 PyObject
*pyobj
= 0;
15973 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15975 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15982 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
15983 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
15988 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
15989 PyObject
*pyobj
= 0;
15993 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15995 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16002 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16003 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16008 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16009 PyObject
*pyobj
= 0;
16013 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16015 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16022 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16023 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16028 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16029 PyObject
*pyobj
= 0;
16033 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16035 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16042 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16043 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16048 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16049 PyObject
*pyobj
= 0;
16053 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16055 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16062 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16063 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16068 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16069 PyObject
*pyobj
= 0;
16073 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16075 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16082 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16083 PyObject
*resultobj
= 0;
16084 wxColourData
*result
= 0 ;
16086 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 result
= (wxColourData
*)new wxColourData();
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16100 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16101 PyObject
*resultobj
= 0;
16102 wxColourData
*arg1
= (wxColourData
*) 0 ;
16105 PyObject
*swig_obj
[1] ;
16107 if (!args
) SWIG_fail
;
16108 swig_obj
[0] = args
;
16109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16110 if (!SWIG_IsOK(res1
)) {
16111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16113 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 wxPyEndAllowThreads(__tstate
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16121 resultobj
= SWIG_Py_Void();
16128 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16129 PyObject
*resultobj
= 0;
16130 wxColourData
*arg1
= (wxColourData
*) 0 ;
16134 PyObject
*swig_obj
[1] ;
16136 if (!args
) SWIG_fail
;
16137 swig_obj
[0] = args
;
16138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16139 if (!SWIG_IsOK(res1
)) {
16140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16142 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 result
= (bool)(arg1
)->GetChooseFull();
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16158 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16159 PyObject
*resultobj
= 0;
16160 wxColourData
*arg1
= (wxColourData
*) 0 ;
16164 PyObject
*swig_obj
[1] ;
16166 if (!args
) SWIG_fail
;
16167 swig_obj
[0] = args
;
16168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16169 if (!SWIG_IsOK(res1
)) {
16170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16172 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (arg1
)->GetColour();
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16186 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
= 0;
16188 wxColourData
*arg1
= (wxColourData
*) 0 ;
16195 PyObject
* obj0
= 0 ;
16196 PyObject
* obj1
= 0 ;
16197 char * kwnames
[] = {
16198 (char *) "self",(char *) "i", NULL
16201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16203 if (!SWIG_IsOK(res1
)) {
16204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16206 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16208 if (!SWIG_IsOK(ecode2
)) {
16209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16211 arg2
= static_cast< int >(val2
);
16213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16214 result
= (arg1
)->GetCustomColour(arg2
);
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16225 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
= 0;
16227 wxColourData
*arg1
= (wxColourData
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 PyObject
* obj1
= 0 ;
16235 char * kwnames
[] = {
16236 (char *) "self",(char *) "flag", NULL
16239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16241 if (!SWIG_IsOK(res1
)) {
16242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16244 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16246 if (!SWIG_IsOK(ecode2
)) {
16247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16249 arg2
= static_cast< int >(val2
);
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 (arg1
)->SetChooseFull(arg2
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= SWIG_Py_Void();
16263 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
= 0;
16265 wxColourData
*arg1
= (wxColourData
*) 0 ;
16266 wxColour
*arg2
= 0 ;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 char * kwnames
[] = {
16273 (char *) "self",(char *) "colour", NULL
16276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16278 if (!SWIG_IsOK(res1
)) {
16279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16281 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16284 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 (arg1
)->SetColour((wxColour
const &)*arg2
);
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= SWIG_Py_Void();
16299 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
= 0;
16301 wxColourData
*arg1
= (wxColourData
*) 0 ;
16303 wxColour
*arg3
= 0 ;
16309 PyObject
* obj0
= 0 ;
16310 PyObject
* obj1
= 0 ;
16311 PyObject
* obj2
= 0 ;
16312 char * kwnames
[] = {
16313 (char *) "self",(char *) "i",(char *) "colour", NULL
16316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16318 if (!SWIG_IsOK(res1
)) {
16319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16321 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16323 if (!SWIG_IsOK(ecode2
)) {
16324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16326 arg2
= static_cast< int >(val2
);
16329 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= SWIG_Py_Void();
16344 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16347 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16348 return SWIG_Py_Void();
16351 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16352 return SWIG_Python_InitShadowInstance(args
);
16355 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
= 0;
16357 wxWindow
*arg1
= (wxWindow
*) 0 ;
16358 wxColourData
*arg2
= (wxColourData
*) NULL
;
16359 wxColourDialog
*result
= 0 ;
16364 PyObject
* obj0
= 0 ;
16365 PyObject
* obj1
= 0 ;
16366 char * kwnames
[] = {
16367 (char *) "parent",(char *) "data", NULL
16370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16372 if (!SWIG_IsOK(res1
)) {
16373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16375 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16378 if (!SWIG_IsOK(res2
)) {
16379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16381 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16384 if (!wxPyCheckForApp()) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16397 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16398 PyObject
*resultobj
= 0;
16399 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16400 wxColourData
*result
= 0 ;
16403 PyObject
*swig_obj
[1] ;
16405 if (!args
) SWIG_fail
;
16406 swig_obj
[0] = args
;
16407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16408 if (!SWIG_IsOK(res1
)) {
16409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16411 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16416 result
= (wxColourData
*) &_result_ref
;
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16428 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16431 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16432 return SWIG_Py_Void();
16435 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16436 return SWIG_Python_InitShadowInstance(args
);
16439 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
= 0;
16441 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16442 wxColour
const &arg2_defvalue
= wxNullColour
;
16443 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16444 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16445 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16450 bool temp3
= false ;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 PyObject
* obj2
= 0 ;
16454 char * kwnames
[] = {
16455 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16461 if (!SWIG_IsOK(res1
)) {
16462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16464 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16469 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16474 arg3
= wxString_in_helper(obj2
);
16475 if (arg3
== NULL
) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16500 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
= 0;
16502 wxWindow
*arg1
= (wxWindow
*) 0 ;
16503 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16504 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16505 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16506 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16507 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16508 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16509 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16510 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16511 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16512 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16513 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16514 wxDirDialog
*result
= 0 ;
16517 bool temp2
= false ;
16518 bool temp3
= false ;
16523 bool temp7
= false ;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 PyObject
* obj2
= 0 ;
16527 PyObject
* obj3
= 0 ;
16528 PyObject
* obj4
= 0 ;
16529 PyObject
* obj5
= 0 ;
16530 PyObject
* obj6
= 0 ;
16531 char * kwnames
[] = {
16532 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16537 if (!SWIG_IsOK(res1
)) {
16538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16540 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16543 arg2
= wxString_in_helper(obj1
);
16544 if (arg2
== NULL
) SWIG_fail
;
16550 arg3
= wxString_in_helper(obj2
);
16551 if (arg3
== NULL
) SWIG_fail
;
16556 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16557 if (!SWIG_IsOK(ecode4
)) {
16558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16560 arg4
= static_cast< long >(val4
);
16565 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16571 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16576 arg7
= wxString_in_helper(obj6
);
16577 if (arg7
== NULL
) SWIG_fail
;
16582 if (!wxPyCheckForApp()) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16619 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16620 PyObject
*resultobj
= 0;
16621 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16625 PyObject
*swig_obj
[1] ;
16627 if (!args
) SWIG_fail
;
16628 swig_obj
[0] = args
;
16629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16630 if (!SWIG_IsOK(res1
)) {
16631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16633 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 result
= (arg1
)->GetPath();
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16653 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16654 PyObject
*resultobj
= 0;
16655 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16659 PyObject
*swig_obj
[1] ;
16661 if (!args
) SWIG_fail
;
16662 swig_obj
[0] = args
;
16663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16664 if (!SWIG_IsOK(res1
)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16667 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= (arg1
)->GetMessage();
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16687 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
= 0;
16689 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16690 wxString
*arg2
= 0 ;
16693 bool temp2
= false ;
16694 PyObject
* obj0
= 0 ;
16695 PyObject
* obj1
= 0 ;
16696 char * kwnames
[] = {
16697 (char *) "self",(char *) "message", NULL
16700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16702 if (!SWIG_IsOK(res1
)) {
16703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16705 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16707 arg2
= wxString_in_helper(obj1
);
16708 if (arg2
== NULL
) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 (arg1
)->SetMessage((wxString
const &)*arg2
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= SWIG_Py_Void();
16732 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
= 0;
16734 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16735 wxString
*arg2
= 0 ;
16738 bool temp2
= false ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 char * kwnames
[] = {
16742 (char *) "self",(char *) "path", NULL
16745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16747 if (!SWIG_IsOK(res1
)) {
16748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16750 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16752 arg2
= wxString_in_helper(obj1
);
16753 if (arg2
== NULL
) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 (arg1
)->SetPath((wxString
const &)*arg2
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_Py_Void();
16777 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16780 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16781 return SWIG_Py_Void();
16784 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16785 return SWIG_Python_InitShadowInstance(args
);
16788 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
= 0;
16790 wxWindow
*arg1
= (wxWindow
*) 0 ;
16791 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16792 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16793 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16794 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16795 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16796 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16797 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16798 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16799 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16800 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16801 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16802 wxFileDialog
*result
= 0 ;
16805 bool temp2
= false ;
16806 bool temp3
= false ;
16807 bool temp4
= false ;
16808 bool temp5
= false ;
16812 PyObject
* obj0
= 0 ;
16813 PyObject
* obj1
= 0 ;
16814 PyObject
* obj2
= 0 ;
16815 PyObject
* obj3
= 0 ;
16816 PyObject
* obj4
= 0 ;
16817 PyObject
* obj5
= 0 ;
16818 PyObject
* obj6
= 0 ;
16819 char * kwnames
[] = {
16820 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16825 if (!SWIG_IsOK(res1
)) {
16826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16828 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16831 arg2
= wxString_in_helper(obj1
);
16832 if (arg2
== NULL
) SWIG_fail
;
16838 arg3
= wxString_in_helper(obj2
);
16839 if (arg3
== NULL
) SWIG_fail
;
16845 arg4
= wxString_in_helper(obj3
);
16846 if (arg4
== NULL
) SWIG_fail
;
16852 arg5
= wxString_in_helper(obj4
);
16853 if (arg5
== NULL
) SWIG_fail
;
16858 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16859 if (!SWIG_IsOK(ecode6
)) {
16860 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16862 arg6
= static_cast< long >(val6
);
16867 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16871 if (!wxPyCheckForApp()) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
16916 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
= 0;
16918 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16919 wxString
*arg2
= 0 ;
16922 bool temp2
= false ;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 char * kwnames
[] = {
16926 (char *) "self",(char *) "message", NULL
16929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16931 if (!SWIG_IsOK(res1
)) {
16932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16934 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16936 arg2
= wxString_in_helper(obj1
);
16937 if (arg2
== NULL
) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 (arg1
)->SetMessage((wxString
const &)*arg2
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= SWIG_Py_Void();
16961 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
= 0;
16963 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16964 wxString
*arg2
= 0 ;
16967 bool temp2
= false ;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 char * kwnames
[] = {
16971 (char *) "self",(char *) "path", NULL
16974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16976 if (!SWIG_IsOK(res1
)) {
16977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16979 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16981 arg2
= wxString_in_helper(obj1
);
16982 if (arg2
== NULL
) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 (arg1
)->SetPath((wxString
const &)*arg2
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= SWIG_Py_Void();
17006 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
= 0;
17008 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17009 wxString
*arg2
= 0 ;
17012 bool temp2
= false ;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 char * kwnames
[] = {
17016 (char *) "self",(char *) "dir", NULL
17019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17021 if (!SWIG_IsOK(res1
)) {
17022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17024 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17026 arg2
= wxString_in_helper(obj1
);
17027 if (arg2
== NULL
) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= SWIG_Py_Void();
17051 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
= 0;
17053 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17054 wxString
*arg2
= 0 ;
17057 bool temp2
= false ;
17058 PyObject
* obj0
= 0 ;
17059 PyObject
* obj1
= 0 ;
17060 char * kwnames
[] = {
17061 (char *) "self",(char *) "name", NULL
17064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17066 if (!SWIG_IsOK(res1
)) {
17067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17069 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17071 arg2
= wxString_in_helper(obj1
);
17072 if (arg2
== NULL
) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 (arg1
)->SetFilename((wxString
const &)*arg2
);
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= SWIG_Py_Void();
17096 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
= 0;
17098 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17099 wxString
*arg2
= 0 ;
17102 bool temp2
= false ;
17103 PyObject
* obj0
= 0 ;
17104 PyObject
* obj1
= 0 ;
17105 char * kwnames
[] = {
17106 (char *) "self",(char *) "wildCard", NULL
17109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17111 if (!SWIG_IsOK(res1
)) {
17112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17114 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17116 arg2
= wxString_in_helper(obj1
);
17117 if (arg2
== NULL
) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_Py_Void();
17141 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17142 PyObject
*resultobj
= 0;
17143 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 PyObject
* obj1
= 0 ;
17151 char * kwnames
[] = {
17152 (char *) "self",(char *) "filterIndex", NULL
17155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17157 if (!SWIG_IsOK(res1
)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17160 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17162 if (!SWIG_IsOK(ecode2
)) {
17163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17165 arg2
= static_cast< int >(val2
);
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 (arg1
)->SetFilterIndex(arg2
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_Py_Void();
17179 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17180 PyObject
*resultobj
= 0;
17181 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17185 PyObject
*swig_obj
[1] ;
17187 if (!args
) SWIG_fail
;
17188 swig_obj
[0] = args
;
17189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17190 if (!SWIG_IsOK(res1
)) {
17191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17193 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17213 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17214 PyObject
*resultobj
= 0;
17215 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17219 PyObject
*swig_obj
[1] ;
17221 if (!args
) SWIG_fail
;
17222 swig_obj
[0] = args
;
17223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17224 if (!SWIG_IsOK(res1
)) {
17225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17227 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17247 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17248 PyObject
*resultobj
= 0;
17249 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17253 PyObject
*swig_obj
[1] ;
17255 if (!args
) SWIG_fail
;
17256 swig_obj
[0] = args
;
17257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17258 if (!SWIG_IsOK(res1
)) {
17259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17261 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17281 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17282 PyObject
*resultobj
= 0;
17283 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17287 PyObject
*swig_obj
[1] ;
17289 if (!args
) SWIG_fail
;
17290 swig_obj
[0] = args
;
17291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17292 if (!SWIG_IsOK(res1
)) {
17293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17295 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17315 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17316 PyObject
*resultobj
= 0;
17317 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17321 PyObject
*swig_obj
[1] ;
17323 if (!args
) SWIG_fail
;
17324 swig_obj
[0] = args
;
17325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17326 if (!SWIG_IsOK(res1
)) {
17327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17329 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17349 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17350 PyObject
*resultobj
= 0;
17351 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17355 PyObject
*swig_obj
[1] ;
17357 if (!args
) SWIG_fail
;
17358 swig_obj
[0] = args
;
17359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17360 if (!SWIG_IsOK(res1
)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17363 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= SWIG_From_int(static_cast< int >(result
));
17377 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17378 PyObject
*resultobj
= 0;
17379 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17380 PyObject
*result
= 0 ;
17383 PyObject
*swig_obj
[1] ;
17385 if (!args
) SWIG_fail
;
17386 swig_obj
[0] = args
;
17387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17388 if (!SWIG_IsOK(res1
)) {
17389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17391 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= result
;
17405 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17406 PyObject
*resultobj
= 0;
17407 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17408 PyObject
*result
= 0 ;
17411 PyObject
*swig_obj
[1] ;
17413 if (!args
) SWIG_fail
;
17414 swig_obj
[0] = args
;
17415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17416 if (!SWIG_IsOK(res1
)) {
17417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17419 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= result
;
17433 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17436 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17437 return SWIG_Py_Void();
17440 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17441 return SWIG_Python_InitShadowInstance(args
);
17444 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
= 0;
17446 wxWindow
*arg1
= (wxWindow
*) 0 ;
17447 wxString
*arg2
= 0 ;
17448 wxString
*arg3
= 0 ;
17449 int arg4
= (int) 0 ;
17450 wxString
*arg5
= (wxString
*) NULL
;
17451 long arg6
= (long) wxCHOICEDLG_STYLE
;
17452 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17453 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17454 wxMultiChoiceDialog
*result
= 0 ;
17457 bool temp2
= false ;
17458 bool temp3
= false ;
17462 PyObject
* obj0
= 0 ;
17463 PyObject
* obj1
= 0 ;
17464 PyObject
* obj2
= 0 ;
17465 PyObject
* obj3
= 0 ;
17466 PyObject
* obj4
= 0 ;
17467 PyObject
* obj5
= 0 ;
17468 char * kwnames
[] = {
17469 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17474 if (!SWIG_IsOK(res1
)) {
17475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17477 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17479 arg2
= wxString_in_helper(obj1
);
17480 if (arg2
== NULL
) SWIG_fail
;
17484 arg3
= wxString_in_helper(obj2
);
17485 if (arg3
== NULL
) SWIG_fail
;
17490 arg4
= PyList_Size(obj3
);
17491 arg5
= wxString_LIST_helper(obj3
);
17492 if (arg5
== NULL
) SWIG_fail
;
17496 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17497 if (!SWIG_IsOK(ecode6
)) {
17498 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17500 arg6
= static_cast< long >(val6
);
17505 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17509 if (!wxPyCheckForApp()) SWIG_fail
;
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17525 if (arg5
) delete [] arg5
;
17538 if (arg5
) delete [] arg5
;
17544 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
= 0;
17546 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17547 wxArrayInt
*arg2
= 0 ;
17550 bool temp2
= false ;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 char * kwnames
[] = {
17554 (char *) "self",(char *) "selections", NULL
17557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17559 if (!SWIG_IsOK(res1
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17562 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17564 if (! PySequence_Check(obj1
)) {
17565 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17568 arg2
= new wxArrayInt
;
17570 int i
, len
=PySequence_Length(obj1
);
17571 for (i
=0; i
<len
; i
++) {
17572 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17573 PyObject
* number
= PyNumber_Int(item
);
17574 arg2
->Add(PyInt_AS_LONG(number
));
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= SWIG_Py_Void();
17587 if (temp2
) delete arg2
;
17592 if (temp2
) delete arg2
;
17598 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17599 PyObject
*resultobj
= 0;
17600 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17601 PyObject
*result
= 0 ;
17604 PyObject
*swig_obj
[1] ;
17606 if (!args
) SWIG_fail
;
17607 swig_obj
[0] = args
;
17608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17609 if (!SWIG_IsOK(res1
)) {
17610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17612 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 resultobj
= result
;
17626 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17629 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17630 return SWIG_Py_Void();
17633 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17634 return SWIG_Python_InitShadowInstance(args
);
17637 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
= 0;
17639 wxWindow
*arg1
= (wxWindow
*) 0 ;
17640 wxString
*arg2
= 0 ;
17641 wxString
*arg3
= 0 ;
17643 wxString
*arg5
= (wxString
*) 0 ;
17644 long arg6
= (long) wxCHOICEDLG_STYLE
;
17645 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17646 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17647 wxSingleChoiceDialog
*result
= 0 ;
17650 bool temp2
= false ;
17651 bool temp3
= false ;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 PyObject
* obj2
= 0 ;
17658 PyObject
* obj3
= 0 ;
17659 PyObject
* obj4
= 0 ;
17660 PyObject
* obj5
= 0 ;
17661 char * kwnames
[] = {
17662 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17667 if (!SWIG_IsOK(res1
)) {
17668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17672 arg2
= wxString_in_helper(obj1
);
17673 if (arg2
== NULL
) SWIG_fail
;
17677 arg3
= wxString_in_helper(obj2
);
17678 if (arg3
== NULL
) SWIG_fail
;
17682 arg4
= PyList_Size(obj3
);
17683 arg5
= wxString_LIST_helper(obj3
);
17684 if (arg5
== NULL
) SWIG_fail
;
17687 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17688 if (!SWIG_IsOK(ecode6
)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17691 arg6
= static_cast< long >(val6
);
17696 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17700 if (!wxPyCheckForApp()) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17716 if (arg5
) delete [] arg5
;
17729 if (arg5
) delete [] arg5
;
17735 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17736 PyObject
*resultobj
= 0;
17737 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17741 PyObject
*swig_obj
[1] ;
17743 if (!args
) SWIG_fail
;
17744 swig_obj
[0] = args
;
17745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17746 if (!SWIG_IsOK(res1
)) {
17747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17749 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (int)(arg1
)->GetSelection();
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= SWIG_From_int(static_cast< int >(result
));
17763 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17764 PyObject
*resultobj
= 0;
17765 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17769 PyObject
*swig_obj
[1] ;
17771 if (!args
) SWIG_fail
;
17772 swig_obj
[0] = args
;
17773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17774 if (!SWIG_IsOK(res1
)) {
17775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17777 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (arg1
)->GetStringSelection();
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17797 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
= 0;
17799 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17805 PyObject
* obj0
= 0 ;
17806 PyObject
* obj1
= 0 ;
17807 char * kwnames
[] = {
17808 (char *) "self",(char *) "sel", NULL
17811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17813 if (!SWIG_IsOK(res1
)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17816 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17818 if (!SWIG_IsOK(ecode2
)) {
17819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17821 arg2
= static_cast< int >(val2
);
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 (arg1
)->SetSelection(arg2
);
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= SWIG_Py_Void();
17835 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17838 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17839 return SWIG_Py_Void();
17842 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17843 return SWIG_Python_InitShadowInstance(args
);
17846 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
= 0;
17848 wxWindow
*arg1
= (wxWindow
*) 0 ;
17849 wxString
*arg2
= 0 ;
17850 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17851 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17852 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17853 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17854 long arg5
= (long) wxTextEntryDialogStyle
;
17855 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17856 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17857 wxTextEntryDialog
*result
= 0 ;
17860 bool temp2
= false ;
17861 bool temp3
= false ;
17862 bool temp4
= false ;
17866 PyObject
* obj0
= 0 ;
17867 PyObject
* obj1
= 0 ;
17868 PyObject
* obj2
= 0 ;
17869 PyObject
* obj3
= 0 ;
17870 PyObject
* obj4
= 0 ;
17871 PyObject
* obj5
= 0 ;
17872 char * kwnames
[] = {
17873 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17878 if (!SWIG_IsOK(res1
)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17881 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17883 arg2
= wxString_in_helper(obj1
);
17884 if (arg2
== NULL
) SWIG_fail
;
17889 arg3
= wxString_in_helper(obj2
);
17890 if (arg3
== NULL
) SWIG_fail
;
17896 arg4
= wxString_in_helper(obj3
);
17897 if (arg4
== NULL
) SWIG_fail
;
17902 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17903 if (!SWIG_IsOK(ecode5
)) {
17904 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17906 arg5
= static_cast< long >(val5
);
17911 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17915 if (!wxPyCheckForApp()) SWIG_fail
;
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
17952 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17953 PyObject
*resultobj
= 0;
17954 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17958 PyObject
*swig_obj
[1] ;
17960 if (!args
) SWIG_fail
;
17961 swig_obj
[0] = args
;
17962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
17963 if (!SWIG_IsOK(res1
)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17966 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (arg1
)->GetValue();
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17986 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
= 0;
17988 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17989 wxString
*arg2
= 0 ;
17992 bool temp2
= false ;
17993 PyObject
* obj0
= 0 ;
17994 PyObject
* obj1
= 0 ;
17995 char * kwnames
[] = {
17996 (char *) "self",(char *) "value", NULL
17999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18001 if (!SWIG_IsOK(res1
)) {
18002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18004 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18006 arg2
= wxString_in_helper(obj1
);
18007 if (arg2
== NULL
) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 (arg1
)->SetValue((wxString
const &)*arg2
);
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 resultobj
= SWIG_Py_Void();
18031 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18034 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18035 return SWIG_Py_Void();
18038 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18039 return SWIG_Python_InitShadowInstance(args
);
18042 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18043 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18048 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18049 PyObject
*pyobj
= 0;
18053 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18055 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18062 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
= 0;
18064 wxWindow
*arg1
= (wxWindow
*) 0 ;
18065 wxString
*arg2
= 0 ;
18066 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18067 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18068 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18069 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18070 long arg5
= (long) wxTextEntryDialogStyle
;
18071 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18072 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18073 wxPasswordEntryDialog
*result
= 0 ;
18076 bool temp2
= false ;
18077 bool temp3
= false ;
18078 bool temp4
= false ;
18082 PyObject
* obj0
= 0 ;
18083 PyObject
* obj1
= 0 ;
18084 PyObject
* obj2
= 0 ;
18085 PyObject
* obj3
= 0 ;
18086 PyObject
* obj4
= 0 ;
18087 PyObject
* obj5
= 0 ;
18088 char * kwnames
[] = {
18089 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18094 if (!SWIG_IsOK(res1
)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18097 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18099 arg2
= wxString_in_helper(obj1
);
18100 if (arg2
== NULL
) SWIG_fail
;
18105 arg3
= wxString_in_helper(obj2
);
18106 if (arg3
== NULL
) SWIG_fail
;
18112 arg4
= wxString_in_helper(obj3
);
18113 if (arg4
== NULL
) SWIG_fail
;
18118 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18119 if (!SWIG_IsOK(ecode5
)) {
18120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18122 arg5
= static_cast< long >(val5
);
18127 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18167 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18170 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18171 return SWIG_Py_Void();
18174 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18175 return SWIG_Python_InitShadowInstance(args
);
18178 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18179 PyObject
*resultobj
= 0;
18180 wxFontData
*result
= 0 ;
18182 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (wxFontData
*)new wxFontData();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18196 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18197 PyObject
*resultobj
= 0;
18198 wxFontData
*arg1
= (wxFontData
*) 0 ;
18201 PyObject
*swig_obj
[1] ;
18203 if (!args
) SWIG_fail
;
18204 swig_obj
[0] = args
;
18205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18206 if (!SWIG_IsOK(res1
)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18209 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= SWIG_Py_Void();
18224 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
= 0;
18226 wxFontData
*arg1
= (wxFontData
*) 0 ;
18232 PyObject
* obj0
= 0 ;
18233 PyObject
* obj1
= 0 ;
18234 char * kwnames
[] = {
18235 (char *) "self",(char *) "enable", NULL
18238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18240 if (!SWIG_IsOK(res1
)) {
18241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18243 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18244 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18245 if (!SWIG_IsOK(ecode2
)) {
18246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18248 arg2
= static_cast< bool >(val2
);
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 (arg1
)->EnableEffects(arg2
);
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_Py_Void();
18262 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18263 PyObject
*resultobj
= 0;
18264 wxFontData
*arg1
= (wxFontData
*) 0 ;
18268 PyObject
*swig_obj
[1] ;
18270 if (!args
) SWIG_fail
;
18271 swig_obj
[0] = args
;
18272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18273 if (!SWIG_IsOK(res1
)) {
18274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18276 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= (bool)(arg1
)->GetAllowSymbols();
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18292 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18293 PyObject
*resultobj
= 0;
18294 wxFontData
*arg1
= (wxFontData
*) 0 ;
18298 PyObject
*swig_obj
[1] ;
18300 if (!args
) SWIG_fail
;
18301 swig_obj
[0] = args
;
18302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18303 if (!SWIG_IsOK(res1
)) {
18304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18306 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 result
= (arg1
)->GetColour();
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18320 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18321 PyObject
*resultobj
= 0;
18322 wxFontData
*arg1
= (wxFontData
*) 0 ;
18326 PyObject
*swig_obj
[1] ;
18328 if (!args
) SWIG_fail
;
18329 swig_obj
[0] = args
;
18330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18331 if (!SWIG_IsOK(res1
)) {
18332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18334 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (arg1
)->GetChosenFont();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18348 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18349 PyObject
*resultobj
= 0;
18350 wxFontData
*arg1
= (wxFontData
*) 0 ;
18354 PyObject
*swig_obj
[1] ;
18356 if (!args
) SWIG_fail
;
18357 swig_obj
[0] = args
;
18358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18359 if (!SWIG_IsOK(res1
)) {
18360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18362 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 result
= (bool)(arg1
)->GetEnableEffects();
18366 wxPyEndAllowThreads(__tstate
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18378 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18379 PyObject
*resultobj
= 0;
18380 wxFontData
*arg1
= (wxFontData
*) 0 ;
18384 PyObject
*swig_obj
[1] ;
18386 if (!args
) SWIG_fail
;
18387 swig_obj
[0] = args
;
18388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18389 if (!SWIG_IsOK(res1
)) {
18390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18392 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 result
= (arg1
)->GetInitialFont();
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18406 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18407 PyObject
*resultobj
= 0;
18408 wxFontData
*arg1
= (wxFontData
*) 0 ;
18412 PyObject
*swig_obj
[1] ;
18414 if (!args
) SWIG_fail
;
18415 swig_obj
[0] = args
;
18416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18417 if (!SWIG_IsOK(res1
)) {
18418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18420 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 result
= (bool)(arg1
)->GetShowHelp();
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18436 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
= 0;
18438 wxFontData
*arg1
= (wxFontData
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 char * kwnames
[] = {
18447 (char *) "self",(char *) "allowSymbols", NULL
18450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18452 if (!SWIG_IsOK(res1
)) {
18453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18455 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18456 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18457 if (!SWIG_IsOK(ecode2
)) {
18458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18460 arg2
= static_cast< bool >(val2
);
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 (arg1
)->SetAllowSymbols(arg2
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= SWIG_Py_Void();
18474 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
= 0;
18476 wxFontData
*arg1
= (wxFontData
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 PyObject
* obj1
= 0 ;
18484 char * kwnames
[] = {
18485 (char *) "self",(char *) "font", NULL
18488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18490 if (!SWIG_IsOK(res1
)) {
18491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18493 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18495 if (!SWIG_IsOK(res2
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18501 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= SWIG_Py_Void();
18515 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
= 0;
18517 wxFontData
*arg1
= (wxFontData
*) 0 ;
18518 wxColour
*arg2
= 0 ;
18522 PyObject
* obj0
= 0 ;
18523 PyObject
* obj1
= 0 ;
18524 char * kwnames
[] = {
18525 (char *) "self",(char *) "colour", NULL
18528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18530 if (!SWIG_IsOK(res1
)) {
18531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18533 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 (arg1
)->SetColour((wxColour
const &)*arg2
);
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 resultobj
= SWIG_Py_Void();
18551 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
= 0;
18553 wxFontData
*arg1
= (wxFontData
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 PyObject
* obj1
= 0 ;
18561 char * kwnames
[] = {
18562 (char *) "self",(char *) "font", NULL
18565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18567 if (!SWIG_IsOK(res1
)) {
18568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18570 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18572 if (!SWIG_IsOK(res2
)) {
18573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18578 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 resultobj
= SWIG_Py_Void();
18592 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
= 0;
18594 wxFontData
*arg1
= (wxFontData
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 PyObject
* obj1
= 0 ;
18605 PyObject
* obj2
= 0 ;
18606 char * kwnames
[] = {
18607 (char *) "self",(char *) "min",(char *) "max", NULL
18610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18612 if (!SWIG_IsOK(res1
)) {
18613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18615 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18617 if (!SWIG_IsOK(ecode2
)) {
18618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18620 arg2
= static_cast< int >(val2
);
18621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18622 if (!SWIG_IsOK(ecode3
)) {
18623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18625 arg3
= static_cast< int >(val3
);
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 (arg1
)->SetRange(arg2
,arg3
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= SWIG_Py_Void();
18639 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
= 0;
18641 wxFontData
*arg1
= (wxFontData
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 PyObject
* obj1
= 0 ;
18649 char * kwnames
[] = {
18650 (char *) "self",(char *) "showHelp", NULL
18653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18655 if (!SWIG_IsOK(res1
)) {
18656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18658 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18659 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18660 if (!SWIG_IsOK(ecode2
)) {
18661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18663 arg2
= static_cast< bool >(val2
);
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->SetShowHelp(arg2
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= SWIG_Py_Void();
18677 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18680 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18681 return SWIG_Py_Void();
18684 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18685 return SWIG_Python_InitShadowInstance(args
);
18688 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
= 0;
18690 wxWindow
*arg1
= (wxWindow
*) 0 ;
18691 wxFontData
*arg2
= 0 ;
18692 wxFontDialog
*result
= 0 ;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 char * kwnames
[] = {
18700 (char *) "parent",(char *) "data", NULL
18703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18705 if (!SWIG_IsOK(res1
)) {
18706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18708 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18710 if (!SWIG_IsOK(res2
)) {
18711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18716 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18718 if (!wxPyCheckForApp()) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18731 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18732 PyObject
*resultobj
= 0;
18733 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18734 wxFontData
*result
= 0 ;
18737 PyObject
*swig_obj
[1] ;
18739 if (!args
) SWIG_fail
;
18740 swig_obj
[0] = args
;
18741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18742 if (!SWIG_IsOK(res1
)) {
18743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18745 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18750 result
= (wxFontData
*) &_result_ref
;
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18762 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18765 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18766 return SWIG_Py_Void();
18769 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18770 return SWIG_Python_InitShadowInstance(args
);
18773 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
= 0;
18775 wxWindow
*arg1
= (wxWindow
*) NULL
;
18776 wxFont
const &arg2_defvalue
= wxNullFont
;
18777 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18785 bool temp3
= false ;
18786 PyObject
* obj0
= 0 ;
18787 PyObject
* obj1
= 0 ;
18788 PyObject
* obj2
= 0 ;
18789 char * kwnames
[] = {
18790 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18796 if (!SWIG_IsOK(res1
)) {
18797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18799 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18803 if (!SWIG_IsOK(res2
)) {
18804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18809 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18813 arg3
= wxString_in_helper(obj2
);
18814 if (arg3
== NULL
) SWIG_fail
;
18819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18839 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
= 0;
18841 wxWindow
*arg1
= (wxWindow
*) 0 ;
18842 wxString
*arg2
= 0 ;
18843 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18844 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18845 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18846 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18847 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18848 wxMessageDialog
*result
= 0 ;
18851 bool temp2
= false ;
18852 bool temp3
= false ;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 PyObject
* obj2
= 0 ;
18859 PyObject
* obj3
= 0 ;
18860 PyObject
* obj4
= 0 ;
18861 char * kwnames
[] = {
18862 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18867 if (!SWIG_IsOK(res1
)) {
18868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18872 arg2
= wxString_in_helper(obj1
);
18873 if (arg2
== NULL
) SWIG_fail
;
18878 arg3
= wxString_in_helper(obj2
);
18879 if (arg3
== NULL
) SWIG_fail
;
18884 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
18885 if (!SWIG_IsOK(ecode4
)) {
18886 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18888 arg4
= static_cast< long >(val4
);
18893 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18897 if (!wxPyCheckForApp()) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
18926 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18929 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
18930 return SWIG_Py_Void();
18933 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18934 return SWIG_Python_InitShadowInstance(args
);
18937 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
= 0;
18939 wxString
*arg1
= 0 ;
18940 wxString
*arg2
= 0 ;
18941 int arg3
= (int) 100 ;
18942 wxWindow
*arg4
= (wxWindow
*) NULL
;
18943 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
18944 wxProgressDialog
*result
= 0 ;
18945 bool temp1
= false ;
18946 bool temp2
= false ;
18953 PyObject
* obj0
= 0 ;
18954 PyObject
* obj1
= 0 ;
18955 PyObject
* obj2
= 0 ;
18956 PyObject
* obj3
= 0 ;
18957 PyObject
* obj4
= 0 ;
18958 char * kwnames
[] = {
18959 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
18962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18964 arg1
= wxString_in_helper(obj0
);
18965 if (arg1
== NULL
) SWIG_fail
;
18969 arg2
= wxString_in_helper(obj1
);
18970 if (arg2
== NULL
) SWIG_fail
;
18974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18975 if (!SWIG_IsOK(ecode3
)) {
18976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
18978 arg3
= static_cast< int >(val3
);
18981 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18982 if (!SWIG_IsOK(res4
)) {
18983 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
18985 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
18988 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18989 if (!SWIG_IsOK(ecode5
)) {
18990 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
18992 arg5
= static_cast< int >(val5
);
18995 if (!wxPyCheckForApp()) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19024 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
= 0;
19026 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19028 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19029 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19030 bool *arg4
= (bool *) 0 ;
19036 bool temp3
= false ;
19038 int res4
= SWIG_TMPOBJ
;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 PyObject
* obj2
= 0 ;
19042 char * kwnames
[] = {
19043 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19049 if (!SWIG_IsOK(res1
)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19052 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19054 if (!SWIG_IsOK(ecode2
)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19057 arg2
= static_cast< int >(val2
);
19060 arg3
= wxString_in_helper(obj2
);
19061 if (arg3
== NULL
) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19074 if (SWIG_IsTmpObj(res4
)) {
19075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19077 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19094 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19095 PyObject
*resultobj
= 0;
19096 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19099 PyObject
*swig_obj
[1] ;
19101 if (!args
) SWIG_fail
;
19102 swig_obj
[0] = args
;
19103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19104 if (!SWIG_IsOK(res1
)) {
19105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19107 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 resultobj
= SWIG_Py_Void();
19121 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19124 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19125 return SWIG_Py_Void();
19128 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19129 return SWIG_Python_InitShadowInstance(args
);
19132 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
= 0;
19134 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19135 int arg2
= (int) 0 ;
19136 wxFindDialogEvent
*result
= 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char * kwnames
[] = {
19144 (char *) "commandType",(char *) "id", NULL
19147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19149 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19150 if (!SWIG_IsOK(ecode1
)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19153 arg1
= static_cast< wxEventType
>(val1
);
19156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19157 if (!SWIG_IsOK(ecode2
)) {
19158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19160 arg2
= static_cast< int >(val2
);
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19175 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19176 PyObject
*resultobj
= 0;
19177 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19181 PyObject
*swig_obj
[1] ;
19183 if (!args
) SWIG_fail
;
19184 swig_obj
[0] = args
;
19185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19186 if (!SWIG_IsOK(res1
)) {
19187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19189 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (int)(arg1
)->GetFlags();
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= SWIG_From_int(static_cast< int >(result
));
19203 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19204 PyObject
*resultobj
= 0;
19205 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19206 wxString
*result
= 0 ;
19209 PyObject
*swig_obj
[1] ;
19211 if (!args
) SWIG_fail
;
19212 swig_obj
[0] = args
;
19213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19214 if (!SWIG_IsOK(res1
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19217 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 wxString
const &_result_ref
= (arg1
)->GetFindString();
19222 result
= (wxString
*) &_result_ref
;
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19231 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19240 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19241 PyObject
*resultobj
= 0;
19242 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19243 wxString
*result
= 0 ;
19246 PyObject
*swig_obj
[1] ;
19248 if (!args
) SWIG_fail
;
19249 swig_obj
[0] = args
;
19250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19251 if (!SWIG_IsOK(res1
)) {
19252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19254 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19259 result
= (wxString
*) &_result_ref
;
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19277 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19278 PyObject
*resultobj
= 0;
19279 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19280 wxFindReplaceDialog
*result
= 0 ;
19283 PyObject
*swig_obj
[1] ;
19285 if (!args
) SWIG_fail
;
19286 swig_obj
[0] = args
;
19287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19288 if (!SWIG_IsOK(res1
)) {
19289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19291 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19305 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
= 0;
19307 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19313 PyObject
* obj0
= 0 ;
19314 PyObject
* obj1
= 0 ;
19315 char * kwnames
[] = {
19316 (char *) "self",(char *) "flags", NULL
19319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19321 if (!SWIG_IsOK(res1
)) {
19322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19324 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19326 if (!SWIG_IsOK(ecode2
)) {
19327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19329 arg2
= static_cast< int >(val2
);
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 (arg1
)->SetFlags(arg2
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 resultobj
= SWIG_Py_Void();
19343 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
= 0;
19345 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19346 wxString
*arg2
= 0 ;
19349 bool temp2
= false ;
19350 PyObject
* obj0
= 0 ;
19351 PyObject
* obj1
= 0 ;
19352 char * kwnames
[] = {
19353 (char *) "self",(char *) "str", NULL
19356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19358 if (!SWIG_IsOK(res1
)) {
19359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19361 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19363 arg2
= wxString_in_helper(obj1
);
19364 if (arg2
== NULL
) SWIG_fail
;
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 (arg1
)->SetFindString((wxString
const &)*arg2
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= SWIG_Py_Void();
19388 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
= 0;
19390 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19391 wxString
*arg2
= 0 ;
19394 bool temp2
= false ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 char * kwnames
[] = {
19398 (char *) "self",(char *) "str", NULL
19401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19403 if (!SWIG_IsOK(res1
)) {
19404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19406 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19408 arg2
= wxString_in_helper(obj1
);
19409 if (arg2
== NULL
) SWIG_fail
;
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 resultobj
= SWIG_Py_Void();
19433 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19436 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19437 return SWIG_Py_Void();
19440 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19441 return SWIG_Python_InitShadowInstance(args
);
19444 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
= 0;
19446 int arg1
= (int) 0 ;
19447 wxFindReplaceData
*result
= 0 ;
19450 PyObject
* obj0
= 0 ;
19451 char * kwnames
[] = {
19452 (char *) "flags", NULL
19455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19457 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19458 if (!SWIG_IsOK(ecode1
)) {
19459 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19461 arg1
= static_cast< int >(val1
);
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19476 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19477 PyObject
*resultobj
= 0;
19478 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19481 PyObject
*swig_obj
[1] ;
19483 if (!args
) SWIG_fail
;
19484 swig_obj
[0] = args
;
19485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19486 if (!SWIG_IsOK(res1
)) {
19487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19489 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= SWIG_Py_Void();
19504 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19505 PyObject
*resultobj
= 0;
19506 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19507 wxString
*result
= 0 ;
19510 PyObject
*swig_obj
[1] ;
19512 if (!args
) SWIG_fail
;
19513 swig_obj
[0] = args
;
19514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19515 if (!SWIG_IsOK(res1
)) {
19516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19518 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 wxString
const &_result_ref
= (arg1
)->GetFindString();
19523 result
= (wxString
*) &_result_ref
;
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19530 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19532 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19541 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19542 PyObject
*resultobj
= 0;
19543 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19544 wxString
*result
= 0 ;
19547 PyObject
*swig_obj
[1] ;
19549 if (!args
) SWIG_fail
;
19550 swig_obj
[0] = args
;
19551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19552 if (!SWIG_IsOK(res1
)) {
19553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19555 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19560 result
= (wxString
*) &_result_ref
;
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19578 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19579 PyObject
*resultobj
= 0;
19580 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19584 PyObject
*swig_obj
[1] ;
19586 if (!args
) SWIG_fail
;
19587 swig_obj
[0] = args
;
19588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19589 if (!SWIG_IsOK(res1
)) {
19590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19592 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (int)(arg1
)->GetFlags();
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_From_int(static_cast< int >(result
));
19606 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
= 0;
19608 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19614 PyObject
* obj0
= 0 ;
19615 PyObject
* obj1
= 0 ;
19616 char * kwnames
[] = {
19617 (char *) "self",(char *) "flags", NULL
19620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19622 if (!SWIG_IsOK(res1
)) {
19623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19625 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19627 if (!SWIG_IsOK(ecode2
)) {
19628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19630 arg2
= static_cast< int >(val2
);
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 (arg1
)->SetFlags(arg2
);
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= SWIG_Py_Void();
19644 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
= 0;
19646 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19647 wxString
*arg2
= 0 ;
19650 bool temp2
= false ;
19651 PyObject
* obj0
= 0 ;
19652 PyObject
* obj1
= 0 ;
19653 char * kwnames
[] = {
19654 (char *) "self",(char *) "str", NULL
19657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19659 if (!SWIG_IsOK(res1
)) {
19660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19662 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19664 arg2
= wxString_in_helper(obj1
);
19665 if (arg2
== NULL
) SWIG_fail
;
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 (arg1
)->SetFindString((wxString
const &)*arg2
);
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= SWIG_Py_Void();
19689 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
= 0;
19691 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19692 wxString
*arg2
= 0 ;
19695 bool temp2
= false ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 char * kwnames
[] = {
19699 (char *) "self",(char *) "str", NULL
19702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19704 if (!SWIG_IsOK(res1
)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19707 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19709 arg2
= wxString_in_helper(obj1
);
19710 if (arg2
== NULL
) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= SWIG_Py_Void();
19734 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19737 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19738 return SWIG_Py_Void();
19741 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19742 return SWIG_Python_InitShadowInstance(args
);
19745 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
= 0;
19747 wxWindow
*arg1
= (wxWindow
*) 0 ;
19748 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19749 wxString
*arg3
= 0 ;
19750 int arg4
= (int) 0 ;
19751 wxFindReplaceDialog
*result
= 0 ;
19756 bool temp3
= false ;
19759 PyObject
* obj0
= 0 ;
19760 PyObject
* obj1
= 0 ;
19761 PyObject
* obj2
= 0 ;
19762 PyObject
* obj3
= 0 ;
19763 char * kwnames
[] = {
19764 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19769 if (!SWIG_IsOK(res1
)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19772 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19774 if (!SWIG_IsOK(res2
)) {
19775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19777 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19779 arg3
= wxString_in_helper(obj2
);
19780 if (arg3
== NULL
) SWIG_fail
;
19784 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19785 if (!SWIG_IsOK(ecode4
)) {
19786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19788 arg4
= static_cast< int >(val4
);
19791 if (!wxPyCheckForApp()) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19812 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19813 PyObject
*resultobj
= 0;
19814 wxFindReplaceDialog
*result
= 0 ;
19816 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19818 if (!wxPyCheckForApp()) SWIG_fail
;
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19831 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
= 0;
19833 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19834 wxWindow
*arg2
= (wxWindow
*) 0 ;
19835 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19836 wxString
*arg4
= 0 ;
19837 int arg5
= (int) 0 ;
19845 bool temp4
= false ;
19848 PyObject
* obj0
= 0 ;
19849 PyObject
* obj1
= 0 ;
19850 PyObject
* obj2
= 0 ;
19851 PyObject
* obj3
= 0 ;
19852 PyObject
* obj4
= 0 ;
19853 char * kwnames
[] = {
19854 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19859 if (!SWIG_IsOK(res1
)) {
19860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19862 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19864 if (!SWIG_IsOK(res2
)) {
19865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19867 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19868 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19869 if (!SWIG_IsOK(res3
)) {
19870 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19872 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
19874 arg4
= wxString_in_helper(obj3
);
19875 if (arg4
== NULL
) SWIG_fail
;
19879 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19880 if (!SWIG_IsOK(ecode5
)) {
19881 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19883 arg5
= static_cast< int >(val5
);
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19908 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19909 PyObject
*resultobj
= 0;
19910 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19911 wxFindReplaceData
*result
= 0 ;
19914 PyObject
*swig_obj
[1] ;
19916 if (!args
) SWIG_fail
;
19917 swig_obj
[0] = args
;
19918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19922 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 result
= (wxFindReplaceData
*)(arg1
)->GetData();
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19936 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
= 0;
19938 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19939 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19944 PyObject
* obj0
= 0 ;
19945 PyObject
* obj1
= 0 ;
19946 char * kwnames
[] = {
19947 (char *) "self",(char *) "data", NULL
19950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19952 if (!SWIG_IsOK(res1
)) {
19953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19955 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19957 if (!SWIG_IsOK(res2
)) {
19958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19960 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 (arg1
)->SetData(arg2
);
19964 wxPyEndAllowThreads(__tstate
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19967 resultobj
= SWIG_Py_Void();
19974 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19977 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
19978 return SWIG_Py_Void();
19981 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19982 return SWIG_Python_InitShadowInstance(args
);
19985 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
= 0;
19987 wxWindow
*arg1
= (wxWindow
*) 0 ;
19988 int arg2
= (int) (int)-1 ;
19989 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19990 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19991 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19992 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19993 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19994 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19995 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
19996 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19997 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19998 wxMDIParentFrame
*result
= 0 ;
20003 bool temp3
= false ;
20008 bool temp7
= false ;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20011 PyObject
* obj2
= 0 ;
20012 PyObject
* obj3
= 0 ;
20013 PyObject
* obj4
= 0 ;
20014 PyObject
* obj5
= 0 ;
20015 PyObject
* obj6
= 0 ;
20016 char * kwnames
[] = {
20017 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20022 if (!SWIG_IsOK(res1
)) {
20023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20025 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20028 if (!SWIG_IsOK(ecode2
)) {
20029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20031 arg2
= static_cast< int >(val2
);
20035 arg3
= wxString_in_helper(obj2
);
20036 if (arg3
== NULL
) SWIG_fail
;
20043 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20049 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20053 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20054 if (!SWIG_IsOK(ecode6
)) {
20055 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20057 arg6
= static_cast< long >(val6
);
20061 arg7
= wxString_in_helper(obj6
);
20062 if (arg7
== NULL
) SWIG_fail
;
20067 if (!wxPyCheckForApp()) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20096 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20097 PyObject
*resultobj
= 0;
20098 wxMDIParentFrame
*result
= 0 ;
20100 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20102 if (!wxPyCheckForApp()) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20115 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
= 0;
20117 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20118 wxWindow
*arg2
= (wxWindow
*) 0 ;
20119 int arg3
= (int) (int)-1 ;
20120 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20121 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20122 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20123 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20124 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20125 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20126 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20127 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20128 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20136 bool temp4
= false ;
20141 bool temp8
= false ;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20144 PyObject
* obj2
= 0 ;
20145 PyObject
* obj3
= 0 ;
20146 PyObject
* obj4
= 0 ;
20147 PyObject
* obj5
= 0 ;
20148 PyObject
* obj6
= 0 ;
20149 PyObject
* obj7
= 0 ;
20150 char * kwnames
[] = {
20151 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20156 if (!SWIG_IsOK(res1
)) {
20157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20159 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20161 if (!SWIG_IsOK(res2
)) {
20162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20164 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20167 if (!SWIG_IsOK(ecode3
)) {
20168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20170 arg3
= static_cast< int >(val3
);
20174 arg4
= wxString_in_helper(obj3
);
20175 if (arg4
== NULL
) SWIG_fail
;
20182 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20188 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20192 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20193 if (!SWIG_IsOK(ecode7
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20196 arg7
= static_cast< long >(val7
);
20200 arg8
= wxString_in_helper(obj7
);
20201 if (arg8
== NULL
) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20236 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20237 PyObject
*resultobj
= 0;
20238 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20241 PyObject
*swig_obj
[1] ;
20243 if (!args
) SWIG_fail
;
20244 swig_obj
[0] = args
;
20245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20246 if (!SWIG_IsOK(res1
)) {
20247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20249 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 (arg1
)->ActivateNext();
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= SWIG_Py_Void();
20263 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20264 PyObject
*resultobj
= 0;
20265 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20268 PyObject
*swig_obj
[1] ;
20270 if (!args
) SWIG_fail
;
20271 swig_obj
[0] = args
;
20272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20273 if (!SWIG_IsOK(res1
)) {
20274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20276 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20279 (arg1
)->ActivatePrevious();
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20283 resultobj
= SWIG_Py_Void();
20290 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20291 PyObject
*resultobj
= 0;
20292 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20295 PyObject
*swig_obj
[1] ;
20297 if (!args
) SWIG_fail
;
20298 swig_obj
[0] = args
;
20299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20300 if (!SWIG_IsOK(res1
)) {
20301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20303 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 (arg1
)->ArrangeIcons();
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 resultobj
= SWIG_Py_Void();
20317 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20318 PyObject
*resultobj
= 0;
20319 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20322 PyObject
*swig_obj
[1] ;
20324 if (!args
) SWIG_fail
;
20325 swig_obj
[0] = args
;
20326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20327 if (!SWIG_IsOK(res1
)) {
20328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20330 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= SWIG_Py_Void();
20344 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20345 PyObject
*resultobj
= 0;
20346 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20347 wxMDIChildFrame
*result
= 0 ;
20350 PyObject
*swig_obj
[1] ;
20352 if (!args
) SWIG_fail
;
20353 swig_obj
[0] = args
;
20354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20355 if (!SWIG_IsOK(res1
)) {
20356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20358 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20374 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20375 PyObject
*resultobj
= 0;
20376 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20377 wxMDIClientWindow
*result
= 0 ;
20380 PyObject
*swig_obj
[1] ;
20382 if (!args
) SWIG_fail
;
20383 swig_obj
[0] = args
;
20384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20385 if (!SWIG_IsOK(res1
)) {
20386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20388 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20404 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20405 PyObject
*resultobj
= 0;
20406 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20407 wxWindow
*result
= 0 ;
20410 PyObject
*swig_obj
[1] ;
20412 if (!args
) SWIG_fail
;
20413 swig_obj
[0] = args
;
20414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20415 if (!SWIG_IsOK(res1
)) {
20416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20418 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (wxWindow
*)(arg1
)->GetToolBar();
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= wxPyMake_wxObject(result
, 0);
20434 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
= 0;
20436 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20437 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20442 PyObject
* obj0
= 0 ;
20443 PyObject
* obj1
= 0 ;
20444 char * kwnames
[] = {
20445 (char *) "self",(char *) "orient", NULL
20448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20450 if (!SWIG_IsOK(res1
)) {
20451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20453 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20456 if (!SWIG_IsOK(ecode2
)) {
20457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20459 arg2
= static_cast< wxOrientation
>(val2
);
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 (arg1
)->Tile(arg2
);
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= SWIG_Py_Void();
20474 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20477 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20478 return SWIG_Py_Void();
20481 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20482 return SWIG_Python_InitShadowInstance(args
);
20485 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
= 0;
20487 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20488 int arg2
= (int) (int)-1 ;
20489 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20490 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20495 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20496 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20497 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20498 wxMDIChildFrame
*result
= 0 ;
20503 bool temp3
= false ;
20508 bool temp7
= false ;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 PyObject
* obj2
= 0 ;
20512 PyObject
* obj3
= 0 ;
20513 PyObject
* obj4
= 0 ;
20514 PyObject
* obj5
= 0 ;
20515 PyObject
* obj6
= 0 ;
20516 char * kwnames
[] = {
20517 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20522 if (!SWIG_IsOK(res1
)) {
20523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20525 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20528 if (!SWIG_IsOK(ecode2
)) {
20529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20531 arg2
= static_cast< int >(val2
);
20535 arg3
= wxString_in_helper(obj2
);
20536 if (arg3
== NULL
) SWIG_fail
;
20543 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20549 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20553 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20554 if (!SWIG_IsOK(ecode6
)) {
20555 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20557 arg6
= static_cast< long >(val6
);
20561 arg7
= wxString_in_helper(obj6
);
20562 if (arg7
== NULL
) SWIG_fail
;
20567 if (!wxPyCheckForApp()) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20596 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20597 PyObject
*resultobj
= 0;
20598 wxMDIChildFrame
*result
= 0 ;
20600 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20602 if (!wxPyCheckForApp()) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20615 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
= 0;
20617 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20618 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20619 int arg3
= (int) (int)-1 ;
20620 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20621 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20622 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20623 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20624 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20625 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20626 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20627 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20628 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20636 bool temp4
= false ;
20641 bool temp8
= false ;
20642 PyObject
* obj0
= 0 ;
20643 PyObject
* obj1
= 0 ;
20644 PyObject
* obj2
= 0 ;
20645 PyObject
* obj3
= 0 ;
20646 PyObject
* obj4
= 0 ;
20647 PyObject
* obj5
= 0 ;
20648 PyObject
* obj6
= 0 ;
20649 PyObject
* obj7
= 0 ;
20650 char * kwnames
[] = {
20651 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20656 if (!SWIG_IsOK(res1
)) {
20657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20659 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20661 if (!SWIG_IsOK(res2
)) {
20662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20664 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20667 if (!SWIG_IsOK(ecode3
)) {
20668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20670 arg3
= static_cast< int >(val3
);
20674 arg4
= wxString_in_helper(obj3
);
20675 if (arg4
== NULL
) SWIG_fail
;
20682 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20688 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20692 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20693 if (!SWIG_IsOK(ecode7
)) {
20694 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20696 arg7
= static_cast< long >(val7
);
20700 arg8
= wxString_in_helper(obj7
);
20701 if (arg8
== NULL
) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20736 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20737 PyObject
*resultobj
= 0;
20738 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20741 PyObject
*swig_obj
[1] ;
20743 if (!args
) SWIG_fail
;
20744 swig_obj
[0] = args
;
20745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20746 if (!SWIG_IsOK(res1
)) {
20747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20749 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 (arg1
)->Activate();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_Py_Void();
20763 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20766 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20767 return SWIG_Py_Void();
20770 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20771 return SWIG_Python_InitShadowInstance(args
);
20774 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
= 0;
20776 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20777 long arg2
= (long) 0 ;
20778 wxMDIClientWindow
*result
= 0 ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char * kwnames
[] = {
20786 (char *) "parent",(char *) "style", NULL
20789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20791 if (!SWIG_IsOK(res1
)) {
20792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20794 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20796 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20797 if (!SWIG_IsOK(ecode2
)) {
20798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20800 arg2
= static_cast< long >(val2
);
20803 if (!wxPyCheckForApp()) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20816 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20817 PyObject
*resultobj
= 0;
20818 wxMDIClientWindow
*result
= 0 ;
20820 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20822 if (!wxPyCheckForApp()) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20835 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
= 0;
20837 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20838 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20839 long arg3
= (long) 0 ;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 PyObject
* obj2
= 0 ;
20850 char * kwnames
[] = {
20851 (char *) "self",(char *) "parent",(char *) "style", NULL
20854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20856 if (!SWIG_IsOK(res1
)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20859 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
20860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20861 if (!SWIG_IsOK(res2
)) {
20862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20864 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20866 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20867 if (!SWIG_IsOK(ecode3
)) {
20868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20870 arg3
= static_cast< long >(val3
);
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 result
= (bool)(arg1
)->Create(arg2
,arg3
);
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20887 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20890 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
20891 return SWIG_Py_Void();
20894 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20895 return SWIG_Python_InitShadowInstance(args
);
20898 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
= 0;
20900 wxWindow
*arg1
= (wxWindow
*) 0 ;
20901 int arg2
= (int) (int)-1 ;
20902 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20903 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20904 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20905 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20906 long arg5
= (long) 0 ;
20907 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20908 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20909 wxPyWindow
*result
= 0 ;
20918 bool temp6
= false ;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20921 PyObject
* obj2
= 0 ;
20922 PyObject
* obj3
= 0 ;
20923 PyObject
* obj4
= 0 ;
20924 PyObject
* obj5
= 0 ;
20925 char * kwnames
[] = {
20926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20931 if (!SWIG_IsOK(res1
)) {
20932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20934 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20937 if (!SWIG_IsOK(ecode2
)) {
20938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
20940 arg2
= static_cast< int >(val2
);
20945 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20951 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20955 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20956 if (!SWIG_IsOK(ecode5
)) {
20957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
20959 arg5
= static_cast< long >(val5
);
20963 arg6
= wxString_in_helper(obj5
);
20964 if (arg6
== NULL
) SWIG_fail
;
20969 if (!wxPyCheckForApp()) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
20990 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20991 PyObject
*resultobj
= 0;
20992 wxPyWindow
*result
= 0 ;
20994 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
20996 if (!wxPyCheckForApp()) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= (wxPyWindow
*)new wxPyWindow();
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21009 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
= 0;
21011 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21012 PyObject
*arg2
= (PyObject
*) 0 ;
21013 PyObject
*arg3
= (PyObject
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 PyObject
* obj1
= 0 ;
21018 PyObject
* obj2
= 0 ;
21019 char * kwnames
[] = {
21020 (char *) "self",(char *) "self",(char *) "_class", NULL
21023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21025 if (!SWIG_IsOK(res1
)) {
21026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21028 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21037 resultobj
= SWIG_Py_Void();
21044 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
= 0;
21046 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 char * kwnames
[] = {
21054 (char *) "self",(char *) "size", NULL
21057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21059 if (!SWIG_IsOK(res1
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21062 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21065 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= SWIG_Py_Void();
21080 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
= 0;
21082 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21083 wxDC
*arg2
= (wxDC
*) 0 ;
21089 PyObject
* obj0
= 0 ;
21090 PyObject
* obj1
= 0 ;
21091 char * kwnames
[] = {
21092 (char *) "self",(char *) "dc", NULL
21095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21097 if (!SWIG_IsOK(res1
)) {
21098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21100 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21102 if (!SWIG_IsOK(res2
)) {
21103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21105 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21121 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
= 0;
21123 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21140 PyObject
* obj2
= 0 ;
21141 PyObject
* obj3
= 0 ;
21142 PyObject
* obj4
= 0 ;
21143 char * kwnames
[] = {
21144 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21149 if (!SWIG_IsOK(res1
)) {
21150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21152 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21154 if (!SWIG_IsOK(ecode2
)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21157 arg2
= static_cast< int >(val2
);
21158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21159 if (!SWIG_IsOK(ecode3
)) {
21160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21162 arg3
= static_cast< int >(val3
);
21163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21164 if (!SWIG_IsOK(ecode4
)) {
21165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21167 arg4
= static_cast< int >(val4
);
21168 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21169 if (!SWIG_IsOK(ecode5
)) {
21170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21172 arg5
= static_cast< int >(val5
);
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= SWIG_Py_Void();
21186 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
= 0;
21188 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21193 int arg6
= (int) wxSIZE_AUTO
;
21206 PyObject
* obj0
= 0 ;
21207 PyObject
* obj1
= 0 ;
21208 PyObject
* obj2
= 0 ;
21209 PyObject
* obj3
= 0 ;
21210 PyObject
* obj4
= 0 ;
21211 PyObject
* obj5
= 0 ;
21212 char * kwnames
[] = {
21213 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21218 if (!SWIG_IsOK(res1
)) {
21219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21221 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21223 if (!SWIG_IsOK(ecode2
)) {
21224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21226 arg2
= static_cast< int >(val2
);
21227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21228 if (!SWIG_IsOK(ecode3
)) {
21229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21231 arg3
= static_cast< int >(val3
);
21232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21233 if (!SWIG_IsOK(ecode4
)) {
21234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21236 arg4
= static_cast< int >(val4
);
21237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21238 if (!SWIG_IsOK(ecode5
)) {
21239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21241 arg5
= static_cast< int >(val5
);
21243 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21244 if (!SWIG_IsOK(ecode6
)) {
21245 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21247 arg6
= static_cast< int >(val6
);
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_Py_Void();
21262 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
= 0;
21264 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21273 PyObject
* obj0
= 0 ;
21274 PyObject
* obj1
= 0 ;
21275 PyObject
* obj2
= 0 ;
21276 char * kwnames
[] = {
21277 (char *) "self",(char *) "width",(char *) "height", NULL
21280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21282 if (!SWIG_IsOK(res1
)) {
21283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21285 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21287 if (!SWIG_IsOK(ecode2
)) {
21288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21290 arg2
= static_cast< int >(val2
);
21291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21292 if (!SWIG_IsOK(ecode3
)) {
21293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21295 arg3
= static_cast< int >(val3
);
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 (arg1
)->DoSetClientSize(arg2
,arg3
);
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= SWIG_Py_Void();
21309 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
= 0;
21311 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21320 PyObject
* obj0
= 0 ;
21321 PyObject
* obj1
= 0 ;
21322 PyObject
* obj2
= 0 ;
21323 char * kwnames
[] = {
21324 (char *) "self",(char *) "x",(char *) "y", NULL
21327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21329 if (!SWIG_IsOK(res1
)) {
21330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21332 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21334 if (!SWIG_IsOK(ecode2
)) {
21335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21337 arg2
= static_cast< int >(val2
);
21338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21339 if (!SWIG_IsOK(ecode3
)) {
21340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21342 arg3
= static_cast< int >(val3
);
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 resultobj
= SWIG_Py_Void();
21356 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21357 PyObject
*resultobj
= 0;
21358 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21359 int *arg2
= (int *) 0 ;
21360 int *arg3
= (int *) 0 ;
21364 int res2
= SWIG_TMPOBJ
;
21366 int res3
= SWIG_TMPOBJ
;
21367 PyObject
*swig_obj
[1] ;
21371 if (!args
) SWIG_fail
;
21372 swig_obj
[0] = args
;
21373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21374 if (!SWIG_IsOK(res1
)) {
21375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21377 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_Py_Void();
21385 if (SWIG_IsTmpObj(res2
)) {
21386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21388 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21391 if (SWIG_IsTmpObj(res3
)) {
21392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21394 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21403 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21404 PyObject
*resultobj
= 0;
21405 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21406 int *arg2
= (int *) 0 ;
21407 int *arg3
= (int *) 0 ;
21411 int res2
= SWIG_TMPOBJ
;
21413 int res3
= SWIG_TMPOBJ
;
21414 PyObject
*swig_obj
[1] ;
21418 if (!args
) SWIG_fail
;
21419 swig_obj
[0] = args
;
21420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21421 if (!SWIG_IsOK(res1
)) {
21422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21424 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_Py_Void();
21432 if (SWIG_IsTmpObj(res2
)) {
21433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21435 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21438 if (SWIG_IsTmpObj(res3
)) {
21439 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21441 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21442 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21450 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21451 PyObject
*resultobj
= 0;
21452 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21453 int *arg2
= (int *) 0 ;
21454 int *arg3
= (int *) 0 ;
21458 int res2
= SWIG_TMPOBJ
;
21460 int res3
= SWIG_TMPOBJ
;
21461 PyObject
*swig_obj
[1] ;
21465 if (!args
) SWIG_fail
;
21466 swig_obj
[0] = args
;
21467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21468 if (!SWIG_IsOK(res1
)) {
21469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21471 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 resultobj
= SWIG_Py_Void();
21479 if (SWIG_IsTmpObj(res2
)) {
21480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21482 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21485 if (SWIG_IsTmpObj(res3
)) {
21486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21488 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21497 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21498 PyObject
*resultobj
= 0;
21499 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21503 PyObject
*swig_obj
[1] ;
21505 if (!args
) SWIG_fail
;
21506 swig_obj
[0] = args
;
21507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21508 if (!SWIG_IsOK(res1
)) {
21509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21511 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21525 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21526 PyObject
*resultobj
= 0;
21527 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21531 PyObject
*swig_obj
[1] ;
21533 if (!args
) SWIG_fail
;
21534 swig_obj
[0] = args
;
21535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21536 if (!SWIG_IsOK(res1
)) {
21537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21539 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21553 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21554 PyObject
*resultobj
= 0;
21555 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21556 SwigValueWrapper
<wxVisualAttributes
> result
;
21559 PyObject
*swig_obj
[1] ;
21561 if (!args
) SWIG_fail
;
21562 swig_obj
[0] = args
;
21563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21564 if (!SWIG_IsOK(res1
)) {
21565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21567 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= (arg1
)->GetDefaultAttributes();
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21581 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21582 PyObject
*resultobj
= 0;
21583 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21586 PyObject
*swig_obj
[1] ;
21588 if (!args
) SWIG_fail
;
21589 swig_obj
[0] = args
;
21590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21591 if (!SWIG_IsOK(res1
)) {
21592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21594 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 (arg1
)->OnInternalIdle();
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= SWIG_Py_Void();
21608 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21611 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21612 return SWIG_Py_Void();
21615 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21616 return SWIG_Python_InitShadowInstance(args
);
21619 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
= 0;
21621 wxWindow
*arg1
= (wxWindow
*) 0 ;
21622 int arg2
= (int) (int)-1 ;
21623 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21624 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21625 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21626 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21627 long arg5
= (long) 0 ;
21628 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21629 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21630 wxPyPanel
*result
= 0 ;
21639 bool temp6
= false ;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 PyObject
* obj2
= 0 ;
21643 PyObject
* obj3
= 0 ;
21644 PyObject
* obj4
= 0 ;
21645 PyObject
* obj5
= 0 ;
21646 char * kwnames
[] = {
21647 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21652 if (!SWIG_IsOK(res1
)) {
21653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21655 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21658 if (!SWIG_IsOK(ecode2
)) {
21659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21661 arg2
= static_cast< int >(val2
);
21666 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21672 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21676 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21677 if (!SWIG_IsOK(ecode5
)) {
21678 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21680 arg5
= static_cast< long >(val5
);
21684 arg6
= wxString_in_helper(obj5
);
21685 if (arg6
== NULL
) SWIG_fail
;
21690 if (!wxPyCheckForApp()) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21711 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21712 PyObject
*resultobj
= 0;
21713 wxPyPanel
*result
= 0 ;
21715 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21717 if (!wxPyCheckForApp()) SWIG_fail
;
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 result
= (wxPyPanel
*)new wxPyPanel();
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21730 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
= 0;
21732 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21733 PyObject
*arg2
= (PyObject
*) 0 ;
21734 PyObject
*arg3
= (PyObject
*) 0 ;
21737 PyObject
* obj0
= 0 ;
21738 PyObject
* obj1
= 0 ;
21739 PyObject
* obj2
= 0 ;
21740 char * kwnames
[] = {
21741 (char *) "self",(char *) "self",(char *) "_class", NULL
21744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21746 if (!SWIG_IsOK(res1
)) {
21747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21749 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= SWIG_Py_Void();
21765 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
= 0;
21767 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 char * kwnames
[] = {
21775 (char *) "self",(char *) "size", NULL
21778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21780 if (!SWIG_IsOK(res1
)) {
21781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21783 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21786 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= SWIG_Py_Void();
21801 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
= 0;
21803 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21804 wxDC
*arg2
= (wxDC
*) 0 ;
21810 PyObject
* obj0
= 0 ;
21811 PyObject
* obj1
= 0 ;
21812 char * kwnames
[] = {
21813 (char *) "self",(char *) "dc", NULL
21816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21818 if (!SWIG_IsOK(res1
)) {
21819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21821 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21823 if (!SWIG_IsOK(res2
)) {
21824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21826 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21842 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
= 0;
21844 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21859 PyObject
* obj0
= 0 ;
21860 PyObject
* obj1
= 0 ;
21861 PyObject
* obj2
= 0 ;
21862 PyObject
* obj3
= 0 ;
21863 PyObject
* obj4
= 0 ;
21864 char * kwnames
[] = {
21865 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21870 if (!SWIG_IsOK(res1
)) {
21871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21873 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21875 if (!SWIG_IsOK(ecode2
)) {
21876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21878 arg2
= static_cast< int >(val2
);
21879 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21880 if (!SWIG_IsOK(ecode3
)) {
21881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21883 arg3
= static_cast< int >(val3
);
21884 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21885 if (!SWIG_IsOK(ecode4
)) {
21886 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21888 arg4
= static_cast< int >(val4
);
21889 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21890 if (!SWIG_IsOK(ecode5
)) {
21891 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21893 arg5
= static_cast< int >(val5
);
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21897 wxPyEndAllowThreads(__tstate
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21900 resultobj
= SWIG_Py_Void();
21907 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21908 PyObject
*resultobj
= 0;
21909 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21914 int arg6
= (int) wxSIZE_AUTO
;
21927 PyObject
* obj0
= 0 ;
21928 PyObject
* obj1
= 0 ;
21929 PyObject
* obj2
= 0 ;
21930 PyObject
* obj3
= 0 ;
21931 PyObject
* obj4
= 0 ;
21932 PyObject
* obj5
= 0 ;
21933 char * kwnames
[] = {
21934 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21939 if (!SWIG_IsOK(res1
)) {
21940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21942 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21944 if (!SWIG_IsOK(ecode2
)) {
21945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21947 arg2
= static_cast< int >(val2
);
21948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21949 if (!SWIG_IsOK(ecode3
)) {
21950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21952 arg3
= static_cast< int >(val3
);
21953 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21954 if (!SWIG_IsOK(ecode4
)) {
21955 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21957 arg4
= static_cast< int >(val4
);
21958 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21959 if (!SWIG_IsOK(ecode5
)) {
21960 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21962 arg5
= static_cast< int >(val5
);
21964 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21965 if (!SWIG_IsOK(ecode6
)) {
21966 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21968 arg6
= static_cast< int >(val6
);
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 resultobj
= SWIG_Py_Void();
21983 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
= 0;
21985 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 PyObject
* obj2
= 0 ;
21997 char * kwnames
[] = {
21998 (char *) "self",(char *) "width",(char *) "height", NULL
22001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22003 if (!SWIG_IsOK(res1
)) {
22004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22006 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22008 if (!SWIG_IsOK(ecode2
)) {
22009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22011 arg2
= static_cast< int >(val2
);
22012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22013 if (!SWIG_IsOK(ecode3
)) {
22014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22016 arg3
= static_cast< int >(val3
);
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 (arg1
)->DoSetClientSize(arg2
,arg3
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22023 resultobj
= SWIG_Py_Void();
22030 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
= 0;
22032 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 PyObject
* obj2
= 0 ;
22044 char * kwnames
[] = {
22045 (char *) "self",(char *) "x",(char *) "y", NULL
22048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22050 if (!SWIG_IsOK(res1
)) {
22051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22053 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22055 if (!SWIG_IsOK(ecode2
)) {
22056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22058 arg2
= static_cast< int >(val2
);
22059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22060 if (!SWIG_IsOK(ecode3
)) {
22061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22063 arg3
= static_cast< int >(val3
);
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= SWIG_Py_Void();
22077 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22078 PyObject
*resultobj
= 0;
22079 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22080 int *arg2
= (int *) 0 ;
22081 int *arg3
= (int *) 0 ;
22085 int res2
= SWIG_TMPOBJ
;
22087 int res3
= SWIG_TMPOBJ
;
22088 PyObject
*swig_obj
[1] ;
22092 if (!args
) SWIG_fail
;
22093 swig_obj
[0] = args
;
22094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22095 if (!SWIG_IsOK(res1
)) {
22096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22098 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= SWIG_Py_Void();
22106 if (SWIG_IsTmpObj(res2
)) {
22107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22109 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22112 if (SWIG_IsTmpObj(res3
)) {
22113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22115 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22124 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22125 PyObject
*resultobj
= 0;
22126 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22127 int *arg2
= (int *) 0 ;
22128 int *arg3
= (int *) 0 ;
22132 int res2
= SWIG_TMPOBJ
;
22134 int res3
= SWIG_TMPOBJ
;
22135 PyObject
*swig_obj
[1] ;
22139 if (!args
) SWIG_fail
;
22140 swig_obj
[0] = args
;
22141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22142 if (!SWIG_IsOK(res1
)) {
22143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22145 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= SWIG_Py_Void();
22153 if (SWIG_IsTmpObj(res2
)) {
22154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22156 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22159 if (SWIG_IsTmpObj(res3
)) {
22160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22162 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22171 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22172 PyObject
*resultobj
= 0;
22173 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22174 int *arg2
= (int *) 0 ;
22175 int *arg3
= (int *) 0 ;
22179 int res2
= SWIG_TMPOBJ
;
22181 int res3
= SWIG_TMPOBJ
;
22182 PyObject
*swig_obj
[1] ;
22186 if (!args
) SWIG_fail
;
22187 swig_obj
[0] = args
;
22188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22189 if (!SWIG_IsOK(res1
)) {
22190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22192 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22196 wxPyEndAllowThreads(__tstate
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= SWIG_Py_Void();
22200 if (SWIG_IsTmpObj(res2
)) {
22201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22203 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22206 if (SWIG_IsTmpObj(res3
)) {
22207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22209 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22218 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22219 PyObject
*resultobj
= 0;
22220 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22224 PyObject
*swig_obj
[1] ;
22226 if (!args
) SWIG_fail
;
22227 swig_obj
[0] = args
;
22228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22229 if (!SWIG_IsOK(res1
)) {
22230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22232 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22246 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22247 PyObject
*resultobj
= 0;
22248 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22252 PyObject
*swig_obj
[1] ;
22254 if (!args
) SWIG_fail
;
22255 swig_obj
[0] = args
;
22256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22257 if (!SWIG_IsOK(res1
)) {
22258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22260 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22274 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22275 PyObject
*resultobj
= 0;
22276 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22277 SwigValueWrapper
<wxVisualAttributes
> result
;
22280 PyObject
*swig_obj
[1] ;
22282 if (!args
) SWIG_fail
;
22283 swig_obj
[0] = args
;
22284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22285 if (!SWIG_IsOK(res1
)) {
22286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22288 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 result
= (arg1
)->GetDefaultAttributes();
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22302 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22303 PyObject
*resultobj
= 0;
22304 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22307 PyObject
*swig_obj
[1] ;
22309 if (!args
) SWIG_fail
;
22310 swig_obj
[0] = args
;
22311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22312 if (!SWIG_IsOK(res1
)) {
22313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22315 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 (arg1
)->OnInternalIdle();
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_Py_Void();
22329 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22332 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22333 return SWIG_Py_Void();
22336 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22337 return SWIG_Python_InitShadowInstance(args
);
22340 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
= 0;
22342 wxWindow
*arg1
= (wxWindow
*) 0 ;
22343 int arg2
= (int) (int)-1 ;
22344 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22345 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22346 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22347 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22348 long arg5
= (long) 0 ;
22349 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22350 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22351 wxPyScrolledWindow
*result
= 0 ;
22360 bool temp6
= false ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 PyObject
* obj2
= 0 ;
22364 PyObject
* obj3
= 0 ;
22365 PyObject
* obj4
= 0 ;
22366 PyObject
* obj5
= 0 ;
22367 char * kwnames
[] = {
22368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22373 if (!SWIG_IsOK(res1
)) {
22374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22379 if (!SWIG_IsOK(ecode2
)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22382 arg2
= static_cast< int >(val2
);
22387 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22393 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22397 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22398 if (!SWIG_IsOK(ecode5
)) {
22399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22401 arg5
= static_cast< long >(val5
);
22405 arg6
= wxString_in_helper(obj5
);
22406 if (arg6
== NULL
) SWIG_fail
;
22411 if (!wxPyCheckForApp()) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22432 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22433 PyObject
*resultobj
= 0;
22434 wxPyScrolledWindow
*result
= 0 ;
22436 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22438 if (!wxPyCheckForApp()) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22451 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
= 0;
22453 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22454 PyObject
*arg2
= (PyObject
*) 0 ;
22455 PyObject
*arg3
= (PyObject
*) 0 ;
22458 PyObject
* obj0
= 0 ;
22459 PyObject
* obj1
= 0 ;
22460 PyObject
* obj2
= 0 ;
22461 char * kwnames
[] = {
22462 (char *) "self",(char *) "self",(char *) "_class", NULL
22465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22467 if (!SWIG_IsOK(res1
)) {
22468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22470 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= SWIG_Py_Void();
22486 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
= 0;
22488 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 char * kwnames
[] = {
22496 (char *) "self",(char *) "size", NULL
22499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22501 if (!SWIG_IsOK(res1
)) {
22502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22504 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22507 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= SWIG_Py_Void();
22522 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
= 0;
22524 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22525 wxDC
*arg2
= (wxDC
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 char * kwnames
[] = {
22534 (char *) "self",(char *) "dc", NULL
22537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22539 if (!SWIG_IsOK(res1
)) {
22540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22542 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22543 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22544 if (!SWIG_IsOK(res2
)) {
22545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22547 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22551 wxPyEndAllowThreads(__tstate
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22563 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22564 PyObject
*resultobj
= 0;
22565 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 PyObject
* obj1
= 0 ;
22582 PyObject
* obj2
= 0 ;
22583 PyObject
* obj3
= 0 ;
22584 PyObject
* obj4
= 0 ;
22585 char * kwnames
[] = {
22586 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22591 if (!SWIG_IsOK(res1
)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22594 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22596 if (!SWIG_IsOK(ecode2
)) {
22597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22599 arg2
= static_cast< int >(val2
);
22600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22601 if (!SWIG_IsOK(ecode3
)) {
22602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22604 arg3
= static_cast< int >(val3
);
22605 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22606 if (!SWIG_IsOK(ecode4
)) {
22607 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22609 arg4
= static_cast< int >(val4
);
22610 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22611 if (!SWIG_IsOK(ecode5
)) {
22612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22614 arg5
= static_cast< int >(val5
);
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 resultobj
= SWIG_Py_Void();
22628 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
= 0;
22630 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22635 int arg6
= (int) wxSIZE_AUTO
;
22648 PyObject
* obj0
= 0 ;
22649 PyObject
* obj1
= 0 ;
22650 PyObject
* obj2
= 0 ;
22651 PyObject
* obj3
= 0 ;
22652 PyObject
* obj4
= 0 ;
22653 PyObject
* obj5
= 0 ;
22654 char * kwnames
[] = {
22655 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22660 if (!SWIG_IsOK(res1
)) {
22661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22663 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22665 if (!SWIG_IsOK(ecode2
)) {
22666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22668 arg2
= static_cast< int >(val2
);
22669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22670 if (!SWIG_IsOK(ecode3
)) {
22671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22673 arg3
= static_cast< int >(val3
);
22674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22675 if (!SWIG_IsOK(ecode4
)) {
22676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22678 arg4
= static_cast< int >(val4
);
22679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22680 if (!SWIG_IsOK(ecode5
)) {
22681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22683 arg5
= static_cast< int >(val5
);
22685 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22686 if (!SWIG_IsOK(ecode6
)) {
22687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22689 arg6
= static_cast< int >(val6
);
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 resultobj
= SWIG_Py_Void();
22704 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
= 0;
22706 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 PyObject
* obj1
= 0 ;
22717 PyObject
* obj2
= 0 ;
22718 char * kwnames
[] = {
22719 (char *) "self",(char *) "width",(char *) "height", NULL
22722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22724 if (!SWIG_IsOK(res1
)) {
22725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22727 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22729 if (!SWIG_IsOK(ecode2
)) {
22730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22732 arg2
= static_cast< int >(val2
);
22733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22734 if (!SWIG_IsOK(ecode3
)) {
22735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22737 arg3
= static_cast< int >(val3
);
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 (arg1
)->DoSetClientSize(arg2
,arg3
);
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= SWIG_Py_Void();
22751 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
= 0;
22753 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22762 PyObject
* obj0
= 0 ;
22763 PyObject
* obj1
= 0 ;
22764 PyObject
* obj2
= 0 ;
22765 char * kwnames
[] = {
22766 (char *) "self",(char *) "x",(char *) "y", NULL
22769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22771 if (!SWIG_IsOK(res1
)) {
22772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22774 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22776 if (!SWIG_IsOK(ecode2
)) {
22777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22779 arg2
= static_cast< int >(val2
);
22780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22781 if (!SWIG_IsOK(ecode3
)) {
22782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22784 arg3
= static_cast< int >(val3
);
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 resultobj
= SWIG_Py_Void();
22798 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22799 PyObject
*resultobj
= 0;
22800 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22801 int *arg2
= (int *) 0 ;
22802 int *arg3
= (int *) 0 ;
22806 int res2
= SWIG_TMPOBJ
;
22808 int res3
= SWIG_TMPOBJ
;
22809 PyObject
*swig_obj
[1] ;
22813 if (!args
) SWIG_fail
;
22814 swig_obj
[0] = args
;
22815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22816 if (!SWIG_IsOK(res1
)) {
22817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22819 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 resultobj
= SWIG_Py_Void();
22827 if (SWIG_IsTmpObj(res2
)) {
22828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22830 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22833 if (SWIG_IsTmpObj(res3
)) {
22834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22836 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22845 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22846 PyObject
*resultobj
= 0;
22847 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22848 int *arg2
= (int *) 0 ;
22849 int *arg3
= (int *) 0 ;
22853 int res2
= SWIG_TMPOBJ
;
22855 int res3
= SWIG_TMPOBJ
;
22856 PyObject
*swig_obj
[1] ;
22860 if (!args
) SWIG_fail
;
22861 swig_obj
[0] = args
;
22862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22863 if (!SWIG_IsOK(res1
)) {
22864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22866 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= SWIG_Py_Void();
22874 if (SWIG_IsTmpObj(res2
)) {
22875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22877 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22880 if (SWIG_IsTmpObj(res3
)) {
22881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22883 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22892 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22893 PyObject
*resultobj
= 0;
22894 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22895 int *arg2
= (int *) 0 ;
22896 int *arg3
= (int *) 0 ;
22900 int res2
= SWIG_TMPOBJ
;
22902 int res3
= SWIG_TMPOBJ
;
22903 PyObject
*swig_obj
[1] ;
22907 if (!args
) SWIG_fail
;
22908 swig_obj
[0] = args
;
22909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22910 if (!SWIG_IsOK(res1
)) {
22911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22913 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 resultobj
= SWIG_Py_Void();
22921 if (SWIG_IsTmpObj(res2
)) {
22922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22924 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22927 if (SWIG_IsTmpObj(res3
)) {
22928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22930 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22939 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22940 PyObject
*resultobj
= 0;
22941 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22945 PyObject
*swig_obj
[1] ;
22947 if (!args
) SWIG_fail
;
22948 swig_obj
[0] = args
;
22949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22950 if (!SWIG_IsOK(res1
)) {
22951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22953 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22967 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22968 PyObject
*resultobj
= 0;
22969 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22973 PyObject
*swig_obj
[1] ;
22975 if (!args
) SWIG_fail
;
22976 swig_obj
[0] = args
;
22977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22978 if (!SWIG_IsOK(res1
)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22981 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22995 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22996 PyObject
*resultobj
= 0;
22997 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22998 SwigValueWrapper
<wxVisualAttributes
> result
;
23001 PyObject
*swig_obj
[1] ;
23003 if (!args
) SWIG_fail
;
23004 swig_obj
[0] = args
;
23005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23006 if (!SWIG_IsOK(res1
)) {
23007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23009 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 result
= (arg1
)->GetDefaultAttributes();
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23016 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23023 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23024 PyObject
*resultobj
= 0;
23025 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23028 PyObject
*swig_obj
[1] ;
23030 if (!args
) SWIG_fail
;
23031 swig_obj
[0] = args
;
23032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23033 if (!SWIG_IsOK(res1
)) {
23034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23036 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 (arg1
)->OnInternalIdle();
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_Py_Void();
23050 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23053 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23054 return SWIG_Py_Void();
23057 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23058 return SWIG_Python_InitShadowInstance(args
);
23061 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23062 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23067 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23068 PyObject
*pyobj
= 0;
23072 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23074 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23081 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23082 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23087 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23088 PyObject
*pyobj
= 0;
23092 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23094 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23101 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23102 PyObject
*resultobj
= 0;
23103 wxPrintData
*result
= 0 ;
23105 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= (wxPrintData
*)new wxPrintData();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23119 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23120 PyObject
*resultobj
= 0;
23121 wxPrintData
*arg1
= 0 ;
23122 wxPrintData
*result
= 0 ;
23126 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23128 if (!SWIG_IsOK(res1
)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23134 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23148 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23152 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23155 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23158 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23162 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23167 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23168 PyObject
*resultobj
= 0;
23169 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23172 PyObject
*swig_obj
[1] ;
23174 if (!args
) SWIG_fail
;
23175 swig_obj
[0] = args
;
23176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23177 if (!SWIG_IsOK(res1
)) {
23178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23180 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= SWIG_Py_Void();
23195 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23196 PyObject
*resultobj
= 0;
23197 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23201 PyObject
*swig_obj
[1] ;
23203 if (!args
) SWIG_fail
;
23204 swig_obj
[0] = args
;
23205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23206 if (!SWIG_IsOK(res1
)) {
23207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23209 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 result
= (int)(arg1
)->GetNoCopies();
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 resultobj
= SWIG_From_int(static_cast< int >(result
));
23223 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23224 PyObject
*resultobj
= 0;
23225 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23229 PyObject
*swig_obj
[1] ;
23231 if (!args
) SWIG_fail
;
23232 swig_obj
[0] = args
;
23233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23234 if (!SWIG_IsOK(res1
)) {
23235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23237 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= (bool)(arg1
)->GetCollate();
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23253 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23254 PyObject
*resultobj
= 0;
23255 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23259 PyObject
*swig_obj
[1] ;
23261 if (!args
) SWIG_fail
;
23262 swig_obj
[0] = args
;
23263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23264 if (!SWIG_IsOK(res1
)) {
23265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23267 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 result
= (int)(arg1
)->GetOrientation();
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23274 resultobj
= SWIG_From_int(static_cast< int >(result
));
23281 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23282 PyObject
*resultobj
= 0;
23283 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23287 PyObject
*swig_obj
[1] ;
23289 if (!args
) SWIG_fail
;
23290 swig_obj
[0] = args
;
23291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23292 if (!SWIG_IsOK(res1
)) {
23293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23295 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 result
= (bool)(arg1
)->Ok();
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23311 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23312 PyObject
*resultobj
= 0;
23313 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23314 wxString
*result
= 0 ;
23317 PyObject
*swig_obj
[1] ;
23319 if (!args
) SWIG_fail
;
23320 swig_obj
[0] = args
;
23321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23322 if (!SWIG_IsOK(res1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23325 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23330 result
= (wxString
*) &_result_ref
;
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23339 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23348 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23349 PyObject
*resultobj
= 0;
23350 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23354 PyObject
*swig_obj
[1] ;
23356 if (!args
) SWIG_fail
;
23357 swig_obj
[0] = args
;
23358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23359 if (!SWIG_IsOK(res1
)) {
23360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23362 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (bool)(arg1
)->GetColour();
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23378 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23379 PyObject
*resultobj
= 0;
23380 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23381 wxDuplexMode result
;
23384 PyObject
*swig_obj
[1] ;
23386 if (!args
) SWIG_fail
;
23387 swig_obj
[0] = args
;
23388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23389 if (!SWIG_IsOK(res1
)) {
23390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23392 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= SWIG_From_int(static_cast< int >(result
));
23406 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23407 PyObject
*resultobj
= 0;
23408 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23409 wxPaperSize result
;
23412 PyObject
*swig_obj
[1] ;
23414 if (!args
) SWIG_fail
;
23415 swig_obj
[0] = args
;
23416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23417 if (!SWIG_IsOK(res1
)) {
23418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23420 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= SWIG_From_int(static_cast< int >(result
));
23434 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23435 PyObject
*resultobj
= 0;
23436 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23437 wxSize
*result
= 0 ;
23440 PyObject
*swig_obj
[1] ;
23442 if (!args
) SWIG_fail
;
23443 swig_obj
[0] = args
;
23444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23445 if (!SWIG_IsOK(res1
)) {
23446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23448 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23453 result
= (wxSize
*) &_result_ref
;
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23465 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23466 PyObject
*resultobj
= 0;
23467 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23471 PyObject
*swig_obj
[1] ;
23473 if (!args
) SWIG_fail
;
23474 swig_obj
[0] = args
;
23475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23476 if (!SWIG_IsOK(res1
)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23479 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (int)(arg1
)->GetQuality();
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_From_int(static_cast< int >(result
));
23493 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23494 PyObject
*resultobj
= 0;
23495 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23499 PyObject
*swig_obj
[1] ;
23501 if (!args
) SWIG_fail
;
23502 swig_obj
[0] = args
;
23503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23504 if (!SWIG_IsOK(res1
)) {
23505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23507 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (wxPrintBin
)(arg1
)->GetBin();
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 resultobj
= SWIG_From_int(static_cast< int >(result
));
23521 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23522 PyObject
*resultobj
= 0;
23523 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23524 wxPrintMode result
;
23527 PyObject
*swig_obj
[1] ;
23529 if (!args
) SWIG_fail
;
23530 swig_obj
[0] = args
;
23531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23532 if (!SWIG_IsOK(res1
)) {
23533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23535 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_From_int(static_cast< int >(result
));
23549 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
= 0;
23551 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23557 PyObject
* obj0
= 0 ;
23558 PyObject
* obj1
= 0 ;
23559 char * kwnames
[] = {
23560 (char *) "self",(char *) "v", NULL
23563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23565 if (!SWIG_IsOK(res1
)) {
23566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23568 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23570 if (!SWIG_IsOK(ecode2
)) {
23571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23573 arg2
= static_cast< int >(val2
);
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 (arg1
)->SetNoCopies(arg2
);
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= SWIG_Py_Void();
23587 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
= 0;
23589 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23595 PyObject
* obj0
= 0 ;
23596 PyObject
* obj1
= 0 ;
23597 char * kwnames
[] = {
23598 (char *) "self",(char *) "flag", NULL
23601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23603 if (!SWIG_IsOK(res1
)) {
23604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23606 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23607 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23608 if (!SWIG_IsOK(ecode2
)) {
23609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23611 arg2
= static_cast< bool >(val2
);
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 (arg1
)->SetCollate(arg2
);
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_Py_Void();
23625 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
= 0;
23627 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23635 char * kwnames
[] = {
23636 (char *) "self",(char *) "orient", NULL
23639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23641 if (!SWIG_IsOK(res1
)) {
23642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23644 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23646 if (!SWIG_IsOK(ecode2
)) {
23647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23649 arg2
= static_cast< int >(val2
);
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 (arg1
)->SetOrientation(arg2
);
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= SWIG_Py_Void();
23663 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
= 0;
23665 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23666 wxString
*arg2
= 0 ;
23669 bool temp2
= false ;
23670 PyObject
* obj0
= 0 ;
23671 PyObject
* obj1
= 0 ;
23672 char * kwnames
[] = {
23673 (char *) "self",(char *) "name", NULL
23676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23678 if (!SWIG_IsOK(res1
)) {
23679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23681 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23683 arg2
= wxString_in_helper(obj1
);
23684 if (arg2
== NULL
) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= SWIG_Py_Void();
23708 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23709 PyObject
*resultobj
= 0;
23710 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 char * kwnames
[] = {
23719 (char *) "self",(char *) "colour", NULL
23722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23724 if (!SWIG_IsOK(res1
)) {
23725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23727 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23728 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23729 if (!SWIG_IsOK(ecode2
)) {
23730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23732 arg2
= static_cast< bool >(val2
);
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 (arg1
)->SetColour(arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_Py_Void();
23746 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
= 0;
23748 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23749 wxDuplexMode arg2
;
23754 PyObject
* obj0
= 0 ;
23755 PyObject
* obj1
= 0 ;
23756 char * kwnames
[] = {
23757 (char *) "self",(char *) "duplex", NULL
23760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23762 if (!SWIG_IsOK(res1
)) {
23763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23765 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23767 if (!SWIG_IsOK(ecode2
)) {
23768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23770 arg2
= static_cast< wxDuplexMode
>(val2
);
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 (arg1
)->SetDuplex(arg2
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_Py_Void();
23784 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
= 0;
23786 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 char * kwnames
[] = {
23795 (char *) "self",(char *) "sizeId", NULL
23798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23800 if (!SWIG_IsOK(res1
)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23803 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23805 if (!SWIG_IsOK(ecode2
)) {
23806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23808 arg2
= static_cast< wxPaperSize
>(val2
);
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 (arg1
)->SetPaperId(arg2
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_Py_Void();
23822 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23823 PyObject
*resultobj
= 0;
23824 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23829 PyObject
* obj0
= 0 ;
23830 PyObject
* obj1
= 0 ;
23831 char * kwnames
[] = {
23832 (char *) "self",(char *) "sz", NULL
23835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23837 if (!SWIG_IsOK(res1
)) {
23838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23840 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23843 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= SWIG_Py_Void();
23858 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
= 0;
23860 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23866 PyObject
* obj0
= 0 ;
23867 PyObject
* obj1
= 0 ;
23868 char * kwnames
[] = {
23869 (char *) "self",(char *) "quality", NULL
23872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23874 if (!SWIG_IsOK(res1
)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23877 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23879 if (!SWIG_IsOK(ecode2
)) {
23880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23882 arg2
= static_cast< int >(val2
);
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 (arg1
)->SetQuality(arg2
);
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= SWIG_Py_Void();
23896 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
= 0;
23898 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23904 PyObject
* obj0
= 0 ;
23905 PyObject
* obj1
= 0 ;
23906 char * kwnames
[] = {
23907 (char *) "self",(char *) "bin", NULL
23910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23912 if (!SWIG_IsOK(res1
)) {
23913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23915 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23917 if (!SWIG_IsOK(ecode2
)) {
23918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23920 arg2
= static_cast< wxPrintBin
>(val2
);
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 (arg1
)->SetBin(arg2
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_Py_Void();
23934 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
= 0;
23936 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 char * kwnames
[] = {
23945 (char *) "self",(char *) "printMode", NULL
23948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23950 if (!SWIG_IsOK(res1
)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
23953 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23955 if (!SWIG_IsOK(ecode2
)) {
23956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
23958 arg2
= static_cast< wxPrintMode
>(val2
);
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 (arg1
)->SetPrintMode(arg2
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= SWIG_Py_Void();
23972 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23973 PyObject
*resultobj
= 0;
23974 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23978 PyObject
*swig_obj
[1] ;
23980 if (!args
) SWIG_fail
;
23981 swig_obj
[0] = args
;
23982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23983 if (!SWIG_IsOK(res1
)) {
23984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23986 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= ((wxPrintData
const *)arg1
)->GetFilename();
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24006 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
= 0;
24008 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24009 wxString
*arg2
= 0 ;
24012 bool temp2
= false ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char * kwnames
[] = {
24016 (char *) "self",(char *) "filename", NULL
24019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24021 if (!SWIG_IsOK(res1
)) {
24022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24024 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24026 arg2
= wxString_in_helper(obj1
);
24027 if (arg2
== NULL
) SWIG_fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 (arg1
)->SetFilename((wxString
const &)*arg2
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= SWIG_Py_Void();
24051 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24052 PyObject
*resultobj
= 0;
24053 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24054 PyObject
*result
= 0 ;
24057 PyObject
*swig_obj
[1] ;
24059 if (!args
) SWIG_fail
;
24060 swig_obj
[0] = args
;
24061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24062 if (!SWIG_IsOK(res1
)) {
24063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24065 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= result
;
24079 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
= 0;
24081 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24082 PyObject
*arg2
= (PyObject
*) 0 ;
24085 PyObject
* obj0
= 0 ;
24086 PyObject
* obj1
= 0 ;
24087 char * kwnames
[] = {
24088 (char *) "self",(char *) "data", NULL
24091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24093 if (!SWIG_IsOK(res1
)) {
24094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24096 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 wxPrintData_SetPrivData(arg1
,arg2
);
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= SWIG_Py_Void();
24111 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24114 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24115 return SWIG_Py_Void();
24118 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24119 return SWIG_Python_InitShadowInstance(args
);
24122 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24123 PyObject
*resultobj
= 0;
24124 wxPageSetupDialogData
*result
= 0 ;
24126 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24140 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24141 PyObject
*resultobj
= 0;
24142 wxPageSetupDialogData
*arg1
= 0 ;
24143 wxPageSetupDialogData
*result
= 0 ;
24147 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24149 if (!SWIG_IsOK(res1
)) {
24150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24155 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24169 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24170 PyObject
*resultobj
= 0;
24171 wxPrintData
*arg1
= 0 ;
24172 wxPageSetupDialogData
*result
= 0 ;
24176 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24178 if (!SWIG_IsOK(res1
)) {
24179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24184 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24198 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24202 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24205 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24210 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24211 _v
= SWIG_CheckState(res
);
24213 if (!_v
) goto check_2
;
24214 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24219 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24223 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24228 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24229 PyObject
*resultobj
= 0;
24230 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24233 PyObject
*swig_obj
[1] ;
24235 if (!args
) SWIG_fail
;
24236 swig_obj
[0] = args
;
24237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24238 if (!SWIG_IsOK(res1
)) {
24239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24241 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 resultobj
= SWIG_Py_Void();
24256 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
= 0;
24258 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24264 PyObject
* obj0
= 0 ;
24265 PyObject
* obj1
= 0 ;
24266 char * kwnames
[] = {
24267 (char *) "self",(char *) "flag", NULL
24270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24272 if (!SWIG_IsOK(res1
)) {
24273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24275 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24276 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24277 if (!SWIG_IsOK(ecode2
)) {
24278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24280 arg2
= static_cast< bool >(val2
);
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 (arg1
)->EnableHelp(arg2
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24287 resultobj
= SWIG_Py_Void();
24294 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
= 0;
24296 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24302 PyObject
* obj0
= 0 ;
24303 PyObject
* obj1
= 0 ;
24304 char * kwnames
[] = {
24305 (char *) "self",(char *) "flag", NULL
24308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24310 if (!SWIG_IsOK(res1
)) {
24311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24313 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24314 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24315 if (!SWIG_IsOK(ecode2
)) {
24316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24318 arg2
= static_cast< bool >(val2
);
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 (arg1
)->EnableMargins(arg2
);
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= SWIG_Py_Void();
24332 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
= 0;
24334 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24340 PyObject
* obj0
= 0 ;
24341 PyObject
* obj1
= 0 ;
24342 char * kwnames
[] = {
24343 (char *) "self",(char *) "flag", NULL
24346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24348 if (!SWIG_IsOK(res1
)) {
24349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24351 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24352 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24353 if (!SWIG_IsOK(ecode2
)) {
24354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24356 arg2
= static_cast< bool >(val2
);
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 (arg1
)->EnableOrientation(arg2
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_Py_Void();
24370 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
= 0;
24372 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 char * kwnames
[] = {
24381 (char *) "self",(char *) "flag", NULL
24384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24386 if (!SWIG_IsOK(res1
)) {
24387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24389 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24390 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24391 if (!SWIG_IsOK(ecode2
)) {
24392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24394 arg2
= static_cast< bool >(val2
);
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 (arg1
)->EnablePaper(arg2
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= SWIG_Py_Void();
24408 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
= 0;
24410 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 char * kwnames
[] = {
24419 (char *) "self",(char *) "flag", NULL
24422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24424 if (!SWIG_IsOK(res1
)) {
24425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24427 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24428 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24429 if (!SWIG_IsOK(ecode2
)) {
24430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24432 arg2
= static_cast< bool >(val2
);
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 (arg1
)->EnablePrinter(arg2
);
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24439 resultobj
= SWIG_Py_Void();
24446 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24447 PyObject
*resultobj
= 0;
24448 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24452 PyObject
*swig_obj
[1] ;
24454 if (!args
) SWIG_fail
;
24455 swig_obj
[0] = args
;
24456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24457 if (!SWIG_IsOK(res1
)) {
24458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24460 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 result
= (bool)(arg1
)->GetDefaultMinMargins();
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24476 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24477 PyObject
*resultobj
= 0;
24478 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24482 PyObject
*swig_obj
[1] ;
24484 if (!args
) SWIG_fail
;
24485 swig_obj
[0] = args
;
24486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24487 if (!SWIG_IsOK(res1
)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24490 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 result
= (bool)(arg1
)->GetEnableMargins();
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24506 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24507 PyObject
*resultobj
= 0;
24508 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24512 PyObject
*swig_obj
[1] ;
24514 if (!args
) SWIG_fail
;
24515 swig_obj
[0] = args
;
24516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24517 if (!SWIG_IsOK(res1
)) {
24518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24520 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 result
= (bool)(arg1
)->GetEnableOrientation();
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24536 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24537 PyObject
*resultobj
= 0;
24538 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24542 PyObject
*swig_obj
[1] ;
24544 if (!args
) SWIG_fail
;
24545 swig_obj
[0] = args
;
24546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24547 if (!SWIG_IsOK(res1
)) {
24548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24550 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 result
= (bool)(arg1
)->GetEnablePaper();
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24566 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24567 PyObject
*resultobj
= 0;
24568 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24572 PyObject
*swig_obj
[1] ;
24574 if (!args
) SWIG_fail
;
24575 swig_obj
[0] = args
;
24576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24577 if (!SWIG_IsOK(res1
)) {
24578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24580 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 result
= (bool)(arg1
)->GetEnablePrinter();
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24596 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24597 PyObject
*resultobj
= 0;
24598 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24602 PyObject
*swig_obj
[1] ;
24604 if (!args
) SWIG_fail
;
24605 swig_obj
[0] = args
;
24606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24607 if (!SWIG_IsOK(res1
)) {
24608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24610 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 result
= (bool)(arg1
)->GetEnableHelp();
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24626 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24627 PyObject
*resultobj
= 0;
24628 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24632 PyObject
*swig_obj
[1] ;
24634 if (!args
) SWIG_fail
;
24635 swig_obj
[0] = args
;
24636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24637 if (!SWIG_IsOK(res1
)) {
24638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24640 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= (bool)(arg1
)->GetDefaultInfo();
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24656 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24657 PyObject
*resultobj
= 0;
24658 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24662 PyObject
*swig_obj
[1] ;
24664 if (!args
) SWIG_fail
;
24665 swig_obj
[0] = args
;
24666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24667 if (!SWIG_IsOK(res1
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24670 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 result
= (arg1
)->GetMarginTopLeft();
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24684 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24685 PyObject
*resultobj
= 0;
24686 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24690 PyObject
*swig_obj
[1] ;
24692 if (!args
) SWIG_fail
;
24693 swig_obj
[0] = args
;
24694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24695 if (!SWIG_IsOK(res1
)) {
24696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24698 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 result
= (arg1
)->GetMarginBottomRight();
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24712 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24713 PyObject
*resultobj
= 0;
24714 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24718 PyObject
*swig_obj
[1] ;
24720 if (!args
) SWIG_fail
;
24721 swig_obj
[0] = args
;
24722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24723 if (!SWIG_IsOK(res1
)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24726 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (arg1
)->GetMinMarginTopLeft();
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24740 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24741 PyObject
*resultobj
= 0;
24742 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24746 PyObject
*swig_obj
[1] ;
24748 if (!args
) SWIG_fail
;
24749 swig_obj
[0] = args
;
24750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24751 if (!SWIG_IsOK(res1
)) {
24752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24754 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (arg1
)->GetMinMarginBottomRight();
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24768 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24769 PyObject
*resultobj
= 0;
24770 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24771 wxPaperSize result
;
24774 PyObject
*swig_obj
[1] ;
24776 if (!args
) SWIG_fail
;
24777 swig_obj
[0] = args
;
24778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24779 if (!SWIG_IsOK(res1
)) {
24780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24782 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= SWIG_From_int(static_cast< int >(result
));
24796 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24797 PyObject
*resultobj
= 0;
24798 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24802 PyObject
*swig_obj
[1] ;
24804 if (!args
) SWIG_fail
;
24805 swig_obj
[0] = args
;
24806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24807 if (!SWIG_IsOK(res1
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24810 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (arg1
)->GetPaperSize();
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24824 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24825 PyObject
*resultobj
= 0;
24826 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24827 wxPrintData
*result
= 0 ;
24830 PyObject
*swig_obj
[1] ;
24832 if (!args
) SWIG_fail
;
24833 swig_obj
[0] = args
;
24834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24835 if (!SWIG_IsOK(res1
)) {
24836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24838 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24843 result
= (wxPrintData
*) &_result_ref
;
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24855 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24856 PyObject
*resultobj
= 0;
24857 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24861 PyObject
*swig_obj
[1] ;
24863 if (!args
) SWIG_fail
;
24864 swig_obj
[0] = args
;
24865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24866 if (!SWIG_IsOK(res1
)) {
24867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24869 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 result
= (bool)(arg1
)->Ok();
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24885 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
= 0;
24887 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 char * kwnames
[] = {
24896 (char *) "self",(char *) "flag", NULL
24899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24901 if (!SWIG_IsOK(res1
)) {
24902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24904 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24905 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24906 if (!SWIG_IsOK(ecode2
)) {
24907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24909 arg2
= static_cast< bool >(val2
);
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 (arg1
)->SetDefaultInfo(arg2
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 resultobj
= SWIG_Py_Void();
24923 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
= 0;
24925 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 char * kwnames
[] = {
24934 (char *) "self",(char *) "flag", NULL
24937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24939 if (!SWIG_IsOK(res1
)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24942 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24943 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24944 if (!SWIG_IsOK(ecode2
)) {
24945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
24947 arg2
= static_cast< bool >(val2
);
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 (arg1
)->SetDefaultMinMargins(arg2
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= SWIG_Py_Void();
24961 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
= 0;
24963 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24964 wxPoint
*arg2
= 0 ;
24968 PyObject
* obj0
= 0 ;
24969 PyObject
* obj1
= 0 ;
24970 char * kwnames
[] = {
24971 (char *) "self",(char *) "pt", NULL
24974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24976 if (!SWIG_IsOK(res1
)) {
24977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24979 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24990 resultobj
= SWIG_Py_Void();
24997 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
= 0;
24999 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25000 wxPoint
*arg2
= 0 ;
25004 PyObject
* obj0
= 0 ;
25005 PyObject
* obj1
= 0 ;
25006 char * kwnames
[] = {
25007 (char *) "self",(char *) "pt", NULL
25010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25012 if (!SWIG_IsOK(res1
)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25015 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= SWIG_Py_Void();
25033 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
= 0;
25035 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25036 wxPoint
*arg2
= 0 ;
25040 PyObject
* obj0
= 0 ;
25041 PyObject
* obj1
= 0 ;
25042 char * kwnames
[] = {
25043 (char *) "self",(char *) "pt", NULL
25046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25048 if (!SWIG_IsOK(res1
)) {
25049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25051 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= SWIG_Py_Void();
25069 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
= 0;
25071 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25072 wxPoint
*arg2
= 0 ;
25076 PyObject
* obj0
= 0 ;
25077 PyObject
* obj1
= 0 ;
25078 char * kwnames
[] = {
25079 (char *) "self",(char *) "pt", NULL
25082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25084 if (!SWIG_IsOK(res1
)) {
25085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25087 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 resultobj
= SWIG_Py_Void();
25105 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
= 0;
25107 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25113 PyObject
* obj0
= 0 ;
25114 PyObject
* obj1
= 0 ;
25115 char * kwnames
[] = {
25116 (char *) "self",(char *) "id", NULL
25119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25121 if (!SWIG_IsOK(res1
)) {
25122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25124 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25126 if (!SWIG_IsOK(ecode2
)) {
25127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25129 arg2
= static_cast< wxPaperSize
>(val2
);
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 (arg1
)->SetPaperId(arg2
);
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= SWIG_Py_Void();
25143 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25144 PyObject
*resultobj
= 0;
25145 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25150 PyObject
* obj0
= 0 ;
25151 PyObject
* obj1
= 0 ;
25152 char * kwnames
[] = {
25153 (char *) "self",(char *) "size", NULL
25156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25158 if (!SWIG_IsOK(res1
)) {
25159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25161 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25164 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25168 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 resultobj
= SWIG_Py_Void();
25179 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25180 PyObject
*resultobj
= 0;
25181 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25182 wxPrintData
*arg2
= 0 ;
25187 PyObject
* obj0
= 0 ;
25188 PyObject
* obj1
= 0 ;
25189 char * kwnames
[] = {
25190 (char *) "self",(char *) "printData", NULL
25193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25195 if (!SWIG_IsOK(res1
)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25198 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25200 if (!SWIG_IsOK(res2
)) {
25201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25206 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= SWIG_Py_Void();
25220 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25221 PyObject
*resultobj
= 0;
25222 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25225 PyObject
*swig_obj
[1] ;
25227 if (!args
) SWIG_fail
;
25228 swig_obj
[0] = args
;
25229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25230 if (!SWIG_IsOK(res1
)) {
25231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25233 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 (arg1
)->CalculateIdFromPaperSize();
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 resultobj
= SWIG_Py_Void();
25247 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25248 PyObject
*resultobj
= 0;
25249 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25252 PyObject
*swig_obj
[1] ;
25254 if (!args
) SWIG_fail
;
25255 swig_obj
[0] = args
;
25256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25257 if (!SWIG_IsOK(res1
)) {
25258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25260 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 (arg1
)->CalculatePaperSizeFromId();
25264 wxPyEndAllowThreads(__tstate
);
25265 if (PyErr_Occurred()) SWIG_fail
;
25267 resultobj
= SWIG_Py_Void();
25274 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25277 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25278 return SWIG_Py_Void();
25281 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25282 return SWIG_Python_InitShadowInstance(args
);
25285 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
= 0;
25287 wxWindow
*arg1
= (wxWindow
*) 0 ;
25288 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25289 wxPageSetupDialog
*result
= 0 ;
25294 PyObject
* obj0
= 0 ;
25295 PyObject
* obj1
= 0 ;
25296 char * kwnames
[] = {
25297 (char *) "parent",(char *) "data", NULL
25300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25302 if (!SWIG_IsOK(res1
)) {
25303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25305 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25308 if (!SWIG_IsOK(res2
)) {
25309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25311 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25314 if (!wxPyCheckForApp()) SWIG_fail
;
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25327 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25328 PyObject
*resultobj
= 0;
25329 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25332 PyObject
*swig_obj
[1] ;
25334 if (!args
) SWIG_fail
;
25335 swig_obj
[0] = args
;
25336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25337 if (!SWIG_IsOK(res1
)) {
25338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25340 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= SWIG_Py_Void();
25355 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25356 PyObject
*resultobj
= 0;
25357 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25358 wxPageSetupDialogData
*result
= 0 ;
25361 PyObject
*swig_obj
[1] ;
25363 if (!args
) SWIG_fail
;
25364 swig_obj
[0] = args
;
25365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25366 if (!SWIG_IsOK(res1
)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25369 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25374 result
= (wxPageSetupDialogData
*) &_result_ref
;
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25386 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25387 PyObject
*resultobj
= 0;
25388 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25389 wxPageSetupDialogData
*result
= 0 ;
25392 PyObject
*swig_obj
[1] ;
25394 if (!args
) SWIG_fail
;
25395 swig_obj
[0] = args
;
25396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25397 if (!SWIG_IsOK(res1
)) {
25398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25400 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25405 result
= (wxPageSetupDialogData
*) &_result_ref
;
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25417 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25418 PyObject
*resultobj
= 0;
25419 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25423 PyObject
*swig_obj
[1] ;
25425 if (!args
) SWIG_fail
;
25426 swig_obj
[0] = args
;
25427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25428 if (!SWIG_IsOK(res1
)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25431 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 result
= (int)(arg1
)->ShowModal();
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= SWIG_From_int(static_cast< int >(result
));
25445 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25448 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25449 return SWIG_Py_Void();
25452 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25453 return SWIG_Python_InitShadowInstance(args
);
25456 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25457 PyObject
*resultobj
= 0;
25458 wxPrintDialogData
*result
= 0 ;
25460 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25474 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25475 PyObject
*resultobj
= 0;
25476 wxPrintData
*arg1
= 0 ;
25477 wxPrintDialogData
*result
= 0 ;
25481 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25483 if (!SWIG_IsOK(res1
)) {
25484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25489 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25503 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25504 PyObject
*resultobj
= 0;
25505 wxPrintDialogData
*arg1
= 0 ;
25506 wxPrintDialogData
*result
= 0 ;
25510 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25512 if (!SWIG_IsOK(res1
)) {
25513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25518 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25532 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25536 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25539 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25544 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25545 _v
= SWIG_CheckState(res
);
25547 if (!_v
) goto check_2
;
25548 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25553 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25557 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25562 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25563 PyObject
*resultobj
= 0;
25564 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25567 PyObject
*swig_obj
[1] ;
25569 if (!args
) SWIG_fail
;
25570 swig_obj
[0] = args
;
25571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25572 if (!SWIG_IsOK(res1
)) {
25573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25575 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_Py_Void();
25590 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25591 PyObject
*resultobj
= 0;
25592 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25596 PyObject
*swig_obj
[1] ;
25598 if (!args
) SWIG_fail
;
25599 swig_obj
[0] = args
;
25600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25601 if (!SWIG_IsOK(res1
)) {
25602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25604 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= SWIG_From_int(static_cast< int >(result
));
25618 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25619 PyObject
*resultobj
= 0;
25620 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25624 PyObject
*swig_obj
[1] ;
25626 if (!args
) SWIG_fail
;
25627 swig_obj
[0] = args
;
25628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25629 if (!SWIG_IsOK(res1
)) {
25630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25632 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25635 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_From_int(static_cast< int >(result
));
25646 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25647 PyObject
*resultobj
= 0;
25648 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25652 PyObject
*swig_obj
[1] ;
25654 if (!args
) SWIG_fail
;
25655 swig_obj
[0] = args
;
25656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25657 if (!SWIG_IsOK(res1
)) {
25658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25660 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25664 wxPyEndAllowThreads(__tstate
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= SWIG_From_int(static_cast< int >(result
));
25674 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25675 PyObject
*resultobj
= 0;
25676 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25680 PyObject
*swig_obj
[1] ;
25682 if (!args
) SWIG_fail
;
25683 swig_obj
[0] = args
;
25684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25685 if (!SWIG_IsOK(res1
)) {
25686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25688 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25691 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= SWIG_From_int(static_cast< int >(result
));
25702 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25703 PyObject
*resultobj
= 0;
25704 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25708 PyObject
*swig_obj
[1] ;
25710 if (!args
) SWIG_fail
;
25711 swig_obj
[0] = args
;
25712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25713 if (!SWIG_IsOK(res1
)) {
25714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25716 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_From_int(static_cast< int >(result
));
25730 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25731 PyObject
*resultobj
= 0;
25732 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25736 PyObject
*swig_obj
[1] ;
25738 if (!args
) SWIG_fail
;
25739 swig_obj
[0] = args
;
25740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25741 if (!SWIG_IsOK(res1
)) {
25742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25744 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25760 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25761 PyObject
*resultobj
= 0;
25762 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25766 PyObject
*swig_obj
[1] ;
25768 if (!args
) SWIG_fail
;
25769 swig_obj
[0] = args
;
25770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25771 if (!SWIG_IsOK(res1
)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25774 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25790 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25791 PyObject
*resultobj
= 0;
25792 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25796 PyObject
*swig_obj
[1] ;
25798 if (!args
) SWIG_fail
;
25799 swig_obj
[0] = args
;
25800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25801 if (!SWIG_IsOK(res1
)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25804 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25820 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25821 PyObject
*resultobj
= 0;
25822 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25826 PyObject
*swig_obj
[1] ;
25828 if (!args
) SWIG_fail
;
25829 swig_obj
[0] = args
;
25830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25831 if (!SWIG_IsOK(res1
)) {
25832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25834 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25837 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25838 wxPyEndAllowThreads(__tstate
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25850 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
= 0;
25852 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25858 PyObject
* obj0
= 0 ;
25859 PyObject
* obj1
= 0 ;
25860 char * kwnames
[] = {
25861 (char *) "self",(char *) "v", NULL
25864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25866 if (!SWIG_IsOK(res1
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25869 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25871 if (!SWIG_IsOK(ecode2
)) {
25872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25874 arg2
= static_cast< int >(val2
);
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 (arg1
)->SetFromPage(arg2
);
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25881 resultobj
= SWIG_Py_Void();
25888 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25889 PyObject
*resultobj
= 0;
25890 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj1
= 0 ;
25898 char * kwnames
[] = {
25899 (char *) "self",(char *) "v", NULL
25902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25904 if (!SWIG_IsOK(res1
)) {
25905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25907 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25909 if (!SWIG_IsOK(ecode2
)) {
25910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25912 arg2
= static_cast< int >(val2
);
25914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25915 (arg1
)->SetToPage(arg2
);
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= SWIG_Py_Void();
25926 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
= 0;
25928 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25934 PyObject
* obj0
= 0 ;
25935 PyObject
* obj1
= 0 ;
25936 char * kwnames
[] = {
25937 (char *) "self",(char *) "v", NULL
25940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25942 if (!SWIG_IsOK(res1
)) {
25943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25945 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25947 if (!SWIG_IsOK(ecode2
)) {
25948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
25950 arg2
= static_cast< int >(val2
);
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 (arg1
)->SetMinPage(arg2
);
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 resultobj
= SWIG_Py_Void();
25964 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25965 PyObject
*resultobj
= 0;
25966 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25972 PyObject
* obj0
= 0 ;
25973 PyObject
* obj1
= 0 ;
25974 char * kwnames
[] = {
25975 (char *) "self",(char *) "v", NULL
25978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25980 if (!SWIG_IsOK(res1
)) {
25981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25983 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25985 if (!SWIG_IsOK(ecode2
)) {
25986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
25988 arg2
= static_cast< int >(val2
);
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 (arg1
)->SetMaxPage(arg2
);
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= SWIG_Py_Void();
26002 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
= 0;
26004 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26010 PyObject
* obj0
= 0 ;
26011 PyObject
* obj1
= 0 ;
26012 char * kwnames
[] = {
26013 (char *) "self",(char *) "v", NULL
26016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26018 if (!SWIG_IsOK(res1
)) {
26019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26021 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26023 if (!SWIG_IsOK(ecode2
)) {
26024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26026 arg2
= static_cast< int >(val2
);
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 (arg1
)->SetNoCopies(arg2
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_Py_Void();
26040 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
= 0;
26042 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26048 PyObject
* obj0
= 0 ;
26049 PyObject
* obj1
= 0 ;
26050 char * kwnames
[] = {
26051 (char *) "self",(char *) "flag", NULL
26054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26056 if (!SWIG_IsOK(res1
)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26059 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26060 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26061 if (!SWIG_IsOK(ecode2
)) {
26062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26064 arg2
= static_cast< bool >(val2
);
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 (arg1
)->SetAllPages(arg2
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 resultobj
= SWIG_Py_Void();
26078 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
= 0;
26080 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 char * kwnames
[] = {
26089 (char *) "self",(char *) "flag", NULL
26092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26094 if (!SWIG_IsOK(res1
)) {
26095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26097 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26098 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26099 if (!SWIG_IsOK(ecode2
)) {
26100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26102 arg2
= static_cast< bool >(val2
);
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 (arg1
)->SetSelection(arg2
);
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 resultobj
= SWIG_Py_Void();
26116 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
= 0;
26118 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26124 PyObject
* obj0
= 0 ;
26125 PyObject
* obj1
= 0 ;
26126 char * kwnames
[] = {
26127 (char *) "self",(char *) "flag", NULL
26130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26132 if (!SWIG_IsOK(res1
)) {
26133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26135 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26136 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26137 if (!SWIG_IsOK(ecode2
)) {
26138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26140 arg2
= static_cast< bool >(val2
);
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 (arg1
)->SetCollate(arg2
);
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 resultobj
= SWIG_Py_Void();
26154 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
= 0;
26156 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26162 PyObject
* obj0
= 0 ;
26163 PyObject
* obj1
= 0 ;
26164 char * kwnames
[] = {
26165 (char *) "self",(char *) "flag", NULL
26168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26170 if (!SWIG_IsOK(res1
)) {
26171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26173 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26174 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26175 if (!SWIG_IsOK(ecode2
)) {
26176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26178 arg2
= static_cast< bool >(val2
);
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 (arg1
)->SetPrintToFile(arg2
);
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26185 resultobj
= SWIG_Py_Void();
26192 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26193 PyObject
*resultobj
= 0;
26194 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 char * kwnames
[] = {
26203 (char *) "self",(char *) "flag", NULL
26206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26208 if (!SWIG_IsOK(res1
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26211 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26212 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26213 if (!SWIG_IsOK(ecode2
)) {
26214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26216 arg2
= static_cast< bool >(val2
);
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 (arg1
)->EnablePrintToFile(arg2
);
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= SWIG_Py_Void();
26230 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26231 PyObject
*resultobj
= 0;
26232 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26238 PyObject
* obj0
= 0 ;
26239 PyObject
* obj1
= 0 ;
26240 char * kwnames
[] = {
26241 (char *) "self",(char *) "flag", NULL
26244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26246 if (!SWIG_IsOK(res1
)) {
26247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26249 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26250 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26251 if (!SWIG_IsOK(ecode2
)) {
26252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26254 arg2
= static_cast< bool >(val2
);
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 (arg1
)->EnableSelection(arg2
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 resultobj
= SWIG_Py_Void();
26268 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
= 0;
26270 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 char * kwnames
[] = {
26279 (char *) "self",(char *) "flag", NULL
26282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26284 if (!SWIG_IsOK(res1
)) {
26285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26287 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26288 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26289 if (!SWIG_IsOK(ecode2
)) {
26290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26292 arg2
= static_cast< bool >(val2
);
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 (arg1
)->EnablePageNumbers(arg2
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_Py_Void();
26306 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
= 0;
26308 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26314 PyObject
* obj0
= 0 ;
26315 PyObject
* obj1
= 0 ;
26316 char * kwnames
[] = {
26317 (char *) "self",(char *) "flag", NULL
26320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26322 if (!SWIG_IsOK(res1
)) {
26323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26325 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26326 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26327 if (!SWIG_IsOK(ecode2
)) {
26328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26330 arg2
= static_cast< bool >(val2
);
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 (arg1
)->EnableHelp(arg2
);
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= SWIG_Py_Void();
26344 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26345 PyObject
*resultobj
= 0;
26346 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26350 PyObject
*swig_obj
[1] ;
26352 if (!args
) SWIG_fail
;
26353 swig_obj
[0] = args
;
26354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26355 if (!SWIG_IsOK(res1
)) {
26356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26358 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26374 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26375 PyObject
*resultobj
= 0;
26376 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26380 PyObject
*swig_obj
[1] ;
26382 if (!args
) SWIG_fail
;
26383 swig_obj
[0] = args
;
26384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26385 if (!SWIG_IsOK(res1
)) {
26386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26388 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26404 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26405 PyObject
*resultobj
= 0;
26406 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26410 PyObject
*swig_obj
[1] ;
26412 if (!args
) SWIG_fail
;
26413 swig_obj
[0] = args
;
26414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26415 if (!SWIG_IsOK(res1
)) {
26416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26418 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26434 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26435 PyObject
*resultobj
= 0;
26436 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26440 PyObject
*swig_obj
[1] ;
26442 if (!args
) SWIG_fail
;
26443 swig_obj
[0] = args
;
26444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26445 if (!SWIG_IsOK(res1
)) {
26446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26448 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26451 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26452 wxPyEndAllowThreads(__tstate
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26464 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26465 PyObject
*resultobj
= 0;
26466 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26470 PyObject
*swig_obj
[1] ;
26472 if (!args
) SWIG_fail
;
26473 swig_obj
[0] = args
;
26474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26475 if (!SWIG_IsOK(res1
)) {
26476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26478 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26494 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26495 PyObject
*resultobj
= 0;
26496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26497 wxPrintData
*result
= 0 ;
26500 PyObject
*swig_obj
[1] ;
26502 if (!args
) SWIG_fail
;
26503 swig_obj
[0] = args
;
26504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26505 if (!SWIG_IsOK(res1
)) {
26506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26508 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26513 result
= (wxPrintData
*) &_result_ref
;
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26525 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
= 0;
26527 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26528 wxPrintData
*arg2
= 0 ;
26533 PyObject
* obj0
= 0 ;
26534 PyObject
* obj1
= 0 ;
26535 char * kwnames
[] = {
26536 (char *) "self",(char *) "printData", NULL
26539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26544 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26546 if (!SWIG_IsOK(res2
)) {
26547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26552 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= SWIG_Py_Void();
26566 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26569 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26570 return SWIG_Py_Void();
26573 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26574 return SWIG_Python_InitShadowInstance(args
);
26577 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
= 0;
26579 wxWindow
*arg1
= (wxWindow
*) 0 ;
26580 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26581 wxPrintDialog
*result
= 0 ;
26586 PyObject
* obj0
= 0 ;
26587 PyObject
* obj1
= 0 ;
26588 char * kwnames
[] = {
26589 (char *) "parent",(char *) "data", NULL
26592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26594 if (!SWIG_IsOK(res1
)) {
26595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26599 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26600 if (!SWIG_IsOK(res2
)) {
26601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26603 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26606 if (!wxPyCheckForApp()) SWIG_fail
;
26607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26608 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26619 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26620 PyObject
*resultobj
= 0;
26621 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26624 PyObject
*swig_obj
[1] ;
26626 if (!args
) SWIG_fail
;
26627 swig_obj
[0] = args
;
26628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26629 if (!SWIG_IsOK(res1
)) {
26630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26632 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 wxPyEndAllowThreads(__tstate
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26640 resultobj
= SWIG_Py_Void();
26647 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26648 PyObject
*resultobj
= 0;
26649 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26653 PyObject
*swig_obj
[1] ;
26655 if (!args
) SWIG_fail
;
26656 swig_obj
[0] = args
;
26657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26658 if (!SWIG_IsOK(res1
)) {
26659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26661 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 result
= (int)(arg1
)->ShowModal();
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= SWIG_From_int(static_cast< int >(result
));
26675 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26676 PyObject
*resultobj
= 0;
26677 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26678 wxPrintDialogData
*result
= 0 ;
26681 PyObject
*swig_obj
[1] ;
26683 if (!args
) SWIG_fail
;
26684 swig_obj
[0] = args
;
26685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26686 if (!SWIG_IsOK(res1
)) {
26687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26689 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26694 result
= (wxPrintDialogData
*) &_result_ref
;
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26706 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26707 PyObject
*resultobj
= 0;
26708 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26709 wxPrintData
*result
= 0 ;
26712 PyObject
*swig_obj
[1] ;
26714 if (!args
) SWIG_fail
;
26715 swig_obj
[0] = args
;
26716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26717 if (!SWIG_IsOK(res1
)) {
26718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26720 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26724 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26725 result
= (wxPrintData
*) &_result_ref
;
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26737 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26738 PyObject
*resultobj
= 0;
26739 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26743 PyObject
*swig_obj
[1] ;
26745 if (!args
) SWIG_fail
;
26746 swig_obj
[0] = args
;
26747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26748 if (!SWIG_IsOK(res1
)) {
26749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26751 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 result
= (wxDC
*)(arg1
)->GetPrintDC();
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26759 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26767 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26770 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26771 return SWIG_Py_Void();
26774 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26775 return SWIG_Python_InitShadowInstance(args
);
26778 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
= 0;
26780 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26781 wxPrinter
*result
= 0 ;
26784 PyObject
* obj0
= 0 ;
26785 char * kwnames
[] = {
26786 (char *) "data", NULL
26789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26792 if (!SWIG_IsOK(res1
)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26795 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26798 if (!wxPyCheckForApp()) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (wxPrinter
*)new wxPrinter(arg1
);
26801 wxPyEndAllowThreads(__tstate
);
26802 if (PyErr_Occurred()) SWIG_fail
;
26804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26811 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26812 PyObject
*resultobj
= 0;
26813 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26816 PyObject
*swig_obj
[1] ;
26818 if (!args
) SWIG_fail
;
26819 swig_obj
[0] = args
;
26820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26821 if (!SWIG_IsOK(res1
)) {
26822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26824 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 resultobj
= SWIG_Py_Void();
26839 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
= 0;
26841 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26842 wxWindow
*arg2
= (wxWindow
*) 0 ;
26843 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26844 wxWindow
*result
= 0 ;
26851 PyObject
* obj0
= 0 ;
26852 PyObject
* obj1
= 0 ;
26853 PyObject
* obj2
= 0 ;
26854 char * kwnames
[] = {
26855 (char *) "self",(char *) "parent",(char *) "printout", NULL
26858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26860 if (!SWIG_IsOK(res1
)) {
26861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26863 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26865 if (!SWIG_IsOK(res2
)) {
26866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26868 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26869 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26870 if (!SWIG_IsOK(res3
)) {
26871 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26873 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26876 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
26877 wxPyEndAllowThreads(__tstate
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26881 resultobj
= wxPyMake_wxObject(result
, 0);
26889 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
= 0;
26891 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26892 wxWindow
*arg2
= (wxWindow
*) 0 ;
26893 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26894 wxString
*arg4
= 0 ;
26901 bool temp4
= false ;
26902 PyObject
* obj0
= 0 ;
26903 PyObject
* obj1
= 0 ;
26904 PyObject
* obj2
= 0 ;
26905 PyObject
* obj3
= 0 ;
26906 char * kwnames
[] = {
26907 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26912 if (!SWIG_IsOK(res1
)) {
26913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26915 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26916 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26917 if (!SWIG_IsOK(res2
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26920 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26921 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26922 if (!SWIG_IsOK(res3
)) {
26923 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26925 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26927 arg4
= wxString_in_helper(obj3
);
26928 if (arg4
== NULL
) SWIG_fail
;
26932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26933 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= SWIG_Py_Void();
26952 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
= 0;
26954 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26955 wxWindow
*arg2
= (wxWindow
*) 0 ;
26961 PyObject
* obj0
= 0 ;
26962 PyObject
* obj1
= 0 ;
26963 char * kwnames
[] = {
26964 (char *) "self",(char *) "parent", NULL
26967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26969 if (!SWIG_IsOK(res1
)) {
26970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
26972 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26974 if (!SWIG_IsOK(res2
)) {
26975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
26977 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 result
= (bool)(arg1
)->Setup(arg2
);
26981 wxPyEndAllowThreads(__tstate
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26993 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26994 PyObject
*resultobj
= 0;
26995 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26996 wxWindow
*arg2
= (wxWindow
*) 0 ;
26997 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26998 bool arg4
= (bool) true ;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 PyObject
* obj2
= 0 ;
27011 PyObject
* obj3
= 0 ;
27012 char * kwnames
[] = {
27013 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27018 if (!SWIG_IsOK(res1
)) {
27019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27021 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27023 if (!SWIG_IsOK(res2
)) {
27024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27026 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27027 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27028 if (!SWIG_IsOK(res3
)) {
27029 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27031 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27033 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27034 if (!SWIG_IsOK(ecode4
)) {
27035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27037 arg4
= static_cast< bool >(val4
);
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27054 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
= 0;
27056 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27057 wxWindow
*arg2
= (wxWindow
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char * kwnames
[] = {
27066 (char *) "self",(char *) "parent", NULL
27069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27071 if (!SWIG_IsOK(res1
)) {
27072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27074 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27076 if (!SWIG_IsOK(res2
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27079 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27087 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27095 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27096 PyObject
*resultobj
= 0;
27097 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27098 wxPrintDialogData
*result
= 0 ;
27101 PyObject
*swig_obj
[1] ;
27103 if (!args
) SWIG_fail
;
27104 swig_obj
[0] = args
;
27105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27106 if (!SWIG_IsOK(res1
)) {
27107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27109 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27113 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27114 result
= (wxPrintDialogData
*) &_result_ref
;
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27126 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27127 PyObject
*resultobj
= 0;
27128 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27132 PyObject
*swig_obj
[1] ;
27134 if (!args
) SWIG_fail
;
27135 swig_obj
[0] = args
;
27136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27137 if (!SWIG_IsOK(res1
)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27140 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 result
= (bool)(arg1
)->GetAbort();
27144 wxPyEndAllowThreads(__tstate
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27156 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27157 PyObject
*resultobj
= 0;
27158 wxPrinterError result
;
27160 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 result
= (wxPrinterError
)wxPrinter::GetLastError();
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 resultobj
= SWIG_From_int(static_cast< int >(result
));
27174 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27178 return SWIG_Py_Void();
27181 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27182 return SWIG_Python_InitShadowInstance(args
);
27185 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
= 0;
27187 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27188 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27189 wxPyPrintout
*result
= 0 ;
27190 bool temp1
= false ;
27191 PyObject
* obj0
= 0 ;
27192 char * kwnames
[] = {
27193 (char *) "title", NULL
27196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27199 arg1
= wxString_in_helper(obj0
);
27200 if (arg1
== NULL
) SWIG_fail
;
27205 if (!wxPyCheckForApp()) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27226 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27227 PyObject
*resultobj
= 0;
27228 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27231 PyObject
*swig_obj
[1] ;
27233 if (!args
) SWIG_fail
;
27234 swig_obj
[0] = args
;
27235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27236 if (!SWIG_IsOK(res1
)) {
27237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27239 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 wxPyEndAllowThreads(__tstate
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= SWIG_Py_Void();
27254 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27255 PyObject
*resultobj
= 0;
27256 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27257 PyObject
*arg2
= (PyObject
*) 0 ;
27258 PyObject
*arg3
= (PyObject
*) 0 ;
27261 PyObject
* obj0
= 0 ;
27262 PyObject
* obj1
= 0 ;
27263 PyObject
* obj2
= 0 ;
27264 char * kwnames
[] = {
27265 (char *) "self",(char *) "self",(char *) "_class", NULL
27268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27270 if (!SWIG_IsOK(res1
)) {
27271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27273 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27282 resultobj
= SWIG_Py_Void();
27289 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27290 PyObject
*resultobj
= 0;
27291 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27295 PyObject
*swig_obj
[1] ;
27297 if (!args
) SWIG_fail
;
27298 swig_obj
[0] = args
;
27299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27300 if (!SWIG_IsOK(res1
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27303 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27323 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27324 PyObject
*resultobj
= 0;
27325 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27329 PyObject
*swig_obj
[1] ;
27331 if (!args
) SWIG_fail
;
27332 swig_obj
[0] = args
;
27333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27334 if (!SWIG_IsOK(res1
)) {
27335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27337 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 result
= (wxDC
*)(arg1
)->GetDC();
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27353 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
= 0;
27355 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27356 wxDC
*arg2
= (wxDC
*) 0 ;
27361 PyObject
* obj0
= 0 ;
27362 PyObject
* obj1
= 0 ;
27363 char * kwnames
[] = {
27364 (char *) "self",(char *) "dc", NULL
27367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27369 if (!SWIG_IsOK(res1
)) {
27370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27372 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27374 if (!SWIG_IsOK(res2
)) {
27375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27377 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 (arg1
)->SetDC(arg2
);
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27384 resultobj
= SWIG_Py_Void();
27391 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
= 0;
27393 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27402 PyObject
* obj0
= 0 ;
27403 PyObject
* obj1
= 0 ;
27404 PyObject
* obj2
= 0 ;
27405 char * kwnames
[] = {
27406 (char *) "self",(char *) "w",(char *) "h", NULL
27409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27411 if (!SWIG_IsOK(res1
)) {
27412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27414 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27416 if (!SWIG_IsOK(ecode2
)) {
27417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27419 arg2
= static_cast< int >(val2
);
27420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27421 if (!SWIG_IsOK(ecode3
)) {
27422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27424 arg3
= static_cast< int >(val3
);
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= SWIG_Py_Void();
27438 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27439 PyObject
*resultobj
= 0;
27440 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27441 int *arg2
= (int *) 0 ;
27442 int *arg3
= (int *) 0 ;
27446 int res2
= SWIG_TMPOBJ
;
27448 int res3
= SWIG_TMPOBJ
;
27449 PyObject
*swig_obj
[1] ;
27453 if (!args
) SWIG_fail
;
27454 swig_obj
[0] = args
;
27455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27456 if (!SWIG_IsOK(res1
)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27459 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27466 resultobj
= SWIG_Py_Void();
27467 if (SWIG_IsTmpObj(res2
)) {
27468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27470 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27473 if (SWIG_IsTmpObj(res3
)) {
27474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27476 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27485 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
= 0;
27487 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27496 PyObject
* obj0
= 0 ;
27497 PyObject
* obj1
= 0 ;
27498 PyObject
* obj2
= 0 ;
27499 char * kwnames
[] = {
27500 (char *) "self",(char *) "w",(char *) "h", NULL
27503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27505 if (!SWIG_IsOK(res1
)) {
27506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27508 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27510 if (!SWIG_IsOK(ecode2
)) {
27511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27513 arg2
= static_cast< int >(val2
);
27514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27515 if (!SWIG_IsOK(ecode3
)) {
27516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27518 arg3
= static_cast< int >(val3
);
27520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27521 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 resultobj
= SWIG_Py_Void();
27532 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27533 PyObject
*resultobj
= 0;
27534 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27535 int *arg2
= (int *) 0 ;
27536 int *arg3
= (int *) 0 ;
27540 int res2
= SWIG_TMPOBJ
;
27542 int res3
= SWIG_TMPOBJ
;
27543 PyObject
*swig_obj
[1] ;
27547 if (!args
) SWIG_fail
;
27548 swig_obj
[0] = args
;
27549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27550 if (!SWIG_IsOK(res1
)) {
27551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27553 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 resultobj
= SWIG_Py_Void();
27561 if (SWIG_IsTmpObj(res2
)) {
27562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27564 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27567 if (SWIG_IsTmpObj(res3
)) {
27568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27570 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27579 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
= 0;
27581 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27590 PyObject
* obj0
= 0 ;
27591 PyObject
* obj1
= 0 ;
27592 PyObject
* obj2
= 0 ;
27593 char * kwnames
[] = {
27594 (char *) "self",(char *) "x",(char *) "y", NULL
27597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27599 if (!SWIG_IsOK(res1
)) {
27600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27602 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27604 if (!SWIG_IsOK(ecode2
)) {
27605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27607 arg2
= static_cast< int >(val2
);
27608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27609 if (!SWIG_IsOK(ecode3
)) {
27610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27612 arg3
= static_cast< int >(val3
);
27614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27615 (arg1
)->SetPPIScreen(arg2
,arg3
);
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27619 resultobj
= SWIG_Py_Void();
27626 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27627 PyObject
*resultobj
= 0;
27628 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27629 int *arg2
= (int *) 0 ;
27630 int *arg3
= (int *) 0 ;
27634 int res2
= SWIG_TMPOBJ
;
27636 int res3
= SWIG_TMPOBJ
;
27637 PyObject
*swig_obj
[1] ;
27641 if (!args
) SWIG_fail
;
27642 swig_obj
[0] = args
;
27643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27644 if (!SWIG_IsOK(res1
)) {
27645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27647 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27650 (arg1
)->GetPPIScreen(arg2
,arg3
);
27651 wxPyEndAllowThreads(__tstate
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27654 resultobj
= SWIG_Py_Void();
27655 if (SWIG_IsTmpObj(res2
)) {
27656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27658 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27661 if (SWIG_IsTmpObj(res3
)) {
27662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27664 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27673 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27674 PyObject
*resultobj
= 0;
27675 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27684 PyObject
* obj0
= 0 ;
27685 PyObject
* obj1
= 0 ;
27686 PyObject
* obj2
= 0 ;
27687 char * kwnames
[] = {
27688 (char *) "self",(char *) "x",(char *) "y", NULL
27691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27693 if (!SWIG_IsOK(res1
)) {
27694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27696 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27698 if (!SWIG_IsOK(ecode2
)) {
27699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27701 arg2
= static_cast< int >(val2
);
27702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27703 if (!SWIG_IsOK(ecode3
)) {
27704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27706 arg3
= static_cast< int >(val3
);
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27713 resultobj
= SWIG_Py_Void();
27720 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27721 PyObject
*resultobj
= 0;
27722 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27723 int *arg2
= (int *) 0 ;
27724 int *arg3
= (int *) 0 ;
27728 int res2
= SWIG_TMPOBJ
;
27730 int res3
= SWIG_TMPOBJ
;
27731 PyObject
*swig_obj
[1] ;
27735 if (!args
) SWIG_fail
;
27736 swig_obj
[0] = args
;
27737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27738 if (!SWIG_IsOK(res1
)) {
27739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27741 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27745 wxPyEndAllowThreads(__tstate
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27748 resultobj
= SWIG_Py_Void();
27749 if (SWIG_IsTmpObj(res2
)) {
27750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27752 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27755 if (SWIG_IsTmpObj(res3
)) {
27756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27758 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27767 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27768 PyObject
*resultobj
= 0;
27769 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27773 PyObject
*swig_obj
[1] ;
27775 if (!args
) SWIG_fail
;
27776 swig_obj
[0] = args
;
27777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27778 if (!SWIG_IsOK(res1
)) {
27779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27781 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27784 result
= (bool)(arg1
)->IsPreview();
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27797 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27798 PyObject
*resultobj
= 0;
27799 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27805 PyObject
* obj0
= 0 ;
27806 PyObject
* obj1
= 0 ;
27807 char * kwnames
[] = {
27808 (char *) "self",(char *) "p", NULL
27811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27813 if (!SWIG_IsOK(res1
)) {
27814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27816 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27817 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27818 if (!SWIG_IsOK(ecode2
)) {
27819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27821 arg2
= static_cast< bool >(val2
);
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 (arg1
)->SetIsPreview(arg2
);
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27828 resultobj
= SWIG_Py_Void();
27835 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27836 PyObject
*resultobj
= 0;
27837 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27847 PyObject
* obj0
= 0 ;
27848 PyObject
* obj1
= 0 ;
27849 PyObject
* obj2
= 0 ;
27850 char * kwnames
[] = {
27851 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27856 if (!SWIG_IsOK(res1
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27859 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27861 if (!SWIG_IsOK(ecode2
)) {
27862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27864 arg2
= static_cast< int >(val2
);
27865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27866 if (!SWIG_IsOK(ecode3
)) {
27867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27869 arg3
= static_cast< int >(val3
);
27871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27872 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27885 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 PyObject
*resultobj
= 0;
27887 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27890 PyObject
*swig_obj
[1] ;
27892 if (!args
) SWIG_fail
;
27893 swig_obj
[0] = args
;
27894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27895 if (!SWIG_IsOK(res1
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27898 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27901 (arg1
)->OnEndDocument();
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= SWIG_Py_Void();
27912 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27913 PyObject
*resultobj
= 0;
27914 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27917 PyObject
*swig_obj
[1] ;
27919 if (!args
) SWIG_fail
;
27920 swig_obj
[0] = args
;
27921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27922 if (!SWIG_IsOK(res1
)) {
27923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27925 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27928 (arg1
)->OnBeginPrinting();
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 resultobj
= SWIG_Py_Void();
27939 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27940 PyObject
*resultobj
= 0;
27941 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27944 PyObject
*swig_obj
[1] ;
27946 if (!args
) SWIG_fail
;
27947 swig_obj
[0] = args
;
27948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27949 if (!SWIG_IsOK(res1
)) {
27950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27952 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 (arg1
)->OnEndPrinting();
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27959 resultobj
= SWIG_Py_Void();
27966 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27967 PyObject
*resultobj
= 0;
27968 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27971 PyObject
*swig_obj
[1] ;
27973 if (!args
) SWIG_fail
;
27974 swig_obj
[0] = args
;
27975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27979 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 (arg1
)->OnPreparePrinting();
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27986 resultobj
= SWIG_Py_Void();
27993 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
= 0;
27995 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28002 PyObject
* obj0
= 0 ;
28003 PyObject
* obj1
= 0 ;
28004 char * kwnames
[] = {
28005 (char *) "self",(char *) "page", NULL
28008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28010 if (!SWIG_IsOK(res1
)) {
28011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28013 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28015 if (!SWIG_IsOK(ecode2
)) {
28016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28018 arg2
= static_cast< int >(val2
);
28020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28021 result
= (bool)(arg1
)->HasPage(arg2
);
28022 wxPyEndAllowThreads(__tstate
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28034 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28035 PyObject
*resultobj
= 0;
28036 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28037 int *arg2
= (int *) 0 ;
28038 int *arg3
= (int *) 0 ;
28039 int *arg4
= (int *) 0 ;
28040 int *arg5
= (int *) 0 ;
28044 int res2
= SWIG_TMPOBJ
;
28046 int res3
= SWIG_TMPOBJ
;
28048 int res4
= SWIG_TMPOBJ
;
28050 int res5
= SWIG_TMPOBJ
;
28051 PyObject
*swig_obj
[1] ;
28057 if (!args
) SWIG_fail
;
28058 swig_obj
[0] = args
;
28059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28060 if (!SWIG_IsOK(res1
)) {
28061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28063 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28067 wxPyEndAllowThreads(__tstate
);
28068 if (PyErr_Occurred()) SWIG_fail
;
28070 resultobj
= SWIG_Py_Void();
28071 if (SWIG_IsTmpObj(res2
)) {
28072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28074 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28077 if (SWIG_IsTmpObj(res3
)) {
28078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28080 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28083 if (SWIG_IsTmpObj(res4
)) {
28084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28086 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28089 if (SWIG_IsTmpObj(res5
)) {
28090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28092 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28101 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28104 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28105 return SWIG_Py_Void();
28108 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28109 return SWIG_Python_InitShadowInstance(args
);
28112 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28113 PyObject
*resultobj
= 0;
28114 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28115 wxWindow
*arg2
= (wxWindow
*) 0 ;
28116 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28117 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28118 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28119 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28120 long arg5
= (long) 0 ;
28121 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28122 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28123 wxPreviewCanvas
*result
= 0 ;
28132 bool temp6
= false ;
28133 PyObject
* obj0
= 0 ;
28134 PyObject
* obj1
= 0 ;
28135 PyObject
* obj2
= 0 ;
28136 PyObject
* obj3
= 0 ;
28137 PyObject
* obj4
= 0 ;
28138 PyObject
* obj5
= 0 ;
28139 char * kwnames
[] = {
28140 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28145 if (!SWIG_IsOK(res1
)) {
28146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28148 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28150 if (!SWIG_IsOK(res2
)) {
28151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28153 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28157 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28163 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28167 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28168 if (!SWIG_IsOK(ecode5
)) {
28169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28171 arg5
= static_cast< long >(val5
);
28175 arg6
= wxString_in_helper(obj5
);
28176 if (arg6
== NULL
) SWIG_fail
;
28181 if (!wxPyCheckForApp()) SWIG_fail
;
28182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28202 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28205 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28206 return SWIG_Py_Void();
28209 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28210 return SWIG_Python_InitShadowInstance(args
);
28213 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28214 PyObject
*resultobj
= 0;
28215 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28216 wxFrame
*arg2
= (wxFrame
*) 0 ;
28217 wxString
*arg3
= 0 ;
28218 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28219 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28220 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28221 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28222 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28223 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28224 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28225 wxPreviewFrame
*result
= 0 ;
28229 bool temp3
= false ;
28234 bool temp7
= false ;
28235 PyObject
* obj0
= 0 ;
28236 PyObject
* obj1
= 0 ;
28237 PyObject
* obj2
= 0 ;
28238 PyObject
* obj3
= 0 ;
28239 PyObject
* obj4
= 0 ;
28240 PyObject
* obj5
= 0 ;
28241 PyObject
* obj6
= 0 ;
28242 char * kwnames
[] = {
28243 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28247 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28248 if (!SWIG_IsOK(res1
)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28252 if (!SWIG_IsOK(res2
)) {
28253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28255 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28257 arg3
= wxString_in_helper(obj2
);
28258 if (arg3
== NULL
) SWIG_fail
;
28264 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28270 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28274 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28275 if (!SWIG_IsOK(ecode6
)) {
28276 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28278 arg6
= static_cast< long >(val6
);
28282 arg7
= wxString_in_helper(obj6
);
28283 if (arg7
== NULL
) SWIG_fail
;
28288 if (!wxPyCheckForApp()) SWIG_fail
;
28289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28317 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28318 PyObject
*resultobj
= 0;
28319 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28322 PyObject
*swig_obj
[1] ;
28324 if (!args
) SWIG_fail
;
28325 swig_obj
[0] = args
;
28326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28327 if (!SWIG_IsOK(res1
)) {
28328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28330 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28333 (arg1
)->Initialize();
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28337 resultobj
= SWIG_Py_Void();
28344 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28345 PyObject
*resultobj
= 0;
28346 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28349 PyObject
*swig_obj
[1] ;
28351 if (!args
) SWIG_fail
;
28352 swig_obj
[0] = args
;
28353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28354 if (!SWIG_IsOK(res1
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28357 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 (arg1
)->CreateControlBar();
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= SWIG_Py_Void();
28371 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28372 PyObject
*resultobj
= 0;
28373 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28376 PyObject
*swig_obj
[1] ;
28378 if (!args
) SWIG_fail
;
28379 swig_obj
[0] = args
;
28380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28381 if (!SWIG_IsOK(res1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28384 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 (arg1
)->CreateCanvas();
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= SWIG_Py_Void();
28398 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28399 PyObject
*resultobj
= 0;
28400 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28401 wxPreviewControlBar
*result
= 0 ;
28404 PyObject
*swig_obj
[1] ;
28406 if (!args
) SWIG_fail
;
28407 swig_obj
[0] = args
;
28408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28409 if (!SWIG_IsOK(res1
)) {
28410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28412 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28426 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28429 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28430 return SWIG_Py_Void();
28433 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28434 return SWIG_Python_InitShadowInstance(args
);
28437 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
= 0;
28439 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28441 wxWindow
*arg3
= (wxWindow
*) 0 ;
28442 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28443 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28444 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28445 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28446 long arg6
= (long) wxTAB_TRAVERSAL
;
28447 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28448 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28449 wxPreviewControlBar
*result
= 0 ;
28460 bool temp7
= false ;
28461 PyObject
* obj0
= 0 ;
28462 PyObject
* obj1
= 0 ;
28463 PyObject
* obj2
= 0 ;
28464 PyObject
* obj3
= 0 ;
28465 PyObject
* obj4
= 0 ;
28466 PyObject
* obj5
= 0 ;
28467 PyObject
* obj6
= 0 ;
28468 char * kwnames
[] = {
28469 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28474 if (!SWIG_IsOK(res1
)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28477 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28478 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28479 if (!SWIG_IsOK(ecode2
)) {
28480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28482 arg2
= static_cast< long >(val2
);
28483 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28484 if (!SWIG_IsOK(res3
)) {
28485 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28487 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28491 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28497 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28501 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28502 if (!SWIG_IsOK(ecode6
)) {
28503 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28505 arg6
= static_cast< long >(val6
);
28509 arg7
= wxString_in_helper(obj6
);
28510 if (arg7
== NULL
) SWIG_fail
;
28515 if (!wxPyCheckForApp()) SWIG_fail
;
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28536 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28537 PyObject
*resultobj
= 0;
28538 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28542 PyObject
*swig_obj
[1] ;
28544 if (!args
) SWIG_fail
;
28545 swig_obj
[0] = args
;
28546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28547 if (!SWIG_IsOK(res1
)) {
28548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28550 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (int)(arg1
)->GetZoomControl();
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28557 resultobj
= SWIG_From_int(static_cast< int >(result
));
28564 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
= 0;
28566 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28572 PyObject
* obj0
= 0 ;
28573 PyObject
* obj1
= 0 ;
28574 char * kwnames
[] = {
28575 (char *) "self",(char *) "zoom", NULL
28578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28580 if (!SWIG_IsOK(res1
)) {
28581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28583 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28585 if (!SWIG_IsOK(ecode2
)) {
28586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28588 arg2
= static_cast< int >(val2
);
28590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28591 (arg1
)->SetZoomControl(arg2
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= SWIG_Py_Void();
28602 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28603 PyObject
*resultobj
= 0;
28604 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28605 wxPrintPreview
*result
= 0 ;
28608 PyObject
*swig_obj
[1] ;
28610 if (!args
) SWIG_fail
;
28611 swig_obj
[0] = args
;
28612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28613 if (!SWIG_IsOK(res1
)) {
28614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28616 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28619 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28630 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28631 PyObject
*resultobj
= 0;
28632 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28635 PyObject
*swig_obj
[1] ;
28637 if (!args
) SWIG_fail
;
28638 swig_obj
[0] = args
;
28639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28640 if (!SWIG_IsOK(res1
)) {
28641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28643 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 resultobj
= SWIG_Py_Void();
28657 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28658 PyObject
*resultobj
= 0;
28659 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28662 PyObject
*swig_obj
[1] ;
28664 if (!args
) SWIG_fail
;
28665 swig_obj
[0] = args
;
28666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28667 if (!SWIG_IsOK(res1
)) {
28668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28670 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 (arg1
)->OnPrevious();
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 resultobj
= SWIG_Py_Void();
28684 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28685 PyObject
*resultobj
= 0;
28686 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28689 PyObject
*swig_obj
[1] ;
28691 if (!args
) SWIG_fail
;
28692 swig_obj
[0] = args
;
28693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28694 if (!SWIG_IsOK(res1
)) {
28695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28697 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 wxPyEndAllowThreads(__tstate
);
28702 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= SWIG_Py_Void();
28711 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28712 PyObject
*resultobj
= 0;
28713 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28716 PyObject
*swig_obj
[1] ;
28718 if (!args
) SWIG_fail
;
28719 swig_obj
[0] = args
;
28720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28721 if (!SWIG_IsOK(res1
)) {
28722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28724 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 resultobj
= SWIG_Py_Void();
28738 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28739 PyObject
*resultobj
= 0;
28740 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28743 PyObject
*swig_obj
[1] ;
28745 if (!args
) SWIG_fail
;
28746 swig_obj
[0] = args
;
28747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28748 if (!SWIG_IsOK(res1
)) {
28749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28751 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= SWIG_Py_Void();
28765 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28768 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28769 return SWIG_Py_Void();
28772 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28773 return SWIG_Python_InitShadowInstance(args
);
28776 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28777 PyObject
*resultobj
= 0;
28778 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28779 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28780 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28781 wxPrintPreview
*result
= 0 ;
28787 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28788 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28789 if (!SWIG_IsOK(res1
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28792 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28793 if (!SWIG_IsOK(res2
)) {
28794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28797 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28798 if (!SWIG_IsOK(res3
)) {
28799 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28801 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28804 if (!wxPyCheckForApp()) SWIG_fail
;
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28817 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28818 PyObject
*resultobj
= 0;
28819 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28820 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28821 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28822 wxPrintPreview
*result
= 0 ;
28828 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28829 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28830 if (!SWIG_IsOK(res1
)) {
28831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28833 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28834 if (!SWIG_IsOK(res2
)) {
28835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28837 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28838 if (!SWIG_IsOK(res3
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28841 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28843 if (!wxPyCheckForApp()) SWIG_fail
;
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28846 wxPyEndAllowThreads(__tstate
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28856 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28860 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28862 if ((argc
>= 2) && (argc
<= 3)) {
28867 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
28868 _v
= SWIG_CheckState(res
);
28870 if (!_v
) goto check_1
;
28872 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
28877 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
28881 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
28886 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28887 PyObject
*resultobj
= 0;
28888 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28891 PyObject
*swig_obj
[1] ;
28893 if (!args
) SWIG_fail
;
28894 swig_obj
[0] = args
;
28895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28896 if (!SWIG_IsOK(res1
)) {
28897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28899 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= SWIG_Py_Void();
28914 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
= 0;
28916 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28923 PyObject
* obj0
= 0 ;
28924 PyObject
* obj1
= 0 ;
28925 char * kwnames
[] = {
28926 (char *) "self",(char *) "pageNum", NULL
28929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28931 if (!SWIG_IsOK(res1
)) {
28932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28934 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28936 if (!SWIG_IsOK(ecode2
)) {
28937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28939 arg2
= static_cast< int >(val2
);
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28955 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28956 PyObject
*resultobj
= 0;
28957 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28961 PyObject
*swig_obj
[1] ;
28963 if (!args
) SWIG_fail
;
28964 swig_obj
[0] = args
;
28965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28966 if (!SWIG_IsOK(res1
)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28969 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28972 result
= (int)(arg1
)->GetCurrentPage();
28973 wxPyEndAllowThreads(__tstate
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28976 resultobj
= SWIG_From_int(static_cast< int >(result
));
28983 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28984 PyObject
*resultobj
= 0;
28985 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28986 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28990 PyObject
* obj0
= 0 ;
28991 PyObject
* obj1
= 0 ;
28992 char * kwnames
[] = {
28993 (char *) "self",(char *) "printout", NULL
28996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28998 if (!SWIG_IsOK(res1
)) {
28999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29001 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29002 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29003 if (!SWIG_IsOK(res2
)) {
29004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29008 (arg1
)->SetPrintout(arg2
);
29009 wxPyEndAllowThreads(__tstate
);
29010 if (PyErr_Occurred()) SWIG_fail
;
29012 resultobj
= SWIG_Py_Void();
29019 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29020 PyObject
*resultobj
= 0;
29021 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29022 wxPyPrintout
*result
= 0 ;
29025 PyObject
*swig_obj
[1] ;
29027 if (!args
) SWIG_fail
;
29028 swig_obj
[0] = args
;
29029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29030 if (!SWIG_IsOK(res1
)) {
29031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29033 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29041 resultobj
= wxPyMake_wxObject(result
, 0);
29049 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29050 PyObject
*resultobj
= 0;
29051 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29052 wxPyPrintout
*result
= 0 ;
29055 PyObject
*swig_obj
[1] ;
29057 if (!args
) SWIG_fail
;
29058 swig_obj
[0] = args
;
29059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29060 if (!SWIG_IsOK(res1
)) {
29061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29063 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29066 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29067 wxPyEndAllowThreads(__tstate
);
29068 if (PyErr_Occurred()) SWIG_fail
;
29071 resultobj
= wxPyMake_wxObject(result
, 0);
29079 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
= 0;
29081 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29082 wxFrame
*arg2
= (wxFrame
*) 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 char * kwnames
[] = {
29090 (char *) "self",(char *) "frame", NULL
29093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29095 if (!SWIG_IsOK(res1
)) {
29096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29098 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29099 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29100 if (!SWIG_IsOK(res2
)) {
29101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29103 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29106 (arg1
)->SetFrame(arg2
);
29107 wxPyEndAllowThreads(__tstate
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29110 resultobj
= SWIG_Py_Void();
29117 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29118 PyObject
*resultobj
= 0;
29119 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29120 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 char * kwnames
[] = {
29128 (char *) "self",(char *) "canvas", NULL
29131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29133 if (!SWIG_IsOK(res1
)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29136 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29138 if (!SWIG_IsOK(res2
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29141 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 (arg1
)->SetCanvas(arg2
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= SWIG_Py_Void();
29155 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29156 PyObject
*resultobj
= 0;
29157 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29158 wxFrame
*result
= 0 ;
29161 PyObject
*swig_obj
[1] ;
29163 if (!args
) SWIG_fail
;
29164 swig_obj
[0] = args
;
29165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29166 if (!SWIG_IsOK(res1
)) {
29167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29169 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 result
= (wxFrame
*)(arg1
)->GetFrame();
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29177 resultobj
= wxPyMake_wxObject(result
, 0);
29185 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29186 PyObject
*resultobj
= 0;
29187 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29188 wxPreviewCanvas
*result
= 0 ;
29191 PyObject
*swig_obj
[1] ;
29193 if (!args
) SWIG_fail
;
29194 swig_obj
[0] = args
;
29195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29199 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29213 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
= 0;
29215 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29216 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29225 PyObject
* obj0
= 0 ;
29226 PyObject
* obj1
= 0 ;
29227 PyObject
* obj2
= 0 ;
29228 char * kwnames
[] = {
29229 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29234 if (!SWIG_IsOK(res1
)) {
29235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29237 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29239 if (!SWIG_IsOK(res2
)) {
29240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29242 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29243 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29244 if (!SWIG_IsOK(res3
)) {
29245 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29250 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29254 wxPyEndAllowThreads(__tstate
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29266 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
= 0;
29268 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29269 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 PyObject
* obj2
= 0 ;
29281 char * kwnames
[] = {
29282 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29287 if (!SWIG_IsOK(res1
)) {
29288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29290 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29291 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29292 if (!SWIG_IsOK(res2
)) {
29293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29295 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29296 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29297 if (!SWIG_IsOK(res3
)) {
29298 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29303 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29319 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29320 PyObject
*resultobj
= 0;
29321 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29328 PyObject
* obj0
= 0 ;
29329 PyObject
* obj1
= 0 ;
29330 char * kwnames
[] = {
29331 (char *) "self",(char *) "pageNum", NULL
29334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29336 if (!SWIG_IsOK(res1
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29339 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29341 if (!SWIG_IsOK(ecode2
)) {
29342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29344 arg2
= static_cast< int >(val2
);
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 result
= (bool)(arg1
)->RenderPage(arg2
);
29348 wxPyEndAllowThreads(__tstate
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29360 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29361 PyObject
*resultobj
= 0;
29362 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29363 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29368 PyObject
* obj0
= 0 ;
29369 PyObject
* obj1
= 0 ;
29370 char * kwnames
[] = {
29371 (char *) "self",(char *) "canvas", NULL
29374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29376 if (!SWIG_IsOK(res1
)) {
29377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29379 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29380 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29381 if (!SWIG_IsOK(res2
)) {
29382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29384 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 (arg1
)->AdjustScrollbars(arg2
);
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29391 resultobj
= SWIG_Py_Void();
29398 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29399 PyObject
*resultobj
= 0;
29400 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29401 wxPrintDialogData
*result
= 0 ;
29404 PyObject
*swig_obj
[1] ;
29406 if (!args
) SWIG_fail
;
29407 swig_obj
[0] = args
;
29408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29409 if (!SWIG_IsOK(res1
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29412 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29417 result
= (wxPrintDialogData
*) &_result_ref
;
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29429 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
= 0;
29431 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29437 PyObject
* obj0
= 0 ;
29438 PyObject
* obj1
= 0 ;
29439 char * kwnames
[] = {
29440 (char *) "self",(char *) "percent", NULL
29443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29445 if (!SWIG_IsOK(res1
)) {
29446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29448 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29450 if (!SWIG_IsOK(ecode2
)) {
29451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29453 arg2
= static_cast< int >(val2
);
29455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29456 (arg1
)->SetZoom(arg2
);
29457 wxPyEndAllowThreads(__tstate
);
29458 if (PyErr_Occurred()) SWIG_fail
;
29460 resultobj
= SWIG_Py_Void();
29467 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29468 PyObject
*resultobj
= 0;
29469 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29473 PyObject
*swig_obj
[1] ;
29475 if (!args
) SWIG_fail
;
29476 swig_obj
[0] = args
;
29477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29478 if (!SWIG_IsOK(res1
)) {
29479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29481 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= (int)(arg1
)->GetZoom();
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29488 resultobj
= SWIG_From_int(static_cast< int >(result
));
29495 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29496 PyObject
*resultobj
= 0;
29497 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29501 PyObject
*swig_obj
[1] ;
29503 if (!args
) SWIG_fail
;
29504 swig_obj
[0] = args
;
29505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29506 if (!SWIG_IsOK(res1
)) {
29507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29509 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 result
= (int)(arg1
)->GetMaxPage();
29513 wxPyEndAllowThreads(__tstate
);
29514 if (PyErr_Occurred()) SWIG_fail
;
29516 resultobj
= SWIG_From_int(static_cast< int >(result
));
29523 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29524 PyObject
*resultobj
= 0;
29525 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29529 PyObject
*swig_obj
[1] ;
29531 if (!args
) SWIG_fail
;
29532 swig_obj
[0] = args
;
29533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29534 if (!SWIG_IsOK(res1
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29537 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (int)(arg1
)->GetMinPage();
29541 wxPyEndAllowThreads(__tstate
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29544 resultobj
= SWIG_From_int(static_cast< int >(result
));
29551 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29552 PyObject
*resultobj
= 0;
29553 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29557 PyObject
*swig_obj
[1] ;
29559 if (!args
) SWIG_fail
;
29560 swig_obj
[0] = args
;
29561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29562 if (!SWIG_IsOK(res1
)) {
29563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29565 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 result
= (bool)(arg1
)->Ok();
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29581 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
= 0;
29583 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29589 PyObject
* obj0
= 0 ;
29590 PyObject
* obj1
= 0 ;
29591 char * kwnames
[] = {
29592 (char *) "self",(char *) "ok", NULL
29595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29597 if (!SWIG_IsOK(res1
)) {
29598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29600 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29601 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29602 if (!SWIG_IsOK(ecode2
)) {
29603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29605 arg2
= static_cast< bool >(val2
);
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29608 (arg1
)->SetOk(arg2
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= SWIG_Py_Void();
29619 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
= 0;
29621 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29628 PyObject
* obj0
= 0 ;
29629 PyObject
* obj1
= 0 ;
29630 char * kwnames
[] = {
29631 (char *) "self",(char *) "interactive", NULL
29634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29636 if (!SWIG_IsOK(res1
)) {
29637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29639 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29640 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29641 if (!SWIG_IsOK(ecode2
)) {
29642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29644 arg2
= static_cast< bool >(val2
);
29646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29647 result
= (bool)(arg1
)->Print(arg2
);
29648 wxPyEndAllowThreads(__tstate
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29660 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29661 PyObject
*resultobj
= 0;
29662 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29665 PyObject
*swig_obj
[1] ;
29667 if (!args
) SWIG_fail
;
29668 swig_obj
[0] = args
;
29669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29670 if (!SWIG_IsOK(res1
)) {
29671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29673 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 (arg1
)->DetermineScaling();
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= SWIG_Py_Void();
29687 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29690 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29691 return SWIG_Py_Void();
29694 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29695 return SWIG_Python_InitShadowInstance(args
);
29698 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29699 PyObject
*resultobj
= 0;
29700 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29701 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29702 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29703 wxPyPrintPreview
*result
= 0 ;
29709 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29710 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29711 if (!SWIG_IsOK(res1
)) {
29712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29714 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29715 if (!SWIG_IsOK(res2
)) {
29716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29719 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29720 if (!SWIG_IsOK(res3
)) {
29721 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29723 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29726 if (!wxPyCheckForApp()) SWIG_fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29739 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29740 PyObject
*resultobj
= 0;
29741 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29742 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29743 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29744 wxPyPrintPreview
*result
= 0 ;
29750 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29751 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29752 if (!SWIG_IsOK(res1
)) {
29753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29755 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29756 if (!SWIG_IsOK(res2
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29759 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29760 if (!SWIG_IsOK(res3
)) {
29761 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29763 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29765 if (!wxPyCheckForApp()) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29778 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29782 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29784 if ((argc
>= 2) && (argc
<= 3)) {
29789 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29790 _v
= SWIG_CheckState(res
);
29792 if (!_v
) goto check_1
;
29794 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29799 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29803 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29808 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29809 PyObject
*resultobj
= 0;
29810 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29811 PyObject
*arg2
= (PyObject
*) 0 ;
29812 PyObject
*arg3
= (PyObject
*) 0 ;
29815 PyObject
* obj0
= 0 ;
29816 PyObject
* obj1
= 0 ;
29817 PyObject
* obj2
= 0 ;
29818 char * kwnames
[] = {
29819 (char *) "self",(char *) "self",(char *) "_class", NULL
29822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29824 if (!SWIG_IsOK(res1
)) {
29825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29827 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29832 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29833 wxPyEndAllowThreads(__tstate
);
29834 if (PyErr_Occurred()) SWIG_fail
;
29836 resultobj
= SWIG_Py_Void();
29843 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29846 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29847 return SWIG_Py_Void();
29850 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29851 return SWIG_Python_InitShadowInstance(args
);
29854 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
= 0;
29856 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29857 wxFrame
*arg2
= (wxFrame
*) 0 ;
29858 wxString
*arg3
= 0 ;
29859 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29860 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29861 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29862 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29863 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29864 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29865 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29866 wxPyPreviewFrame
*result
= 0 ;
29871 bool temp3
= false ;
29876 bool temp7
= false ;
29877 PyObject
* obj0
= 0 ;
29878 PyObject
* obj1
= 0 ;
29879 PyObject
* obj2
= 0 ;
29880 PyObject
* obj3
= 0 ;
29881 PyObject
* obj4
= 0 ;
29882 PyObject
* obj5
= 0 ;
29883 PyObject
* obj6
= 0 ;
29884 char * kwnames
[] = {
29885 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29890 if (!SWIG_IsOK(res1
)) {
29891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29893 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29894 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29895 if (!SWIG_IsOK(res2
)) {
29896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29898 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29900 arg3
= wxString_in_helper(obj2
);
29901 if (arg3
== NULL
) SWIG_fail
;
29907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29917 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29918 if (!SWIG_IsOK(ecode6
)) {
29919 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29921 arg6
= static_cast< long >(val6
);
29925 arg7
= wxString_in_helper(obj6
);
29926 if (arg7
== NULL
) SWIG_fail
;
29931 if (!wxPyCheckForApp()) SWIG_fail
;
29932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29933 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29934 wxPyEndAllowThreads(__tstate
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29960 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
= 0;
29962 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29963 PyObject
*arg2
= (PyObject
*) 0 ;
29964 PyObject
*arg3
= (PyObject
*) 0 ;
29967 PyObject
* obj0
= 0 ;
29968 PyObject
* obj1
= 0 ;
29969 PyObject
* obj2
= 0 ;
29970 char * kwnames
[] = {
29971 (char *) "self",(char *) "self",(char *) "_class", NULL
29974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29976 if (!SWIG_IsOK(res1
)) {
29977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29979 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29984 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29985 wxPyEndAllowThreads(__tstate
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29988 resultobj
= SWIG_Py_Void();
29995 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
= 0;
29997 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29998 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30003 PyObject
* obj0
= 0 ;
30004 PyObject
* obj1
= 0 ;
30005 char * kwnames
[] = {
30006 (char *) "self",(char *) "canvas", NULL
30009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30011 if (!SWIG_IsOK(res1
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30014 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30016 if (!SWIG_IsOK(res2
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30019 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 (arg1
)->SetPreviewCanvas(arg2
);
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= SWIG_Py_Void();
30033 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
= 0;
30035 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30036 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30041 PyObject
* obj0
= 0 ;
30042 PyObject
* obj1
= 0 ;
30043 char * kwnames
[] = {
30044 (char *) "self",(char *) "bar", NULL
30047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30049 if (!SWIG_IsOK(res1
)) {
30050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30052 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30053 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30054 if (!SWIG_IsOK(res2
)) {
30055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30057 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30060 (arg1
)->SetControlBar(arg2
);
30061 wxPyEndAllowThreads(__tstate
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30064 resultobj
= SWIG_Py_Void();
30071 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30072 PyObject
*resultobj
= 0;
30073 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30076 PyObject
*swig_obj
[1] ;
30078 if (!args
) SWIG_fail
;
30079 swig_obj
[0] = args
;
30080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30081 if (!SWIG_IsOK(res1
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30084 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 (arg1
)->Initialize();
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30091 resultobj
= SWIG_Py_Void();
30098 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30099 PyObject
*resultobj
= 0;
30100 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30103 PyObject
*swig_obj
[1] ;
30105 if (!args
) SWIG_fail
;
30106 swig_obj
[0] = args
;
30107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30108 if (!SWIG_IsOK(res1
)) {
30109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30111 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30114 (arg1
)->CreateCanvas();
30115 wxPyEndAllowThreads(__tstate
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30118 resultobj
= SWIG_Py_Void();
30125 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30126 PyObject
*resultobj
= 0;
30127 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30130 PyObject
*swig_obj
[1] ;
30132 if (!args
) SWIG_fail
;
30133 swig_obj
[0] = args
;
30134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30135 if (!SWIG_IsOK(res1
)) {
30136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30138 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30141 (arg1
)->CreateControlBar();
30142 wxPyEndAllowThreads(__tstate
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30145 resultobj
= SWIG_Py_Void();
30152 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30154 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30155 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30156 return SWIG_Py_Void();
30159 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30160 return SWIG_Python_InitShadowInstance(args
);
30163 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30164 PyObject
*resultobj
= 0;
30165 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30167 wxWindow
*arg3
= (wxWindow
*) 0 ;
30168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30172 long arg6
= (long) 0 ;
30173 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30174 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30175 wxPyPreviewControlBar
*result
= 0 ;
30186 bool temp7
= false ;
30187 PyObject
* obj0
= 0 ;
30188 PyObject
* obj1
= 0 ;
30189 PyObject
* obj2
= 0 ;
30190 PyObject
* obj3
= 0 ;
30191 PyObject
* obj4
= 0 ;
30192 PyObject
* obj5
= 0 ;
30193 PyObject
* obj6
= 0 ;
30194 char * kwnames
[] = {
30195 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30200 if (!SWIG_IsOK(res1
)) {
30201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30203 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30204 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30205 if (!SWIG_IsOK(ecode2
)) {
30206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30208 arg2
= static_cast< long >(val2
);
30209 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30210 if (!SWIG_IsOK(res3
)) {
30211 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30213 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30223 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30227 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30228 if (!SWIG_IsOK(ecode6
)) {
30229 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30231 arg6
= static_cast< long >(val6
);
30235 arg7
= wxString_in_helper(obj6
);
30236 if (arg7
== NULL
) SWIG_fail
;
30241 if (!wxPyCheckForApp()) SWIG_fail
;
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30262 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30263 PyObject
*resultobj
= 0;
30264 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30265 PyObject
*arg2
= (PyObject
*) 0 ;
30266 PyObject
*arg3
= (PyObject
*) 0 ;
30269 PyObject
* obj0
= 0 ;
30270 PyObject
* obj1
= 0 ;
30271 PyObject
* obj2
= 0 ;
30272 char * kwnames
[] = {
30273 (char *) "self",(char *) "self",(char *) "_class", NULL
30276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30278 if (!SWIG_IsOK(res1
)) {
30279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30281 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30286 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= SWIG_Py_Void();
30297 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30298 PyObject
*resultobj
= 0;
30299 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30300 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30305 PyObject
* obj0
= 0 ;
30306 PyObject
* obj1
= 0 ;
30307 char * kwnames
[] = {
30308 (char *) "self",(char *) "preview", NULL
30311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30313 if (!SWIG_IsOK(res1
)) {
30314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30316 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30318 if (!SWIG_IsOK(res2
)) {
30319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30321 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30324 (arg1
)->SetPrintPreview(arg2
);
30325 wxPyEndAllowThreads(__tstate
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30328 resultobj
= SWIG_Py_Void();
30335 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30336 PyObject
*resultobj
= 0;
30337 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30340 PyObject
*swig_obj
[1] ;
30342 if (!args
) SWIG_fail
;
30343 swig_obj
[0] = args
;
30344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30345 if (!SWIG_IsOK(res1
)) {
30346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30348 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30351 (arg1
)->CreateButtons();
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 resultobj
= SWIG_Py_Void();
30362 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30363 PyObject
*resultobj
= 0;
30364 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30370 PyObject
* obj0
= 0 ;
30371 PyObject
* obj1
= 0 ;
30372 char * kwnames
[] = {
30373 (char *) "self",(char *) "zoom", NULL
30376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30378 if (!SWIG_IsOK(res1
)) {
30379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30381 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30383 if (!SWIG_IsOK(ecode2
)) {
30384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30386 arg2
= static_cast< int >(val2
);
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 (arg1
)->SetZoomControl(arg2
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= SWIG_Py_Void();
30400 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30403 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30404 return SWIG_Py_Void();
30407 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30408 return SWIG_Python_InitShadowInstance(args
);
30411 static PyMethodDef SwigMethods
[] = {
30412 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30413 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30414 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30415 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30416 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30417 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30418 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30419 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30420 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30421 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30422 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30423 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30424 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30425 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30426 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30427 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30428 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30429 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30430 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30431 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30432 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30433 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30434 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30435 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30436 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30437 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30438 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30439 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30440 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30441 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30442 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30443 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30444 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30445 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30446 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30447 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30448 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30449 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30450 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30451 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30452 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30453 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30454 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30455 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30456 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30457 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30458 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30459 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30460 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30461 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30462 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30463 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30464 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30465 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30466 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30467 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30468 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30469 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30470 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30471 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30473 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30474 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30475 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30476 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30477 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30478 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30479 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30480 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30481 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30483 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30484 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30485 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30486 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30487 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30488 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30489 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30490 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30491 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30492 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30493 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30494 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30495 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30496 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30497 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30498 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30499 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30500 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30501 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30502 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30503 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30504 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30505 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30506 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30507 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30508 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30509 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30510 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30511 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30512 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30513 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30514 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30515 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30516 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30517 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30518 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30519 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30520 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30521 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30522 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30523 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30524 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30525 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30526 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30527 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30528 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30530 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30531 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30532 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30533 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30534 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30537 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30538 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30540 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30541 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30543 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30544 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30545 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30546 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30548 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30550 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30551 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30552 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30553 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30554 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30555 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30558 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30559 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30561 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30563 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30564 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30565 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30567 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30569 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30571 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30572 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30574 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30575 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30576 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30577 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30578 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30579 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30580 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30582 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30583 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30584 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30588 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30590 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30592 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30595 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30596 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30599 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30600 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30601 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30602 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30603 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30604 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30605 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30607 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30609 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30611 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30612 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30613 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30616 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30617 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30618 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30620 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30621 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30622 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30624 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30625 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30626 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30627 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30628 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30629 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30631 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30632 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30633 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30634 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30635 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30637 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30638 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30641 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30642 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30643 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30644 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30645 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30646 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30647 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30648 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30649 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30650 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30651 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30652 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30653 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30654 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30656 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30657 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30658 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30659 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30661 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30662 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30663 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30665 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30672 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30674 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30675 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30676 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30677 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30678 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30679 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30680 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30682 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30683 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30684 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30685 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30686 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30689 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30690 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30691 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30692 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30693 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30694 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30695 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30696 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30697 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30698 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30699 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30700 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30701 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30703 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30705 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30706 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30709 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30712 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30713 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30715 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30717 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30719 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30721 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30722 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30723 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30724 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30726 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30727 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30728 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30730 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30732 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30733 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30735 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30736 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30737 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30738 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30739 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30740 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30741 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30742 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30745 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30746 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30748 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30749 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30750 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30753 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30754 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30755 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30757 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30758 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30763 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30766 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30767 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30768 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30769 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30770 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30771 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30772 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30773 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30774 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30775 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30778 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30779 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30780 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30782 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30783 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30785 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30786 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30788 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30790 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30791 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30792 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30793 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30794 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30795 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30796 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30798 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30799 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30800 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30801 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30802 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30803 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30810 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30811 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30813 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30814 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30815 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30818 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30819 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30822 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30823 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30824 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30826 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30827 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30828 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30829 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30831 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30833 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30834 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30835 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30836 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30837 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30838 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30839 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30840 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30843 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30844 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30846 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30848 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30850 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30851 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30853 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30855 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30856 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30857 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30858 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30859 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30860 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
30861 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
30863 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
30864 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
30866 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
30868 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
30869 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
30870 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30871 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
30872 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
30874 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
30875 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
30877 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
30885 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
30886 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
30887 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
30888 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
30889 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
30890 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
30891 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
30892 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
30893 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
30895 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30897 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
30903 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
30904 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
30905 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
30906 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
30907 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
30908 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
30909 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
30910 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
30911 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
30913 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
30921 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
30922 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
30923 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
30924 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
30925 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
30926 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
30927 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30928 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30929 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
30930 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
30931 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
30932 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
30933 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
30934 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
30935 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
30936 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
30937 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
30938 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
30939 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
30940 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
30941 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
30942 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
30943 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
30955 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
30957 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
30959 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
30960 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
30961 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
30962 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
30968 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
30969 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
30970 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
30971 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
30972 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
30973 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
30974 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
30975 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
30976 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
30977 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
30978 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
30979 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
30980 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
30981 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
30982 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
30992 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
30993 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
30994 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
30995 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
30997 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
30998 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
30999 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31000 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31001 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31002 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31003 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31004 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31005 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31006 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31007 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31008 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31009 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31010 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31011 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31012 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31013 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31027 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31028 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31029 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31030 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31031 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31032 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31034 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31035 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31037 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31038 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31039 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31040 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31041 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31042 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31043 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31045 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31051 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31052 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31053 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31054 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31055 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31057 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31059 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31060 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31063 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31065 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31067 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31069 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31070 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31073 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31074 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31075 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31076 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31078 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31079 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31080 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31082 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31083 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31085 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31086 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31087 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31088 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31089 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31090 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31092 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31094 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31095 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31096 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31097 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31098 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31099 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31100 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31101 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31102 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31103 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31105 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31107 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31108 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31111 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31112 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31117 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31119 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31120 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31121 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31122 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31125 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31126 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31127 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31128 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31130 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31131 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31136 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31137 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31138 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31139 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31140 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31144 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31146 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31147 { NULL
, NULL
, 0, NULL
}
31151 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31153 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31154 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31156 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31157 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31159 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31160 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31162 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31163 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31165 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31166 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31168 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31169 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31171 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31172 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31174 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31175 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31177 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31178 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31180 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31181 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31183 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31184 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31186 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31189 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31190 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31192 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31193 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31195 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31196 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31198 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31199 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31201 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31202 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31204 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31205 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31207 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31208 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31210 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31211 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31213 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31214 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31216 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31217 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31219 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31222 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31223 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31225 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31226 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31228 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31229 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31231 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31232 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31234 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31235 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31237 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31238 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31240 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31241 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31243 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31244 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31246 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31247 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31249 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31250 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31252 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31253 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31255 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31256 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31258 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31259 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31261 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31262 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31264 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31265 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31267 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31268 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31270 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31271 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31273 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31274 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31276 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31277 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31279 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31280 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31282 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31283 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31285 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31286 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31288 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31289 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31291 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31294 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31297 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31300 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31301 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31303 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31304 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31306 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31307 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31309 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31310 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31312 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31315 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31318 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31321 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31324 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31327 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31330 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31333 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31336 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31337 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31339 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31340 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31342 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31345 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31348 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31351 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31352 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31354 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31357 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31358 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31360 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31361 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31363 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31364 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31366 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31367 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31369 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31372 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31373 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31375 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31376 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31378 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31381 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31382 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31384 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31387 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31390 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31393 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31394 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31396 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31399 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31400 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31402 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31405 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31408 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31411 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31414 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31417 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31418 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31420 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31423 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31426 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31429 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31432 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31435 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31438 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31439 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31441 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31442 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31444 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31445 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31447 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31448 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31450 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31451 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31453 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31454 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31456 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31457 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31459 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31460 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31462 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31463 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31465 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31466 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31468 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31469 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31471 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31474 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31477 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31478 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31480 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31481 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31483 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31484 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31486 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31487 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31489 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31490 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31492 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31493 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31495 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31496 return (void *)((wxObject
*) ((wxSizer
*) x
));
31498 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31499 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31501 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31504 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31507 static void *_p_wxEventTo_p_wxObject(void *x
) {
31508 return (void *)((wxObject
*) ((wxEvent
*) x
));
31510 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31511 return (void *)((wxObject
*) ((wxFontData
*) x
));
31513 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31514 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31516 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31517 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31519 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31520 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31522 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31523 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31525 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31526 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31528 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31529 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31531 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31534 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31537 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31538 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31540 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31541 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31543 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31544 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31546 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31547 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31549 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31550 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31552 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31553 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31555 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31558 static void *_p_wxControlTo_p_wxObject(void *x
) {
31559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31561 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31562 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31564 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31567 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31568 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31570 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31571 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31573 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31574 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31576 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31579 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31580 return (void *)((wxObject
*) ((wxColourData
*) x
));
31582 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31583 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31585 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31588 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31591 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31594 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31597 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31600 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31603 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31606 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31609 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31612 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31615 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31618 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31619 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31621 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31622 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31624 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31625 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31627 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31630 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31631 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31633 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31636 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31637 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31639 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31640 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31642 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31643 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31645 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31646 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31648 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31649 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31651 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31652 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31654 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31655 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31657 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31658 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31660 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31663 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31666 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31667 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31669 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31670 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31672 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31673 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31675 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31676 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31678 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31679 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31681 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31682 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31684 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31685 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31687 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31688 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31690 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31691 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31693 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31694 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31696 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31697 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31699 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31702 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31705 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31706 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31708 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31709 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31711 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31714 static void *_p_wxImageTo_p_wxObject(void *x
) {
31715 return (void *)((wxObject
*) ((wxImage
*) x
));
31717 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31720 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31721 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31723 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31724 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31726 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31727 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31729 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31732 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31735 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31738 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31739 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31741 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31742 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31744 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31745 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31747 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31748 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31750 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31753 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31756 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31759 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31762 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31765 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31768 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31771 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31774 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31777 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31780 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31783 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31786 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31789 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31792 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31793 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31795 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31796 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31798 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31801 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31804 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31807 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31810 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31813 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31814 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31816 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31817 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31819 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31820 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31822 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31825 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31826 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31828 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31829 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31831 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31832 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31834 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31835 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31837 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31838 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31840 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31843 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31844 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31846 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31849 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31852 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31853 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31855 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31858 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31861 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31864 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
31867 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
31868 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
31870 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31873 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31874 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31876 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31877 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31879 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31880 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31882 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
31883 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31885 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
31886 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31888 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
31889 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
31891 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
31892 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
31894 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
31895 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
31897 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
31898 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
31900 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
31901 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
31903 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
31904 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
31906 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
31907 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
31909 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
31910 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
31912 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
31913 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
31915 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
31916 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
31918 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
31919 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
31921 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31922 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31924 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31925 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
31927 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31928 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31930 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31931 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31933 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
31934 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
31936 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
31937 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
31939 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
31940 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
31942 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31943 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
31945 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31946 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31948 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
31949 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31951 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
31952 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31954 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
31955 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
31957 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31958 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31960 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
31961 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31963 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
31964 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31966 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
31967 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31969 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
31970 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31972 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
31973 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31975 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
31976 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31978 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
31979 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31981 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
31982 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31984 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
31985 return (void *)((wxWindow
*) ((wxPanel
*) x
));
31987 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
31988 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
31990 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
31991 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31993 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
31994 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31996 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
31997 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31999 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32000 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32002 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32003 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32005 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32006 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32008 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32009 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32011 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32012 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32014 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32015 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32017 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32018 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32020 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32021 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32023 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32024 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32026 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32027 return (void *)((wxWindow
*) ((wxControl
*) x
));
32029 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32030 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32032 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32033 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32035 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32036 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32038 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32039 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32041 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32042 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32044 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32045 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32047 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32048 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32050 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32051 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32053 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32054 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32056 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32057 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32059 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32060 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32062 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32063 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32065 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32066 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32068 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32069 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32071 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32072 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32074 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32075 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32077 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32078 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32080 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32081 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32083 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32084 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32086 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32087 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32089 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32090 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32092 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32093 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32095 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32096 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32098 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32099 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32101 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32102 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32104 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32105 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32107 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32108 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32110 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32111 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32113 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32114 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32116 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32117 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32119 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32120 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32122 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32123 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32125 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32126 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32128 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32129 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32131 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32132 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32134 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32135 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32137 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32138 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32140 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32141 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32143 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32144 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32146 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32147 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32149 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32150 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32152 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32153 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32155 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32156 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32158 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32159 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32161 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32162 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32164 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32165 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32167 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32168 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32170 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32171 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32173 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32174 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32176 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32177 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32179 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32180 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32182 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32183 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32185 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32186 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32187 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};
32188 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32189 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32190 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32191 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32192 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32193 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32194 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32195 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32196 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32197 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32198 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32199 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32200 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32201 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32202 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32203 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32204 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32205 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32206 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32207 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32208 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32209 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32210 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32211 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32212 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32213 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32214 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32215 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32216 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32217 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32218 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32219 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32220 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32221 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32222 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32223 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32224 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32225 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32226 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32227 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32228 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32229 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32230 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32231 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32232 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32233 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32234 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32235 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32236 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32237 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32238 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32239 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32240 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32241 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32242 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32243 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32244 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32245 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32246 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32247 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32248 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32249 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32250 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32251 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32252 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32253 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32254 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32255 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32256 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32257 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32258 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32259 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32260 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32261 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32262 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32263 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32264 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32265 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32266 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32267 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32268 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32269 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32270 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32271 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32272 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32273 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32274 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32275 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32276 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32277 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32278 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32279 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32280 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32281 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32282 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32283 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32284 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32285 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32286 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32287 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32288 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32289 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32290 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32291 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32292 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32293 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32294 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32295 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32296 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32297 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32298 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32299 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32300 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32301 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32303 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32304 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32305 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32306 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32307 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32308 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32309 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32310 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32311 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32312 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32313 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32314 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32315 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32316 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32317 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32318 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32319 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32320 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32322 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32323 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32324 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32326 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32327 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32343 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32344 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32345 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32346 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32349 static swig_type_info
*swig_type_initial
[] = {
32352 &_swigt__p_form_ops_t
,
32354 &_swigt__p_unsigned_char
,
32355 &_swigt__p_unsigned_int
,
32356 &_swigt__p_unsigned_long
,
32357 &_swigt__p_wxANIHandler
,
32358 &_swigt__p_wxAcceleratorTable
,
32359 &_swigt__p_wxActivateEvent
,
32360 &_swigt__p_wxArrayInt
,
32361 &_swigt__p_wxBMPHandler
,
32362 &_swigt__p_wxBitmap
,
32363 &_swigt__p_wxBoxSizer
,
32364 &_swigt__p_wxCURHandler
,
32365 &_swigt__p_wxCalculateLayoutEvent
,
32366 &_swigt__p_wxChildFocusEvent
,
32367 &_swigt__p_wxClipboardTextEvent
,
32368 &_swigt__p_wxCloseEvent
,
32369 &_swigt__p_wxColour
,
32370 &_swigt__p_wxColourData
,
32371 &_swigt__p_wxColourDialog
,
32372 &_swigt__p_wxCommandEvent
,
32373 &_swigt__p_wxContextMenuEvent
,
32374 &_swigt__p_wxControl
,
32375 &_swigt__p_wxControlWithItems
,
32377 &_swigt__p_wxDateEvent
,
32378 &_swigt__p_wxDialog
,
32379 &_swigt__p_wxDirDialog
,
32380 &_swigt__p_wxDisplayChangedEvent
,
32381 &_swigt__p_wxDropFilesEvent
,
32382 &_swigt__p_wxDuplexMode
,
32383 &_swigt__p_wxEraseEvent
,
32384 &_swigt__p_wxEvent
,
32385 &_swigt__p_wxEvtHandler
,
32386 &_swigt__p_wxFSFile
,
32387 &_swigt__p_wxFileDialog
,
32388 &_swigt__p_wxFileSystem
,
32389 &_swigt__p_wxFindDialogEvent
,
32390 &_swigt__p_wxFindReplaceData
,
32391 &_swigt__p_wxFindReplaceDialog
,
32392 &_swigt__p_wxFlexGridSizer
,
32393 &_swigt__p_wxFocusEvent
,
32395 &_swigt__p_wxFontData
,
32396 &_swigt__p_wxFontDialog
,
32397 &_swigt__p_wxFrame
,
32398 &_swigt__p_wxGBSizerItem
,
32399 &_swigt__p_wxGIFHandler
,
32400 &_swigt__p_wxGridBagSizer
,
32401 &_swigt__p_wxGridSizer
,
32402 &_swigt__p_wxHtmlLinkInfo
,
32403 &_swigt__p_wxICOHandler
,
32405 &_swigt__p_wxIconBundle
,
32406 &_swigt__p_wxIconizeEvent
,
32407 &_swigt__p_wxIdleEvent
,
32408 &_swigt__p_wxImage
,
32409 &_swigt__p_wxImageHandler
,
32410 &_swigt__p_wxIndividualLayoutConstraint
,
32411 &_swigt__p_wxInitDialogEvent
,
32412 &_swigt__p_wxJPEGHandler
,
32413 &_swigt__p_wxKeyEvent
,
32414 &_swigt__p_wxLayoutAlgorithm
,
32415 &_swigt__p_wxLayoutConstraints
,
32416 &_swigt__p_wxMDIChildFrame
,
32417 &_swigt__p_wxMDIClientWindow
,
32418 &_swigt__p_wxMDIParentFrame
,
32419 &_swigt__p_wxMaximizeEvent
,
32421 &_swigt__p_wxMenuBar
,
32422 &_swigt__p_wxMenuEvent
,
32423 &_swigt__p_wxMenuItem
,
32424 &_swigt__p_wxMessageDialog
,
32425 &_swigt__p_wxMiniFrame
,
32426 &_swigt__p_wxMouseCaptureChangedEvent
,
32427 &_swigt__p_wxMouseEvent
,
32428 &_swigt__p_wxMoveEvent
,
32429 &_swigt__p_wxMultiChoiceDialog
,
32430 &_swigt__p_wxNavigationKeyEvent
,
32431 &_swigt__p_wxNcPaintEvent
,
32432 &_swigt__p_wxNotifyEvent
,
32433 &_swigt__p_wxObject
,
32434 &_swigt__p_wxPCXHandler
,
32435 &_swigt__p_wxPNGHandler
,
32436 &_swigt__p_wxPNMHandler
,
32437 &_swigt__p_wxPageSetupDialog
,
32438 &_swigt__p_wxPageSetupDialogData
,
32439 &_swigt__p_wxPaintEvent
,
32440 &_swigt__p_wxPaletteChangedEvent
,
32441 &_swigt__p_wxPanel
,
32442 &_swigt__p_wxPaperSize
,
32443 &_swigt__p_wxPasswordEntryDialog
,
32444 &_swigt__p_wxPoint
,
32445 &_swigt__p_wxPopupWindow
,
32446 &_swigt__p_wxPreviewCanvas
,
32447 &_swigt__p_wxPreviewControlBar
,
32448 &_swigt__p_wxPreviewFrame
,
32449 &_swigt__p_wxPrintData
,
32450 &_swigt__p_wxPrintDialog
,
32451 &_swigt__p_wxPrintDialogData
,
32452 &_swigt__p_wxPrintPreview
,
32453 &_swigt__p_wxPrinter
,
32454 &_swigt__p_wxProgressDialog
,
32455 &_swigt__p_wxPyApp
,
32456 &_swigt__p_wxPyCommandEvent
,
32457 &_swigt__p_wxPyEvent
,
32458 &_swigt__p_wxPyHtmlListBox
,
32459 &_swigt__p_wxPyImageHandler
,
32460 &_swigt__p_wxPyPanel
,
32461 &_swigt__p_wxPyPopupTransientWindow
,
32462 &_swigt__p_wxPyPreviewControlBar
,
32463 &_swigt__p_wxPyPreviewFrame
,
32464 &_swigt__p_wxPyPrintPreview
,
32465 &_swigt__p_wxPyPrintout
,
32466 &_swigt__p_wxPyScrolledWindow
,
32467 &_swigt__p_wxPySizer
,
32468 &_swigt__p_wxPyTaskBarIcon
,
32469 &_swigt__p_wxPyVListBox
,
32470 &_swigt__p_wxPyVScrolledWindow
,
32471 &_swigt__p_wxPyValidator
,
32472 &_swigt__p_wxPyWindow
,
32473 &_swigt__p_wxQueryLayoutInfoEvent
,
32474 &_swigt__p_wxQueryNewPaletteEvent
,
32476 &_swigt__p_wxRegion
,
32477 &_swigt__p_wxSashEvent
,
32478 &_swigt__p_wxSashLayoutWindow
,
32479 &_swigt__p_wxSashWindow
,
32480 &_swigt__p_wxScrollEvent
,
32481 &_swigt__p_wxScrollWinEvent
,
32482 &_swigt__p_wxScrolledWindow
,
32483 &_swigt__p_wxSetCursorEvent
,
32484 &_swigt__p_wxShowEvent
,
32485 &_swigt__p_wxSingleChoiceDialog
,
32487 &_swigt__p_wxSizeEvent
,
32488 &_swigt__p_wxSizer
,
32489 &_swigt__p_wxSizerItem
,
32490 &_swigt__p_wxSplashScreen
,
32491 &_swigt__p_wxSplashScreenWindow
,
32492 &_swigt__p_wxSplitterEvent
,
32493 &_swigt__p_wxSplitterWindow
,
32494 &_swigt__p_wxStaticBoxSizer
,
32495 &_swigt__p_wxStatusBar
,
32496 &_swigt__p_wxStdDialogButtonSizer
,
32497 &_swigt__p_wxString
,
32498 &_swigt__p_wxSysColourChangedEvent
,
32499 &_swigt__p_wxTIFFHandler
,
32500 &_swigt__p_wxTaskBarIcon
,
32501 &_swigt__p_wxTaskBarIconEvent
,
32502 &_swigt__p_wxTextEntryDialog
,
32503 &_swigt__p_wxTipWindow
,
32504 &_swigt__p_wxToolBar
,
32505 &_swigt__p_wxTopLevelWindow
,
32506 &_swigt__p_wxUpdateUIEvent
,
32507 &_swigt__p_wxValidator
,
32508 &_swigt__p_wxVisualAttributes
,
32509 &_swigt__p_wxWindow
,
32510 &_swigt__p_wxWindowCreateEvent
,
32511 &_swigt__p_wxWindowDestroyEvent
,
32512 &_swigt__p_wxXPMHandler
,
32515 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32516 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32517 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32518 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32519 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32520 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32521 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32522 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32523 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32524 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32525 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32526 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32527 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32528 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32529 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32530 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32531 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32532 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32533 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32534 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32535 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32536 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32537 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}};
32538 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32539 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32540 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32541 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32542 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32543 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32544 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32545 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32546 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32547 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32548 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32549 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32550 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32551 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32552 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32553 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32554 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32555 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32556 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32557 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32558 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32559 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32560 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32561 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32562 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32563 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32564 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32565 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32566 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32567 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}};
32568 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32569 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32570 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32571 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32572 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32573 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
32574 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32575 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32576 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32577 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32578 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32579 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32580 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32582 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}};
32583 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32584 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32585 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32586 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32587 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32588 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32589 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32590 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32591 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32592 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32593 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32594 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32595 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}};
32596 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32597 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32598 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32599 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32600 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32601 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32602 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32603 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32604 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32605 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32606 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32607 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32608 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32609 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32610 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32611 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32612 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32613 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32614 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32615 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32616 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32617 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32618 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32620 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32621 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32624 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32627 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}};
32628 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32629 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32630 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32631 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}};
32632 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32633 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}};
32634 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}};
32635 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32637 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32638 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}};
32639 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32643 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32644 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32646 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32647 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32650 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}};
32651 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}};
32652 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32654 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32656 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32658 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}};
32659 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32660 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}};
32661 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32672 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}};
32673 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info
*swig_cast_initial
[] = {
32682 _swigc__p_form_ops_t
,
32684 _swigc__p_unsigned_char
,
32685 _swigc__p_unsigned_int
,
32686 _swigc__p_unsigned_long
,
32687 _swigc__p_wxANIHandler
,
32688 _swigc__p_wxAcceleratorTable
,
32689 _swigc__p_wxActivateEvent
,
32690 _swigc__p_wxArrayInt
,
32691 _swigc__p_wxBMPHandler
,
32692 _swigc__p_wxBitmap
,
32693 _swigc__p_wxBoxSizer
,
32694 _swigc__p_wxCURHandler
,
32695 _swigc__p_wxCalculateLayoutEvent
,
32696 _swigc__p_wxChildFocusEvent
,
32697 _swigc__p_wxClipboardTextEvent
,
32698 _swigc__p_wxCloseEvent
,
32699 _swigc__p_wxColour
,
32700 _swigc__p_wxColourData
,
32701 _swigc__p_wxColourDialog
,
32702 _swigc__p_wxCommandEvent
,
32703 _swigc__p_wxContextMenuEvent
,
32704 _swigc__p_wxControl
,
32705 _swigc__p_wxControlWithItems
,
32707 _swigc__p_wxDateEvent
,
32708 _swigc__p_wxDialog
,
32709 _swigc__p_wxDirDialog
,
32710 _swigc__p_wxDisplayChangedEvent
,
32711 _swigc__p_wxDropFilesEvent
,
32712 _swigc__p_wxDuplexMode
,
32713 _swigc__p_wxEraseEvent
,
32715 _swigc__p_wxEvtHandler
,
32716 _swigc__p_wxFSFile
,
32717 _swigc__p_wxFileDialog
,
32718 _swigc__p_wxFileSystem
,
32719 _swigc__p_wxFindDialogEvent
,
32720 _swigc__p_wxFindReplaceData
,
32721 _swigc__p_wxFindReplaceDialog
,
32722 _swigc__p_wxFlexGridSizer
,
32723 _swigc__p_wxFocusEvent
,
32725 _swigc__p_wxFontData
,
32726 _swigc__p_wxFontDialog
,
32728 _swigc__p_wxGBSizerItem
,
32729 _swigc__p_wxGIFHandler
,
32730 _swigc__p_wxGridBagSizer
,
32731 _swigc__p_wxGridSizer
,
32732 _swigc__p_wxHtmlLinkInfo
,
32733 _swigc__p_wxICOHandler
,
32735 _swigc__p_wxIconBundle
,
32736 _swigc__p_wxIconizeEvent
,
32737 _swigc__p_wxIdleEvent
,
32739 _swigc__p_wxImageHandler
,
32740 _swigc__p_wxIndividualLayoutConstraint
,
32741 _swigc__p_wxInitDialogEvent
,
32742 _swigc__p_wxJPEGHandler
,
32743 _swigc__p_wxKeyEvent
,
32744 _swigc__p_wxLayoutAlgorithm
,
32745 _swigc__p_wxLayoutConstraints
,
32746 _swigc__p_wxMDIChildFrame
,
32747 _swigc__p_wxMDIClientWindow
,
32748 _swigc__p_wxMDIParentFrame
,
32749 _swigc__p_wxMaximizeEvent
,
32751 _swigc__p_wxMenuBar
,
32752 _swigc__p_wxMenuEvent
,
32753 _swigc__p_wxMenuItem
,
32754 _swigc__p_wxMessageDialog
,
32755 _swigc__p_wxMiniFrame
,
32756 _swigc__p_wxMouseCaptureChangedEvent
,
32757 _swigc__p_wxMouseEvent
,
32758 _swigc__p_wxMoveEvent
,
32759 _swigc__p_wxMultiChoiceDialog
,
32760 _swigc__p_wxNavigationKeyEvent
,
32761 _swigc__p_wxNcPaintEvent
,
32762 _swigc__p_wxNotifyEvent
,
32763 _swigc__p_wxObject
,
32764 _swigc__p_wxPCXHandler
,
32765 _swigc__p_wxPNGHandler
,
32766 _swigc__p_wxPNMHandler
,
32767 _swigc__p_wxPageSetupDialog
,
32768 _swigc__p_wxPageSetupDialogData
,
32769 _swigc__p_wxPaintEvent
,
32770 _swigc__p_wxPaletteChangedEvent
,
32772 _swigc__p_wxPaperSize
,
32773 _swigc__p_wxPasswordEntryDialog
,
32775 _swigc__p_wxPopupWindow
,
32776 _swigc__p_wxPreviewCanvas
,
32777 _swigc__p_wxPreviewControlBar
,
32778 _swigc__p_wxPreviewFrame
,
32779 _swigc__p_wxPrintData
,
32780 _swigc__p_wxPrintDialog
,
32781 _swigc__p_wxPrintDialogData
,
32782 _swigc__p_wxPrintPreview
,
32783 _swigc__p_wxPrinter
,
32784 _swigc__p_wxProgressDialog
,
32786 _swigc__p_wxPyCommandEvent
,
32787 _swigc__p_wxPyEvent
,
32788 _swigc__p_wxPyHtmlListBox
,
32789 _swigc__p_wxPyImageHandler
,
32790 _swigc__p_wxPyPanel
,
32791 _swigc__p_wxPyPopupTransientWindow
,
32792 _swigc__p_wxPyPreviewControlBar
,
32793 _swigc__p_wxPyPreviewFrame
,
32794 _swigc__p_wxPyPrintPreview
,
32795 _swigc__p_wxPyPrintout
,
32796 _swigc__p_wxPyScrolledWindow
,
32797 _swigc__p_wxPySizer
,
32798 _swigc__p_wxPyTaskBarIcon
,
32799 _swigc__p_wxPyVListBox
,
32800 _swigc__p_wxPyVScrolledWindow
,
32801 _swigc__p_wxPyValidator
,
32802 _swigc__p_wxPyWindow
,
32803 _swigc__p_wxQueryLayoutInfoEvent
,
32804 _swigc__p_wxQueryNewPaletteEvent
,
32806 _swigc__p_wxRegion
,
32807 _swigc__p_wxSashEvent
,
32808 _swigc__p_wxSashLayoutWindow
,
32809 _swigc__p_wxSashWindow
,
32810 _swigc__p_wxScrollEvent
,
32811 _swigc__p_wxScrollWinEvent
,
32812 _swigc__p_wxScrolledWindow
,
32813 _swigc__p_wxSetCursorEvent
,
32814 _swigc__p_wxShowEvent
,
32815 _swigc__p_wxSingleChoiceDialog
,
32817 _swigc__p_wxSizeEvent
,
32819 _swigc__p_wxSizerItem
,
32820 _swigc__p_wxSplashScreen
,
32821 _swigc__p_wxSplashScreenWindow
,
32822 _swigc__p_wxSplitterEvent
,
32823 _swigc__p_wxSplitterWindow
,
32824 _swigc__p_wxStaticBoxSizer
,
32825 _swigc__p_wxStatusBar
,
32826 _swigc__p_wxStdDialogButtonSizer
,
32827 _swigc__p_wxString
,
32828 _swigc__p_wxSysColourChangedEvent
,
32829 _swigc__p_wxTIFFHandler
,
32830 _swigc__p_wxTaskBarIcon
,
32831 _swigc__p_wxTaskBarIconEvent
,
32832 _swigc__p_wxTextEntryDialog
,
32833 _swigc__p_wxTipWindow
,
32834 _swigc__p_wxToolBar
,
32835 _swigc__p_wxTopLevelWindow
,
32836 _swigc__p_wxUpdateUIEvent
,
32837 _swigc__p_wxValidator
,
32838 _swigc__p_wxVisualAttributes
,
32839 _swigc__p_wxWindow
,
32840 _swigc__p_wxWindowCreateEvent
,
32841 _swigc__p_wxWindowDestroyEvent
,
32842 _swigc__p_wxXPMHandler
,
32846 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32848 static swig_const_info swig_const_table
[] = {
32849 {0, 0, 0, 0.0, 0, 0}};
32854 /* -----------------------------------------------------------------------------
32855 * Type initialization:
32856 * This problem is tough by the requirement that no dynamic
32857 * memory is used. Also, since swig_type_info structures store pointers to
32858 * swig_cast_info structures and swig_cast_info structures store pointers back
32859 * to swig_type_info structures, we need some lookup code at initialization.
32860 * The idea is that swig generates all the structures that are needed.
32861 * The runtime then collects these partially filled structures.
32862 * The SWIG_InitializeModule function takes these initial arrays out of
32863 * swig_module, and does all the lookup, filling in the swig_module.types
32864 * array with the correct data and linking the correct swig_cast_info
32865 * structures together.
32867 * The generated swig_type_info structures are assigned staticly to an initial
32868 * array. We just loop though that array, and handle each type individually.
32869 * First we lookup if this type has been already loaded, and if so, use the
32870 * loaded structure instead of the generated one. Then we have to fill in the
32871 * cast linked list. The cast data is initially stored in something like a
32872 * two-dimensional array. Each row corresponds to a type (there are the same
32873 * number of rows as there are in the swig_type_initial array). Each entry in
32874 * a column is one of the swig_cast_info structures for that type.
32875 * The cast_initial array is actually an array of arrays, because each row has
32876 * a variable number of columns. So to actually build the cast linked list,
32877 * we find the array of casts associated with the type, and loop through it
32878 * adding the casts to the list. The one last trick we need to do is making
32879 * sure the type pointer in the swig_cast_info struct is correct.
32881 * First off, we lookup the cast->type name to see if it is already loaded.
32882 * There are three cases to handle:
32883 * 1) If the cast->type has already been loaded AND the type we are adding
32884 * casting info to has not been loaded (it is in this module), THEN we
32885 * replace the cast->type pointer with the type pointer that has already
32887 * 2) If BOTH types (the one we are adding casting info to, and the
32888 * cast->type) are loaded, THEN the cast info has already been loaded by
32889 * the previous module so we just ignore it.
32890 * 3) Finally, if cast->type has not already been loaded, then we add that
32891 * swig_cast_info to the linked list (because the cast->type) pointer will
32893 * ----------------------------------------------------------------------------- */
32903 #define SWIGRUNTIME_DEBUG
32907 SWIG_InitializeModule(void *clientdata
) {
32909 swig_module_info
*module_head
;
32910 static int init_run
= 0;
32912 clientdata
= clientdata
;
32914 if (init_run
) return;
32917 /* Initialize the swig_module */
32918 swig_module
.type_initial
= swig_type_initial
;
32919 swig_module
.cast_initial
= swig_cast_initial
;
32921 /* Try and load any already created modules */
32922 module_head
= SWIG_GetModule(clientdata
);
32924 swig_module
.next
= module_head
->next
;
32925 module_head
->next
= &swig_module
;
32927 /* This is the first module loaded */
32928 swig_module
.next
= &swig_module
;
32929 SWIG_SetModule(clientdata
, &swig_module
);
32932 /* Now work on filling in swig_module.types */
32933 #ifdef SWIGRUNTIME_DEBUG
32934 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32936 for (i
= 0; i
< swig_module
.size
; ++i
) {
32937 swig_type_info
*type
= 0;
32938 swig_type_info
*ret
;
32939 swig_cast_info
*cast
;
32941 #ifdef SWIGRUNTIME_DEBUG
32942 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32945 /* if there is another module already loaded */
32946 if (swig_module
.next
!= &swig_module
) {
32947 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32950 /* Overwrite clientdata field */
32951 #ifdef SWIGRUNTIME_DEBUG
32952 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32954 if (swig_module
.type_initial
[i
]->clientdata
) {
32955 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32956 #ifdef SWIGRUNTIME_DEBUG
32957 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32961 type
= swig_module
.type_initial
[i
];
32964 /* Insert casting types */
32965 cast
= swig_module
.cast_initial
[i
];
32966 while (cast
->type
) {
32967 /* Don't need to add information already in the list */
32969 #ifdef SWIGRUNTIME_DEBUG
32970 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32972 if (swig_module
.next
!= &swig_module
) {
32973 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32974 #ifdef SWIGRUNTIME_DEBUG
32975 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32979 if (type
== swig_module
.type_initial
[i
]) {
32980 #ifdef SWIGRUNTIME_DEBUG
32981 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32986 /* Check for casting already in the list */
32987 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32988 #ifdef SWIGRUNTIME_DEBUG
32989 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32991 if (!ocast
) ret
= 0;
32996 #ifdef SWIGRUNTIME_DEBUG
32997 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33000 type
->cast
->prev
= cast
;
33001 cast
->next
= type
->cast
;
33007 /* Set entry in modules->types array equal to the type */
33008 swig_module
.types
[i
] = type
;
33010 swig_module
.types
[i
] = 0;
33012 #ifdef SWIGRUNTIME_DEBUG
33013 printf("**** SWIG_InitializeModule: Cast List ******\n");
33014 for (i
= 0; i
< swig_module
.size
; ++i
) {
33016 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33017 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33018 while (cast
->type
) {
33019 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33023 printf("---- Total casts: %d\n",j
);
33025 printf("**** SWIG_InitializeModule: Cast List ******\n");
33029 /* This function will propagate the clientdata field of type to
33030 * any new swig_type_info structures that have been added into the list
33031 * of equivalent types. It is like calling
33032 * SWIG_TypeClientData(type, clientdata) a second time.
33035 SWIG_PropagateClientData(void) {
33037 swig_cast_info
*equiv
;
33038 static int init_run
= 0;
33040 if (init_run
) return;
33043 for (i
= 0; i
< swig_module
.size
; i
++) {
33044 if (swig_module
.types
[i
]->clientdata
) {
33045 equiv
= swig_module
.types
[i
]->cast
;
33047 if (!equiv
->converter
) {
33048 if (equiv
->type
&& !equiv
->type
->clientdata
)
33049 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33051 equiv
= equiv
->next
;
33071 /* Python-specific SWIG API */
33072 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33073 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33074 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33076 /* -----------------------------------------------------------------------------
33077 * global variable support code.
33078 * ----------------------------------------------------------------------------- */
33080 typedef struct swig_globalvar
{
33081 char *name
; /* Name of global variable */
33082 PyObject
*(*get_attr
)(void); /* Return the current value */
33083 int (*set_attr
)(PyObject
*); /* Set the value */
33084 struct swig_globalvar
*next
;
33087 typedef struct swig_varlinkobject
{
33089 swig_globalvar
*vars
;
33090 } swig_varlinkobject
;
33092 SWIGINTERN PyObject
*
33093 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33094 return PyString_FromString("<Swig global variables>");
33097 SWIGINTERN PyObject
*
33098 swig_varlink_str(swig_varlinkobject
*v
) {
33099 PyObject
*str
= PyString_FromString("(");
33100 swig_globalvar
*var
;
33101 for (var
= v
->vars
; var
; var
=var
->next
) {
33102 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33103 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33105 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33110 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33111 PyObject
*str
= swig_varlink_str(v
);
33112 fprintf(fp
,"Swig global variables ");
33113 fprintf(fp
,"%s\n", PyString_AsString(str
));
33119 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33120 swig_globalvar
*var
= v
->vars
;
33122 swig_globalvar
*n
= var
->next
;
33129 SWIGINTERN PyObject
*
33130 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33131 PyObject
*res
= NULL
;
33132 swig_globalvar
*var
= v
->vars
;
33134 if (strcmp(var
->name
,n
) == 0) {
33135 res
= (*var
->get_attr
)();
33140 if (res
== NULL
&& !PyErr_Occurred()) {
33141 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33147 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33149 swig_globalvar
*var
= v
->vars
;
33151 if (strcmp(var
->name
,n
) == 0) {
33152 res
= (*var
->set_attr
)(p
);
33157 if (res
== 1 && !PyErr_Occurred()) {
33158 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33163 SWIGINTERN PyTypeObject
*
33164 swig_varlink_type(void) {
33165 static char varlink__doc__
[] = "Swig var link object";
33166 static PyTypeObject varlink_type
;
33167 static int type_init
= 0;
33169 const PyTypeObject tmp
33171 PyObject_HEAD_INIT(NULL
)
33172 0, /* Number of items in variable part (ob_size) */
33173 (char *)"swigvarlink", /* Type name (tp_name) */
33174 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33175 0, /* Itemsize (tp_itemsize) */
33176 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33177 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33178 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33179 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33180 0, /* tp_compare */
33181 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33182 0, /* tp_as_number */
33183 0, /* tp_as_sequence */
33184 0, /* tp_as_mapping */
33187 (reprfunc
)swig_varlink_str
, /* tp_str */
33188 0, /* tp_getattro */
33189 0, /* tp_setattro */
33190 0, /* tp_as_buffer */
33192 varlink__doc__
, /* tp_doc */
33193 0, /* tp_traverse */
33195 0, /* tp_richcompare */
33196 0, /* tp_weaklistoffset */
33197 #if PY_VERSION_HEX >= 0x02020000
33198 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33200 #if PY_VERSION_HEX >= 0x02030000
33203 #ifdef COUNT_ALLOCS
33204 0,0,0,0 /* tp_alloc -> tp_next */
33207 varlink_type
= tmp
;
33208 varlink_type
.ob_type
= &PyType_Type
;
33211 return &varlink_type
;
33214 /* Create a variable linking object for use later */
33215 SWIGINTERN PyObject
*
33216 SWIG_Python_newvarlink(void) {
33217 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33221 return ((PyObject
*) result
);
33225 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33226 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33227 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33229 size_t size
= strlen(name
)+1;
33230 gv
->name
= (char *)malloc(size
);
33232 strncpy(gv
->name
,name
,size
);
33233 gv
->get_attr
= get_attr
;
33234 gv
->set_attr
= set_attr
;
33235 gv
->next
= v
->vars
;
33241 SWIGINTERN PyObject
*
33243 static PyObject
*_SWIG_globals
= 0;
33244 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33245 return _SWIG_globals
;
33248 /* -----------------------------------------------------------------------------
33249 * constants/methods manipulation
33250 * ----------------------------------------------------------------------------- */
33252 /* Install Constants */
33254 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33257 for (i
= 0; constants
[i
].type
; ++i
) {
33258 switch(constants
[i
].type
) {
33259 case SWIG_PY_POINTER
:
33260 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33262 case SWIG_PY_BINARY
:
33263 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33270 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33276 /* -----------------------------------------------------------------------------*/
33277 /* Fix SwigMethods to carry the callback ptrs when needed */
33278 /* -----------------------------------------------------------------------------*/
33281 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33282 swig_const_info
*const_table
,
33283 swig_type_info
**types
,
33284 swig_type_info
**types_initial
) {
33286 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33287 char *c
= methods
[i
].ml_doc
;
33288 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33290 swig_const_info
*ci
= 0;
33291 char *name
= c
+ 10;
33292 for (j
= 0; const_table
[j
].type
; ++j
) {
33293 if (strncmp(const_table
[j
].name
, name
,
33294 strlen(const_table
[j
].name
)) == 0) {
33295 ci
= &(const_table
[j
]);
33300 size_t shift
= (ci
->ptype
) - types
;
33301 swig_type_info
*ty
= types_initial
[shift
];
33302 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33303 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33304 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33307 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33309 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33311 strncpy(buff
, "swig_ptr: ", 10);
33313 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33314 methods
[i
].ml_doc
= ndoc
;
33326 /* -----------------------------------------------------------------------------*
33327 * Partial Init method
33328 * -----------------------------------------------------------------------------*/
33333 SWIGEXPORT
void SWIG_init(void) {
33336 /* Fix SwigMethods to carry the callback ptrs when needed */
33337 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33339 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33340 d
= PyModule_GetDict(m
);
33342 SWIG_InitializeModule(0);
33343 SWIG_InstallConstants(d
,swig_const_table
);
33346 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33347 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33348 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33349 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33350 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33351 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33352 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33353 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33354 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33355 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33356 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33357 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33358 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33359 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33360 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33361 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33362 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33363 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33364 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33365 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33366 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33367 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33368 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33369 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33370 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33371 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33372 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33373 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33374 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33375 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33376 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33377 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33378 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33379 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33380 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33381 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33382 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33383 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33384 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33385 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33386 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33387 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33388 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33389 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33390 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33391 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33392 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33393 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33394 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33395 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33396 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33397 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33398 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33399 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33400 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33401 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33402 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33403 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33404 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33405 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33406 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33407 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33408 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33409 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33410 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33411 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33412 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33413 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33414 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33415 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33416 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33417 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33418 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33419 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33420 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33421 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33422 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33423 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33424 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33425 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33426 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33427 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33428 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33429 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33430 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33431 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33432 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33433 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33434 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33435 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33436 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33437 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33438 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33439 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33440 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33441 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33442 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33443 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33444 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33445 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33446 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33447 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33449 // Map renamed classes back to their common name for OOR
33450 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33451 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33452 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33454 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33455 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33456 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33457 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33458 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33459 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33460 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33461 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33462 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33463 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33464 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33465 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33466 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33467 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33468 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33469 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33470 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33471 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33472 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33473 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33474 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33475 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33476 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33477 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33478 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33479 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33480 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33481 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33482 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33483 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33484 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33485 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33486 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33487 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33488 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33489 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33490 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33491 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33492 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33493 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33494 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33495 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33496 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33497 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33498 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33499 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33500 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33501 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33502 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33503 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33504 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33505 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33506 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33507 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33508 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33509 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33510 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33511 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33512 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33513 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33514 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33515 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33516 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33517 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33518 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33519 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33520 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33521 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33522 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33523 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33524 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33525 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33526 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33527 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33528 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33529 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33530 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33531 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33532 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33533 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33534 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33535 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33536 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33537 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33538 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33539 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33540 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33541 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33542 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33543 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33544 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33545 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33546 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33547 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33548 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33550 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");