1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxICOHandler swig_types[50]
2513 #define SWIGTYPE_p_wxIcon swig_types[51]
2514 #define SWIGTYPE_p_wxIconBundle swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2520 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2521 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2522 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2523 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2525 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2526 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2527 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxMenu swig_types[67]
2530 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2531 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2533 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2534 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2535 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2539 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxObject swig_types[80]
2543 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2544 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPanel swig_types[88]
2551 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2552 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2553 #define SWIGTYPE_p_wxPoint swig_types[91]
2554 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
2555 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
2558 #define SWIGTYPE_p_wxPrintData swig_types[96]
2559 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
2562 #define SWIGTYPE_p_wxPrinter swig_types[100]
2563 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPyPanel swig_types[107]
2570 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
2571 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
2573 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
2575 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
2578 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
2579 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
2580 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2581 #define SWIGTYPE_p_wxPyWindow swig_types[119]
2582 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
2583 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
2584 #define SWIGTYPE_p_wxRect swig_types[122]
2585 #define SWIGTYPE_p_wxRegion swig_types[123]
2586 #define SWIGTYPE_p_wxSashEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
2588 #define SWIGTYPE_p_wxSashWindow swig_types[126]
2589 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2590 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
2592 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
2593 #define SWIGTYPE_p_wxShowEvent swig_types[131]
2594 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
2595 #define SWIGTYPE_p_wxSize swig_types[133]
2596 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxSizerItem swig_types[136]
2599 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
2601 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
2603 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxStatusBar swig_types[142]
2605 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2606 #define SWIGTYPE_p_wxString swig_types[144]
2607 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
2608 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
2609 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
2612 #define SWIGTYPE_p_wxTipWindow swig_types[150]
2613 #define SWIGTYPE_p_wxToolBar swig_types[151]
2614 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
2616 #define SWIGTYPE_p_wxValidator swig_types[154]
2617 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
2618 #define SWIGTYPE_p_wxWindow swig_types[156]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
2622 static swig_type_info
*swig_types
[161];
2623 static swig_module_info swig_module
= {swig_types
, 160, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2627 /* -------- TYPES TABLE (END) -------- */
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2644 /*-----------------------------------------------
2645 @(target):= _windows_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_windows_
2649 #define SWIG_name "_windows_"
2651 #define SWIGVERSION 0x010329
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2658 #include <stdexcept>
2662 class PyObject_ptr
{
2667 PyObject_ptr() :_obj(0)
2671 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2676 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2678 if (initial_ref
) Py_XINCREF(_obj
);
2681 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2683 Py_XINCREF(item
._obj
);
2694 operator PyObject
*() const
2699 PyObject
*operator->() const
2708 struct PyObject_var
: PyObject_ptr
{
2709 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2711 PyObject_var
& operator = (PyObject
* obj
)
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2725 static const wxString
wxPyEmptyString(wxEmptyString
);
2726 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2732 # define LLONG_MIN LONG_LONG_MIN
2735 # define LLONG_MAX LONG_LONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2743 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2745 if (PyNumber_Check(obj
)) {
2746 if (val
) *val
= PyInt_AsLong(obj
);
2749 return SWIG_TypeError
;
2754 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2757 int res
= SWIG_AsVal_long (obj
, &v
);
2758 if (SWIG_IsOK(res
)) {
2759 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2760 return SWIG_OverflowError
;
2762 if (val
) *val
= static_cast< int >(v
);
2770 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2772 if (obj
== Py_True
) {
2773 if (val
) *val
= true;
2775 } else if (obj
== Py_False
) {
2776 if (val
) *val
= false;
2780 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2781 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2787 #define SWIG_From_long PyInt_FromLong
2790 SWIGINTERNINLINE PyObject
*
2791 SWIG_From_int (int value
)
2793 return SWIG_From_long (value
);
2798 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2800 if (PyNumber_Check(obj
)) {
2801 if (val
) *val
= PyFloat_AsDouble(obj
);
2804 return SWIG_TypeError
;
2808 #define SWIG_From_double PyFloat_FromDouble
2810 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2811 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2812 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2813 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2814 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2815 int style
= self
->GetExtraStyle();
2817 style
|= wxFRAME_EX_METAL
;
2819 style
&= ~wxFRAME_EX_METAL
;
2820 self
->SetExtraStyle(style
);
2824 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2826 self
->GetFieldRect(i
, r
);
2829 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2830 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2831 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2833 #include <wx/popupwin.h>
2836 class wxPopupWindow
: public wxWindow
{
2838 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2839 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2842 class wxPyPopupTransientWindow
: public wxPopupWindow
2845 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2846 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2850 #include <wx/tipwin.h>
2852 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2853 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2856 #include <wx/tipwin.h>
2859 #include <wx/vscroll.h>
2862 class wxPyVScrolledWindow
: public wxVScrolledWindow
2864 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2866 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2868 wxPyVScrolledWindow(wxWindow
*parent
,
2869 wxWindowID id
= wxID_ANY
,
2870 const wxPoint
& pos
= wxDefaultPosition
,
2871 const wxSize
& size
= wxDefaultSize
,
2873 const wxString
& name
= wxPyPanelNameStr
)
2874 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2877 // Overridable virtuals
2879 // this function must be overridden in the derived class and it should
2880 // return the height of the given line in pixels
2881 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2884 // this function doesn't have to be overridden but it may be useful to do
2885 // it if calculating the lines heights is a relatively expensive operation
2886 // as it gives the user code a possibility to calculate several of them at
2889 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2890 // shouldn't rely on the latter being called for all lines in the interval
2891 // specified here. It is also possible that OnGetLineHeight() will be
2892 // called for the lines outside of this interval, so this is really just a
2893 // hint, not a promise.
2895 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2897 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2900 // when the number of lines changes, we try to estimate the total height
2901 // of all lines which is a rather expensive operation in terms of lines
2902 // access, so if the user code may estimate the average height
2903 // better/faster than we do, it should override this function to implement
2906 // this function should return the best guess for the total height it may
2908 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2911 // Also expose some other interesting protected methods
2914 // find the index of the line we need to show at the top of the window such
2915 // that the last (fully or partially) visible line is the given one
2916 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2917 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2919 // get the total height of the lines between lineMin (inclusive) and
2920 // lineMax (exclusive)
2921 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2922 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2928 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2930 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2931 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2932 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2936 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2939 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2940 return SWIG_TypeError
;
2943 *val
= (unsigned long)v
;
2948 SWIGINTERNINLINE
int
2949 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2952 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2953 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2958 SWIGINTERNINLINE PyObject
*
2959 SWIG_From_unsigned_SS_long (unsigned long value
)
2961 return (value
> LONG_MAX
) ?
2962 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2966 SWIGINTERNINLINE PyObject
*
2967 SWIG_From_size_t (size_t value
)
2969 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2973 #include <wx/vlbox.h>
2975 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2977 class wxPyVListBox
: public wxVListBox
2979 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2981 wxPyVListBox() : wxVListBox() {}
2983 wxPyVListBox(wxWindow
*parent
,
2984 wxWindowID id
= wxID_ANY
,
2985 const wxPoint
& pos
= wxDefaultPosition
,
2986 const wxSize
& size
= wxDefaultSize
,
2988 const wxString
& name
= wxPyVListBoxNameStr
)
2989 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2992 // Overridable virtuals
2994 // the derived class must implement this function to actually draw the item
2995 // with the given index on the provided DC
2996 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2997 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3000 // the derived class must implement this method to return the height of the
3002 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3003 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3006 // this method may be used to draw separators between the lines; note that
3007 // the rectangle may be modified, typically to deflate it a bit before
3008 // passing to OnDrawItem()
3010 // the base class version doesn't do anything
3011 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3012 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
3015 // this method is used to draw the items background and, maybe, a border
3018 // the base class version implements a reasonable default behaviour which
3019 // consists in drawing the selected item with the standard background
3020 // colour and drawing a border around the item if it is either selected or
3022 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3023 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3029 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3031 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3032 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3033 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3034 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3037 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3038 unsigned long cookie
= 0;
3039 int selected
= self
->GetFirstSelected(cookie
);
3040 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3041 PyObject
* tup
= PyTuple_New(2);
3042 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3043 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3044 wxPyEndBlockThreads(blocked
);
3047 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3048 int selected
= self
->GetNextSelected(cookie
);
3049 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3050 PyObject
* tup
= PyTuple_New(2);
3051 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3052 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3053 wxPyEndBlockThreads(blocked
);
3057 #include <wx/htmllbox.h>
3060 class wxPyHtmlListBox
: public wxHtmlListBox
3062 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3064 wxPyHtmlListBox() : wxHtmlListBox() {}
3066 wxPyHtmlListBox(wxWindow
*parent
,
3067 wxWindowID id
= wxID_ANY
,
3068 const wxPoint
& pos
= wxDefaultPosition
,
3069 const wxSize
& size
= wxDefaultSize
,
3071 const wxString
& name
= wxPyVListBoxNameStr
)
3072 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3075 // Overridable virtuals
3077 // this method must be implemented in the derived class and should return
3078 // the body (i.e. without <html>) of the HTML for the given item
3079 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3081 // this function may be overridden to decorate HTML returned by OnGetItem()
3082 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3085 // // this method allows to customize the selection appearance: it may be used
3086 // // to specify the colour of the text which normally has the given colour
3087 // // colFg when it is inside the selection
3089 // // by default, the original colour is not used at all and all text has the
3090 // // same (default for this system) colour inside selection
3091 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3093 // // this is the same as GetSelectedTextColour() but allows to customize the
3094 // // background colour -- this is even more rarely used as you can change it
3095 // // globally using SetSelectionBackground()
3096 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3103 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3105 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3106 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3112 #ifndef wxHAS_TASK_BAR_ICON
3113 // implement dummy classes for platforms that don't have it
3115 class wxTaskBarIcon
: public wxEvtHandler
3118 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3122 class wxTaskBarIconEvent
: public wxEvent
3125 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3126 { wxPyRaiseNotImplemented(); }
3127 virtual wxEvent
* Clone() const { return NULL
; }
3128 bool IsOk() const { return false; }
3129 bool IsIconInstalled() const { return false; }
3130 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3131 bool RemoveIcon() { return false; }
3132 bool PopupMenu(wxMenu
*menu
) { return false; }
3136 wxEVT_TASKBAR_MOVE
= 0,
3137 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3138 wxEVT_TASKBAR_LEFT_UP
= 0,
3139 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3140 wxEVT_TASKBAR_RIGHT_UP
= 0,
3141 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3142 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3147 // Otherwise make a class that can virtualize CreatePopupMenu
3148 class wxPyTaskBarIcon
: public wxTaskBarIcon
3150 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3152 wxPyTaskBarIcon() : wxTaskBarIcon()
3155 wxMenu
* CreatePopupMenu() {
3156 wxMenu
*rval
= NULL
;
3158 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3159 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3162 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3164 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3169 wxPyEndBlockThreads(blocked
);
3171 rval
= wxTaskBarIcon::CreatePopupMenu();
3178 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3182 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3186 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3187 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3188 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3189 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3190 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3191 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3192 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3194 self
->GetFilenames(arr
);
3195 return wxArrayString2PyList_helper(arr
);
3197 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3199 self
->GetPaths(arr
);
3200 return wxArrayString2PyList_helper(arr
);
3202 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3203 return wxArrayInt2PyList_helper(self
->GetSelections());
3205 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
){
3206 return new wxSingleChoiceDialog(parent
, message
, caption
,
3207 choices
, choices_array
, NULL
, style
, pos
);
3209 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3213 // C++ version of Python aware wxWindow
3214 class wxPyWindow
: public wxWindow
3216 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3218 wxPyWindow() : wxWindow() {}
3219 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3220 const wxPoint
& pos
= wxDefaultPosition
,
3221 const wxSize
& size
= wxDefaultSize
,
3223 const wxString
& name
= wxPyPanelNameStr
)
3224 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3226 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3228 bool DoEraseBackground(wxDC
* dc
) {
3230 return wxWindow::DoEraseBackground(dc
->GetHDC());
3232 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3238 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3239 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3240 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3241 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3243 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3244 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3245 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3247 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3248 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3250 DEC_PYCALLBACK__(InitDialog
);
3251 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3252 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3253 DEC_PYCALLBACK_BOOL_(Validate
);
3255 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3256 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3257 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3259 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3260 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3262 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3263 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3265 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3267 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3272 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3274 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3275 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3276 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3277 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3279 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3280 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3281 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3283 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3284 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3286 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3287 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3288 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3289 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3291 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3292 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3293 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3295 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3296 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3298 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3299 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3301 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3303 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3305 // C++ version of Python aware wxPanel
3306 class wxPyPanel
: public wxPanel
3308 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3310 wxPyPanel() : wxPanel() {}
3311 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3312 const wxPoint
& pos
= wxDefaultPosition
,
3313 const wxSize
& size
= wxDefaultSize
,
3315 const wxString
& name
= wxPyPanelNameStr
)
3316 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3318 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3319 bool DoEraseBackground(wxDC
* dc
) {
3321 return wxWindow::DoEraseBackground(dc
->GetHDC());
3323 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3330 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3331 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3332 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3333 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3335 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3336 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3337 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3339 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3340 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3342 DEC_PYCALLBACK__(InitDialog
);
3343 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3344 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3345 DEC_PYCALLBACK_BOOL_(Validate
);
3347 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3348 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3349 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3351 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3352 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3354 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3355 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3357 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3359 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3364 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3366 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3367 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3368 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3369 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3371 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3372 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3373 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3375 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3376 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3378 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3379 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3380 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3381 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3383 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3384 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3385 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3387 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3388 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3390 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3391 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3393 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3395 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3397 // C++ version of Python aware wxScrolledWindow
3398 class wxPyScrolledWindow
: public wxScrolledWindow
3400 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3402 wxPyScrolledWindow() : wxScrolledWindow() {}
3403 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3404 const wxPoint
& pos
= wxDefaultPosition
,
3405 const wxSize
& size
= wxDefaultSize
,
3407 const wxString
& name
= wxPyPanelNameStr
)
3408 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3410 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3411 bool DoEraseBackground(wxDC
* dc
) {
3413 return wxWindow::DoEraseBackground(dc
->GetHDC());
3415 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3421 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3422 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3423 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3424 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3426 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3427 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3428 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3430 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3431 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3433 DEC_PYCALLBACK__(InitDialog
);
3434 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3435 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3436 DEC_PYCALLBACK_BOOL_(Validate
);
3438 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3439 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3440 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3442 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3443 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3445 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3446 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3448 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3450 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3455 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3457 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3458 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3459 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3460 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3462 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3463 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3464 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3466 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3467 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3469 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3470 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3471 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3472 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3474 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3475 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3476 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3478 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3479 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3481 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3482 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3484 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3486 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3489 #include "wx/wxPython/printfw.h"
3492 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3493 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3494 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3496 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3497 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3498 self
->GetPrivDataLen());
3499 wxPyEndBlockThreads(blocked
);
3502 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3503 if (! PyString_Check(data
)) {
3504 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3505 "Expected string object"));
3509 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3510 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3511 wxPyEndBlockThreads(blocked
);
3515 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3517 // Since this one would be tough and ugly to do with the Macros...
3518 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3519 bool hadErr
= false;
3522 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3523 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3524 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3525 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3528 val
= PyTuple_GetItem(result
, 0);
3529 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3532 val
= PyTuple_GetItem(result
, 1);
3533 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3536 val
= PyTuple_GetItem(result
, 2);
3537 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3540 val
= PyTuple_GetItem(result
, 3);
3541 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3548 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3553 wxPyEndBlockThreads(blocked
);
3555 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3560 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3561 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3562 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3563 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3564 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3565 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3566 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3572 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3573 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3576 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3577 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3580 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3581 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3582 PyObject* win = wxPyMake_wxObject(a,false); \
3583 PyObject* dc = wxPyMake_wxObject(&b,false); \
3584 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3588 wxPyEndBlockThreads(blocked); \
3590 rval = PCLASS::CBNAME(a, b); \
3597 class wxPyPrintPreview
: public wxPrintPreview
3599 DECLARE_CLASS(wxPyPrintPreview
)
3601 wxPyPrintPreview(wxPyPrintout
* printout
,
3602 wxPyPrintout
* printoutForPrinting
,
3603 wxPrintDialogData
* data
=NULL
)
3604 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3606 wxPyPrintPreview(wxPyPrintout
* printout
,
3607 wxPyPrintout
* printoutForPrinting
,
3609 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3612 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3613 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3614 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3615 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3616 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3617 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3618 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3623 // Stupid renamed classes... Fix this in 2.5...
3624 #if defined(__WXMSW__)
3625 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3626 #elif defined(__WXMAC__)
3627 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3629 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3632 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3633 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3634 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3635 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3636 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3637 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3638 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3641 class wxPyPreviewFrame
: public wxPreviewFrame
3643 DECLARE_CLASS(wxPyPreviewFrame
)
3645 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3646 const wxString
& title
,
3647 const wxPoint
& pos
= wxDefaultPosition
,
3648 const wxSize
& size
= wxDefaultSize
,
3649 long style
= wxDEFAULT_FRAME_STYLE
,
3650 const wxString
& name
= wxPyFrameNameStr
)
3651 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3654 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3655 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3657 DEC_PYCALLBACK_VOID_(Initialize
);
3658 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3659 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3664 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3666 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3667 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3668 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3671 class wxPyPreviewControlBar
: public wxPreviewControlBar
3673 DECLARE_CLASS(wxPyPreviewControlBar
)
3675 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3678 const wxPoint
& pos
= wxDefaultPosition
,
3679 const wxSize
& size
= wxDefaultSize
,
3681 const wxString
& name
= wxPyPanelNameStr
)
3682 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3685 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3687 DEC_PYCALLBACK_VOID_(CreateButtons
);
3688 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3693 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3694 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3695 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3700 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
= 0;
3702 wxWindow
*arg1
= (wxWindow
*) 0 ;
3703 int arg2
= (int) (int)-1 ;
3704 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3705 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3706 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3707 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3708 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3709 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3710 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3711 wxPanel
*result
= 0 ;
3720 bool temp6
= false ;
3721 PyObject
* obj0
= 0 ;
3722 PyObject
* obj1
= 0 ;
3723 PyObject
* obj2
= 0 ;
3724 PyObject
* obj3
= 0 ;
3725 PyObject
* obj4
= 0 ;
3726 PyObject
* obj5
= 0 ;
3727 char * kwnames
[] = {
3728 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3733 if (!SWIG_IsOK(res1
)) {
3734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3736 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3739 if (!SWIG_IsOK(ecode2
)) {
3740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3742 arg2
= static_cast< int >(val2
);
3747 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3753 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3757 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3758 if (!SWIG_IsOK(ecode5
)) {
3759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3761 arg5
= static_cast< long >(val5
);
3765 arg6
= wxString_in_helper(obj5
);
3766 if (arg6
== NULL
) SWIG_fail
;
3771 if (!wxPyCheckForApp()) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3792 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3793 PyObject
*resultobj
= 0;
3794 wxPanel
*result
= 0 ;
3796 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3798 if (!wxPyCheckForApp()) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (wxPanel
*)new wxPanel();
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3811 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
= 0;
3813 wxPanel
*arg1
= (wxPanel
*) 0 ;
3814 wxWindow
*arg2
= (wxWindow
*) 0 ;
3815 int arg3
= (int) (int)-1 ;
3816 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3817 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3818 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3819 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3820 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3821 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3822 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3834 bool temp7
= false ;
3835 PyObject
* obj0
= 0 ;
3836 PyObject
* obj1
= 0 ;
3837 PyObject
* obj2
= 0 ;
3838 PyObject
* obj3
= 0 ;
3839 PyObject
* obj4
= 0 ;
3840 PyObject
* obj5
= 0 ;
3841 PyObject
* obj6
= 0 ;
3842 char * kwnames
[] = {
3843 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3848 if (!SWIG_IsOK(res1
)) {
3849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3851 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3853 if (!SWIG_IsOK(res2
)) {
3854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3856 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3858 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3859 if (!SWIG_IsOK(ecode3
)) {
3860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3862 arg3
= static_cast< int >(val3
);
3867 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3873 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3877 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3878 if (!SWIG_IsOK(ecode6
)) {
3879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3881 arg6
= static_cast< long >(val6
);
3885 arg7
= wxString_in_helper(obj6
);
3886 if (arg7
== NULL
) SWIG_fail
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3913 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3914 PyObject
*resultobj
= 0;
3915 wxPanel
*arg1
= (wxPanel
*) 0 ;
3918 PyObject
*swig_obj
[1] ;
3920 if (!args
) SWIG_fail
;
3922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3923 if (!SWIG_IsOK(res1
)) {
3924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3926 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 (arg1
)->SetFocusIgnoringChildren();
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= SWIG_Py_Void();
3940 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
= 0;
3942 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3943 SwigValueWrapper
<wxVisualAttributes
> result
;
3946 PyObject
* obj0
= 0 ;
3947 char * kwnames
[] = {
3948 (char *) "variant", NULL
3951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3953 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3954 if (!SWIG_IsOK(ecode1
)) {
3955 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3957 arg1
= static_cast< wxWindowVariant
>(val1
);
3960 if (!wxPyCheckForApp()) SWIG_fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3973 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3976 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
3977 return SWIG_Py_Void();
3980 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3981 return SWIG_Python_InitShadowInstance(args
);
3984 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
= 0;
3986 wxWindow
*arg1
= (wxWindow
*) 0 ;
3987 int arg2
= (int) (int)-1 ;
3988 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3989 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3990 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3991 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3992 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3993 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3994 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3995 wxScrolledWindow
*result
= 0 ;
4004 bool temp6
= false ;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj1
= 0 ;
4007 PyObject
* obj2
= 0 ;
4008 PyObject
* obj3
= 0 ;
4009 PyObject
* obj4
= 0 ;
4010 PyObject
* obj5
= 0 ;
4011 char * kwnames
[] = {
4012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4017 if (!SWIG_IsOK(res1
)) {
4018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4020 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4023 if (!SWIG_IsOK(ecode2
)) {
4024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4026 arg2
= static_cast< int >(val2
);
4031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4037 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4041 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4042 if (!SWIG_IsOK(ecode5
)) {
4043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4045 arg5
= static_cast< long >(val5
);
4049 arg6
= wxString_in_helper(obj5
);
4050 if (arg6
== NULL
) SWIG_fail
;
4055 if (!wxPyCheckForApp()) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4076 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4077 PyObject
*resultobj
= 0;
4078 wxScrolledWindow
*result
= 0 ;
4080 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4082 if (!wxPyCheckForApp()) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4095 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
= 0;
4097 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4098 wxWindow
*arg2
= (wxWindow
*) 0 ;
4099 int arg3
= (int) (int)-1 ;
4100 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4101 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4102 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4103 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4104 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4105 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4106 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4118 bool temp7
= false ;
4119 PyObject
* obj0
= 0 ;
4120 PyObject
* obj1
= 0 ;
4121 PyObject
* obj2
= 0 ;
4122 PyObject
* obj3
= 0 ;
4123 PyObject
* obj4
= 0 ;
4124 PyObject
* obj5
= 0 ;
4125 PyObject
* obj6
= 0 ;
4126 char * kwnames
[] = {
4127 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4132 if (!SWIG_IsOK(res1
)) {
4133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4135 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4137 if (!SWIG_IsOK(res2
)) {
4138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4140 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4143 if (!SWIG_IsOK(ecode3
)) {
4144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4146 arg3
= static_cast< int >(val3
);
4151 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4157 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4161 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4162 if (!SWIG_IsOK(ecode6
)) {
4163 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4165 arg6
= static_cast< long >(val6
);
4169 arg7
= wxString_in_helper(obj6
);
4170 if (arg7
== NULL
) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4197 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
= 0;
4199 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4204 int arg6
= (int) 0 ;
4205 int arg7
= (int) 0 ;
4206 bool arg8
= (bool) false ;
4223 PyObject
* obj0
= 0 ;
4224 PyObject
* obj1
= 0 ;
4225 PyObject
* obj2
= 0 ;
4226 PyObject
* obj3
= 0 ;
4227 PyObject
* obj4
= 0 ;
4228 PyObject
* obj5
= 0 ;
4229 PyObject
* obj6
= 0 ;
4230 PyObject
* obj7
= 0 ;
4231 char * kwnames
[] = {
4232 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4237 if (!SWIG_IsOK(res1
)) {
4238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4240 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4242 if (!SWIG_IsOK(ecode2
)) {
4243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4245 arg2
= static_cast< int >(val2
);
4246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4247 if (!SWIG_IsOK(ecode3
)) {
4248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4250 arg3
= static_cast< int >(val3
);
4251 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4252 if (!SWIG_IsOK(ecode4
)) {
4253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4255 arg4
= static_cast< int >(val4
);
4256 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4257 if (!SWIG_IsOK(ecode5
)) {
4258 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4260 arg5
= static_cast< int >(val5
);
4262 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4263 if (!SWIG_IsOK(ecode6
)) {
4264 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4266 arg6
= static_cast< int >(val6
);
4269 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4270 if (!SWIG_IsOK(ecode7
)) {
4271 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4273 arg7
= static_cast< int >(val7
);
4276 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4277 if (!SWIG_IsOK(ecode8
)) {
4278 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4280 arg8
= static_cast< bool >(val8
);
4283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4284 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 resultobj
= SWIG_Py_Void();
4295 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
= 0;
4297 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4306 PyObject
* obj0
= 0 ;
4307 PyObject
* obj1
= 0 ;
4308 PyObject
* obj2
= 0 ;
4309 char * kwnames
[] = {
4310 (char *) "self",(char *) "x",(char *) "y", NULL
4313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4315 if (!SWIG_IsOK(res1
)) {
4316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4318 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4320 if (!SWIG_IsOK(ecode2
)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4323 arg2
= static_cast< int >(val2
);
4324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4325 if (!SWIG_IsOK(ecode3
)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4328 arg3
= static_cast< int >(val3
);
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 (arg1
)->Scroll(arg2
,arg3
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 resultobj
= SWIG_Py_Void();
4342 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
= 0;
4344 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4353 char * kwnames
[] = {
4354 (char *) "self",(char *) "orient", NULL
4357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4359 if (!SWIG_IsOK(res1
)) {
4360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4362 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4364 if (!SWIG_IsOK(ecode2
)) {
4365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4367 arg2
= static_cast< int >(val2
);
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_From_int(static_cast< int >(result
));
4381 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
= 0;
4383 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4392 PyObject
* obj0
= 0 ;
4393 PyObject
* obj1
= 0 ;
4394 PyObject
* obj2
= 0 ;
4395 char * kwnames
[] = {
4396 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4401 if (!SWIG_IsOK(res1
)) {
4402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4404 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4406 if (!SWIG_IsOK(ecode2
)) {
4407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4409 arg2
= static_cast< int >(val2
);
4410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4411 if (!SWIG_IsOK(ecode3
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4414 arg3
= static_cast< int >(val3
);
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= SWIG_Py_Void();
4428 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
= 0;
4430 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4441 PyObject
* obj2
= 0 ;
4442 char * kwnames
[] = {
4443 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4448 if (!SWIG_IsOK(res1
)) {
4449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4451 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4453 if (!SWIG_IsOK(ecode2
)) {
4454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4456 arg2
= static_cast< int >(val2
);
4457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4458 if (!SWIG_IsOK(ecode3
)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4461 arg3
= static_cast< int >(val3
);
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 (arg1
)->SetScrollRate(arg2
,arg3
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_Py_Void();
4475 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4476 PyObject
*resultobj
= 0;
4477 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4478 int *arg2
= (int *) 0 ;
4479 int *arg3
= (int *) 0 ;
4483 int res2
= SWIG_TMPOBJ
;
4485 int res3
= SWIG_TMPOBJ
;
4486 PyObject
*swig_obj
[1] ;
4490 if (!args
) SWIG_fail
;
4492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4493 if (!SWIG_IsOK(res1
)) {
4494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4496 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4503 resultobj
= SWIG_Py_Void();
4504 if (SWIG_IsTmpObj(res2
)) {
4505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4507 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4510 if (SWIG_IsTmpObj(res3
)) {
4511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4513 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4522 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
= 0;
4524 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4533 PyObject
* obj0
= 0 ;
4534 PyObject
* obj1
= 0 ;
4535 PyObject
* obj2
= 0 ;
4536 char * kwnames
[] = {
4537 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4542 if (!SWIG_IsOK(res1
)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4545 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4546 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4547 if (!SWIG_IsOK(ecode2
)) {
4548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4550 arg2
= static_cast< bool >(val2
);
4551 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4552 if (!SWIG_IsOK(ecode3
)) {
4553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4555 arg3
= static_cast< bool >(val3
);
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 (arg1
)->EnableScrolling(arg2
,arg3
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= SWIG_Py_Void();
4569 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4570 PyObject
*resultobj
= 0;
4571 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4572 int *arg2
= (int *) 0 ;
4573 int *arg3
= (int *) 0 ;
4577 int res2
= SWIG_TMPOBJ
;
4579 int res3
= SWIG_TMPOBJ
;
4580 PyObject
*swig_obj
[1] ;
4584 if (!args
) SWIG_fail
;
4586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4587 if (!SWIG_IsOK(res1
)) {
4588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4590 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= SWIG_Py_Void();
4598 if (SWIG_IsTmpObj(res2
)) {
4599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4601 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4604 if (SWIG_IsTmpObj(res3
)) {
4605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4607 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4616 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
= 0;
4618 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4628 PyObject
* obj1
= 0 ;
4629 PyObject
* obj2
= 0 ;
4630 char * kwnames
[] = {
4631 (char *) "self",(char *) "xs",(char *) "ys", NULL
4634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4636 if (!SWIG_IsOK(res1
)) {
4637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4639 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4640 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4641 if (!SWIG_IsOK(ecode2
)) {
4642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4644 arg2
= static_cast< double >(val2
);
4645 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4646 if (!SWIG_IsOK(ecode3
)) {
4647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4649 arg3
= static_cast< double >(val3
);
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 (arg1
)->SetScale(arg2
,arg3
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= SWIG_Py_Void();
4663 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4664 PyObject
*resultobj
= 0;
4665 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4669 PyObject
*swig_obj
[1] ;
4671 if (!args
) SWIG_fail
;
4673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4674 if (!SWIG_IsOK(res1
)) {
4675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4677 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 resultobj
= SWIG_From_double(static_cast< double >(result
));
4691 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4692 PyObject
*resultobj
= 0;
4693 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4697 PyObject
*swig_obj
[1] ;
4699 if (!args
) SWIG_fail
;
4701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4702 if (!SWIG_IsOK(res1
)) {
4703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4705 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= SWIG_From_double(static_cast< double >(result
));
4719 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4720 PyObject
*resultobj
= 0;
4721 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4728 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4730 if (!SWIG_IsOK(res1
)) {
4731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4733 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4736 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4751 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4752 PyObject
*resultobj
= 0;
4753 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4756 int *arg4
= (int *) 0 ;
4757 int *arg5
= (int *) 0 ;
4765 int res4
= SWIG_TMPOBJ
;
4767 int res5
= SWIG_TMPOBJ
;
4771 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4773 if (!SWIG_IsOK(res1
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4776 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4777 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4778 if (!SWIG_IsOK(ecode2
)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4781 arg2
= static_cast< int >(val2
);
4782 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4783 if (!SWIG_IsOK(ecode3
)) {
4784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4786 arg3
= static_cast< int >(val3
);
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_Py_Void();
4794 if (SWIG_IsTmpObj(res4
)) {
4795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4797 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4800 if (SWIG_IsTmpObj(res5
)) {
4801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4803 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4812 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4816 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4819 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4822 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4826 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4831 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4832 PyObject
*resultobj
= 0;
4833 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4840 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4845 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4848 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4863 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4864 PyObject
*resultobj
= 0;
4865 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4868 int *arg4
= (int *) 0 ;
4869 int *arg5
= (int *) 0 ;
4877 int res4
= SWIG_TMPOBJ
;
4879 int res5
= SWIG_TMPOBJ
;
4883 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4885 if (!SWIG_IsOK(res1
)) {
4886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4888 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4889 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4890 if (!SWIG_IsOK(ecode2
)) {
4891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4893 arg2
= static_cast< int >(val2
);
4894 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4895 if (!SWIG_IsOK(ecode3
)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4898 arg3
= static_cast< int >(val3
);
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_Py_Void();
4906 if (SWIG_IsTmpObj(res4
)) {
4907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4909 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4912 if (SWIG_IsTmpObj(res5
)) {
4913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4915 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4924 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4928 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4931 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4934 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4938 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4943 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4944 PyObject
*resultobj
= 0;
4945 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4948 PyObject
*swig_obj
[1] ;
4950 if (!args
) SWIG_fail
;
4952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4953 if (!SWIG_IsOK(res1
)) {
4954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4956 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 (arg1
)->AdjustScrollbars();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_Py_Void();
4970 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
= 0;
4972 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4973 wxScrollWinEvent
*arg2
= 0 ;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj1
= 0 ;
4981 char * kwnames
[] = {
4982 (char *) "self",(char *) "event", NULL
4985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4987 if (!SWIG_IsOK(res1
)) {
4988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4990 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
4992 if (!SWIG_IsOK(res2
)) {
4993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4998 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= SWIG_From_int(static_cast< int >(result
));
5012 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
= 0;
5014 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5015 wxWindow
*arg2
= (wxWindow
*) 0 ;
5020 PyObject
* obj0
= 0 ;
5021 PyObject
* obj1
= 0 ;
5022 char * kwnames
[] = {
5023 (char *) "self",(char *) "target", NULL
5026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5031 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5033 if (!SWIG_IsOK(res2
)) {
5034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5036 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 (arg1
)->SetTargetWindow(arg2
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= SWIG_Py_Void();
5050 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5051 PyObject
*resultobj
= 0;
5052 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5053 wxWindow
*result
= 0 ;
5056 PyObject
*swig_obj
[1] ;
5058 if (!args
) SWIG_fail
;
5060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5061 if (!SWIG_IsOK(res1
)) {
5062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5064 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5072 resultobj
= wxPyMake_wxObject(result
, 0);
5080 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
= 0;
5082 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5089 char * kwnames
[] = {
5090 (char *) "self",(char *) "rect", NULL
5093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5095 if (!SWIG_IsOK(res1
)) {
5096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5098 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5101 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= SWIG_Py_Void();
5116 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5117 PyObject
*resultobj
= 0;
5118 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5122 PyObject
*swig_obj
[1] ;
5124 if (!args
) SWIG_fail
;
5126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5130 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5144 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
= 0;
5146 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5154 char * kwnames
[] = {
5155 (char *) "self",(char *) "dc", NULL
5158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5160 if (!SWIG_IsOK(res1
)) {
5161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5163 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5165 if (!SWIG_IsOK(res2
)) {
5166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5171 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 (arg1
)->DoPrepareDC(*arg2
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_Py_Void();
5185 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= 0;
5187 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5188 SwigValueWrapper
<wxVisualAttributes
> result
;
5191 PyObject
* obj0
= 0 ;
5192 char * kwnames
[] = {
5193 (char *) "variant", NULL
5196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5198 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5199 if (!SWIG_IsOK(ecode1
)) {
5200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5202 arg1
= static_cast< wxWindowVariant
>(val1
);
5205 if (!wxPyCheckForApp()) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5218 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5221 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5222 return SWIG_Py_Void();
5225 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 return SWIG_Python_InitShadowInstance(args
);
5229 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5230 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5235 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5236 PyObject
*pyobj
= 0;
5240 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5242 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5249 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5250 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5255 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5256 PyObject
*pyobj
= 0;
5260 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5262 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5269 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5270 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5275 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5276 PyObject
*pyobj
= 0;
5280 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5282 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5289 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5290 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5295 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5296 PyObject
*pyobj
= 0;
5300 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5302 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5309 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
= 0;
5311 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5312 bool arg2
= (bool) true ;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5319 char * kwnames
[] = {
5320 (char *) "self",(char *) "maximize", NULL
5323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5325 if (!SWIG_IsOK(res1
)) {
5326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5328 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5330 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5331 if (!SWIG_IsOK(ecode2
)) {
5332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5334 arg2
= static_cast< bool >(val2
);
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 (arg1
)->Maximize(arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_Py_Void();
5349 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5350 PyObject
*resultobj
= 0;
5351 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5354 PyObject
*swig_obj
[1] ;
5356 if (!args
) SWIG_fail
;
5358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5359 if (!SWIG_IsOK(res1
)) {
5360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5362 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= SWIG_Py_Void();
5376 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
= 0;
5378 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5379 bool arg2
= (bool) true ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5386 char * kwnames
[] = {
5387 (char *) "self",(char *) "iconize", NULL
5390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5392 if (!SWIG_IsOK(res1
)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5395 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5397 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5398 if (!SWIG_IsOK(ecode2
)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5401 arg2
= static_cast< bool >(val2
);
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->Iconize(arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_Py_Void();
5416 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5417 PyObject
*resultobj
= 0;
5418 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5422 PyObject
*swig_obj
[1] ;
5424 if (!args
) SWIG_fail
;
5426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5427 if (!SWIG_IsOK(res1
)) {
5428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5430 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5446 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5447 PyObject
*resultobj
= 0;
5448 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5452 PyObject
*swig_obj
[1] ;
5454 if (!args
) SWIG_fail
;
5456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5457 if (!SWIG_IsOK(res1
)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5460 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5476 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5477 PyObject
*resultobj
= 0;
5478 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5482 PyObject
*swig_obj
[1] ;
5484 if (!args
) SWIG_fail
;
5486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5487 if (!SWIG_IsOK(res1
)) {
5488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5490 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5504 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
= 0;
5506 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5512 PyObject
* obj0
= 0 ;
5513 PyObject
* obj1
= 0 ;
5514 char * kwnames
[] = {
5515 (char *) "self",(char *) "icon", NULL
5518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5520 if (!SWIG_IsOK(res1
)) {
5521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5523 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5525 if (!SWIG_IsOK(res2
)) {
5526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5531 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= SWIG_Py_Void();
5545 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
= 0;
5547 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5548 wxIconBundle
*arg2
= 0 ;
5553 PyObject
* obj0
= 0 ;
5554 PyObject
* obj1
= 0 ;
5555 char * kwnames
[] = {
5556 (char *) "self",(char *) "icons", NULL
5559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5561 if (!SWIG_IsOK(res1
)) {
5562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5564 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5566 if (!SWIG_IsOK(res2
)) {
5567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5572 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= SWIG_Py_Void();
5586 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
= 0;
5588 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5590 long arg3
= (long) wxFULLSCREEN_ALL
;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5600 PyObject
* obj2
= 0 ;
5601 char * kwnames
[] = {
5602 (char *) "self",(char *) "show",(char *) "style", NULL
5605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5607 if (!SWIG_IsOK(res1
)) {
5608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5610 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5611 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5612 if (!SWIG_IsOK(ecode2
)) {
5613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5615 arg2
= static_cast< bool >(val2
);
5617 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5618 if (!SWIG_IsOK(ecode3
)) {
5619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5621 arg3
= static_cast< long >(val3
);
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5638 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5639 PyObject
*resultobj
= 0;
5640 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5644 PyObject
*swig_obj
[1] ;
5646 if (!args
) SWIG_fail
;
5648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5649 if (!SWIG_IsOK(res1
)) {
5650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5652 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5668 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
= 0;
5670 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5671 wxString
*arg2
= 0 ;
5674 bool temp2
= false ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5677 char * kwnames
[] = {
5678 (char *) "self",(char *) "title", NULL
5681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5683 if (!SWIG_IsOK(res1
)) {
5684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5686 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5688 arg2
= wxString_in_helper(obj1
);
5689 if (arg2
== NULL
) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 (arg1
)->SetTitle((wxString
const &)*arg2
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 resultobj
= SWIG_Py_Void();
5713 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(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_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5727 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5747 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
= 0;
5749 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5750 wxRegion
*arg2
= 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5758 char * kwnames
[] = {
5759 (char *) "self",(char *) "region", NULL
5762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5764 if (!SWIG_IsOK(res1
)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5767 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5768 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5769 if (!SWIG_IsOK(res2
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5775 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5791 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
= 0;
5793 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5794 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5801 char * kwnames
[] = {
5802 (char *) "self",(char *) "flags", NULL
5805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5807 if (!SWIG_IsOK(res1
)) {
5808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5810 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5813 if (!SWIG_IsOK(ecode2
)) {
5814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5816 arg2
= static_cast< int >(val2
);
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 (arg1
)->RequestUserAttention(arg2
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5824 resultobj
= SWIG_Py_Void();
5831 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5832 PyObject
*resultobj
= 0;
5833 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5837 PyObject
*swig_obj
[1] ;
5839 if (!args
) SWIG_fail
;
5841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5842 if (!SWIG_IsOK(res1
)) {
5843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5845 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (bool)(arg1
)->IsActive();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5861 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
= 0;
5863 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5871 char * kwnames
[] = {
5872 (char *) "self",(char *) "on", NULL
5875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5877 if (!SWIG_IsOK(res1
)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5880 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5882 if (!SWIG_IsOK(ecode2
)) {
5883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5885 arg2
= static_cast< bool >(val2
);
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_Py_Void();
5899 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5900 PyObject
*resultobj
= 0;
5901 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5913 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5929 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
= 0;
5931 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5932 int arg2
= (int) wxBOTH
;
5937 PyObject
* obj0
= 0 ;
5938 PyObject
* obj1
= 0 ;
5939 char * kwnames
[] = {
5940 (char *) "self",(char *) "dir", NULL
5943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5945 if (!SWIG_IsOK(res1
)) {
5946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5948 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5951 if (!SWIG_IsOK(ecode2
)) {
5952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5954 arg2
= static_cast< int >(val2
);
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 (arg1
)->CenterOnScreen(arg2
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= SWIG_Py_Void();
5969 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5972 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5973 return SWIG_Py_Void();
5976 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
= 0;
5978 wxWindow
*arg1
= (wxWindow
*) 0 ;
5979 int arg2
= (int) (int)-1 ;
5980 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5981 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5982 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5983 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5984 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5985 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5986 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
5987 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
5988 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5989 wxFrame
*result
= 0 ;
5994 bool temp3
= false ;
5999 bool temp7
= false ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6002 PyObject
* obj2
= 0 ;
6003 PyObject
* obj3
= 0 ;
6004 PyObject
* obj4
= 0 ;
6005 PyObject
* obj5
= 0 ;
6006 PyObject
* obj6
= 0 ;
6007 char * kwnames
[] = {
6008 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6013 if (!SWIG_IsOK(res1
)) {
6014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6016 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6019 if (!SWIG_IsOK(ecode2
)) {
6020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6022 arg2
= static_cast< int >(val2
);
6026 arg3
= wxString_in_helper(obj2
);
6027 if (arg3
== NULL
) SWIG_fail
;
6034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6044 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6045 if (!SWIG_IsOK(ecode6
)) {
6046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6048 arg6
= static_cast< long >(val6
);
6052 arg7
= wxString_in_helper(obj6
);
6053 if (arg7
== NULL
) SWIG_fail
;
6058 if (!wxPyCheckForApp()) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6087 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6088 PyObject
*resultobj
= 0;
6089 wxFrame
*result
= 0 ;
6091 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6093 if (!wxPyCheckForApp()) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (wxFrame
*)new wxFrame();
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6106 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
= 0;
6108 wxFrame
*arg1
= (wxFrame
*) 0 ;
6109 wxWindow
*arg2
= (wxWindow
*) 0 ;
6110 int arg3
= (int) (int)-1 ;
6111 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6112 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6113 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6114 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6115 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6116 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6117 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6118 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6119 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6127 bool temp4
= false ;
6132 bool temp8
= false ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6135 PyObject
* obj2
= 0 ;
6136 PyObject
* obj3
= 0 ;
6137 PyObject
* obj4
= 0 ;
6138 PyObject
* obj5
= 0 ;
6139 PyObject
* obj6
= 0 ;
6140 PyObject
* obj7
= 0 ;
6141 char * kwnames
[] = {
6142 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6147 if (!SWIG_IsOK(res1
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6150 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6152 if (!SWIG_IsOK(res2
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6155 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6158 if (!SWIG_IsOK(ecode3
)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6161 arg3
= static_cast< int >(val3
);
6165 arg4
= wxString_in_helper(obj3
);
6166 if (arg4
== NULL
) SWIG_fail
;
6173 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6179 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6183 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6184 if (!SWIG_IsOK(ecode7
)) {
6185 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6187 arg7
= static_cast< long >(val7
);
6191 arg8
= wxString_in_helper(obj7
);
6192 if (arg8
== NULL
) SWIG_fail
;
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6227 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6228 PyObject
*resultobj
= 0;
6229 wxFrame
*arg1
= (wxFrame
*) 0 ;
6232 PyObject
*swig_obj
[1] ;
6234 if (!args
) SWIG_fail
;
6236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6237 if (!SWIG_IsOK(res1
)) {
6238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6240 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 (arg1
)->SendSizeEvent();
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_Py_Void();
6254 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
= 0;
6256 wxFrame
*arg1
= (wxFrame
*) 0 ;
6257 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6262 PyObject
* obj0
= 0 ;
6263 PyObject
* obj1
= 0 ;
6264 char * kwnames
[] = {
6265 (char *) "self",(char *) "menubar", NULL
6268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6270 if (!SWIG_IsOK(res1
)) {
6271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6273 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6275 if (!SWIG_IsOK(res2
)) {
6276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6278 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 (arg1
)->SetMenuBar(arg2
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= SWIG_Py_Void();
6292 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6293 PyObject
*resultobj
= 0;
6294 wxFrame
*arg1
= (wxFrame
*) 0 ;
6295 wxMenuBar
*result
= 0 ;
6298 PyObject
*swig_obj
[1] ;
6300 if (!args
) SWIG_fail
;
6302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6303 if (!SWIG_IsOK(res1
)) {
6304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6306 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= wxPyMake_wxObject(result
, 0);
6322 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
= 0;
6324 wxFrame
*arg1
= (wxFrame
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6332 PyObject
* obj1
= 0 ;
6333 char * kwnames
[] = {
6334 (char *) "self",(char *) "winid", NULL
6337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6339 if (!SWIG_IsOK(res1
)) {
6340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6342 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6344 if (!SWIG_IsOK(ecode2
)) {
6345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6347 arg2
= static_cast< int >(val2
);
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6363 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
= 0;
6365 wxFrame
*arg1
= (wxFrame
*) 0 ;
6366 int arg2
= (int) 1 ;
6367 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6368 int arg4
= (int) 0 ;
6369 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6370 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6371 wxStatusBar
*result
= 0 ;
6380 bool temp5
= false ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6383 PyObject
* obj2
= 0 ;
6384 PyObject
* obj3
= 0 ;
6385 PyObject
* obj4
= 0 ;
6386 char * kwnames
[] = {
6387 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6392 if (!SWIG_IsOK(res1
)) {
6393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6395 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6398 if (!SWIG_IsOK(ecode2
)) {
6399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6401 arg2
= static_cast< int >(val2
);
6404 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6405 if (!SWIG_IsOK(ecode3
)) {
6406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6408 arg3
= static_cast< long >(val3
);
6411 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6412 if (!SWIG_IsOK(ecode4
)) {
6413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6415 arg4
= static_cast< int >(val4
);
6419 arg5
= wxString_in_helper(obj4
);
6420 if (arg5
== NULL
) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6447 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6448 PyObject
*resultobj
= 0;
6449 wxFrame
*arg1
= (wxFrame
*) 0 ;
6450 wxStatusBar
*result
= 0 ;
6453 PyObject
*swig_obj
[1] ;
6455 if (!args
) SWIG_fail
;
6457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6458 if (!SWIG_IsOK(res1
)) {
6459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6461 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6477 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
= 0;
6479 wxFrame
*arg1
= (wxFrame
*) 0 ;
6480 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6485 PyObject
* obj0
= 0 ;
6486 PyObject
* obj1
= 0 ;
6487 char * kwnames
[] = {
6488 (char *) "self",(char *) "statBar", NULL
6491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6493 if (!SWIG_IsOK(res1
)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6496 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6498 if (!SWIG_IsOK(res2
)) {
6499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6501 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 (arg1
)->SetStatusBar(arg2
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= SWIG_Py_Void();
6515 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
= 0;
6517 wxFrame
*arg1
= (wxFrame
*) 0 ;
6518 wxString
*arg2
= 0 ;
6519 int arg3
= (int) 0 ;
6522 bool temp2
= false ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6527 PyObject
* obj2
= 0 ;
6528 char * kwnames
[] = {
6529 (char *) "self",(char *) "text",(char *) "number", NULL
6532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6534 if (!SWIG_IsOK(res1
)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6537 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6539 arg2
= wxString_in_helper(obj1
);
6540 if (arg2
== NULL
) SWIG_fail
;
6544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6545 if (!SWIG_IsOK(ecode3
)) {
6546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6548 arg3
= static_cast< int >(val3
);
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= SWIG_Py_Void();
6571 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
= 0;
6573 wxFrame
*arg1
= (wxFrame
*) 0 ;
6575 int *arg3
= (int *) 0 ;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6580 char * kwnames
[] = {
6581 (char *) "self",(char *) "widths", NULL
6584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6586 if (!SWIG_IsOK(res1
)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6589 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6591 arg2
= PyList_Size(obj1
);
6592 arg3
= int_LIST_helper(obj1
);
6593 if (arg3
== NULL
) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_Py_Void();
6603 if (arg3
) delete [] arg3
;
6608 if (arg3
) delete [] arg3
;
6614 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
= 0;
6616 wxFrame
*arg1
= (wxFrame
*) 0 ;
6617 wxString
*arg2
= 0 ;
6618 int arg3
= (int) 0 ;
6621 bool temp2
= false ;
6624 PyObject
* obj0
= 0 ;
6625 PyObject
* obj1
= 0 ;
6626 PyObject
* obj2
= 0 ;
6627 char * kwnames
[] = {
6628 (char *) "self",(char *) "text",(char *) "number", NULL
6631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6633 if (!SWIG_IsOK(res1
)) {
6634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6636 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6638 arg2
= wxString_in_helper(obj1
);
6639 if (arg2
== NULL
) SWIG_fail
;
6643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6644 if (!SWIG_IsOK(ecode3
)) {
6645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6647 arg3
= static_cast< int >(val3
);
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= SWIG_Py_Void();
6670 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
= 0;
6672 wxFrame
*arg1
= (wxFrame
*) 0 ;
6673 int arg2
= (int) 0 ;
6678 PyObject
* obj0
= 0 ;
6679 PyObject
* obj1
= 0 ;
6680 char * kwnames
[] = {
6681 (char *) "self",(char *) "number", NULL
6684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6689 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6692 if (!SWIG_IsOK(ecode2
)) {
6693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6695 arg2
= static_cast< int >(val2
);
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 (arg1
)->PopStatusText(arg2
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= SWIG_Py_Void();
6710 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
= 0;
6712 wxFrame
*arg1
= (wxFrame
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6720 char * kwnames
[] = {
6721 (char *) "self",(char *) "n", NULL
6724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6726 if (!SWIG_IsOK(res1
)) {
6727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6729 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6731 if (!SWIG_IsOK(ecode2
)) {
6732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6734 arg2
= static_cast< int >(val2
);
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 (arg1
)->SetStatusBarPane(arg2
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_Py_Void();
6748 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6749 PyObject
*resultobj
= 0;
6750 wxFrame
*arg1
= (wxFrame
*) 0 ;
6754 PyObject
*swig_obj
[1] ;
6756 if (!args
) SWIG_fail
;
6758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6759 if (!SWIG_IsOK(res1
)) {
6760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6762 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= SWIG_From_int(static_cast< int >(result
));
6776 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
= 0;
6778 wxFrame
*arg1
= (wxFrame
*) 0 ;
6779 long arg2
= (long) -1 ;
6780 int arg3
= (int) -1 ;
6781 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6782 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6783 wxToolBar
*result
= 0 ;
6790 bool temp4
= false ;
6791 PyObject
* obj0
= 0 ;
6792 PyObject
* obj1
= 0 ;
6793 PyObject
* obj2
= 0 ;
6794 PyObject
* obj3
= 0 ;
6795 char * kwnames
[] = {
6796 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6804 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6806 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6807 if (!SWIG_IsOK(ecode2
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6810 arg2
= static_cast< long >(val2
);
6813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6814 if (!SWIG_IsOK(ecode3
)) {
6815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6817 arg3
= static_cast< int >(val3
);
6821 arg4
= wxString_in_helper(obj3
);
6822 if (arg4
== NULL
) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6849 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6850 PyObject
*resultobj
= 0;
6851 wxFrame
*arg1
= (wxFrame
*) 0 ;
6852 wxToolBar
*result
= 0 ;
6855 PyObject
*swig_obj
[1] ;
6857 if (!args
) SWIG_fail
;
6859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6860 if (!SWIG_IsOK(res1
)) {
6861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6863 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6879 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
= 0;
6881 wxFrame
*arg1
= (wxFrame
*) 0 ;
6882 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6889 char * kwnames
[] = {
6890 (char *) "self",(char *) "toolbar", NULL
6893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6895 if (!SWIG_IsOK(res1
)) {
6896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6898 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6899 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6900 if (!SWIG_IsOK(res2
)) {
6901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6903 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 (arg1
)->SetToolBar(arg2
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_Py_Void();
6917 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
= 0;
6919 wxFrame
*arg1
= (wxFrame
*) 0 ;
6920 wxString
*arg2
= 0 ;
6924 bool temp2
= false ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6929 PyObject
* obj2
= 0 ;
6930 char * kwnames
[] = {
6931 (char *) "self",(char *) "text",(char *) "show", NULL
6934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6936 if (!SWIG_IsOK(res1
)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6939 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6941 arg2
= wxString_in_helper(obj1
);
6942 if (arg2
== NULL
) SWIG_fail
;
6945 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6946 if (!SWIG_IsOK(ecode3
)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6949 arg3
= static_cast< bool >(val3
);
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= SWIG_Py_Void();
6971 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
= 0;
6973 wxFrame
*arg1
= (wxFrame
*) 0 ;
6974 wxMenu
*arg2
= (wxMenu
*) NULL
;
6979 PyObject
* obj0
= 0 ;
6980 PyObject
* obj1
= 0 ;
6981 char * kwnames
[] = {
6982 (char *) "self",(char *) "menu", NULL
6985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6987 if (!SWIG_IsOK(res1
)) {
6988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6990 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
6993 if (!SWIG_IsOK(res2
)) {
6994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
6996 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 (arg1
)->DoMenuUpdates(arg2
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_Py_Void();
7011 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
= 0;
7013 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7014 SwigValueWrapper
<wxVisualAttributes
> result
;
7017 PyObject
* obj0
= 0 ;
7018 char * kwnames
[] = {
7019 (char *) "variant", NULL
7022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7024 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7025 if (!SWIG_IsOK(ecode1
)) {
7026 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7028 arg1
= static_cast< wxWindowVariant
>(val1
);
7031 if (!wxPyCheckForApp()) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7044 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7047 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7048 return SWIG_Py_Void();
7051 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7052 return SWIG_Python_InitShadowInstance(args
);
7055 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
= 0;
7057 wxWindow
*arg1
= (wxWindow
*) 0 ;
7058 int arg2
= (int) (int)-1 ;
7059 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7060 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7061 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7062 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7063 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7064 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7065 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7066 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7067 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7068 wxDialog
*result
= 0 ;
7073 bool temp3
= false ;
7078 bool temp7
= false ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7081 PyObject
* obj2
= 0 ;
7082 PyObject
* obj3
= 0 ;
7083 PyObject
* obj4
= 0 ;
7084 PyObject
* obj5
= 0 ;
7085 PyObject
* obj6
= 0 ;
7086 char * kwnames
[] = {
7087 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7092 if (!SWIG_IsOK(res1
)) {
7093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7098 if (!SWIG_IsOK(ecode2
)) {
7099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7101 arg2
= static_cast< int >(val2
);
7105 arg3
= wxString_in_helper(obj2
);
7106 if (arg3
== NULL
) SWIG_fail
;
7113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7119 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7123 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7124 if (!SWIG_IsOK(ecode6
)) {
7125 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7127 arg6
= static_cast< long >(val6
);
7131 arg7
= wxString_in_helper(obj6
);
7132 if (arg7
== NULL
) SWIG_fail
;
7137 if (!wxPyCheckForApp()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7166 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7167 PyObject
*resultobj
= 0;
7168 wxDialog
*result
= 0 ;
7170 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7172 if (!wxPyCheckForApp()) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= (wxDialog
*)new wxDialog();
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7185 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
= 0;
7187 wxDialog
*arg1
= (wxDialog
*) 0 ;
7188 wxWindow
*arg2
= (wxWindow
*) 0 ;
7189 int arg3
= (int) (int)-1 ;
7190 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7191 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7192 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7193 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7194 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7195 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7196 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7197 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7198 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7206 bool temp4
= false ;
7211 bool temp8
= false ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7214 PyObject
* obj2
= 0 ;
7215 PyObject
* obj3
= 0 ;
7216 PyObject
* obj4
= 0 ;
7217 PyObject
* obj5
= 0 ;
7218 PyObject
* obj6
= 0 ;
7219 PyObject
* obj7
= 0 ;
7220 char * kwnames
[] = {
7221 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7226 if (!SWIG_IsOK(res1
)) {
7227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7229 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7230 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7231 if (!SWIG_IsOK(res2
)) {
7232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7234 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7237 if (!SWIG_IsOK(ecode3
)) {
7238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7240 arg3
= static_cast< int >(val3
);
7244 arg4
= wxString_in_helper(obj3
);
7245 if (arg4
== NULL
) SWIG_fail
;
7252 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7258 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7262 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7263 if (!SWIG_IsOK(ecode7
)) {
7264 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7266 arg7
= static_cast< long >(val7
);
7270 arg8
= wxString_in_helper(obj7
);
7271 if (arg8
== NULL
) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7306 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
= 0;
7308 wxDialog
*arg1
= (wxDialog
*) 0 ;
7314 PyObject
* obj0
= 0 ;
7315 PyObject
* obj1
= 0 ;
7316 char * kwnames
[] = {
7317 (char *) "self",(char *) "returnCode", NULL
7320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7322 if (!SWIG_IsOK(res1
)) {
7323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7325 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7327 if (!SWIG_IsOK(ecode2
)) {
7328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7330 arg2
= static_cast< int >(val2
);
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 (arg1
)->SetReturnCode(arg2
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= SWIG_Py_Void();
7344 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7345 PyObject
*resultobj
= 0;
7346 wxDialog
*arg1
= (wxDialog
*) 0 ;
7350 PyObject
*swig_obj
[1] ;
7352 if (!args
) SWIG_fail
;
7354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7355 if (!SWIG_IsOK(res1
)) {
7356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7358 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_From_int(static_cast< int >(result
));
7372 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
= 0;
7374 wxDialog
*arg1
= (wxDialog
*) 0 ;
7380 PyObject
* obj0
= 0 ;
7381 PyObject
* obj1
= 0 ;
7382 char * kwnames
[] = {
7383 (char *) "self",(char *) "affirmativeId", NULL
7386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7388 if (!SWIG_IsOK(res1
)) {
7389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7391 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7393 if (!SWIG_IsOK(ecode2
)) {
7394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7396 arg2
= static_cast< int >(val2
);
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 (arg1
)->SetAffirmativeId(arg2
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 resultobj
= SWIG_Py_Void();
7410 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7411 PyObject
*resultobj
= 0;
7412 wxDialog
*arg1
= (wxDialog
*) 0 ;
7416 PyObject
*swig_obj
[1] ;
7418 if (!args
) SWIG_fail
;
7420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7421 if (!SWIG_IsOK(res1
)) {
7422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7424 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 resultobj
= SWIG_From_int(static_cast< int >(result
));
7438 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
= 0;
7440 wxDialog
*arg1
= (wxDialog
*) 0 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7448 char * kwnames
[] = {
7449 (char *) "self",(char *) "escapeId", NULL
7452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7454 if (!SWIG_IsOK(res1
)) {
7455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7457 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7459 if (!SWIG_IsOK(ecode2
)) {
7460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7462 arg2
= static_cast< int >(val2
);
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 (arg1
)->SetEscapeId(arg2
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= SWIG_Py_Void();
7476 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7477 PyObject
*resultobj
= 0;
7478 wxDialog
*arg1
= (wxDialog
*) 0 ;
7482 PyObject
*swig_obj
[1] ;
7484 if (!args
) SWIG_fail
;
7486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7487 if (!SWIG_IsOK(res1
)) {
7488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7490 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 resultobj
= SWIG_From_int(static_cast< int >(result
));
7504 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
= 0;
7506 wxDialog
*arg1
= (wxDialog
*) 0 ;
7507 wxString
*arg2
= 0 ;
7508 wxSizer
*result
= 0 ;
7511 bool temp2
= false ;
7512 PyObject
* obj0
= 0 ;
7513 PyObject
* obj1
= 0 ;
7514 char * kwnames
[] = {
7515 (char *) "self",(char *) "message", NULL
7518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7520 if (!SWIG_IsOK(res1
)) {
7521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7523 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7525 arg2
= wxString_in_helper(obj1
);
7526 if (arg2
== NULL
) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7552 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
= 0;
7554 wxDialog
*arg1
= (wxDialog
*) 0 ;
7556 bool arg3
= (bool) false ;
7557 int arg4
= (int) 0 ;
7558 wxSizer
*result
= 0 ;
7567 PyObject
* obj0
= 0 ;
7568 PyObject
* obj1
= 0 ;
7569 PyObject
* obj2
= 0 ;
7570 PyObject
* obj3
= 0 ;
7571 char * kwnames
[] = {
7572 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7577 if (!SWIG_IsOK(res1
)) {
7578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7580 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7581 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7582 if (!SWIG_IsOK(ecode2
)) {
7583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7585 arg2
= static_cast< long >(val2
);
7587 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7588 if (!SWIG_IsOK(ecode3
)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7591 arg3
= static_cast< bool >(val3
);
7594 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7595 if (!SWIG_IsOK(ecode4
)) {
7596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7598 arg4
= static_cast< int >(val4
);
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7615 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
= 0;
7617 wxDialog
*arg1
= (wxDialog
*) 0 ;
7619 wxStdDialogButtonSizer
*result
= 0 ;
7624 PyObject
* obj0
= 0 ;
7625 PyObject
* obj1
= 0 ;
7626 char * kwnames
[] = {
7627 (char *) "self",(char *) "flags", NULL
7630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7632 if (!SWIG_IsOK(res1
)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7635 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7636 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7637 if (!SWIG_IsOK(ecode2
)) {
7638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7640 arg2
= static_cast< long >(val2
);
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7654 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7655 PyObject
*resultobj
= 0;
7656 wxDialog
*arg1
= (wxDialog
*) 0 ;
7660 PyObject
*swig_obj
[1] ;
7662 if (!args
) SWIG_fail
;
7664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7665 if (!SWIG_IsOK(res1
)) {
7666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7668 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7684 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7685 PyObject
*resultobj
= 0;
7686 wxDialog
*arg1
= (wxDialog
*) 0 ;
7690 PyObject
*swig_obj
[1] ;
7692 if (!args
) SWIG_fail
;
7694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7695 if (!SWIG_IsOK(res1
)) {
7696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7698 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 result
= (int)(arg1
)->ShowModal();
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_From_int(static_cast< int >(result
));
7712 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
= 0;
7714 wxDialog
*arg1
= (wxDialog
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7721 PyObject
* obj1
= 0 ;
7722 char * kwnames
[] = {
7723 (char *) "self",(char *) "retCode", NULL
7726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7728 if (!SWIG_IsOK(res1
)) {
7729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7731 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7733 if (!SWIG_IsOK(ecode2
)) {
7734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7736 arg2
= static_cast< int >(val2
);
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 (arg1
)->EndModal(arg2
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= SWIG_Py_Void();
7750 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
= 0;
7752 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7753 SwigValueWrapper
<wxVisualAttributes
> result
;
7756 PyObject
* obj0
= 0 ;
7757 char * kwnames
[] = {
7758 (char *) "variant", NULL
7761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7763 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7764 if (!SWIG_IsOK(ecode1
)) {
7765 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7767 arg1
= static_cast< wxWindowVariant
>(val1
);
7770 if (!wxPyCheckForApp()) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7783 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7786 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7787 return SWIG_Py_Void();
7790 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7791 return SWIG_Python_InitShadowInstance(args
);
7794 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
= 0;
7796 wxWindow
*arg1
= (wxWindow
*) 0 ;
7797 int arg2
= (int) (int)-1 ;
7798 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7799 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7800 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7801 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7802 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7803 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7804 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7805 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7806 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7807 wxMiniFrame
*result
= 0 ;
7812 bool temp3
= false ;
7817 bool temp7
= false ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7820 PyObject
* obj2
= 0 ;
7821 PyObject
* obj3
= 0 ;
7822 PyObject
* obj4
= 0 ;
7823 PyObject
* obj5
= 0 ;
7824 PyObject
* obj6
= 0 ;
7825 char * kwnames
[] = {
7826 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7831 if (!SWIG_IsOK(res1
)) {
7832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7837 if (!SWIG_IsOK(ecode2
)) {
7838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7840 arg2
= static_cast< int >(val2
);
7844 arg3
= wxString_in_helper(obj2
);
7845 if (arg3
== NULL
) SWIG_fail
;
7852 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7858 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7862 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7863 if (!SWIG_IsOK(ecode6
)) {
7864 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7866 arg6
= static_cast< long >(val6
);
7870 arg7
= wxString_in_helper(obj6
);
7871 if (arg7
== NULL
) SWIG_fail
;
7876 if (!wxPyCheckForApp()) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7905 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7906 PyObject
*resultobj
= 0;
7907 wxMiniFrame
*result
= 0 ;
7909 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7911 if (!wxPyCheckForApp()) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (wxMiniFrame
*)new wxMiniFrame();
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7924 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
= 0;
7926 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7927 wxWindow
*arg2
= (wxWindow
*) 0 ;
7928 int arg3
= (int) (int)-1 ;
7929 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7930 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7931 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7932 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7933 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7934 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7935 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7936 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7937 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7945 bool temp4
= false ;
7950 bool temp8
= false ;
7951 PyObject
* obj0
= 0 ;
7952 PyObject
* obj1
= 0 ;
7953 PyObject
* obj2
= 0 ;
7954 PyObject
* obj3
= 0 ;
7955 PyObject
* obj4
= 0 ;
7956 PyObject
* obj5
= 0 ;
7957 PyObject
* obj6
= 0 ;
7958 PyObject
* obj7
= 0 ;
7959 char * kwnames
[] = {
7960 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7965 if (!SWIG_IsOK(res1
)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7968 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7970 if (!SWIG_IsOK(res2
)) {
7971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7976 if (!SWIG_IsOK(ecode3
)) {
7977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7979 arg3
= static_cast< int >(val3
);
7983 arg4
= wxString_in_helper(obj3
);
7984 if (arg4
== NULL
) SWIG_fail
;
7991 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7997 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8001 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8002 if (!SWIG_IsOK(ecode7
)) {
8003 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8005 arg7
= static_cast< long >(val7
);
8009 arg8
= wxString_in_helper(obj7
);
8010 if (arg8
== NULL
) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8045 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8048 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8049 return SWIG_Py_Void();
8052 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8053 return SWIG_Python_InitShadowInstance(args
);
8056 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
= 0;
8058 wxBitmap
*arg1
= 0 ;
8059 wxWindow
*arg2
= (wxWindow
*) 0 ;
8061 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8062 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8063 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8064 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8065 long arg6
= (long) wxNO_BORDER
;
8066 wxSplashScreenWindow
*result
= 0 ;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8079 PyObject
* obj2
= 0 ;
8080 PyObject
* obj3
= 0 ;
8081 PyObject
* obj4
= 0 ;
8082 PyObject
* obj5
= 0 ;
8083 char * kwnames
[] = {
8084 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8088 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8089 if (!SWIG_IsOK(res1
)) {
8090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8095 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8096 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8097 if (!SWIG_IsOK(res2
)) {
8098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8100 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8102 if (!SWIG_IsOK(ecode3
)) {
8103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8105 arg3
= static_cast< int >(val3
);
8109 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8115 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8119 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8120 if (!SWIG_IsOK(ecode6
)) {
8121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8123 arg6
= static_cast< long >(val6
);
8126 if (!wxPyCheckForApp()) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8139 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
= 0;
8141 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8142 wxBitmap
*arg2
= 0 ;
8147 PyObject
* obj0
= 0 ;
8148 PyObject
* obj1
= 0 ;
8149 char * kwnames
[] = {
8150 (char *) "self",(char *) "bitmap", NULL
8153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8155 if (!SWIG_IsOK(res1
)) {
8156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8158 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8160 if (!SWIG_IsOK(res2
)) {
8161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8166 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 resultobj
= SWIG_Py_Void();
8180 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8181 PyObject
*resultobj
= 0;
8182 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8183 wxBitmap
*result
= 0 ;
8186 PyObject
*swig_obj
[1] ;
8188 if (!args
) SWIG_fail
;
8190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8191 if (!SWIG_IsOK(res1
)) {
8192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8194 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8199 result
= (wxBitmap
*) &_result_ref
;
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8205 wxBitmap
* resultptr
= new wxBitmap(*result
);
8206 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8214 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8217 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8218 return SWIG_Py_Void();
8221 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8222 return SWIG_Python_InitShadowInstance(args
);
8225 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
= 0;
8227 wxBitmap
*arg1
= 0 ;
8230 wxWindow
*arg4
= (wxWindow
*) 0 ;
8231 int arg5
= (int) -1 ;
8232 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8233 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8234 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8235 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8236 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8237 wxSplashScreen
*result
= 0 ;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8254 PyObject
* obj2
= 0 ;
8255 PyObject
* obj3
= 0 ;
8256 PyObject
* obj4
= 0 ;
8257 PyObject
* obj5
= 0 ;
8258 PyObject
* obj6
= 0 ;
8259 PyObject
* obj7
= 0 ;
8260 char * kwnames
[] = {
8261 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8272 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8273 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8274 if (!SWIG_IsOK(ecode2
)) {
8275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8277 arg2
= static_cast< long >(val2
);
8278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8279 if (!SWIG_IsOK(ecode3
)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8282 arg3
= static_cast< int >(val3
);
8283 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8284 if (!SWIG_IsOK(res4
)) {
8285 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8287 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8289 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8290 if (!SWIG_IsOK(ecode5
)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8293 arg5
= static_cast< int >(val5
);
8298 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8304 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8308 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8309 if (!SWIG_IsOK(ecode8
)) {
8310 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8312 arg8
= static_cast< long >(val8
);
8315 if (!wxPyCheckForApp()) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8328 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8329 PyObject
*resultobj
= 0;
8330 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8334 PyObject
*swig_obj
[1] ;
8336 if (!args
) SWIG_fail
;
8338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8339 if (!SWIG_IsOK(res1
)) {
8340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8342 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8345 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= SWIG_From_long(static_cast< long >(result
));
8356 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8357 PyObject
*resultobj
= 0;
8358 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8359 wxSplashScreenWindow
*result
= 0 ;
8362 PyObject
*swig_obj
[1] ;
8364 if (!args
) SWIG_fail
;
8366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8367 if (!SWIG_IsOK(res1
)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8370 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8384 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 PyObject
*resultobj
= 0;
8386 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8390 PyObject
*swig_obj
[1] ;
8392 if (!args
) SWIG_fail
;
8394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8395 if (!SWIG_IsOK(res1
)) {
8396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8398 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= SWIG_From_int(static_cast< int >(result
));
8412 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8415 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8416 return SWIG_Py_Void();
8419 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8420 return SWIG_Python_InitShadowInstance(args
);
8423 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
= 0;
8425 wxWindow
*arg1
= (wxWindow
*) 0 ;
8426 int arg2
= (int) -1 ;
8427 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8428 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8429 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8430 wxStatusBar
*result
= 0 ;
8437 bool temp4
= false ;
8438 PyObject
* obj0
= 0 ;
8439 PyObject
* obj1
= 0 ;
8440 PyObject
* obj2
= 0 ;
8441 PyObject
* obj3
= 0 ;
8442 char * kwnames
[] = {
8443 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8448 if (!SWIG_IsOK(res1
)) {
8449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8451 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8454 if (!SWIG_IsOK(ecode2
)) {
8455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8457 arg2
= static_cast< int >(val2
);
8460 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8461 if (!SWIG_IsOK(ecode3
)) {
8462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8464 arg3
= static_cast< long >(val3
);
8468 arg4
= wxString_in_helper(obj3
);
8469 if (arg4
== NULL
) SWIG_fail
;
8474 if (!wxPyCheckForApp()) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8495 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8496 PyObject
*resultobj
= 0;
8497 wxStatusBar
*result
= 0 ;
8499 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8501 if (!wxPyCheckForApp()) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= (wxStatusBar
*)new wxStatusBar();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8514 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
= 0;
8516 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8517 wxWindow
*arg2
= (wxWindow
*) 0 ;
8518 int arg3
= (int) -1 ;
8519 long arg4
= (long) wxST_SIZEGRIP
;
8520 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8521 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8531 bool temp5
= false ;
8532 PyObject
* obj0
= 0 ;
8533 PyObject
* obj1
= 0 ;
8534 PyObject
* obj2
= 0 ;
8535 PyObject
* obj3
= 0 ;
8536 PyObject
* obj4
= 0 ;
8537 char * kwnames
[] = {
8538 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8546 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8548 if (!SWIG_IsOK(res2
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8551 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8554 if (!SWIG_IsOK(ecode3
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8557 arg3
= static_cast< int >(val3
);
8560 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8561 if (!SWIG_IsOK(ecode4
)) {
8562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8564 arg4
= static_cast< long >(val4
);
8568 arg5
= wxString_in_helper(obj4
);
8569 if (arg5
== NULL
) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8596 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
= 0;
8598 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8599 int arg2
= (int) 1 ;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8606 char * kwnames
[] = {
8607 (char *) "self",(char *) "number", NULL
8610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8612 if (!SWIG_IsOK(res1
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8615 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8618 if (!SWIG_IsOK(ecode2
)) {
8619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8621 arg2
= static_cast< int >(val2
);
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 (arg1
)->SetFieldsCount(arg2
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= SWIG_Py_Void();
8636 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8637 PyObject
*resultobj
= 0;
8638 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8642 PyObject
*swig_obj
[1] ;
8644 if (!args
) SWIG_fail
;
8646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8647 if (!SWIG_IsOK(res1
)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8650 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_From_int(static_cast< int >(result
));
8664 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
= 0;
8666 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8667 wxString
*arg2
= 0 ;
8668 int arg3
= (int) 0 ;
8671 bool temp2
= false ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 PyObject
* obj2
= 0 ;
8677 char * kwnames
[] = {
8678 (char *) "self",(char *) "text",(char *) "number", NULL
8681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8683 if (!SWIG_IsOK(res1
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8686 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8688 arg2
= wxString_in_helper(obj1
);
8689 if (arg2
== NULL
) SWIG_fail
;
8693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8694 if (!SWIG_IsOK(ecode3
)) {
8695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8697 arg3
= static_cast< int >(val3
);
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_Py_Void();
8720 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
= 0;
8722 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8723 int arg2
= (int) 0 ;
8729 PyObject
* obj0
= 0 ;
8730 PyObject
* obj1
= 0 ;
8731 char * kwnames
[] = {
8732 (char *) "self",(char *) "number", NULL
8735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8737 if (!SWIG_IsOK(res1
)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8740 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8743 if (!SWIG_IsOK(ecode2
)) {
8744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8746 arg2
= static_cast< int >(val2
);
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8767 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
= 0;
8769 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8770 wxString
*arg2
= 0 ;
8771 int arg3
= (int) 0 ;
8774 bool temp2
= false ;
8777 PyObject
* obj0
= 0 ;
8778 PyObject
* obj1
= 0 ;
8779 PyObject
* obj2
= 0 ;
8780 char * kwnames
[] = {
8781 (char *) "self",(char *) "text",(char *) "number", NULL
8784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8786 if (!SWIG_IsOK(res1
)) {
8787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8789 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8791 arg2
= wxString_in_helper(obj1
);
8792 if (arg2
== NULL
) SWIG_fail
;
8796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8797 if (!SWIG_IsOK(ecode3
)) {
8798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8800 arg3
= static_cast< int >(val3
);
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 resultobj
= SWIG_Py_Void();
8823 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
= 0;
8825 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8826 int arg2
= (int) 0 ;
8831 PyObject
* obj0
= 0 ;
8832 PyObject
* obj1
= 0 ;
8833 char * kwnames
[] = {
8834 (char *) "self",(char *) "number", NULL
8837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8839 if (!SWIG_IsOK(res1
)) {
8840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8842 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8845 if (!SWIG_IsOK(ecode2
)) {
8846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8848 arg2
= static_cast< int >(val2
);
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 (arg1
)->PopStatusText(arg2
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_Py_Void();
8863 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
= 0;
8865 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8867 int *arg3
= (int *) 0 ;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8872 char * kwnames
[] = {
8873 (char *) "self",(char *) "widths", NULL
8876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8878 if (!SWIG_IsOK(res1
)) {
8879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8881 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8883 arg2
= PyList_Size(obj1
);
8884 arg3
= int_LIST_helper(obj1
);
8885 if (arg3
== NULL
) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= SWIG_Py_Void();
8895 if (arg3
) delete [] arg3
;
8900 if (arg3
) delete [] arg3
;
8906 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
= 0;
8908 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8910 int *arg3
= (int *) 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8915 char * kwnames
[] = {
8916 (char *) "self",(char *) "styles", NULL
8919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8921 if (!SWIG_IsOK(res1
)) {
8922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8924 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8926 arg2
= PyList_Size(obj1
);
8927 arg3
= int_LIST_helper(obj1
);
8928 if (arg3
== NULL
) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= SWIG_Py_Void();
8938 if (arg3
) delete [] arg3
;
8943 if (arg3
) delete [] arg3
;
8949 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
= 0;
8951 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8960 char * kwnames
[] = {
8961 (char *) "self",(char *) "i", NULL
8964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8966 if (!SWIG_IsOK(res1
)) {
8967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8969 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8971 if (!SWIG_IsOK(ecode2
)) {
8972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8974 arg2
= static_cast< int >(val2
);
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8981 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8988 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
*resultobj
= 0;
8990 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8996 PyObject
* obj0
= 0 ;
8997 PyObject
* obj1
= 0 ;
8998 char * kwnames
[] = {
8999 (char *) "self",(char *) "height", NULL
9002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9004 if (!SWIG_IsOK(res1
)) {
9005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9007 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9009 if (!SWIG_IsOK(ecode2
)) {
9010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9012 arg2
= static_cast< int >(val2
);
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 (arg1
)->SetMinHeight(arg2
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_Py_Void();
9026 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9027 PyObject
*resultobj
= 0;
9028 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9032 PyObject
*swig_obj
[1] ;
9034 if (!args
) SWIG_fail
;
9036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9037 if (!SWIG_IsOK(res1
)) {
9038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9040 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= SWIG_From_int(static_cast< int >(result
));
9054 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9055 PyObject
*resultobj
= 0;
9056 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9060 PyObject
*swig_obj
[1] ;
9062 if (!args
) SWIG_fail
;
9064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9065 if (!SWIG_IsOK(res1
)) {
9066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9068 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 resultobj
= SWIG_From_int(static_cast< int >(result
));
9082 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
= 0;
9084 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9085 SwigValueWrapper
<wxVisualAttributes
> result
;
9088 PyObject
* obj0
= 0 ;
9089 char * kwnames
[] = {
9090 (char *) "variant", NULL
9093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9095 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9096 if (!SWIG_IsOK(ecode1
)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9099 arg1
= static_cast< wxWindowVariant
>(val1
);
9102 if (!wxPyCheckForApp()) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9115 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9118 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9119 return SWIG_Py_Void();
9122 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9123 return SWIG_Python_InitShadowInstance(args
);
9126 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9127 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9132 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9133 PyObject
*pyobj
= 0;
9137 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9139 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9146 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
= 0;
9148 wxWindow
*arg1
= (wxWindow
*) 0 ;
9149 int arg2
= (int) -1 ;
9150 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9151 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9152 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9153 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9154 long arg5
= (long) wxSP_3D
;
9155 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9156 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9157 wxSplitterWindow
*result
= 0 ;
9166 bool temp6
= false ;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9169 PyObject
* obj2
= 0 ;
9170 PyObject
* obj3
= 0 ;
9171 PyObject
* obj4
= 0 ;
9172 PyObject
* obj5
= 0 ;
9173 char * kwnames
[] = {
9174 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9179 if (!SWIG_IsOK(res1
)) {
9180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9182 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9185 if (!SWIG_IsOK(ecode2
)) {
9186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9188 arg2
= static_cast< int >(val2
);
9193 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9199 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9203 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9204 if (!SWIG_IsOK(ecode5
)) {
9205 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9207 arg5
= static_cast< long >(val5
);
9211 arg6
= wxString_in_helper(obj5
);
9212 if (arg6
== NULL
) SWIG_fail
;
9217 if (!wxPyCheckForApp()) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9238 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9239 PyObject
*resultobj
= 0;
9240 wxSplitterWindow
*result
= 0 ;
9242 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9244 if (!wxPyCheckForApp()) SWIG_fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9257 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
= 0;
9259 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9260 wxWindow
*arg2
= (wxWindow
*) 0 ;
9261 int arg3
= (int) -1 ;
9262 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9263 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9264 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9265 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9266 long arg6
= (long) wxSP_3D
;
9267 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9268 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9280 bool temp7
= false ;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9283 PyObject
* obj2
= 0 ;
9284 PyObject
* obj3
= 0 ;
9285 PyObject
* obj4
= 0 ;
9286 PyObject
* obj5
= 0 ;
9287 PyObject
* obj6
= 0 ;
9288 char * kwnames
[] = {
9289 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9294 if (!SWIG_IsOK(res1
)) {
9295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9297 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9299 if (!SWIG_IsOK(res2
)) {
9300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9302 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9305 if (!SWIG_IsOK(ecode3
)) {
9306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9308 arg3
= static_cast< int >(val3
);
9313 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9319 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9323 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9324 if (!SWIG_IsOK(ecode6
)) {
9325 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9327 arg6
= static_cast< long >(val6
);
9331 arg7
= wxString_in_helper(obj6
);
9332 if (arg7
== NULL
) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9360 PyObject
*resultobj
= 0;
9361 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9362 wxWindow
*result
= 0 ;
9365 PyObject
*swig_obj
[1] ;
9367 if (!args
) SWIG_fail
;
9369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9370 if (!SWIG_IsOK(res1
)) {
9371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9373 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= wxPyMake_wxObject(result
, 0);
9389 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9390 PyObject
*resultobj
= 0;
9391 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9392 wxWindow
*result
= 0 ;
9395 PyObject
*swig_obj
[1] ;
9397 if (!args
) SWIG_fail
;
9399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9400 if (!SWIG_IsOK(res1
)) {
9401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9403 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= wxPyMake_wxObject(result
, 0);
9419 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= 0;
9421 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 char * kwnames
[] = {
9430 (char *) "self",(char *) "mode", NULL
9433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9435 if (!SWIG_IsOK(res1
)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9438 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9440 if (!SWIG_IsOK(ecode2
)) {
9441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9443 arg2
= static_cast< int >(val2
);
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 (arg1
)->SetSplitMode(arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_Py_Void();
9457 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9458 PyObject
*resultobj
= 0;
9459 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9463 PyObject
*swig_obj
[1] ;
9465 if (!args
) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9471 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_From_int(static_cast< int >(result
));
9485 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
= 0;
9487 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9488 wxWindow
*arg2
= (wxWindow
*) 0 ;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9495 char * kwnames
[] = {
9496 (char *) "self",(char *) "window", NULL
9499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9501 if (!SWIG_IsOK(res1
)) {
9502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9504 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9506 if (!SWIG_IsOK(res2
)) {
9507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9509 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 (arg1
)->Initialize(arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_Py_Void();
9523 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
*resultobj
= 0;
9525 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9526 wxWindow
*arg2
= (wxWindow
*) 0 ;
9527 wxWindow
*arg3
= (wxWindow
*) 0 ;
9528 int arg4
= (int) 0 ;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9540 PyObject
* obj2
= 0 ;
9541 PyObject
* obj3
= 0 ;
9542 char * kwnames
[] = {
9543 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9548 if (!SWIG_IsOK(res1
)) {
9549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9551 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9553 if (!SWIG_IsOK(res2
)) {
9554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9556 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9557 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9558 if (!SWIG_IsOK(res3
)) {
9559 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9561 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9563 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9564 if (!SWIG_IsOK(ecode4
)) {
9565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9567 arg4
= static_cast< int >(val4
);
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9584 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
= 0;
9586 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9587 wxWindow
*arg2
= (wxWindow
*) 0 ;
9588 wxWindow
*arg3
= (wxWindow
*) 0 ;
9589 int arg4
= (int) 0 ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9601 PyObject
* obj2
= 0 ;
9602 PyObject
* obj3
= 0 ;
9603 char * kwnames
[] = {
9604 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9609 if (!SWIG_IsOK(res1
)) {
9610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9612 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9614 if (!SWIG_IsOK(res2
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9617 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9618 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9619 if (!SWIG_IsOK(res3
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9622 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9624 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9625 if (!SWIG_IsOK(ecode4
)) {
9626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9628 arg4
= static_cast< int >(val4
);
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9645 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
= 0;
9647 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9648 wxWindow
*arg2
= (wxWindow
*) NULL
;
9654 PyObject
* obj0
= 0 ;
9655 PyObject
* obj1
= 0 ;
9656 char * kwnames
[] = {
9657 (char *) "self",(char *) "toRemove", NULL
9660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9662 if (!SWIG_IsOK(res1
)) {
9663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9665 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9668 if (!SWIG_IsOK(res2
)) {
9669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9671 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9675 result
= (bool)(arg1
)->Unsplit(arg2
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
= 0;
9690 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9691 wxWindow
*arg2
= (wxWindow
*) 0 ;
9692 wxWindow
*arg3
= (wxWindow
*) 0 ;
9700 PyObject
* obj0
= 0 ;
9701 PyObject
* obj1
= 0 ;
9702 PyObject
* obj2
= 0 ;
9703 char * kwnames
[] = {
9704 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9709 if (!SWIG_IsOK(res1
)) {
9710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9712 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9714 if (!SWIG_IsOK(res2
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9718 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9719 if (!SWIG_IsOK(res3
)) {
9720 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9722 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9738 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9739 PyObject
*resultobj
= 0;
9740 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9743 PyObject
*swig_obj
[1] ;
9745 if (!args
) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9751 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 (arg1
)->UpdateSize();
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= SWIG_Py_Void();
9765 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9766 PyObject
*resultobj
= 0;
9767 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9771 PyObject
*swig_obj
[1] ;
9773 if (!args
) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9779 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9795 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
= 0;
9797 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9803 PyObject
* obj0
= 0 ;
9804 PyObject
* obj1
= 0 ;
9805 char * kwnames
[] = {
9806 (char *) "self",(char *) "width", NULL
9809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9811 if (!SWIG_IsOK(res1
)) {
9812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9814 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9816 if (!SWIG_IsOK(ecode2
)) {
9817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9819 arg2
= static_cast< int >(val2
);
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 (arg1
)->SetSashSize(arg2
);
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_Py_Void();
9833 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
= 0;
9835 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 char * kwnames
[] = {
9844 (char *) "self",(char *) "width", NULL
9847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9849 if (!SWIG_IsOK(res1
)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9852 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9854 if (!SWIG_IsOK(ecode2
)) {
9855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9857 arg2
= static_cast< int >(val2
);
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 (arg1
)->SetBorderSize(arg2
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_Py_Void();
9871 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9872 PyObject
*resultobj
= 0;
9873 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9877 PyObject
*swig_obj
[1] ;
9879 if (!args
) SWIG_fail
;
9881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9882 if (!SWIG_IsOK(res1
)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9885 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_From_int(static_cast< int >(result
));
9899 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9900 PyObject
*resultobj
= 0;
9901 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9905 PyObject
*swig_obj
[1] ;
9907 if (!args
) SWIG_fail
;
9909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9910 if (!SWIG_IsOK(res1
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9913 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= SWIG_From_int(static_cast< int >(result
));
9927 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
= 0;
9929 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9931 bool arg3
= (bool) true ;
9938 PyObject
* obj0
= 0 ;
9939 PyObject
* obj1
= 0 ;
9940 PyObject
* obj2
= 0 ;
9941 char * kwnames
[] = {
9942 (char *) "self",(char *) "position",(char *) "redraw", NULL
9945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9947 if (!SWIG_IsOK(res1
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9950 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9952 if (!SWIG_IsOK(ecode2
)) {
9953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9955 arg2
= static_cast< int >(val2
);
9957 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9958 if (!SWIG_IsOK(ecode3
)) {
9959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9961 arg3
= static_cast< bool >(val3
);
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 (arg1
)->SetSashPosition(arg2
,arg3
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_Py_Void();
9976 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9977 PyObject
*resultobj
= 0;
9978 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9982 PyObject
*swig_obj
[1] ;
9984 if (!args
) SWIG_fail
;
9986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9987 if (!SWIG_IsOK(res1
)) {
9988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9990 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_From_int(static_cast< int >(result
));
10004 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
= 0;
10006 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 PyObject
* obj1
= 0 ;
10014 char * kwnames
[] = {
10015 (char *) "self",(char *) "gravity", NULL
10018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10020 if (!SWIG_IsOK(res1
)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10023 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10024 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10025 if (!SWIG_IsOK(ecode2
)) {
10026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10028 arg2
= static_cast< double >(val2
);
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 (arg1
)->SetSashGravity(arg2
);
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_Py_Void();
10042 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10043 PyObject
*resultobj
= 0;
10044 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10048 PyObject
*swig_obj
[1] ;
10050 if (!args
) SWIG_fail
;
10051 swig_obj
[0] = args
;
10052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10053 if (!SWIG_IsOK(res1
)) {
10054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10056 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= SWIG_From_double(static_cast< double >(result
));
10070 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
*resultobj
= 0;
10072 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 char * kwnames
[] = {
10081 (char *) "self",(char *) "min", NULL
10084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10086 if (!SWIG_IsOK(res1
)) {
10087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10089 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10091 if (!SWIG_IsOK(ecode2
)) {
10092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10094 arg2
= static_cast< int >(val2
);
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 (arg1
)->SetMinimumPaneSize(arg2
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_Py_Void();
10108 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10109 PyObject
*resultobj
= 0;
10110 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10114 PyObject
*swig_obj
[1] ;
10116 if (!args
) SWIG_fail
;
10117 swig_obj
[0] = args
;
10118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10119 if (!SWIG_IsOK(res1
)) {
10120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10122 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_From_int(static_cast< int >(result
));
10136 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
= 0;
10138 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10141 int arg4
= (int) 5 ;
10151 PyObject
* obj0
= 0 ;
10152 PyObject
* obj1
= 0 ;
10153 PyObject
* obj2
= 0 ;
10154 PyObject
* obj3
= 0 ;
10155 char * kwnames
[] = {
10156 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_SashHitTest" "', 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_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10169 arg2
= static_cast< int >(val2
);
10170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10171 if (!SWIG_IsOK(ecode3
)) {
10172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10174 arg3
= static_cast< int >(val3
);
10176 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10177 if (!SWIG_IsOK(ecode4
)) {
10178 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10180 arg4
= static_cast< int >(val4
);
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10197 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10198 PyObject
*resultobj
= 0;
10199 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10202 PyObject
*swig_obj
[1] ;
10204 if (!args
) SWIG_fail
;
10205 swig_obj
[0] = args
;
10206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10207 if (!SWIG_IsOK(res1
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10210 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 (arg1
)->SizeWindows();
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= SWIG_Py_Void();
10224 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
= 0;
10226 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10232 PyObject
* obj0
= 0 ;
10233 PyObject
* obj1
= 0 ;
10234 char * kwnames
[] = {
10235 (char *) "self",(char *) "needUpdating", NULL
10238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10240 if (!SWIG_IsOK(res1
)) {
10241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10243 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10244 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10245 if (!SWIG_IsOK(ecode2
)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10248 arg2
= static_cast< bool >(val2
);
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 (arg1
)->SetNeedUpdating(arg2
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= SWIG_Py_Void();
10262 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10263 PyObject
*resultobj
= 0;
10264 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10268 PyObject
*swig_obj
[1] ;
10270 if (!args
) SWIG_fail
;
10271 swig_obj
[0] = args
;
10272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10273 if (!SWIG_IsOK(res1
)) {
10274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10276 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10292 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
= 0;
10294 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10295 SwigValueWrapper
<wxVisualAttributes
> result
;
10298 PyObject
* obj0
= 0 ;
10299 char * kwnames
[] = {
10300 (char *) "variant", NULL
10303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10305 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10306 if (!SWIG_IsOK(ecode1
)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10309 arg1
= static_cast< wxWindowVariant
>(val1
);
10312 if (!wxPyCheckForApp()) SWIG_fail
;
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10325 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10328 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10329 return SWIG_Py_Void();
10332 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10333 return SWIG_Python_InitShadowInstance(args
);
10336 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
= 0;
10338 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10339 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10340 wxSplitterEvent
*result
= 0 ;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 char * kwnames
[] = {
10348 (char *) "type",(char *) "splitter", NULL
10351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10354 if (!SWIG_IsOK(ecode1
)) {
10355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10357 arg1
= static_cast< wxEventType
>(val1
);
10360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10361 if (!SWIG_IsOK(res2
)) {
10362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10364 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10379 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
= 0;
10381 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 PyObject
* obj1
= 0 ;
10389 char * kwnames
[] = {
10390 (char *) "self",(char *) "pos", NULL
10393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10395 if (!SWIG_IsOK(res1
)) {
10396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10398 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10400 if (!SWIG_IsOK(ecode2
)) {
10401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10403 arg2
= static_cast< int >(val2
);
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 (arg1
)->SetSashPosition(arg2
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_Py_Void();
10417 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10418 PyObject
*resultobj
= 0;
10419 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10423 PyObject
*swig_obj
[1] ;
10425 if (!args
) SWIG_fail
;
10426 swig_obj
[0] = args
;
10427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10428 if (!SWIG_IsOK(res1
)) {
10429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10431 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_From_int(static_cast< int >(result
));
10445 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10446 PyObject
*resultobj
= 0;
10447 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10448 wxWindow
*result
= 0 ;
10451 PyObject
*swig_obj
[1] ;
10453 if (!args
) SWIG_fail
;
10454 swig_obj
[0] = args
;
10455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10456 if (!SWIG_IsOK(res1
)) {
10457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10459 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= wxPyMake_wxObject(result
, 0);
10475 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10476 PyObject
*resultobj
= 0;
10477 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10481 PyObject
*swig_obj
[1] ;
10483 if (!args
) SWIG_fail
;
10484 swig_obj
[0] = args
;
10485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10489 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_From_int(static_cast< int >(result
));
10503 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10504 PyObject
*resultobj
= 0;
10505 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10509 PyObject
*swig_obj
[1] ;
10511 if (!args
) SWIG_fail
;
10512 swig_obj
[0] = args
;
10513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10514 if (!SWIG_IsOK(res1
)) {
10515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10517 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 resultobj
= SWIG_From_int(static_cast< int >(result
));
10531 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10533 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10534 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10535 return SWIG_Py_Void();
10538 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10539 return SWIG_Python_InitShadowInstance(args
);
10542 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10543 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10548 SWIGINTERN PyObject
*SashNameStr_get(void) {
10549 PyObject
*pyobj
= 0;
10553 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10555 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10562 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10563 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10568 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10569 PyObject
*pyobj
= 0;
10573 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10575 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10582 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
= 0;
10584 wxWindow
*arg1
= (wxWindow
*) 0 ;
10585 int arg2
= (int) -1 ;
10586 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10587 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10588 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10589 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10590 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10591 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10592 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10593 wxSashWindow
*result
= 0 ;
10602 bool temp6
= false ;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 PyObject
* obj3
= 0 ;
10607 PyObject
* obj4
= 0 ;
10608 PyObject
* obj5
= 0 ;
10609 char * kwnames
[] = {
10610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10615 if (!SWIG_IsOK(res1
)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10618 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10621 if (!SWIG_IsOK(ecode2
)) {
10622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10624 arg2
= static_cast< int >(val2
);
10629 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10635 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10639 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10640 if (!SWIG_IsOK(ecode5
)) {
10641 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10643 arg5
= static_cast< long >(val5
);
10647 arg6
= wxString_in_helper(obj5
);
10648 if (arg6
== NULL
) SWIG_fail
;
10653 if (!wxPyCheckForApp()) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10674 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10675 PyObject
*resultobj
= 0;
10676 wxSashWindow
*result
= 0 ;
10678 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10680 if (!wxPyCheckForApp()) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= (wxSashWindow
*)new wxSashWindow();
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10693 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
= 0;
10695 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10696 wxWindow
*arg2
= (wxWindow
*) 0 ;
10697 int arg3
= (int) -1 ;
10698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10702 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10703 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10716 bool temp7
= false ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 PyObject
* obj2
= 0 ;
10720 PyObject
* obj3
= 0 ;
10721 PyObject
* obj4
= 0 ;
10722 PyObject
* obj5
= 0 ;
10723 PyObject
* obj6
= 0 ;
10724 char * kwnames
[] = {
10725 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10730 if (!SWIG_IsOK(res1
)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10733 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10735 if (!SWIG_IsOK(res2
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10738 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10741 if (!SWIG_IsOK(ecode3
)) {
10742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10744 arg3
= static_cast< int >(val3
);
10749 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10755 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10759 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10760 if (!SWIG_IsOK(ecode6
)) {
10761 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10763 arg6
= static_cast< long >(val6
);
10767 arg7
= wxString_in_helper(obj6
);
10768 if (arg7
== NULL
) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10795 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
= 0;
10797 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10798 wxSashEdgePosition arg2
;
10806 PyObject
* obj0
= 0 ;
10807 PyObject
* obj1
= 0 ;
10808 PyObject
* obj2
= 0 ;
10809 char * kwnames
[] = {
10810 (char *) "self",(char *) "edge",(char *) "sash", NULL
10813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10815 if (!SWIG_IsOK(res1
)) {
10816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10818 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10820 if (!SWIG_IsOK(ecode2
)) {
10821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10823 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10824 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10825 if (!SWIG_IsOK(ecode3
)) {
10826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10828 arg3
= static_cast< bool >(val3
);
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 (arg1
)->SetSashVisible(arg2
,arg3
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10835 resultobj
= SWIG_Py_Void();
10842 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
= 0;
10844 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10845 wxSashEdgePosition arg2
;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 char * kwnames
[] = {
10854 (char *) "self",(char *) "edge", NULL
10857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10859 if (!SWIG_IsOK(res1
)) {
10860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10862 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10864 if (!SWIG_IsOK(ecode2
)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10867 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10883 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
= 0;
10885 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10886 wxSashEdgePosition arg2
;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 PyObject
* obj2
= 0 ;
10897 char * kwnames
[] = {
10898 (char *) "self",(char *) "edge",(char *) "border", NULL
10901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10903 if (!SWIG_IsOK(res1
)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10906 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10908 if (!SWIG_IsOK(ecode2
)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10911 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10912 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10913 if (!SWIG_IsOK(ecode3
)) {
10914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10916 arg3
= static_cast< bool >(val3
);
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 (arg1
)->SetSashBorder(arg2
,arg3
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 resultobj
= SWIG_Py_Void();
10930 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
= 0;
10932 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10933 wxSashEdgePosition arg2
;
10939 PyObject
* obj0
= 0 ;
10940 PyObject
* obj1
= 0 ;
10941 char * kwnames
[] = {
10942 (char *) "self",(char *) "edge", NULL
10945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10947 if (!SWIG_IsOK(res1
)) {
10948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10950 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10952 if (!SWIG_IsOK(ecode2
)) {
10953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10955 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10971 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
= 0;
10973 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10974 wxSashEdgePosition arg2
;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char * kwnames
[] = {
10983 (char *) "self",(char *) "edge", NULL
10986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10988 if (!SWIG_IsOK(res1
)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10991 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10993 if (!SWIG_IsOK(ecode2
)) {
10994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10996 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_From_int(static_cast< int >(result
));
11010 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
= 0;
11012 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 char * kwnames
[] = {
11021 (char *) "self",(char *) "width", NULL
11024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11026 if (!SWIG_IsOK(res1
)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11029 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11031 if (!SWIG_IsOK(ecode2
)) {
11032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11034 arg2
= static_cast< int >(val2
);
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 (arg1
)->SetDefaultBorderSize(arg2
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 resultobj
= SWIG_Py_Void();
11048 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11049 PyObject
*resultobj
= 0;
11050 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11054 PyObject
*swig_obj
[1] ;
11056 if (!args
) SWIG_fail
;
11057 swig_obj
[0] = args
;
11058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11059 if (!SWIG_IsOK(res1
)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11062 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 resultobj
= SWIG_From_int(static_cast< int >(result
));
11076 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
= 0;
11078 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 char * kwnames
[] = {
11087 (char *) "self",(char *) "width", NULL
11090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11092 if (!SWIG_IsOK(res1
)) {
11093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11095 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11097 if (!SWIG_IsOK(ecode2
)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11100 arg2
= static_cast< int >(val2
);
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 (arg1
)->SetExtraBorderSize(arg2
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= SWIG_Py_Void();
11114 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11115 PyObject
*resultobj
= 0;
11116 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11120 PyObject
*swig_obj
[1] ;
11122 if (!args
) SWIG_fail
;
11123 swig_obj
[0] = args
;
11124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11125 if (!SWIG_IsOK(res1
)) {
11126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11128 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= SWIG_From_int(static_cast< int >(result
));
11142 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
= 0;
11144 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11150 PyObject
* obj0
= 0 ;
11151 PyObject
* obj1
= 0 ;
11152 char * kwnames
[] = {
11153 (char *) "self",(char *) "min", NULL
11156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11158 if (!SWIG_IsOK(res1
)) {
11159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11161 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11163 if (!SWIG_IsOK(ecode2
)) {
11164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11166 arg2
= static_cast< int >(val2
);
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 (arg1
)->SetMinimumSizeX(arg2
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11173 resultobj
= SWIG_Py_Void();
11180 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
= 0;
11182 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11188 PyObject
* obj0
= 0 ;
11189 PyObject
* obj1
= 0 ;
11190 char * kwnames
[] = {
11191 (char *) "self",(char *) "min", NULL
11194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11196 if (!SWIG_IsOK(res1
)) {
11197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11199 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11201 if (!SWIG_IsOK(ecode2
)) {
11202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11204 arg2
= static_cast< int >(val2
);
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 (arg1
)->SetMinimumSizeY(arg2
);
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= SWIG_Py_Void();
11218 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11219 PyObject
*resultobj
= 0;
11220 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11224 PyObject
*swig_obj
[1] ;
11226 if (!args
) SWIG_fail
;
11227 swig_obj
[0] = args
;
11228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11229 if (!SWIG_IsOK(res1
)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11232 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= SWIG_From_int(static_cast< int >(result
));
11246 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11247 PyObject
*resultobj
= 0;
11248 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11252 PyObject
*swig_obj
[1] ;
11254 if (!args
) SWIG_fail
;
11255 swig_obj
[0] = args
;
11256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11260 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_From_int(static_cast< int >(result
));
11274 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
= 0;
11276 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 char * kwnames
[] = {
11285 (char *) "self",(char *) "max", NULL
11288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11290 if (!SWIG_IsOK(res1
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11293 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11295 if (!SWIG_IsOK(ecode2
)) {
11296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11298 arg2
= static_cast< int >(val2
);
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 (arg1
)->SetMaximumSizeX(arg2
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= SWIG_Py_Void();
11312 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
= 0;
11314 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11320 PyObject
* obj0
= 0 ;
11321 PyObject
* obj1
= 0 ;
11322 char * kwnames
[] = {
11323 (char *) "self",(char *) "max", NULL
11326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11328 if (!SWIG_IsOK(res1
)) {
11329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11331 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11333 if (!SWIG_IsOK(ecode2
)) {
11334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11336 arg2
= static_cast< int >(val2
);
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 (arg1
)->SetMaximumSizeY(arg2
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_Py_Void();
11350 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11351 PyObject
*resultobj
= 0;
11352 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11356 PyObject
*swig_obj
[1] ;
11358 if (!args
) SWIG_fail
;
11359 swig_obj
[0] = args
;
11360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11361 if (!SWIG_IsOK(res1
)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11364 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_From_int(static_cast< int >(result
));
11378 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11379 PyObject
*resultobj
= 0;
11380 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11384 PyObject
*swig_obj
[1] ;
11386 if (!args
) SWIG_fail
;
11387 swig_obj
[0] = args
;
11388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11389 if (!SWIG_IsOK(res1
)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11392 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_From_int(static_cast< int >(result
));
11406 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
= 0;
11408 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11411 int arg4
= (int) 2 ;
11412 wxSashEdgePosition result
;
11421 PyObject
* obj0
= 0 ;
11422 PyObject
* obj1
= 0 ;
11423 PyObject
* obj2
= 0 ;
11424 PyObject
* obj3
= 0 ;
11425 char * kwnames
[] = {
11426 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11431 if (!SWIG_IsOK(res1
)) {
11432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11434 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11436 if (!SWIG_IsOK(ecode2
)) {
11437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11439 arg2
= static_cast< int >(val2
);
11440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11441 if (!SWIG_IsOK(ecode3
)) {
11442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11444 arg3
= static_cast< int >(val3
);
11446 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11447 if (!SWIG_IsOK(ecode4
)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11450 arg4
= static_cast< int >(val4
);
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_From_int(static_cast< int >(result
));
11465 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11466 PyObject
*resultobj
= 0;
11467 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11470 PyObject
*swig_obj
[1] ;
11472 if (!args
) SWIG_fail
;
11473 swig_obj
[0] = args
;
11474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11475 if (!SWIG_IsOK(res1
)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11478 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 (arg1
)->SizeWindows();
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_Py_Void();
11492 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11495 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11496 return SWIG_Py_Void();
11499 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11500 return SWIG_Python_InitShadowInstance(args
);
11503 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
= 0;
11505 int arg1
= (int) 0 ;
11506 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11507 wxSashEvent
*result
= 0 ;
11512 PyObject
* obj0
= 0 ;
11513 PyObject
* obj1
= 0 ;
11514 char * kwnames
[] = {
11515 (char *) "id",(char *) "edge", NULL
11518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11520 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11521 if (!SWIG_IsOK(ecode1
)) {
11522 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11524 arg1
= static_cast< int >(val1
);
11527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11528 if (!SWIG_IsOK(ecode2
)) {
11529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11531 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11546 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11547 PyObject
*resultobj
= 0;
11548 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11549 wxSashEdgePosition arg2
;
11554 PyObject
* obj0
= 0 ;
11555 PyObject
* obj1
= 0 ;
11556 char * kwnames
[] = {
11557 (char *) "self",(char *) "edge", NULL
11560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11562 if (!SWIG_IsOK(res1
)) {
11563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11565 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11567 if (!SWIG_IsOK(ecode2
)) {
11568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11570 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 (arg1
)->SetEdge(arg2
);
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= SWIG_Py_Void();
11584 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11585 PyObject
*resultobj
= 0;
11586 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11587 wxSashEdgePosition result
;
11590 PyObject
*swig_obj
[1] ;
11592 if (!args
) SWIG_fail
;
11593 swig_obj
[0] = args
;
11594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11595 if (!SWIG_IsOK(res1
)) {
11596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11598 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= SWIG_From_int(static_cast< int >(result
));
11612 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
= 0;
11614 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11619 PyObject
* obj0
= 0 ;
11620 PyObject
* obj1
= 0 ;
11621 char * kwnames
[] = {
11622 (char *) "self",(char *) "rect", NULL
11625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11627 if (!SWIG_IsOK(res1
)) {
11628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11630 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11633 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= SWIG_Py_Void();
11648 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11649 PyObject
*resultobj
= 0;
11650 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11654 PyObject
*swig_obj
[1] ;
11656 if (!args
) SWIG_fail
;
11657 swig_obj
[0] = args
;
11658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11659 if (!SWIG_IsOK(res1
)) {
11660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11662 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11676 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
= 0;
11678 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11679 wxSashDragStatus arg2
;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 char * kwnames
[] = {
11687 (char *) "self",(char *) "status", NULL
11690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11692 if (!SWIG_IsOK(res1
)) {
11693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11695 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11697 if (!SWIG_IsOK(ecode2
)) {
11698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11700 arg2
= static_cast< wxSashDragStatus
>(val2
);
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 (arg1
)->SetDragStatus(arg2
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= SWIG_Py_Void();
11714 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11715 PyObject
*resultobj
= 0;
11716 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11717 wxSashDragStatus result
;
11720 PyObject
*swig_obj
[1] ;
11722 if (!args
) SWIG_fail
;
11723 swig_obj
[0] = args
;
11724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11725 if (!SWIG_IsOK(res1
)) {
11726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11728 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= SWIG_From_int(static_cast< int >(result
));
11742 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11745 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11746 return SWIG_Py_Void();
11749 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11750 return SWIG_Python_InitShadowInstance(args
);
11753 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
= 0;
11755 int arg1
= (int) 0 ;
11756 wxQueryLayoutInfoEvent
*result
= 0 ;
11759 PyObject
* obj0
= 0 ;
11760 char * kwnames
[] = {
11761 (char *) "id", NULL
11764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11766 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11767 if (!SWIG_IsOK(ecode1
)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11770 arg1
= static_cast< int >(val1
);
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11785 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11786 PyObject
*resultobj
= 0;
11787 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11793 PyObject
* obj0
= 0 ;
11794 PyObject
* obj1
= 0 ;
11795 char * kwnames
[] = {
11796 (char *) "self",(char *) "length", NULL
11799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11801 if (!SWIG_IsOK(res1
)) {
11802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11804 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11806 if (!SWIG_IsOK(ecode2
)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11809 arg2
= static_cast< int >(val2
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 (arg1
)->SetRequestedLength(arg2
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_Py_Void();
11823 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11824 PyObject
*resultobj
= 0;
11825 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11829 PyObject
*swig_obj
[1] ;
11831 if (!args
) SWIG_fail
;
11832 swig_obj
[0] = args
;
11833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11837 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= SWIG_From_int(static_cast< int >(result
));
11851 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
= 0;
11853 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 PyObject
* obj1
= 0 ;
11861 char * kwnames
[] = {
11862 (char *) "self",(char *) "flags", NULL
11865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11867 if (!SWIG_IsOK(res1
)) {
11868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11870 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11872 if (!SWIG_IsOK(ecode2
)) {
11873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11875 arg2
= static_cast< int >(val2
);
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 (arg1
)->SetFlags(arg2
);
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_Py_Void();
11889 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11890 PyObject
*resultobj
= 0;
11891 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11895 PyObject
*swig_obj
[1] ;
11897 if (!args
) SWIG_fail
;
11898 swig_obj
[0] = args
;
11899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11900 if (!SWIG_IsOK(res1
)) {
11901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11903 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= SWIG_From_int(static_cast< int >(result
));
11917 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
= 0;
11919 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11924 PyObject
* obj0
= 0 ;
11925 PyObject
* obj1
= 0 ;
11926 char * kwnames
[] = {
11927 (char *) "self",(char *) "size", NULL
11930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11932 if (!SWIG_IsOK(res1
)) {
11933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11935 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11938 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 (arg1
)->SetSize((wxSize
const &)*arg2
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_Py_Void();
11953 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11954 PyObject
*resultobj
= 0;
11955 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11959 PyObject
*swig_obj
[1] ;
11961 if (!args
) SWIG_fail
;
11962 swig_obj
[0] = args
;
11963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11964 if (!SWIG_IsOK(res1
)) {
11965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11967 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11981 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
= 0;
11983 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11984 wxLayoutOrientation arg2
;
11989 PyObject
* obj0
= 0 ;
11990 PyObject
* obj1
= 0 ;
11991 char * kwnames
[] = {
11992 (char *) "self",(char *) "orient", NULL
11995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11997 if (!SWIG_IsOK(res1
)) {
11998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12000 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12002 if (!SWIG_IsOK(ecode2
)) {
12003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12005 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 (arg1
)->SetOrientation(arg2
);
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_Py_Void();
12019 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12020 PyObject
*resultobj
= 0;
12021 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12022 wxLayoutOrientation result
;
12025 PyObject
*swig_obj
[1] ;
12027 if (!args
) SWIG_fail
;
12028 swig_obj
[0] = args
;
12029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12030 if (!SWIG_IsOK(res1
)) {
12031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12033 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_From_int(static_cast< int >(result
));
12047 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
= 0;
12049 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12050 wxLayoutAlignment arg2
;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 char * kwnames
[] = {
12058 (char *) "self",(char *) "align", NULL
12061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12063 if (!SWIG_IsOK(res1
)) {
12064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12066 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12068 if (!SWIG_IsOK(ecode2
)) {
12069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12071 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 (arg1
)->SetAlignment(arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= SWIG_Py_Void();
12085 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12086 PyObject
*resultobj
= 0;
12087 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12088 wxLayoutAlignment result
;
12091 PyObject
*swig_obj
[1] ;
12093 if (!args
) SWIG_fail
;
12094 swig_obj
[0] = args
;
12095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12096 if (!SWIG_IsOK(res1
)) {
12097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12099 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_From_int(static_cast< int >(result
));
12113 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12116 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12117 return SWIG_Py_Void();
12120 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12121 return SWIG_Python_InitShadowInstance(args
);
12124 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12125 PyObject
*resultobj
= 0;
12126 int arg1
= (int) 0 ;
12127 wxCalculateLayoutEvent
*result
= 0 ;
12130 PyObject
* obj0
= 0 ;
12131 char * kwnames
[] = {
12132 (char *) "id", NULL
12135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12137 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12138 if (!SWIG_IsOK(ecode1
)) {
12139 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12141 arg1
= static_cast< int >(val1
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12156 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
= 0;
12158 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 char * kwnames
[] = {
12167 (char *) "self",(char *) "flags", NULL
12170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12175 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12177 if (!SWIG_IsOK(ecode2
)) {
12178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12180 arg2
= static_cast< int >(val2
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 (arg1
)->SetFlags(arg2
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= SWIG_Py_Void();
12194 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12195 PyObject
*resultobj
= 0;
12196 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12200 PyObject
*swig_obj
[1] ;
12202 if (!args
) SWIG_fail
;
12203 swig_obj
[0] = args
;
12204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12205 if (!SWIG_IsOK(res1
)) {
12206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12208 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= SWIG_From_int(static_cast< int >(result
));
12222 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
= 0;
12224 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 PyObject
* obj1
= 0 ;
12231 char * kwnames
[] = {
12232 (char *) "self",(char *) "rect", NULL
12235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12237 if (!SWIG_IsOK(res1
)) {
12238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12240 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12243 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 (arg1
)->SetRect((wxRect
const &)*arg2
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_Py_Void();
12258 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12259 PyObject
*resultobj
= 0;
12260 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12264 PyObject
*swig_obj
[1] ;
12266 if (!args
) SWIG_fail
;
12267 swig_obj
[0] = args
;
12268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12269 if (!SWIG_IsOK(res1
)) {
12270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12272 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12286 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12289 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12290 return SWIG_Py_Void();
12293 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12294 return SWIG_Python_InitShadowInstance(args
);
12297 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
= 0;
12299 wxWindow
*arg1
= (wxWindow
*) 0 ;
12300 int arg2
= (int) -1 ;
12301 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12302 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12303 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12304 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12305 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12306 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12307 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12308 wxSashLayoutWindow
*result
= 0 ;
12317 bool temp6
= false ;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 PyObject
* obj2
= 0 ;
12321 PyObject
* obj3
= 0 ;
12322 PyObject
* obj4
= 0 ;
12323 PyObject
* obj5
= 0 ;
12324 char * kwnames
[] = {
12325 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12330 if (!SWIG_IsOK(res1
)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12333 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12336 if (!SWIG_IsOK(ecode2
)) {
12337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12339 arg2
= static_cast< int >(val2
);
12344 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12350 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12354 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12355 if (!SWIG_IsOK(ecode5
)) {
12356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12358 arg5
= static_cast< long >(val5
);
12362 arg6
= wxString_in_helper(obj5
);
12363 if (arg6
== NULL
) SWIG_fail
;
12368 if (!wxPyCheckForApp()) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12389 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12390 PyObject
*resultobj
= 0;
12391 wxSashLayoutWindow
*result
= 0 ;
12393 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12395 if (!wxPyCheckForApp()) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12408 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
= 0;
12410 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12411 wxWindow
*arg2
= (wxWindow
*) 0 ;
12412 int arg3
= (int) -1 ;
12413 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12414 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12415 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12416 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12417 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12418 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12419 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12431 bool temp7
= false ;
12432 PyObject
* obj0
= 0 ;
12433 PyObject
* obj1
= 0 ;
12434 PyObject
* obj2
= 0 ;
12435 PyObject
* obj3
= 0 ;
12436 PyObject
* obj4
= 0 ;
12437 PyObject
* obj5
= 0 ;
12438 PyObject
* obj6
= 0 ;
12439 char * kwnames
[] = {
12440 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12445 if (!SWIG_IsOK(res1
)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12448 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12450 if (!SWIG_IsOK(res2
)) {
12451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12453 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12456 if (!SWIG_IsOK(ecode3
)) {
12457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12459 arg3
= static_cast< int >(val3
);
12464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12474 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12475 if (!SWIG_IsOK(ecode6
)) {
12476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12478 arg6
= static_cast< long >(val6
);
12482 arg7
= wxString_in_helper(obj6
);
12483 if (arg7
== NULL
) SWIG_fail
;
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12510 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12511 PyObject
*resultobj
= 0;
12512 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12513 wxLayoutAlignment result
;
12516 PyObject
*swig_obj
[1] ;
12518 if (!args
) SWIG_fail
;
12519 swig_obj
[0] = args
;
12520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12521 if (!SWIG_IsOK(res1
)) {
12522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12524 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12528 wxPyEndAllowThreads(__tstate
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= SWIG_From_int(static_cast< int >(result
));
12538 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12539 PyObject
*resultobj
= 0;
12540 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12541 wxLayoutOrientation result
;
12544 PyObject
*swig_obj
[1] ;
12546 if (!args
) SWIG_fail
;
12547 swig_obj
[0] = args
;
12548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12549 if (!SWIG_IsOK(res1
)) {
12550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12552 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= SWIG_From_int(static_cast< int >(result
));
12566 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
= 0;
12568 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12569 wxLayoutAlignment arg2
;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 char * kwnames
[] = {
12577 (char *) "self",(char *) "alignment", NULL
12580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12582 if (!SWIG_IsOK(res1
)) {
12583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12585 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12587 if (!SWIG_IsOK(ecode2
)) {
12588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12590 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 (arg1
)->SetAlignment(arg2
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_Py_Void();
12604 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
= 0;
12606 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 char * kwnames
[] = {
12614 (char *) "self",(char *) "size", NULL
12617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12619 if (!SWIG_IsOK(res1
)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12622 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12625 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= SWIG_Py_Void();
12640 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
= 0;
12642 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12643 wxLayoutOrientation arg2
;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 char * kwnames
[] = {
12651 (char *) "self",(char *) "orientation", NULL
12654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12656 if (!SWIG_IsOK(res1
)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12659 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12661 if (!SWIG_IsOK(ecode2
)) {
12662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12664 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->SetOrientation(arg2
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= SWIG_Py_Void();
12678 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12681 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12682 return SWIG_Py_Void();
12685 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12686 return SWIG_Python_InitShadowInstance(args
);
12689 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12690 PyObject
*resultobj
= 0;
12691 wxLayoutAlgorithm
*result
= 0 ;
12693 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12707 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12708 PyObject
*resultobj
= 0;
12709 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12712 PyObject
*swig_obj
[1] ;
12714 if (!args
) SWIG_fail
;
12715 swig_obj
[0] = args
;
12716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12717 if (!SWIG_IsOK(res1
)) {
12718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12720 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= SWIG_Py_Void();
12735 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
= 0;
12737 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12738 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12739 wxRect
*arg3
= (wxRect
*) NULL
;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 PyObject
* obj2
= 0 ;
12750 char * kwnames
[] = {
12751 (char *) "self",(char *) "frame",(char *) "rect", NULL
12754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12756 if (!SWIG_IsOK(res1
)) {
12757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12759 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12761 if (!SWIG_IsOK(res2
)) {
12762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12764 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12766 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12767 if (!SWIG_IsOK(res3
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12770 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12787 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
= 0;
12789 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12790 wxFrame
*arg2
= (wxFrame
*) 0 ;
12791 wxWindow
*arg3
= (wxWindow
*) NULL
;
12799 PyObject
* obj0
= 0 ;
12800 PyObject
* obj1
= 0 ;
12801 PyObject
* obj2
= 0 ;
12802 char * kwnames
[] = {
12803 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12808 if (!SWIG_IsOK(res1
)) {
12809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12811 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12813 if (!SWIG_IsOK(res2
)) {
12814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12816 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12818 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12819 if (!SWIG_IsOK(res3
)) {
12820 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12822 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12839 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
= 0;
12841 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12842 wxWindow
*arg2
= (wxWindow
*) 0 ;
12843 wxWindow
*arg3
= (wxWindow
*) NULL
;
12851 PyObject
* obj0
= 0 ;
12852 PyObject
* obj1
= 0 ;
12853 PyObject
* obj2
= 0 ;
12854 char * kwnames
[] = {
12855 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12860 if (!SWIG_IsOK(res1
)) {
12861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12863 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12865 if (!SWIG_IsOK(res2
)) {
12866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12868 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12870 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12871 if (!SWIG_IsOK(res3
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12874 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12891 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12894 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12895 return SWIG_Py_Void();
12898 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12899 return SWIG_Python_InitShadowInstance(args
);
12902 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
= 0;
12904 wxWindow
*arg1
= (wxWindow
*) 0 ;
12905 int arg2
= (int) wxBORDER_NONE
;
12906 wxPopupWindow
*result
= 0 ;
12911 PyObject
* obj0
= 0 ;
12912 PyObject
* obj1
= 0 ;
12913 char * kwnames
[] = {
12914 (char *) "parent",(char *) "flags", NULL
12917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12919 if (!SWIG_IsOK(res1
)) {
12920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12922 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12925 if (!SWIG_IsOK(ecode2
)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12928 arg2
= static_cast< int >(val2
);
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
12943 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12944 PyObject
*resultobj
= 0;
12945 wxPopupWindow
*result
= 0 ;
12947 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (wxPopupWindow
*)new wxPopupWindow();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12961 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12964 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
12965 return SWIG_Py_Void();
12968 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 return SWIG_Python_InitShadowInstance(args
);
12972 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
= 0;
12974 wxWindow
*arg1
= (wxWindow
*) 0 ;
12975 int arg2
= (int) wxBORDER_NONE
;
12976 wxPyPopupTransientWindow
*result
= 0 ;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 char * kwnames
[] = {
12984 (char *) "parent",(char *) "style", NULL
12987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12989 if (!SWIG_IsOK(res1
)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12992 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12995 if (!SWIG_IsOK(ecode2
)) {
12996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
12998 arg2
= static_cast< int >(val2
);
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13013 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13014 PyObject
*resultobj
= 0;
13015 wxPyPopupTransientWindow
*result
= 0 ;
13017 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13031 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13035 return SWIG_Py_Void();
13038 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13039 return SWIG_Python_InitShadowInstance(args
);
13042 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
= 0;
13044 wxWindow
*arg1
= (wxWindow
*) 0 ;
13045 wxString
*arg2
= 0 ;
13046 int arg3
= (int) 100 ;
13047 wxRect
*arg4
= (wxRect
*) NULL
;
13048 wxTipWindow
*result
= 0 ;
13051 bool temp2
= false ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 PyObject
* obj2
= 0 ;
13059 PyObject
* obj3
= 0 ;
13060 char * kwnames
[] = {
13061 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13066 if (!SWIG_IsOK(res1
)) {
13067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13069 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13071 arg2
= wxString_in_helper(obj1
);
13072 if (arg2
== NULL
) SWIG_fail
;
13076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13077 if (!SWIG_IsOK(ecode3
)) {
13078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13080 arg3
= static_cast< int >(val3
);
13083 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13084 if (!SWIG_IsOK(res4
)) {
13085 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13087 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13090 if (!wxPyCheckForApp()) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13111 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= 0;
13113 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char * kwnames
[] = {
13121 (char *) "self",(char *) "rectBound", NULL
13124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13126 if (!SWIG_IsOK(res1
)) {
13127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13129 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13132 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 resultobj
= SWIG_Py_Void();
13147 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13148 PyObject
*resultobj
= 0;
13149 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13152 PyObject
*swig_obj
[1] ;
13154 if (!args
) SWIG_fail
;
13155 swig_obj
[0] = args
;
13156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13157 if (!SWIG_IsOK(res1
)) {
13158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13160 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_Py_Void();
13174 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13177 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13178 return SWIG_Py_Void();
13181 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13182 return SWIG_Python_InitShadowInstance(args
);
13185 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
= 0;
13187 wxWindow
*arg1
= (wxWindow
*) 0 ;
13188 int arg2
= (int) wxID_ANY
;
13189 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13190 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13191 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13192 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13193 long arg5
= (long) 0 ;
13194 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13195 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13196 wxPyVScrolledWindow
*result
= 0 ;
13205 bool temp6
= false ;
13206 PyObject
* obj0
= 0 ;
13207 PyObject
* obj1
= 0 ;
13208 PyObject
* obj2
= 0 ;
13209 PyObject
* obj3
= 0 ;
13210 PyObject
* obj4
= 0 ;
13211 PyObject
* obj5
= 0 ;
13212 char * kwnames
[] = {
13213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13218 if (!SWIG_IsOK(res1
)) {
13219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13221 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13224 if (!SWIG_IsOK(ecode2
)) {
13225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13227 arg2
= static_cast< int >(val2
);
13232 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13238 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13242 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13243 if (!SWIG_IsOK(ecode5
)) {
13244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13246 arg5
= static_cast< long >(val5
);
13250 arg6
= wxString_in_helper(obj5
);
13251 if (arg6
== NULL
) SWIG_fail
;
13256 if (!wxPyCheckForApp()) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13277 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13278 PyObject
*resultobj
= 0;
13279 wxPyVScrolledWindow
*result
= 0 ;
13281 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13283 if (!wxPyCheckForApp()) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13296 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
= 0;
13298 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13299 PyObject
*arg2
= (PyObject
*) 0 ;
13300 PyObject
*arg3
= (PyObject
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 PyObject
* obj1
= 0 ;
13305 PyObject
* obj2
= 0 ;
13306 char * kwnames
[] = {
13307 (char *) "self",(char *) "self",(char *) "_class", NULL
13310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13312 if (!SWIG_IsOK(res1
)) {
13313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13315 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= SWIG_Py_Void();
13331 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
= 0;
13333 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13334 wxWindow
*arg2
= (wxWindow
*) 0 ;
13335 int arg3
= (int) wxID_ANY
;
13336 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13337 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13338 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13339 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13340 long arg6
= (long) 0 ;
13341 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13342 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13354 bool temp7
= false ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 PyObject
* obj2
= 0 ;
13358 PyObject
* obj3
= 0 ;
13359 PyObject
* obj4
= 0 ;
13360 PyObject
* obj5
= 0 ;
13361 PyObject
* obj6
= 0 ;
13362 char * kwnames
[] = {
13363 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13368 if (!SWIG_IsOK(res1
)) {
13369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13371 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13373 if (!SWIG_IsOK(res2
)) {
13374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13376 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13379 if (!SWIG_IsOK(ecode3
)) {
13380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13382 arg3
= static_cast< int >(val3
);
13387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13397 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13398 if (!SWIG_IsOK(ecode6
)) {
13399 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13401 arg6
= static_cast< long >(val6
);
13405 arg7
= wxString_in_helper(obj6
);
13406 if (arg7
== NULL
) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13433 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
= 0;
13435 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13441 PyObject
* obj0
= 0 ;
13442 PyObject
* obj1
= 0 ;
13443 char * kwnames
[] = {
13444 (char *) "self",(char *) "count", NULL
13447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13449 if (!SWIG_IsOK(res1
)) {
13450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13452 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13453 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13454 if (!SWIG_IsOK(ecode2
)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13457 arg2
= static_cast< size_t >(val2
);
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 (arg1
)->SetLineCount(arg2
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 resultobj
= SWIG_Py_Void();
13471 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
= 0;
13473 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 char * kwnames
[] = {
13483 (char *) "self",(char *) "line", NULL
13486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13488 if (!SWIG_IsOK(res1
)) {
13489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13491 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13492 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13493 if (!SWIG_IsOK(ecode2
)) {
13494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13496 arg2
= static_cast< size_t >(val2
);
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13512 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
= 0;
13514 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 char * kwnames
[] = {
13523 (char *) "self",(char *) "line", NULL
13526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13528 if (!SWIG_IsOK(res1
)) {
13529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13531 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13532 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13533 if (!SWIG_IsOK(ecode2
)) {
13534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13536 arg2
= static_cast< size_t >(val2
);
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 (arg1
)->RefreshLine(arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= SWIG_Py_Void();
13550 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
= 0;
13552 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 PyObject
* obj2
= 0 ;
13564 char * kwnames
[] = {
13565 (char *) "self",(char *) "_from",(char *) "to", NULL
13568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13570 if (!SWIG_IsOK(res1
)) {
13571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13573 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13574 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13575 if (!SWIG_IsOK(ecode2
)) {
13576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13578 arg2
= static_cast< size_t >(val2
);
13579 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13580 if (!SWIG_IsOK(ecode3
)) {
13581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13583 arg3
= static_cast< size_t >(val3
);
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 (arg1
)->RefreshLines(arg2
,arg3
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= SWIG_Py_Void();
13597 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
= 0;
13599 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 PyObject
* obj1
= 0 ;
13611 PyObject
* obj2
= 0 ;
13612 char * kwnames
[] = {
13613 (char *) "self",(char *) "x",(char *) "y", NULL
13616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13618 if (!SWIG_IsOK(res1
)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13621 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13623 if (!SWIG_IsOK(ecode2
)) {
13624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13626 arg2
= static_cast< int >(val2
);
13627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13628 if (!SWIG_IsOK(ecode3
)) {
13629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13631 arg3
= static_cast< int >(val3
);
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_From_int(static_cast< int >(result
));
13645 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
= 0;
13647 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13648 wxPoint
*arg2
= 0 ;
13653 PyObject
* obj0
= 0 ;
13654 PyObject
* obj1
= 0 ;
13655 char * kwnames
[] = {
13656 (char *) "self",(char *) "pt", NULL
13659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13661 if (!SWIG_IsOK(res1
)) {
13662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13664 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= SWIG_From_int(static_cast< int >(result
));
13682 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13683 PyObject
*resultobj
= 0;
13684 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13687 PyObject
*swig_obj
[1] ;
13689 if (!args
) SWIG_fail
;
13690 swig_obj
[0] = args
;
13691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13692 if (!SWIG_IsOK(res1
)) {
13693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13695 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 (arg1
)->RefreshAll();
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= SWIG_Py_Void();
13709 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13710 PyObject
*resultobj
= 0;
13711 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13715 PyObject
*swig_obj
[1] ;
13717 if (!args
) SWIG_fail
;
13718 swig_obj
[0] = args
;
13719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13720 if (!SWIG_IsOK(res1
)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13723 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13737 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13738 PyObject
*resultobj
= 0;
13739 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13743 PyObject
*swig_obj
[1] ;
13745 if (!args
) SWIG_fail
;
13746 swig_obj
[0] = args
;
13747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13748 if (!SWIG_IsOK(res1
)) {
13749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13751 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13765 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13766 PyObject
*resultobj
= 0;
13767 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13771 PyObject
*swig_obj
[1] ;
13773 if (!args
) SWIG_fail
;
13774 swig_obj
[0] = args
;
13775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13776 if (!SWIG_IsOK(res1
)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13779 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13793 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
= 0;
13795 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13802 PyObject
* obj0
= 0 ;
13803 PyObject
* obj1
= 0 ;
13804 char * kwnames
[] = {
13805 (char *) "self",(char *) "line", NULL
13808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13810 if (!SWIG_IsOK(res1
)) {
13811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13813 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13814 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13815 if (!SWIG_IsOK(ecode2
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13818 arg2
= static_cast< size_t >(val2
);
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13834 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13835 PyObject
*resultobj
= 0;
13836 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13840 PyObject
*swig_obj
[1] ;
13842 if (!args
) SWIG_fail
;
13843 swig_obj
[0] = args
;
13844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13845 if (!SWIG_IsOK(res1
)) {
13846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13848 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13851 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13862 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13863 PyObject
*resultobj
= 0;
13864 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13868 PyObject
*swig_obj
[1] ;
13870 if (!args
) SWIG_fail
;
13871 swig_obj
[0] = args
;
13872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13873 if (!SWIG_IsOK(res1
)) {
13874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13876 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13890 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
= 0;
13892 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13894 bool arg3
= (bool) false ;
13902 PyObject
* obj0
= 0 ;
13903 PyObject
* obj1
= 0 ;
13904 PyObject
* obj2
= 0 ;
13905 char * kwnames
[] = {
13906 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13911 if (!SWIG_IsOK(res1
)) {
13912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13914 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13915 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13916 if (!SWIG_IsOK(ecode2
)) {
13917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13919 arg2
= static_cast< size_t >(val2
);
13921 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13922 if (!SWIG_IsOK(ecode3
)) {
13923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
13925 arg3
= static_cast< bool >(val3
);
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13940 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
= 0;
13942 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13952 PyObject
* obj0
= 0 ;
13953 PyObject
* obj1
= 0 ;
13954 PyObject
* obj2
= 0 ;
13955 char * kwnames
[] = {
13956 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
13959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13961 if (!SWIG_IsOK(res1
)) {
13962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13964 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13965 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13966 if (!SWIG_IsOK(ecode2
)) {
13967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
13969 arg2
= static_cast< size_t >(val2
);
13970 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13971 if (!SWIG_IsOK(ecode3
)) {
13972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
13974 arg3
= static_cast< size_t >(val3
);
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= SWIG_From_int(static_cast< int >(result
));
13988 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
13992 return SWIG_Py_Void();
13995 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13996 return SWIG_Python_InitShadowInstance(args
);
13999 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14000 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14005 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14006 PyObject
*pyobj
= 0;
14010 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14012 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14019 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
= 0;
14021 wxWindow
*arg1
= (wxWindow
*) 0 ;
14022 int arg2
= (int) wxID_ANY
;
14023 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14024 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14025 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14026 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14027 long arg5
= (long) 0 ;
14028 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14029 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14030 wxPyVListBox
*result
= 0 ;
14039 bool temp6
= false ;
14040 PyObject
* obj0
= 0 ;
14041 PyObject
* obj1
= 0 ;
14042 PyObject
* obj2
= 0 ;
14043 PyObject
* obj3
= 0 ;
14044 PyObject
* obj4
= 0 ;
14045 PyObject
* obj5
= 0 ;
14046 char * kwnames
[] = {
14047 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14052 if (!SWIG_IsOK(res1
)) {
14053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14055 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14058 if (!SWIG_IsOK(ecode2
)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14061 arg2
= static_cast< int >(val2
);
14066 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14072 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14076 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14077 if (!SWIG_IsOK(ecode5
)) {
14078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14080 arg5
= static_cast< long >(val5
);
14084 arg6
= wxString_in_helper(obj5
);
14085 if (arg6
== NULL
) SWIG_fail
;
14090 if (!wxPyCheckForApp()) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14111 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14112 PyObject
*resultobj
= 0;
14113 wxPyVListBox
*result
= 0 ;
14115 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14117 if (!wxPyCheckForApp()) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (wxPyVListBox
*)new wxPyVListBox();
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14130 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
= 0;
14132 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14133 PyObject
*arg2
= (PyObject
*) 0 ;
14134 PyObject
*arg3
= (PyObject
*) 0 ;
14137 PyObject
* obj0
= 0 ;
14138 PyObject
* obj1
= 0 ;
14139 PyObject
* obj2
= 0 ;
14140 char * kwnames
[] = {
14141 (char *) "self",(char *) "self",(char *) "_class", NULL
14144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14146 if (!SWIG_IsOK(res1
)) {
14147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14149 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= SWIG_Py_Void();
14165 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
= 0;
14167 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14168 wxWindow
*arg2
= (wxWindow
*) 0 ;
14169 int arg3
= (int) wxID_ANY
;
14170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14174 long arg6
= (long) 0 ;
14175 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14176 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14188 bool temp7
= false ;
14189 PyObject
* obj0
= 0 ;
14190 PyObject
* obj1
= 0 ;
14191 PyObject
* obj2
= 0 ;
14192 PyObject
* obj3
= 0 ;
14193 PyObject
* obj4
= 0 ;
14194 PyObject
* obj5
= 0 ;
14195 PyObject
* obj6
= 0 ;
14196 char * kwnames
[] = {
14197 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14202 if (!SWIG_IsOK(res1
)) {
14203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14205 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14207 if (!SWIG_IsOK(res2
)) {
14208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14213 if (!SWIG_IsOK(ecode3
)) {
14214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14216 arg3
= static_cast< int >(val3
);
14221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14227 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14231 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14232 if (!SWIG_IsOK(ecode6
)) {
14233 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14235 arg6
= static_cast< long >(val6
);
14239 arg7
= wxString_in_helper(obj6
);
14240 if (arg7
== NULL
) SWIG_fail
;
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14267 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14268 PyObject
*resultobj
= 0;
14269 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14273 PyObject
*swig_obj
[1] ;
14275 if (!args
) SWIG_fail
;
14276 swig_obj
[0] = args
;
14277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14278 if (!SWIG_IsOK(res1
)) {
14279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14281 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14295 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14296 PyObject
*resultobj
= 0;
14297 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14301 PyObject
*swig_obj
[1] ;
14303 if (!args
) SWIG_fail
;
14304 swig_obj
[0] = args
;
14305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14306 if (!SWIG_IsOK(res1
)) {
14307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14309 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14325 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14326 PyObject
*resultobj
= 0;
14327 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14331 PyObject
*swig_obj
[1] ;
14333 if (!args
) SWIG_fail
;
14334 swig_obj
[0] = args
;
14335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14336 if (!SWIG_IsOK(res1
)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14339 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= SWIG_From_int(static_cast< int >(result
));
14353 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
= 0;
14355 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14362 PyObject
* obj0
= 0 ;
14363 PyObject
* obj1
= 0 ;
14364 char * kwnames
[] = {
14365 (char *) "self",(char *) "item", NULL
14368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14370 if (!SWIG_IsOK(res1
)) {
14371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14373 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14374 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14375 if (!SWIG_IsOK(ecode2
)) {
14376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14378 arg2
= static_cast< size_t >(val2
);
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14394 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= 0;
14396 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14403 PyObject
* obj0
= 0 ;
14404 PyObject
* obj1
= 0 ;
14405 char * kwnames
[] = {
14406 (char *) "self",(char *) "item", NULL
14409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14411 if (!SWIG_IsOK(res1
)) {
14412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14414 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14415 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14416 if (!SWIG_IsOK(ecode2
)) {
14417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14419 arg2
= static_cast< size_t >(val2
);
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14435 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14436 PyObject
*resultobj
= 0;
14437 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14441 PyObject
*swig_obj
[1] ;
14443 if (!args
) SWIG_fail
;
14444 swig_obj
[0] = args
;
14445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14446 if (!SWIG_IsOK(res1
)) {
14447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14449 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14463 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14464 PyObject
*resultobj
= 0;
14465 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14466 PyObject
*result
= 0 ;
14469 PyObject
*swig_obj
[1] ;
14471 if (!args
) SWIG_fail
;
14472 swig_obj
[0] = args
;
14473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14474 if (!SWIG_IsOK(res1
)) {
14475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14477 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 resultobj
= result
;
14491 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
= 0;
14493 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14494 unsigned long arg2
;
14495 PyObject
*result
= 0 ;
14498 unsigned long val2
;
14500 PyObject
* obj0
= 0 ;
14501 PyObject
* obj1
= 0 ;
14502 char * kwnames
[] = {
14503 (char *) "self",(char *) "cookie", NULL
14506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14508 if (!SWIG_IsOK(res1
)) {
14509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14511 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14512 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14513 if (!SWIG_IsOK(ecode2
)) {
14514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14516 arg2
= static_cast< unsigned long >(val2
);
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= result
;
14530 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14531 PyObject
*resultobj
= 0;
14532 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14536 PyObject
*swig_obj
[1] ;
14538 if (!args
) SWIG_fail
;
14539 swig_obj
[0] = args
;
14540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14541 if (!SWIG_IsOK(res1
)) {
14542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14544 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14558 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14559 PyObject
*resultobj
= 0;
14560 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14561 wxColour
*result
= 0 ;
14564 PyObject
*swig_obj
[1] ;
14566 if (!args
) SWIG_fail
;
14567 swig_obj
[0] = args
;
14568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14569 if (!SWIG_IsOK(res1
)) {
14570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14572 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14577 result
= (wxColour
*) &_result_ref
;
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14589 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
= 0;
14591 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14597 PyObject
* obj0
= 0 ;
14598 PyObject
* obj1
= 0 ;
14599 char * kwnames
[] = {
14600 (char *) "self",(char *) "count", NULL
14603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14605 if (!SWIG_IsOK(res1
)) {
14606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14608 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14609 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14610 if (!SWIG_IsOK(ecode2
)) {
14611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14613 arg2
= static_cast< size_t >(val2
);
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 (arg1
)->SetItemCount(arg2
);
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_Py_Void();
14627 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14628 PyObject
*resultobj
= 0;
14629 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14632 PyObject
*swig_obj
[1] ;
14634 if (!args
) SWIG_fail
;
14635 swig_obj
[0] = args
;
14636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14637 if (!SWIG_IsOK(res1
)) {
14638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14640 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= SWIG_Py_Void();
14654 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14655 PyObject
*resultobj
= 0;
14656 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 PyObject
* obj1
= 0 ;
14664 char * kwnames
[] = {
14665 (char *) "self",(char *) "selection", NULL
14668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14670 if (!SWIG_IsOK(res1
)) {
14671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14673 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14675 if (!SWIG_IsOK(ecode2
)) {
14676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14678 arg2
= static_cast< int >(val2
);
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 (arg1
)->SetSelection(arg2
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= SWIG_Py_Void();
14692 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
= 0;
14694 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14696 bool arg3
= (bool) true ;
14704 PyObject
* obj0
= 0 ;
14705 PyObject
* obj1
= 0 ;
14706 PyObject
* obj2
= 0 ;
14707 char * kwnames
[] = {
14708 (char *) "self",(char *) "item",(char *) "select", NULL
14711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14713 if (!SWIG_IsOK(res1
)) {
14714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14716 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14717 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14718 if (!SWIG_IsOK(ecode2
)) {
14719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14721 arg2
= static_cast< size_t >(val2
);
14723 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14724 if (!SWIG_IsOK(ecode3
)) {
14725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14727 arg3
= static_cast< bool >(val3
);
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14744 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
= 0;
14746 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 PyObject
* obj2
= 0 ;
14759 char * kwnames
[] = {
14760 (char *) "self",(char *) "_from",(char *) "to", NULL
14763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14765 if (!SWIG_IsOK(res1
)) {
14766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14768 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14769 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14770 if (!SWIG_IsOK(ecode2
)) {
14771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14773 arg2
= static_cast< size_t >(val2
);
14774 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14775 if (!SWIG_IsOK(ecode3
)) {
14776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14778 arg3
= static_cast< size_t >(val3
);
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14794 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
= 0;
14796 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14802 PyObject
* obj0
= 0 ;
14803 PyObject
* obj1
= 0 ;
14804 char * kwnames
[] = {
14805 (char *) "self",(char *) "item", NULL
14808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14810 if (!SWIG_IsOK(res1
)) {
14811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14813 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14814 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14815 if (!SWIG_IsOK(ecode2
)) {
14816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14818 arg2
= static_cast< size_t >(val2
);
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 (arg1
)->Toggle(arg2
);
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= SWIG_Py_Void();
14832 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14833 PyObject
*resultobj
= 0;
14834 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14838 PyObject
*swig_obj
[1] ;
14840 if (!args
) SWIG_fail
;
14841 swig_obj
[0] = args
;
14842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14843 if (!SWIG_IsOK(res1
)) {
14844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14846 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 result
= (bool)(arg1
)->SelectAll();
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14862 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14863 PyObject
*resultobj
= 0;
14864 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14868 PyObject
*swig_obj
[1] ;
14870 if (!args
) SWIG_fail
;
14871 swig_obj
[0] = args
;
14872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14873 if (!SWIG_IsOK(res1
)) {
14874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14876 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14879 result
= (bool)(arg1
)->DeselectAll();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14892 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
= 0;
14894 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14895 wxPoint
*arg2
= 0 ;
14899 PyObject
* obj0
= 0 ;
14900 PyObject
* obj1
= 0 ;
14901 char * kwnames
[] = {
14902 (char *) "self",(char *) "pt", NULL
14905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14907 if (!SWIG_IsOK(res1
)) {
14908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14910 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_Py_Void();
14928 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
= 0;
14930 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14939 PyObject
* obj0
= 0 ;
14940 PyObject
* obj1
= 0 ;
14941 PyObject
* obj2
= 0 ;
14942 char * kwnames
[] = {
14943 (char *) "self",(char *) "x",(char *) "y", NULL
14946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14948 if (!SWIG_IsOK(res1
)) {
14949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14951 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14953 if (!SWIG_IsOK(ecode2
)) {
14954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
14956 arg2
= static_cast< int >(val2
);
14957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14958 if (!SWIG_IsOK(ecode3
)) {
14959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
14961 arg3
= static_cast< int >(val3
);
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 (arg1
)->SetMargins(arg2
,arg3
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_Py_Void();
14975 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
= 0;
14977 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14978 wxColour
*arg2
= 0 ;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 char * kwnames
[] = {
14985 (char *) "self",(char *) "col", NULL
14988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14990 if (!SWIG_IsOK(res1
)) {
14991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14993 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_Py_Void();
15011 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15014 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15015 return SWIG_Py_Void();
15018 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15019 return SWIG_Python_InitShadowInstance(args
);
15022 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
= 0;
15024 wxWindow
*arg1
= (wxWindow
*) 0 ;
15025 int arg2
= (int) wxID_ANY
;
15026 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15027 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15028 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15029 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15030 long arg5
= (long) 0 ;
15031 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15032 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15033 wxPyHtmlListBox
*result
= 0 ;
15042 bool temp6
= false ;
15043 PyObject
* obj0
= 0 ;
15044 PyObject
* obj1
= 0 ;
15045 PyObject
* obj2
= 0 ;
15046 PyObject
* obj3
= 0 ;
15047 PyObject
* obj4
= 0 ;
15048 PyObject
* obj5
= 0 ;
15049 char * kwnames
[] = {
15050 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15055 if (!SWIG_IsOK(res1
)) {
15056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15058 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15061 if (!SWIG_IsOK(ecode2
)) {
15062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15064 arg2
= static_cast< int >(val2
);
15069 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15075 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15079 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15080 if (!SWIG_IsOK(ecode5
)) {
15081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15083 arg5
= static_cast< long >(val5
);
15087 arg6
= wxString_in_helper(obj5
);
15088 if (arg6
== NULL
) SWIG_fail
;
15093 if (!wxPyCheckForApp()) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15114 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15115 PyObject
*resultobj
= 0;
15116 wxPyHtmlListBox
*result
= 0 ;
15118 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15120 if (!wxPyCheckForApp()) SWIG_fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15133 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
= 0;
15135 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15136 PyObject
*arg2
= (PyObject
*) 0 ;
15137 PyObject
*arg3
= (PyObject
*) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 PyObject
* obj2
= 0 ;
15143 char * kwnames
[] = {
15144 (char *) "self",(char *) "self",(char *) "_class", NULL
15147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15149 if (!SWIG_IsOK(res1
)) {
15150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15152 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= SWIG_Py_Void();
15168 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
= 0;
15170 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15171 wxWindow
*arg2
= (wxWindow
*) 0 ;
15172 int arg3
= (int) wxID_ANY
;
15173 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15174 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15175 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15176 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15177 long arg6
= (long) 0 ;
15178 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15179 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15191 bool temp7
= false ;
15192 PyObject
* obj0
= 0 ;
15193 PyObject
* obj1
= 0 ;
15194 PyObject
* obj2
= 0 ;
15195 PyObject
* obj3
= 0 ;
15196 PyObject
* obj4
= 0 ;
15197 PyObject
* obj5
= 0 ;
15198 PyObject
* obj6
= 0 ;
15199 char * kwnames
[] = {
15200 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15205 if (!SWIG_IsOK(res1
)) {
15206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15208 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15209 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15210 if (!SWIG_IsOK(res2
)) {
15211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15213 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15216 if (!SWIG_IsOK(ecode3
)) {
15217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15219 arg3
= static_cast< int >(val3
);
15224 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15230 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15234 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15235 if (!SWIG_IsOK(ecode6
)) {
15236 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15238 arg6
= static_cast< long >(val6
);
15242 arg7
= wxString_in_helper(obj6
);
15243 if (arg7
== NULL
) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15270 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
= 0;
15272 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15278 PyObject
* obj0
= 0 ;
15279 PyObject
* obj1
= 0 ;
15280 char * kwnames
[] = {
15281 (char *) "self",(char *) "count", NULL
15284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15286 if (!SWIG_IsOK(res1
)) {
15287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15289 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15290 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15291 if (!SWIG_IsOK(ecode2
)) {
15292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15294 arg2
= static_cast< size_t >(val2
);
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 (arg1
)->SetItemCount(arg2
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= SWIG_Py_Void();
15308 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15309 PyObject
*resultobj
= 0;
15310 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15311 wxFileSystem
*result
= 0 ;
15314 PyObject
*swig_obj
[1] ;
15316 if (!args
) SWIG_fail
;
15317 swig_obj
[0] = args
;
15318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15319 if (!SWIG_IsOK(res1
)) {
15320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15322 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15327 result
= (wxFileSystem
*) &_result_ref
;
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15339 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15342 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15343 return SWIG_Py_Void();
15346 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15347 return SWIG_Python_InitShadowInstance(args
);
15350 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15351 PyObject
*resultobj
= 0;
15352 wxPyTaskBarIcon
*result
= 0 ;
15354 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15356 if (!wxPyCheckForApp()) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15369 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15370 PyObject
*resultobj
= 0;
15371 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15374 PyObject
*swig_obj
[1] ;
15376 if (!args
) SWIG_fail
;
15377 swig_obj
[0] = args
;
15378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15379 if (!SWIG_IsOK(res1
)) {
15380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15382 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= SWIG_Py_Void();
15397 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
= 0;
15399 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15400 PyObject
*arg2
= (PyObject
*) 0 ;
15401 PyObject
*arg3
= (PyObject
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 PyObject
* obj2
= 0 ;
15410 PyObject
* obj3
= 0 ;
15411 char * kwnames
[] = {
15412 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15417 if (!SWIG_IsOK(res1
)) {
15418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15420 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15424 if (!SWIG_IsOK(ecode4
)) {
15425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15427 arg4
= static_cast< int >(val4
);
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_Py_Void();
15441 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15442 PyObject
*resultobj
= 0;
15443 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15446 PyObject
*swig_obj
[1] ;
15448 if (!args
) SWIG_fail
;
15449 swig_obj
[0] = args
;
15450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15451 if (!SWIG_IsOK(res1
)) {
15452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15454 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 wxPyTaskBarIcon_Destroy(arg1
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_Py_Void();
15468 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15469 PyObject
*resultobj
= 0;
15470 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15474 PyObject
*swig_obj
[1] ;
15476 if (!args
) SWIG_fail
;
15477 swig_obj
[0] = args
;
15478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15479 if (!SWIG_IsOK(res1
)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15482 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15498 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15499 PyObject
*resultobj
= 0;
15500 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15504 PyObject
*swig_obj
[1] ;
15506 if (!args
) SWIG_fail
;
15507 swig_obj
[0] = args
;
15508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15509 if (!SWIG_IsOK(res1
)) {
15510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15512 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15528 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
= 0;
15530 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15532 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15533 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15539 bool temp3
= false ;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 PyObject
* obj2
= 0 ;
15543 char * kwnames
[] = {
15544 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15549 if (!SWIG_IsOK(res1
)) {
15550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15552 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15554 if (!SWIG_IsOK(res2
)) {
15555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15560 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15563 arg3
= wxString_in_helper(obj2
);
15564 if (arg3
== NULL
) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15591 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15592 PyObject
*resultobj
= 0;
15593 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15597 PyObject
*swig_obj
[1] ;
15599 if (!args
) SWIG_fail
;
15600 swig_obj
[0] = args
;
15601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15602 if (!SWIG_IsOK(res1
)) {
15603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15605 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (bool)(arg1
)->RemoveIcon();
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15621 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
= 0;
15623 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15624 wxMenu
*arg2
= (wxMenu
*) 0 ;
15630 PyObject
* obj0
= 0 ;
15631 PyObject
* obj1
= 0 ;
15632 char * kwnames
[] = {
15633 (char *) "self",(char *) "menu", NULL
15636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15638 if (!SWIG_IsOK(res1
)) {
15639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15641 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15643 if (!SWIG_IsOK(res2
)) {
15644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15646 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (bool)(arg1
)->PopupMenu(arg2
);
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15662 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15665 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15666 return SWIG_Py_Void();
15669 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15670 return SWIG_Python_InitShadowInstance(args
);
15673 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
= 0;
15676 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
15677 wxTaskBarIconEvent
*result
= 0 ;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 char * kwnames
[] = {
15685 (char *) "evtType",(char *) "tbIcon", NULL
15688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15689 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15690 if (!SWIG_IsOK(ecode1
)) {
15691 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15693 arg1
= static_cast< wxEventType
>(val1
);
15694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
15695 if (!SWIG_IsOK(res2
)) {
15696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15698 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
15712 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15715 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
15716 return SWIG_Py_Void();
15719 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15720 return SWIG_Python_InitShadowInstance(args
);
15723 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
15724 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
15729 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
15730 PyObject
*pyobj
= 0;
15734 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15736 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15743 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
15744 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
15749 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
15750 PyObject
*pyobj
= 0;
15754 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15756 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15763 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
15764 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
15769 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
15770 PyObject
*pyobj
= 0;
15774 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
15776 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
15783 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
15784 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
15789 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
15790 PyObject
*pyobj
= 0;
15794 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
15796 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
15803 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
15804 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
15809 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
15810 PyObject
*pyobj
= 0;
15814 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
15816 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
15823 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
15824 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
15829 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
15830 PyObject
*pyobj
= 0;
15834 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
15836 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
15843 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15844 PyObject
*resultobj
= 0;
15845 wxColourData
*result
= 0 ;
15847 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= (wxColourData
*)new wxColourData();
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
15861 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15862 PyObject
*resultobj
= 0;
15863 wxColourData
*arg1
= (wxColourData
*) 0 ;
15866 PyObject
*swig_obj
[1] ;
15868 if (!args
) SWIG_fail
;
15869 swig_obj
[0] = args
;
15870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
15871 if (!SWIG_IsOK(res1
)) {
15872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
15874 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 resultobj
= SWIG_Py_Void();
15889 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15890 PyObject
*resultobj
= 0;
15891 wxColourData
*arg1
= (wxColourData
*) 0 ;
15895 PyObject
*swig_obj
[1] ;
15897 if (!args
) SWIG_fail
;
15898 swig_obj
[0] = args
;
15899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
15900 if (!SWIG_IsOK(res1
)) {
15901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
15903 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (bool)(arg1
)->GetChooseFull();
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15919 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15920 PyObject
*resultobj
= 0;
15921 wxColourData
*arg1
= (wxColourData
*) 0 ;
15925 PyObject
*swig_obj
[1] ;
15927 if (!args
) SWIG_fail
;
15928 swig_obj
[0] = args
;
15929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
15930 if (!SWIG_IsOK(res1
)) {
15931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
15933 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 result
= (arg1
)->GetColour();
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15947 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
= 0;
15949 wxColourData
*arg1
= (wxColourData
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 PyObject
* obj1
= 0 ;
15958 char * kwnames
[] = {
15959 (char *) "self",(char *) "i", NULL
15962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
15964 if (!SWIG_IsOK(res1
)) {
15965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
15967 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
15968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15969 if (!SWIG_IsOK(ecode2
)) {
15970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
15972 arg2
= static_cast< int >(val2
);
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 result
= (arg1
)->GetCustomColour(arg2
);
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15979 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15986 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
= 0;
15988 wxColourData
*arg1
= (wxColourData
*) 0 ;
15994 PyObject
* obj0
= 0 ;
15995 PyObject
* obj1
= 0 ;
15996 char * kwnames
[] = {
15997 (char *) "self",(char *) "flag", NULL
16000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16002 if (!SWIG_IsOK(res1
)) {
16003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16005 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16007 if (!SWIG_IsOK(ecode2
)) {
16008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16010 arg2
= static_cast< int >(val2
);
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 (arg1
)->SetChooseFull(arg2
);
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= SWIG_Py_Void();
16024 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
= 0;
16026 wxColourData
*arg1
= (wxColourData
*) 0 ;
16027 wxColour
*arg2
= 0 ;
16031 PyObject
* obj0
= 0 ;
16032 PyObject
* obj1
= 0 ;
16033 char * kwnames
[] = {
16034 (char *) "self",(char *) "colour", NULL
16037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16039 if (!SWIG_IsOK(res1
)) {
16040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16042 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 (arg1
)->SetColour((wxColour
const &)*arg2
);
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 resultobj
= SWIG_Py_Void();
16060 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
= 0;
16062 wxColourData
*arg1
= (wxColourData
*) 0 ;
16064 wxColour
*arg3
= 0 ;
16070 PyObject
* obj0
= 0 ;
16071 PyObject
* obj1
= 0 ;
16072 PyObject
* obj2
= 0 ;
16073 char * kwnames
[] = {
16074 (char *) "self",(char *) "i",(char *) "colour", NULL
16077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16079 if (!SWIG_IsOK(res1
)) {
16080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16082 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16084 if (!SWIG_IsOK(ecode2
)) {
16085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16087 arg2
= static_cast< int >(val2
);
16090 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= SWIG_Py_Void();
16105 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16108 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16109 return SWIG_Py_Void();
16112 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16113 return SWIG_Python_InitShadowInstance(args
);
16116 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
= 0;
16118 wxWindow
*arg1
= (wxWindow
*) 0 ;
16119 wxColourData
*arg2
= (wxColourData
*) NULL
;
16120 wxColourDialog
*result
= 0 ;
16125 PyObject
* obj0
= 0 ;
16126 PyObject
* obj1
= 0 ;
16127 char * kwnames
[] = {
16128 (char *) "parent",(char *) "data", NULL
16131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16133 if (!SWIG_IsOK(res1
)) {
16134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16136 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16138 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16139 if (!SWIG_IsOK(res2
)) {
16140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16142 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16145 if (!wxPyCheckForApp()) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16158 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16159 PyObject
*resultobj
= 0;
16160 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16161 wxColourData
*result
= 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_wxColourDialog
, 0 | 0 );
16169 if (!SWIG_IsOK(res1
)) {
16170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16172 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16177 result
= (wxColourData
*) &_result_ref
;
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16189 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16192 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16193 return SWIG_Py_Void();
16196 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16197 return SWIG_Python_InitShadowInstance(args
);
16200 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
= 0;
16202 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16203 wxColour
const &arg2_defvalue
= wxNullColour
;
16204 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16205 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16206 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16211 bool temp3
= false ;
16212 PyObject
* obj0
= 0 ;
16213 PyObject
* obj1
= 0 ;
16214 PyObject
* obj2
= 0 ;
16215 char * kwnames
[] = {
16216 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16222 if (!SWIG_IsOK(res1
)) {
16223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16230 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16235 arg3
= wxString_in_helper(obj2
);
16236 if (arg3
== NULL
) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16261 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
= 0;
16263 wxWindow
*arg1
= (wxWindow
*) 0 ;
16264 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16265 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16266 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16267 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16268 long arg4
= (long) 0 ;
16269 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16270 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16271 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16272 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16273 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16274 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16275 wxDirDialog
*result
= 0 ;
16278 bool temp2
= false ;
16279 bool temp3
= false ;
16284 bool temp7
= false ;
16285 PyObject
* obj0
= 0 ;
16286 PyObject
* obj1
= 0 ;
16287 PyObject
* obj2
= 0 ;
16288 PyObject
* obj3
= 0 ;
16289 PyObject
* obj4
= 0 ;
16290 PyObject
* obj5
= 0 ;
16291 PyObject
* obj6
= 0 ;
16292 char * kwnames
[] = {
16293 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16298 if (!SWIG_IsOK(res1
)) {
16299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16301 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16304 arg2
= wxString_in_helper(obj1
);
16305 if (arg2
== NULL
) SWIG_fail
;
16311 arg3
= wxString_in_helper(obj2
);
16312 if (arg3
== NULL
) SWIG_fail
;
16317 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16318 if (!SWIG_IsOK(ecode4
)) {
16319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16321 arg4
= static_cast< long >(val4
);
16326 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16332 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16337 arg7
= wxString_in_helper(obj6
);
16338 if (arg7
== NULL
) SWIG_fail
;
16343 if (!wxPyCheckForApp()) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16380 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16381 PyObject
*resultobj
= 0;
16382 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16386 PyObject
*swig_obj
[1] ;
16388 if (!args
) SWIG_fail
;
16389 swig_obj
[0] = args
;
16390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16391 if (!SWIG_IsOK(res1
)) {
16392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16394 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16397 result
= (arg1
)->GetPath();
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16414 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16415 PyObject
*resultobj
= 0;
16416 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16420 PyObject
*swig_obj
[1] ;
16422 if (!args
) SWIG_fail
;
16423 swig_obj
[0] = args
;
16424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16425 if (!SWIG_IsOK(res1
)) {
16426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16428 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (arg1
)->GetMessage();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16448 SWIGINTERN PyObject
*_wrap_DirDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16449 PyObject
*resultobj
= 0;
16450 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16454 PyObject
*swig_obj
[1] ;
16456 if (!args
) SWIG_fail
;
16457 swig_obj
[0] = args
;
16458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16459 if (!SWIG_IsOK(res1
)) {
16460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16462 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (long)(arg1
)->GetStyle();
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= SWIG_From_long(static_cast< long >(result
));
16476 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
= 0;
16478 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16479 wxString
*arg2
= 0 ;
16482 bool temp2
= false ;
16483 PyObject
* obj0
= 0 ;
16484 PyObject
* obj1
= 0 ;
16485 char * kwnames
[] = {
16486 (char *) "self",(char *) "message", NULL
16489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16491 if (!SWIG_IsOK(res1
)) {
16492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16494 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16496 arg2
= wxString_in_helper(obj1
);
16497 if (arg2
== NULL
) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 (arg1
)->SetMessage((wxString
const &)*arg2
);
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16506 resultobj
= SWIG_Py_Void();
16521 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
= 0;
16523 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16524 wxString
*arg2
= 0 ;
16527 bool temp2
= false ;
16528 PyObject
* obj0
= 0 ;
16529 PyObject
* obj1
= 0 ;
16530 char * kwnames
[] = {
16531 (char *) "self",(char *) "path", NULL
16534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16536 if (!SWIG_IsOK(res1
)) {
16537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16539 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16541 arg2
= wxString_in_helper(obj1
);
16542 if (arg2
== NULL
) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 (arg1
)->SetPath((wxString
const &)*arg2
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= SWIG_Py_Void();
16566 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16569 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16570 return SWIG_Py_Void();
16573 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16574 return SWIG_Python_InitShadowInstance(args
);
16577 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
= 0;
16579 wxWindow
*arg1
= (wxWindow
*) 0 ;
16580 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16581 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16582 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16583 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16584 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16585 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16586 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16587 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16588 long arg6
= (long) 0 ;
16589 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16590 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16591 wxFileDialog
*result
= 0 ;
16594 bool temp2
= false ;
16595 bool temp3
= false ;
16596 bool temp4
= false ;
16597 bool temp5
= false ;
16601 PyObject
* obj0
= 0 ;
16602 PyObject
* obj1
= 0 ;
16603 PyObject
* obj2
= 0 ;
16604 PyObject
* obj3
= 0 ;
16605 PyObject
* obj4
= 0 ;
16606 PyObject
* obj5
= 0 ;
16607 PyObject
* obj6
= 0 ;
16608 char * kwnames
[] = {
16609 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16614 if (!SWIG_IsOK(res1
)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16620 arg2
= wxString_in_helper(obj1
);
16621 if (arg2
== NULL
) SWIG_fail
;
16627 arg3
= wxString_in_helper(obj2
);
16628 if (arg3
== NULL
) SWIG_fail
;
16634 arg4
= wxString_in_helper(obj3
);
16635 if (arg4
== NULL
) SWIG_fail
;
16641 arg5
= wxString_in_helper(obj4
);
16642 if (arg5
== NULL
) SWIG_fail
;
16647 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16648 if (!SWIG_IsOK(ecode6
)) {
16649 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16651 arg6
= static_cast< long >(val6
);
16656 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16660 if (!wxPyCheckForApp()) SWIG_fail
;
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
16705 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
= 0;
16707 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16708 wxString
*arg2
= 0 ;
16711 bool temp2
= false ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 char * kwnames
[] = {
16715 (char *) "self",(char *) "message", NULL
16718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16720 if (!SWIG_IsOK(res1
)) {
16721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16723 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16725 arg2
= wxString_in_helper(obj1
);
16726 if (arg2
== NULL
) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 (arg1
)->SetMessage((wxString
const &)*arg2
);
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= SWIG_Py_Void();
16750 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
= 0;
16752 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16753 wxString
*arg2
= 0 ;
16756 bool temp2
= false ;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 char * kwnames
[] = {
16760 (char *) "self",(char *) "path", NULL
16763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16765 if (!SWIG_IsOK(res1
)) {
16766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16768 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16770 arg2
= wxString_in_helper(obj1
);
16771 if (arg2
== NULL
) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 (arg1
)->SetPath((wxString
const &)*arg2
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= SWIG_Py_Void();
16795 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
= 0;
16797 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16798 wxString
*arg2
= 0 ;
16801 bool temp2
= false ;
16802 PyObject
* obj0
= 0 ;
16803 PyObject
* obj1
= 0 ;
16804 char * kwnames
[] = {
16805 (char *) "self",(char *) "dir", NULL
16808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16810 if (!SWIG_IsOK(res1
)) {
16811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16813 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16815 arg2
= wxString_in_helper(obj1
);
16816 if (arg2
== NULL
) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 (arg1
)->SetDirectory((wxString
const &)*arg2
);
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_Py_Void();
16840 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
= 0;
16842 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16843 wxString
*arg2
= 0 ;
16846 bool temp2
= false ;
16847 PyObject
* obj0
= 0 ;
16848 PyObject
* obj1
= 0 ;
16849 char * kwnames
[] = {
16850 (char *) "self",(char *) "name", NULL
16853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16855 if (!SWIG_IsOK(res1
)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16858 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16860 arg2
= wxString_in_helper(obj1
);
16861 if (arg2
== NULL
) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 (arg1
)->SetFilename((wxString
const &)*arg2
);
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= SWIG_Py_Void();
16885 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
= 0;
16887 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16888 wxString
*arg2
= 0 ;
16891 bool temp2
= false ;
16892 PyObject
* obj0
= 0 ;
16893 PyObject
* obj1
= 0 ;
16894 char * kwnames
[] = {
16895 (char *) "self",(char *) "wildCard", NULL
16898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16900 if (!SWIG_IsOK(res1
)) {
16901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16903 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16905 arg2
= wxString_in_helper(obj1
);
16906 if (arg2
== NULL
) SWIG_fail
;
16910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16911 (arg1
)->SetWildcard((wxString
const &)*arg2
);
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16915 resultobj
= SWIG_Py_Void();
16930 SWIGINTERN PyObject
*_wrap_FileDialog_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
= 0;
16932 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 PyObject
* obj1
= 0 ;
16940 char * kwnames
[] = {
16941 (char *) "self",(char *) "style", NULL
16944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16946 if (!SWIG_IsOK(res1
)) {
16947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16949 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16950 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16951 if (!SWIG_IsOK(ecode2
)) {
16952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
16954 arg2
= static_cast< long >(val2
);
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 (arg1
)->SetStyle(arg2
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_Py_Void();
16968 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
= 0;
16970 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 PyObject
* obj1
= 0 ;
16978 char * kwnames
[] = {
16979 (char *) "self",(char *) "filterIndex", NULL
16982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16984 if (!SWIG_IsOK(res1
)) {
16985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16987 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16989 if (!SWIG_IsOK(ecode2
)) {
16990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
16992 arg2
= static_cast< int >(val2
);
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 (arg1
)->SetFilterIndex(arg2
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= SWIG_Py_Void();
17006 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17007 PyObject
*resultobj
= 0;
17008 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17012 PyObject
*swig_obj
[1] ;
17014 if (!args
) SWIG_fail
;
17015 swig_obj
[0] = args
;
17016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17017 if (!SWIG_IsOK(res1
)) {
17018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17020 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17040 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17041 PyObject
*resultobj
= 0;
17042 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17046 PyObject
*swig_obj
[1] ;
17048 if (!args
) SWIG_fail
;
17049 swig_obj
[0] = args
;
17050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17051 if (!SWIG_IsOK(res1
)) {
17052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17054 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17058 wxPyEndAllowThreads(__tstate
);
17059 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17074 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17075 PyObject
*resultobj
= 0;
17076 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17080 PyObject
*swig_obj
[1] ;
17082 if (!args
) SWIG_fail
;
17083 swig_obj
[0] = args
;
17084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17085 if (!SWIG_IsOK(res1
)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17088 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17108 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17109 PyObject
*resultobj
= 0;
17110 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17114 PyObject
*swig_obj
[1] ;
17116 if (!args
) SWIG_fail
;
17117 swig_obj
[0] = args
;
17118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17119 if (!SWIG_IsOK(res1
)) {
17120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17122 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17142 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17143 PyObject
*resultobj
= 0;
17144 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17148 PyObject
*swig_obj
[1] ;
17150 if (!args
) SWIG_fail
;
17151 swig_obj
[0] = args
;
17152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17153 if (!SWIG_IsOK(res1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17156 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17176 SWIGINTERN PyObject
*_wrap_FileDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17177 PyObject
*resultobj
= 0;
17178 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17182 PyObject
*swig_obj
[1] ;
17184 if (!args
) SWIG_fail
;
17185 swig_obj
[0] = args
;
17186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17187 if (!SWIG_IsOK(res1
)) {
17188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17190 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= SWIG_From_long(static_cast< long >(result
));
17204 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17205 PyObject
*resultobj
= 0;
17206 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17210 PyObject
*swig_obj
[1] ;
17212 if (!args
) SWIG_fail
;
17213 swig_obj
[0] = args
;
17214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17215 if (!SWIG_IsOK(res1
)) {
17216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17218 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_From_int(static_cast< int >(result
));
17232 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17233 PyObject
*resultobj
= 0;
17234 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17235 PyObject
*result
= 0 ;
17238 PyObject
*swig_obj
[1] ;
17240 if (!args
) SWIG_fail
;
17241 swig_obj
[0] = args
;
17242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17243 if (!SWIG_IsOK(res1
)) {
17244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17246 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= result
;
17260 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17261 PyObject
*resultobj
= 0;
17262 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17263 PyObject
*result
= 0 ;
17266 PyObject
*swig_obj
[1] ;
17268 if (!args
) SWIG_fail
;
17269 swig_obj
[0] = args
;
17270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17271 if (!SWIG_IsOK(res1
)) {
17272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17274 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= result
;
17288 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17291 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17292 return SWIG_Py_Void();
17295 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17296 return SWIG_Python_InitShadowInstance(args
);
17299 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
= 0;
17301 wxWindow
*arg1
= (wxWindow
*) 0 ;
17302 wxString
*arg2
= 0 ;
17303 wxString
*arg3
= 0 ;
17304 int arg4
= (int) 0 ;
17305 wxString
*arg5
= (wxString
*) NULL
;
17306 long arg6
= (long) wxCHOICEDLG_STYLE
;
17307 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17308 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17309 wxMultiChoiceDialog
*result
= 0 ;
17312 bool temp2
= false ;
17313 bool temp3
= false ;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 PyObject
* obj2
= 0 ;
17320 PyObject
* obj3
= 0 ;
17321 PyObject
* obj4
= 0 ;
17322 PyObject
* obj5
= 0 ;
17323 char * kwnames
[] = {
17324 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17329 if (!SWIG_IsOK(res1
)) {
17330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17332 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17334 arg2
= wxString_in_helper(obj1
);
17335 if (arg2
== NULL
) SWIG_fail
;
17339 arg3
= wxString_in_helper(obj2
);
17340 if (arg3
== NULL
) SWIG_fail
;
17345 arg4
= PyList_Size(obj3
);
17346 arg5
= wxString_LIST_helper(obj3
);
17347 if (arg5
== NULL
) SWIG_fail
;
17351 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17352 if (!SWIG_IsOK(ecode6
)) {
17353 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17355 arg6
= static_cast< long >(val6
);
17360 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17364 if (!wxPyCheckForApp()) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17380 if (arg5
) delete [] arg5
;
17393 if (arg5
) delete [] arg5
;
17399 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
= 0;
17401 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17402 wxArrayInt
*arg2
= 0 ;
17405 bool temp2
= false ;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 char * kwnames
[] = {
17409 (char *) "self",(char *) "selections", NULL
17412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17414 if (!SWIG_IsOK(res1
)) {
17415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17417 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17419 if (! PySequence_Check(obj1
)) {
17420 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17423 arg2
= new wxArrayInt
;
17425 int i
, len
=PySequence_Length(obj1
);
17426 for (i
=0; i
<len
; i
++) {
17427 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17428 PyObject
* number
= PyNumber_Int(item
);
17429 arg2
->Add(PyInt_AS_LONG(number
));
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= SWIG_Py_Void();
17442 if (temp2
) delete arg2
;
17447 if (temp2
) delete arg2
;
17453 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17454 PyObject
*resultobj
= 0;
17455 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17456 PyObject
*result
= 0 ;
17459 PyObject
*swig_obj
[1] ;
17461 if (!args
) SWIG_fail
;
17462 swig_obj
[0] = args
;
17463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17464 if (!SWIG_IsOK(res1
)) {
17465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17467 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= result
;
17481 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17484 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17485 return SWIG_Py_Void();
17488 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17489 return SWIG_Python_InitShadowInstance(args
);
17492 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
= 0;
17494 wxWindow
*arg1
= (wxWindow
*) 0 ;
17495 wxString
*arg2
= 0 ;
17496 wxString
*arg3
= 0 ;
17498 wxString
*arg5
= (wxString
*) 0 ;
17499 long arg6
= (long) wxCHOICEDLG_STYLE
;
17500 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17501 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17502 wxSingleChoiceDialog
*result
= 0 ;
17505 bool temp2
= false ;
17506 bool temp3
= false ;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 PyObject
* obj2
= 0 ;
17513 PyObject
* obj3
= 0 ;
17514 PyObject
* obj4
= 0 ;
17515 PyObject
* obj5
= 0 ;
17516 char * kwnames
[] = {
17517 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17522 if (!SWIG_IsOK(res1
)) {
17523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17525 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17527 arg2
= wxString_in_helper(obj1
);
17528 if (arg2
== NULL
) SWIG_fail
;
17532 arg3
= wxString_in_helper(obj2
);
17533 if (arg3
== NULL
) SWIG_fail
;
17537 arg4
= PyList_Size(obj3
);
17538 arg5
= wxString_LIST_helper(obj3
);
17539 if (arg5
== NULL
) SWIG_fail
;
17542 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17543 if (!SWIG_IsOK(ecode6
)) {
17544 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17546 arg6
= static_cast< long >(val6
);
17551 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17555 if (!wxPyCheckForApp()) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17571 if (arg5
) delete [] arg5
;
17584 if (arg5
) delete [] arg5
;
17590 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17591 PyObject
*resultobj
= 0;
17592 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17596 PyObject
*swig_obj
[1] ;
17598 if (!args
) SWIG_fail
;
17599 swig_obj
[0] = args
;
17600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17601 if (!SWIG_IsOK(res1
)) {
17602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17604 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (int)(arg1
)->GetSelection();
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17611 resultobj
= SWIG_From_int(static_cast< int >(result
));
17618 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17619 PyObject
*resultobj
= 0;
17620 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17624 PyObject
*swig_obj
[1] ;
17626 if (!args
) SWIG_fail
;
17627 swig_obj
[0] = args
;
17628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17629 if (!SWIG_IsOK(res1
)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17632 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (arg1
)->GetStringSelection();
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17652 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
= 0;
17654 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 char * kwnames
[] = {
17663 (char *) "self",(char *) "sel", NULL
17666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17668 if (!SWIG_IsOK(res1
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17671 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17673 if (!SWIG_IsOK(ecode2
)) {
17674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17676 arg2
= static_cast< int >(val2
);
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 (arg1
)->SetSelection(arg2
);
17680 wxPyEndAllowThreads(__tstate
);
17681 if (PyErr_Occurred()) SWIG_fail
;
17683 resultobj
= SWIG_Py_Void();
17690 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17693 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17694 return SWIG_Py_Void();
17697 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17698 return SWIG_Python_InitShadowInstance(args
);
17701 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
= 0;
17703 wxWindow
*arg1
= (wxWindow
*) 0 ;
17704 wxString
*arg2
= 0 ;
17705 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17706 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17707 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17708 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17709 long arg5
= (long) wxTextEntryDialogStyle
;
17710 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17711 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17712 wxTextEntryDialog
*result
= 0 ;
17715 bool temp2
= false ;
17716 bool temp3
= false ;
17717 bool temp4
= false ;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 PyObject
* obj2
= 0 ;
17724 PyObject
* obj3
= 0 ;
17725 PyObject
* obj4
= 0 ;
17726 PyObject
* obj5
= 0 ;
17727 char * kwnames
[] = {
17728 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17733 if (!SWIG_IsOK(res1
)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17736 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17738 arg2
= wxString_in_helper(obj1
);
17739 if (arg2
== NULL
) SWIG_fail
;
17744 arg3
= wxString_in_helper(obj2
);
17745 if (arg3
== NULL
) SWIG_fail
;
17751 arg4
= wxString_in_helper(obj3
);
17752 if (arg4
== NULL
) SWIG_fail
;
17757 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17758 if (!SWIG_IsOK(ecode5
)) {
17759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17761 arg5
= static_cast< long >(val5
);
17766 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17770 if (!wxPyCheckForApp()) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
17807 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17808 PyObject
*resultobj
= 0;
17809 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17813 PyObject
*swig_obj
[1] ;
17815 if (!args
) SWIG_fail
;
17816 swig_obj
[0] = args
;
17817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
17818 if (!SWIG_IsOK(res1
)) {
17819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17821 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 result
= (arg1
)->GetValue();
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17841 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
= 0;
17843 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17844 wxString
*arg2
= 0 ;
17847 bool temp2
= false ;
17848 PyObject
* obj0
= 0 ;
17849 PyObject
* obj1
= 0 ;
17850 char * kwnames
[] = {
17851 (char *) "self",(char *) "value", NULL
17854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
17856 if (!SWIG_IsOK(res1
)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17859 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
17861 arg2
= wxString_in_helper(obj1
);
17862 if (arg2
== NULL
) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 (arg1
)->SetValue((wxString
const &)*arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_Py_Void();
17886 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17889 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
17890 return SWIG_Py_Void();
17893 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17894 return SWIG_Python_InitShadowInstance(args
);
17897 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
17898 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
17903 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
17904 PyObject
*pyobj
= 0;
17908 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
17910 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
17917 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
= 0;
17919 wxWindow
*arg1
= (wxWindow
*) 0 ;
17920 wxString
*arg2
= 0 ;
17921 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
17922 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17923 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17924 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17925 long arg5
= (long) wxTextEntryDialogStyle
;
17926 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17927 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17928 wxPasswordEntryDialog
*result
= 0 ;
17931 bool temp2
= false ;
17932 bool temp3
= false ;
17933 bool temp4
= false ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 PyObject
* obj2
= 0 ;
17940 PyObject
* obj3
= 0 ;
17941 PyObject
* obj4
= 0 ;
17942 PyObject
* obj5
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17952 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17954 arg2
= wxString_in_helper(obj1
);
17955 if (arg2
== NULL
) SWIG_fail
;
17960 arg3
= wxString_in_helper(obj2
);
17961 if (arg3
== NULL
) SWIG_fail
;
17967 arg4
= wxString_in_helper(obj3
);
17968 if (arg4
== NULL
) SWIG_fail
;
17973 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17974 if (!SWIG_IsOK(ecode5
)) {
17975 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
17977 arg5
= static_cast< long >(val5
);
17982 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18022 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18025 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18026 return SWIG_Py_Void();
18029 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18030 return SWIG_Python_InitShadowInstance(args
);
18033 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18034 PyObject
*resultobj
= 0;
18035 wxFontData
*result
= 0 ;
18037 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= (wxFontData
*)new wxFontData();
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18051 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18052 PyObject
*resultobj
= 0;
18053 wxFontData
*arg1
= (wxFontData
*) 0 ;
18056 PyObject
*swig_obj
[1] ;
18058 if (!args
) SWIG_fail
;
18059 swig_obj
[0] = args
;
18060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18061 if (!SWIG_IsOK(res1
)) {
18062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18064 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= SWIG_Py_Void();
18079 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
= 0;
18081 wxFontData
*arg1
= (wxFontData
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char * kwnames
[] = {
18090 (char *) "self",(char *) "enable", NULL
18093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18095 if (!SWIG_IsOK(res1
)) {
18096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18098 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18099 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18100 if (!SWIG_IsOK(ecode2
)) {
18101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18103 arg2
= static_cast< bool >(val2
);
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 (arg1
)->EnableEffects(arg2
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_Py_Void();
18117 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18118 PyObject
*resultobj
= 0;
18119 wxFontData
*arg1
= (wxFontData
*) 0 ;
18123 PyObject
*swig_obj
[1] ;
18125 if (!args
) SWIG_fail
;
18126 swig_obj
[0] = args
;
18127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18128 if (!SWIG_IsOK(res1
)) {
18129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18131 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (bool)(arg1
)->GetAllowSymbols();
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18147 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18148 PyObject
*resultobj
= 0;
18149 wxFontData
*arg1
= (wxFontData
*) 0 ;
18153 PyObject
*swig_obj
[1] ;
18155 if (!args
) SWIG_fail
;
18156 swig_obj
[0] = args
;
18157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18158 if (!SWIG_IsOK(res1
)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18161 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (arg1
)->GetColour();
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18175 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18176 PyObject
*resultobj
= 0;
18177 wxFontData
*arg1
= (wxFontData
*) 0 ;
18181 PyObject
*swig_obj
[1] ;
18183 if (!args
) SWIG_fail
;
18184 swig_obj
[0] = args
;
18185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18186 if (!SWIG_IsOK(res1
)) {
18187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18189 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (arg1
)->GetChosenFont();
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18203 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18204 PyObject
*resultobj
= 0;
18205 wxFontData
*arg1
= (wxFontData
*) 0 ;
18209 PyObject
*swig_obj
[1] ;
18211 if (!args
) SWIG_fail
;
18212 swig_obj
[0] = args
;
18213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18214 if (!SWIG_IsOK(res1
)) {
18215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18217 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 result
= (bool)(arg1
)->GetEnableEffects();
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18233 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18234 PyObject
*resultobj
= 0;
18235 wxFontData
*arg1
= (wxFontData
*) 0 ;
18239 PyObject
*swig_obj
[1] ;
18241 if (!args
) SWIG_fail
;
18242 swig_obj
[0] = args
;
18243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18244 if (!SWIG_IsOK(res1
)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18247 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (arg1
)->GetInitialFont();
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18261 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18262 PyObject
*resultobj
= 0;
18263 wxFontData
*arg1
= (wxFontData
*) 0 ;
18267 PyObject
*swig_obj
[1] ;
18269 if (!args
) SWIG_fail
;
18270 swig_obj
[0] = args
;
18271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18272 if (!SWIG_IsOK(res1
)) {
18273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18275 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 result
= (bool)(arg1
)->GetShowHelp();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18291 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
= 0;
18293 wxFontData
*arg1
= (wxFontData
*) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 char * kwnames
[] = {
18302 (char *) "self",(char *) "allowSymbols", NULL
18305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18307 if (!SWIG_IsOK(res1
)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18310 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18311 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18312 if (!SWIG_IsOK(ecode2
)) {
18313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18315 arg2
= static_cast< bool >(val2
);
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 (arg1
)->SetAllowSymbols(arg2
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 resultobj
= SWIG_Py_Void();
18329 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
= 0;
18331 wxFontData
*arg1
= (wxFontData
*) 0 ;
18337 PyObject
* obj0
= 0 ;
18338 PyObject
* obj1
= 0 ;
18339 char * kwnames
[] = {
18340 (char *) "self",(char *) "font", NULL
18343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18345 if (!SWIG_IsOK(res1
)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18348 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18350 if (!SWIG_IsOK(res2
)) {
18351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18356 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 resultobj
= SWIG_Py_Void();
18370 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
= 0;
18372 wxFontData
*arg1
= (wxFontData
*) 0 ;
18373 wxColour
*arg2
= 0 ;
18377 PyObject
* obj0
= 0 ;
18378 PyObject
* obj1
= 0 ;
18379 char * kwnames
[] = {
18380 (char *) "self",(char *) "colour", NULL
18383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18385 if (!SWIG_IsOK(res1
)) {
18386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18388 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18391 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 (arg1
)->SetColour((wxColour
const &)*arg2
);
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= SWIG_Py_Void();
18406 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
= 0;
18408 wxFontData
*arg1
= (wxFontData
*) 0 ;
18414 PyObject
* obj0
= 0 ;
18415 PyObject
* obj1
= 0 ;
18416 char * kwnames
[] = {
18417 (char *) "self",(char *) "font", NULL
18420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18422 if (!SWIG_IsOK(res1
)) {
18423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18425 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18426 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18427 if (!SWIG_IsOK(res2
)) {
18428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18433 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= SWIG_Py_Void();
18447 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18448 PyObject
*resultobj
= 0;
18449 wxFontData
*arg1
= (wxFontData
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 PyObject
* obj2
= 0 ;
18461 char * kwnames
[] = {
18462 (char *) "self",(char *) "min",(char *) "max", NULL
18465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18467 if (!SWIG_IsOK(res1
)) {
18468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18470 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18472 if (!SWIG_IsOK(ecode2
)) {
18473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18475 arg2
= static_cast< int >(val2
);
18476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18477 if (!SWIG_IsOK(ecode3
)) {
18478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18480 arg3
= static_cast< int >(val3
);
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 (arg1
)->SetRange(arg2
,arg3
);
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= SWIG_Py_Void();
18494 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
= 0;
18496 wxFontData
*arg1
= (wxFontData
*) 0 ;
18502 PyObject
* obj0
= 0 ;
18503 PyObject
* obj1
= 0 ;
18504 char * kwnames
[] = {
18505 (char *) "self",(char *) "showHelp", NULL
18508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18510 if (!SWIG_IsOK(res1
)) {
18511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18513 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18514 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18515 if (!SWIG_IsOK(ecode2
)) {
18516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18518 arg2
= static_cast< bool >(val2
);
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 (arg1
)->SetShowHelp(arg2
);
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18525 resultobj
= SWIG_Py_Void();
18532 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18534 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18535 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18536 return SWIG_Py_Void();
18539 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18540 return SWIG_Python_InitShadowInstance(args
);
18543 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
= 0;
18545 wxWindow
*arg1
= (wxWindow
*) 0 ;
18546 wxFontData
*arg2
= 0 ;
18547 wxFontDialog
*result
= 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char * kwnames
[] = {
18555 (char *) "parent",(char *) "data", NULL
18558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18560 if (!SWIG_IsOK(res1
)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18565 if (!SWIG_IsOK(res2
)) {
18566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18571 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18573 if (!wxPyCheckForApp()) SWIG_fail
;
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18586 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18587 PyObject
*resultobj
= 0;
18588 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18589 wxFontData
*result
= 0 ;
18592 PyObject
*swig_obj
[1] ;
18594 if (!args
) SWIG_fail
;
18595 swig_obj
[0] = args
;
18596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18597 if (!SWIG_IsOK(res1
)) {
18598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18600 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18605 result
= (wxFontData
*) &_result_ref
;
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18617 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18620 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18621 return SWIG_Py_Void();
18624 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18625 return SWIG_Python_InitShadowInstance(args
);
18628 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
= 0;
18630 wxWindow
*arg1
= (wxWindow
*) NULL
;
18631 wxFont
const &arg2_defvalue
= wxNullFont
;
18632 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18633 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18634 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18640 bool temp3
= false ;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 PyObject
* obj2
= 0 ;
18644 char * kwnames
[] = {
18645 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18651 if (!SWIG_IsOK(res1
)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18654 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18658 if (!SWIG_IsOK(res2
)) {
18659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18664 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18668 arg3
= wxString_in_helper(obj2
);
18669 if (arg3
== NULL
) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18694 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
= 0;
18696 wxWindow
*arg1
= (wxWindow
*) 0 ;
18697 wxString
*arg2
= 0 ;
18698 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18699 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18700 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18701 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18702 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18703 wxMessageDialog
*result
= 0 ;
18706 bool temp2
= false ;
18707 bool temp3
= false ;
18711 PyObject
* obj0
= 0 ;
18712 PyObject
* obj1
= 0 ;
18713 PyObject
* obj2
= 0 ;
18714 PyObject
* obj3
= 0 ;
18715 PyObject
* obj4
= 0 ;
18716 char * kwnames
[] = {
18717 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18722 if (!SWIG_IsOK(res1
)) {
18723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18725 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18727 arg2
= wxString_in_helper(obj1
);
18728 if (arg2
== NULL
) SWIG_fail
;
18733 arg3
= wxString_in_helper(obj2
);
18734 if (arg3
== NULL
) SWIG_fail
;
18739 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
18740 if (!SWIG_IsOK(ecode4
)) {
18741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18743 arg4
= static_cast< long >(val4
);
18748 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18752 if (!wxPyCheckForApp()) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
18781 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18784 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
18785 return SWIG_Py_Void();
18788 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18789 return SWIG_Python_InitShadowInstance(args
);
18792 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
= 0;
18794 wxString
*arg1
= 0 ;
18795 wxString
*arg2
= 0 ;
18796 int arg3
= (int) 100 ;
18797 wxWindow
*arg4
= (wxWindow
*) NULL
;
18798 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
18799 wxProgressDialog
*result
= 0 ;
18800 bool temp1
= false ;
18801 bool temp2
= false ;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 PyObject
* obj2
= 0 ;
18811 PyObject
* obj3
= 0 ;
18812 PyObject
* obj4
= 0 ;
18813 char * kwnames
[] = {
18814 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
18817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18819 arg1
= wxString_in_helper(obj0
);
18820 if (arg1
== NULL
) SWIG_fail
;
18824 arg2
= wxString_in_helper(obj1
);
18825 if (arg2
== NULL
) SWIG_fail
;
18829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18830 if (!SWIG_IsOK(ecode3
)) {
18831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
18833 arg3
= static_cast< int >(val3
);
18836 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18837 if (!SWIG_IsOK(res4
)) {
18838 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
18840 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
18843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18844 if (!SWIG_IsOK(ecode5
)) {
18845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
18847 arg5
= static_cast< int >(val5
);
18850 if (!wxPyCheckForApp()) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
18879 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
= 0;
18881 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
18883 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18884 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18890 bool temp3
= false ;
18891 PyObject
* obj0
= 0 ;
18892 PyObject
* obj1
= 0 ;
18893 PyObject
* obj2
= 0 ;
18894 char * kwnames
[] = {
18895 (char *) "self",(char *) "value",(char *) "newmsg", NULL
18898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
18900 if (!SWIG_IsOK(res1
)) {
18901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
18903 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
18904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18905 if (!SWIG_IsOK(ecode2
)) {
18906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
18908 arg2
= static_cast< int >(val2
);
18911 arg3
= wxString_in_helper(obj2
);
18912 if (arg3
== NULL
) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18939 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18940 PyObject
*resultobj
= 0;
18941 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
18944 PyObject
*swig_obj
[1] ;
18946 if (!args
) SWIG_fail
;
18947 swig_obj
[0] = args
;
18948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
18949 if (!SWIG_IsOK(res1
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
18952 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_Py_Void();
18966 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18969 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
18970 return SWIG_Py_Void();
18973 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18974 return SWIG_Python_InitShadowInstance(args
);
18977 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
= 0;
18979 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18980 int arg2
= (int) 0 ;
18981 wxFindDialogEvent
*result
= 0 ;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 char * kwnames
[] = {
18989 (char *) "commandType",(char *) "id", NULL
18992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18995 if (!SWIG_IsOK(ecode1
)) {
18996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18998 arg1
= static_cast< wxEventType
>(val1
);
19001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19002 if (!SWIG_IsOK(ecode2
)) {
19003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19005 arg2
= static_cast< int >(val2
);
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19020 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19021 PyObject
*resultobj
= 0;
19022 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19026 PyObject
*swig_obj
[1] ;
19028 if (!args
) SWIG_fail
;
19029 swig_obj
[0] = args
;
19030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19031 if (!SWIG_IsOK(res1
)) {
19032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19034 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 result
= (int)(arg1
)->GetFlags();
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 resultobj
= SWIG_From_int(static_cast< int >(result
));
19048 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19049 PyObject
*resultobj
= 0;
19050 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19051 wxString
*result
= 0 ;
19054 PyObject
*swig_obj
[1] ;
19056 if (!args
) SWIG_fail
;
19057 swig_obj
[0] = args
;
19058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19059 if (!SWIG_IsOK(res1
)) {
19060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19062 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 wxString
const &_result_ref
= (arg1
)->GetFindString();
19067 result
= (wxString
*) &_result_ref
;
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19076 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19085 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19086 PyObject
*resultobj
= 0;
19087 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19088 wxString
*result
= 0 ;
19091 PyObject
*swig_obj
[1] ;
19093 if (!args
) SWIG_fail
;
19094 swig_obj
[0] = args
;
19095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19096 if (!SWIG_IsOK(res1
)) {
19097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19099 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19104 result
= (wxString
*) &_result_ref
;
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19111 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19113 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19122 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19123 PyObject
*resultobj
= 0;
19124 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19125 wxFindReplaceDialog
*result
= 0 ;
19128 PyObject
*swig_obj
[1] ;
19130 if (!args
) SWIG_fail
;
19131 swig_obj
[0] = args
;
19132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19133 if (!SWIG_IsOK(res1
)) {
19134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19136 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19150 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19151 PyObject
*resultobj
= 0;
19152 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 PyObject
* obj1
= 0 ;
19160 char * kwnames
[] = {
19161 (char *) "self",(char *) "flags", NULL
19164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19166 if (!SWIG_IsOK(res1
)) {
19167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19169 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19171 if (!SWIG_IsOK(ecode2
)) {
19172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19174 arg2
= static_cast< int >(val2
);
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 (arg1
)->SetFlags(arg2
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 resultobj
= SWIG_Py_Void();
19188 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
= 0;
19190 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19191 wxString
*arg2
= 0 ;
19194 bool temp2
= false ;
19195 PyObject
* obj0
= 0 ;
19196 PyObject
* obj1
= 0 ;
19197 char * kwnames
[] = {
19198 (char *) "self",(char *) "str", NULL
19201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19203 if (!SWIG_IsOK(res1
)) {
19204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19206 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19208 arg2
= wxString_in_helper(obj1
);
19209 if (arg2
== NULL
) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 (arg1
)->SetFindString((wxString
const &)*arg2
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= SWIG_Py_Void();
19233 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
= 0;
19235 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19236 wxString
*arg2
= 0 ;
19239 bool temp2
= false ;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 char * kwnames
[] = {
19243 (char *) "self",(char *) "str", NULL
19246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19248 if (!SWIG_IsOK(res1
)) {
19249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19251 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19253 arg2
= wxString_in_helper(obj1
);
19254 if (arg2
== NULL
) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19263 resultobj
= SWIG_Py_Void();
19278 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19281 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19282 return SWIG_Py_Void();
19285 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19286 return SWIG_Python_InitShadowInstance(args
);
19289 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
= 0;
19291 int arg1
= (int) 0 ;
19292 wxFindReplaceData
*result
= 0 ;
19295 PyObject
* obj0
= 0 ;
19296 char * kwnames
[] = {
19297 (char *) "flags", NULL
19300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19302 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19303 if (!SWIG_IsOK(ecode1
)) {
19304 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19306 arg1
= static_cast< int >(val1
);
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19321 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19322 PyObject
*resultobj
= 0;
19323 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19326 PyObject
*swig_obj
[1] ;
19328 if (!args
) SWIG_fail
;
19329 swig_obj
[0] = args
;
19330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19331 if (!SWIG_IsOK(res1
)) {
19332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19334 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 resultobj
= SWIG_Py_Void();
19349 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19350 PyObject
*resultobj
= 0;
19351 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19352 wxString
*result
= 0 ;
19355 PyObject
*swig_obj
[1] ;
19357 if (!args
) SWIG_fail
;
19358 swig_obj
[0] = args
;
19359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19360 if (!SWIG_IsOK(res1
)) {
19361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19363 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 wxString
const &_result_ref
= (arg1
)->GetFindString();
19368 result
= (wxString
*) &_result_ref
;
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19375 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19377 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19386 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19387 PyObject
*resultobj
= 0;
19388 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19389 wxString
*result
= 0 ;
19392 PyObject
*swig_obj
[1] ;
19394 if (!args
) SWIG_fail
;
19395 swig_obj
[0] = args
;
19396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19397 if (!SWIG_IsOK(res1
)) {
19398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19400 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19405 result
= (wxString
*) &_result_ref
;
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19412 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19414 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19423 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19424 PyObject
*resultobj
= 0;
19425 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19429 PyObject
*swig_obj
[1] ;
19431 if (!args
) SWIG_fail
;
19432 swig_obj
[0] = args
;
19433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19434 if (!SWIG_IsOK(res1
)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19437 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 result
= (int)(arg1
)->GetFlags();
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_From_int(static_cast< int >(result
));
19451 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
= 0;
19453 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 PyObject
* obj1
= 0 ;
19461 char * kwnames
[] = {
19462 (char *) "self",(char *) "flags", NULL
19465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19467 if (!SWIG_IsOK(res1
)) {
19468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19470 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19472 if (!SWIG_IsOK(ecode2
)) {
19473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19475 arg2
= static_cast< int >(val2
);
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 (arg1
)->SetFlags(arg2
);
19479 wxPyEndAllowThreads(__tstate
);
19480 if (PyErr_Occurred()) SWIG_fail
;
19482 resultobj
= SWIG_Py_Void();
19489 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
= 0;
19491 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19492 wxString
*arg2
= 0 ;
19495 bool temp2
= false ;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 char * kwnames
[] = {
19499 (char *) "self",(char *) "str", NULL
19502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19504 if (!SWIG_IsOK(res1
)) {
19505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19507 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19509 arg2
= wxString_in_helper(obj1
);
19510 if (arg2
== NULL
) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 (arg1
)->SetFindString((wxString
const &)*arg2
);
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= SWIG_Py_Void();
19534 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
= 0;
19536 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19537 wxString
*arg2
= 0 ;
19540 bool temp2
= false ;
19541 PyObject
* obj0
= 0 ;
19542 PyObject
* obj1
= 0 ;
19543 char * kwnames
[] = {
19544 (char *) "self",(char *) "str", NULL
19547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19549 if (!SWIG_IsOK(res1
)) {
19550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19552 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19554 arg2
= wxString_in_helper(obj1
);
19555 if (arg2
== NULL
) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= SWIG_Py_Void();
19579 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19582 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19583 return SWIG_Py_Void();
19586 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19587 return SWIG_Python_InitShadowInstance(args
);
19590 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
= 0;
19592 wxWindow
*arg1
= (wxWindow
*) 0 ;
19593 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19594 wxString
*arg3
= 0 ;
19595 int arg4
= (int) 0 ;
19596 wxFindReplaceDialog
*result
= 0 ;
19601 bool temp3
= false ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 PyObject
* obj2
= 0 ;
19607 PyObject
* obj3
= 0 ;
19608 char * kwnames
[] = {
19609 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19614 if (!SWIG_IsOK(res1
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19619 if (!SWIG_IsOK(res2
)) {
19620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19622 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19624 arg3
= wxString_in_helper(obj2
);
19625 if (arg3
== NULL
) SWIG_fail
;
19629 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19630 if (!SWIG_IsOK(ecode4
)) {
19631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19633 arg4
= static_cast< int >(val4
);
19636 if (!wxPyCheckForApp()) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19657 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19658 PyObject
*resultobj
= 0;
19659 wxFindReplaceDialog
*result
= 0 ;
19661 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19663 if (!wxPyCheckForApp()) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19676 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
= 0;
19678 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19679 wxWindow
*arg2
= (wxWindow
*) 0 ;
19680 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19681 wxString
*arg4
= 0 ;
19682 int arg5
= (int) 0 ;
19690 bool temp4
= false ;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 PyObject
* obj2
= 0 ;
19696 PyObject
* obj3
= 0 ;
19697 PyObject
* obj4
= 0 ;
19698 char * kwnames
[] = {
19699 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19704 if (!SWIG_IsOK(res1
)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19707 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19708 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19709 if (!SWIG_IsOK(res2
)) {
19710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19712 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19713 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19714 if (!SWIG_IsOK(res3
)) {
19715 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19717 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
19719 arg4
= wxString_in_helper(obj3
);
19720 if (arg4
== NULL
) SWIG_fail
;
19724 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19725 if (!SWIG_IsOK(ecode5
)) {
19726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19728 arg5
= static_cast< int >(val5
);
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19754 PyObject
*resultobj
= 0;
19755 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19756 wxFindReplaceData
*result
= 0 ;
19759 PyObject
*swig_obj
[1] ;
19761 if (!args
) SWIG_fail
;
19762 swig_obj
[0] = args
;
19763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19764 if (!SWIG_IsOK(res1
)) {
19765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19767 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (wxFindReplaceData
*)(arg1
)->GetData();
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19781 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
= 0;
19783 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19784 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 PyObject
* obj1
= 0 ;
19791 char * kwnames
[] = {
19792 (char *) "self",(char *) "data", NULL
19795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19797 if (!SWIG_IsOK(res1
)) {
19798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19800 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19801 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19802 if (!SWIG_IsOK(res2
)) {
19803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19805 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 (arg1
)->SetData(arg2
);
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= SWIG_Py_Void();
19819 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19822 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
19823 return SWIG_Py_Void();
19826 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19827 return SWIG_Python_InitShadowInstance(args
);
19830 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
= 0;
19832 wxWindow
*arg1
= (wxWindow
*) 0 ;
19833 int arg2
= (int) (int)-1 ;
19834 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19835 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19836 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19837 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19838 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19839 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19840 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
19841 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19842 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19843 wxMDIParentFrame
*result
= 0 ;
19848 bool temp3
= false ;
19853 bool temp7
= false ;
19854 PyObject
* obj0
= 0 ;
19855 PyObject
* obj1
= 0 ;
19856 PyObject
* obj2
= 0 ;
19857 PyObject
* obj3
= 0 ;
19858 PyObject
* obj4
= 0 ;
19859 PyObject
* obj5
= 0 ;
19860 PyObject
* obj6
= 0 ;
19861 char * kwnames
[] = {
19862 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19867 if (!SWIG_IsOK(res1
)) {
19868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
19870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19873 if (!SWIG_IsOK(ecode2
)) {
19874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
19876 arg2
= static_cast< int >(val2
);
19880 arg3
= wxString_in_helper(obj2
);
19881 if (arg3
== NULL
) SWIG_fail
;
19888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19898 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
19899 if (!SWIG_IsOK(ecode6
)) {
19900 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
19902 arg6
= static_cast< long >(val6
);
19906 arg7
= wxString_in_helper(obj6
);
19907 if (arg7
== NULL
) SWIG_fail
;
19912 if (!wxPyCheckForApp()) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
19941 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19942 PyObject
*resultobj
= 0;
19943 wxMDIParentFrame
*result
= 0 ;
19945 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
19947 if (!wxPyCheckForApp()) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
19960 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
= 0;
19962 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
19963 wxWindow
*arg2
= (wxWindow
*) 0 ;
19964 int arg3
= (int) (int)-1 ;
19965 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19966 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19967 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19968 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19969 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19970 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19971 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
19972 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
19973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19981 bool temp4
= false ;
19986 bool temp8
= false ;
19987 PyObject
* obj0
= 0 ;
19988 PyObject
* obj1
= 0 ;
19989 PyObject
* obj2
= 0 ;
19990 PyObject
* obj3
= 0 ;
19991 PyObject
* obj4
= 0 ;
19992 PyObject
* obj5
= 0 ;
19993 PyObject
* obj6
= 0 ;
19994 PyObject
* obj7
= 0 ;
19995 char * kwnames
[] = {
19996 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20001 if (!SWIG_IsOK(res1
)) {
20002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20004 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20005 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20006 if (!SWIG_IsOK(res2
)) {
20007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20009 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20012 if (!SWIG_IsOK(ecode3
)) {
20013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20015 arg3
= static_cast< int >(val3
);
20019 arg4
= wxString_in_helper(obj3
);
20020 if (arg4
== NULL
) SWIG_fail
;
20027 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20033 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20037 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20038 if (!SWIG_IsOK(ecode7
)) {
20039 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20041 arg7
= static_cast< long >(val7
);
20045 arg8
= wxString_in_helper(obj7
);
20046 if (arg8
== NULL
) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20081 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20082 PyObject
*resultobj
= 0;
20083 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20086 PyObject
*swig_obj
[1] ;
20088 if (!args
) SWIG_fail
;
20089 swig_obj
[0] = args
;
20090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20091 if (!SWIG_IsOK(res1
)) {
20092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20094 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 (arg1
)->ActivateNext();
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_Py_Void();
20108 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20109 PyObject
*resultobj
= 0;
20110 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20113 PyObject
*swig_obj
[1] ;
20115 if (!args
) SWIG_fail
;
20116 swig_obj
[0] = args
;
20117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20118 if (!SWIG_IsOK(res1
)) {
20119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20121 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 (arg1
)->ActivatePrevious();
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 resultobj
= SWIG_Py_Void();
20135 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20136 PyObject
*resultobj
= 0;
20137 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20140 PyObject
*swig_obj
[1] ;
20142 if (!args
) SWIG_fail
;
20143 swig_obj
[0] = args
;
20144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20145 if (!SWIG_IsOK(res1
)) {
20146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20148 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 (arg1
)->ArrangeIcons();
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20155 resultobj
= SWIG_Py_Void();
20162 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20163 PyObject
*resultobj
= 0;
20164 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20167 PyObject
*swig_obj
[1] ;
20169 if (!args
) SWIG_fail
;
20170 swig_obj
[0] = args
;
20171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20172 if (!SWIG_IsOK(res1
)) {
20173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20175 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= SWIG_Py_Void();
20189 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20190 PyObject
*resultobj
= 0;
20191 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20192 wxMDIChildFrame
*result
= 0 ;
20195 PyObject
*swig_obj
[1] ;
20197 if (!args
) SWIG_fail
;
20198 swig_obj
[0] = args
;
20199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20200 if (!SWIG_IsOK(res1
)) {
20201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20203 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20219 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20220 PyObject
*resultobj
= 0;
20221 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20222 wxMDIClientWindow
*result
= 0 ;
20225 PyObject
*swig_obj
[1] ;
20227 if (!args
) SWIG_fail
;
20228 swig_obj
[0] = args
;
20229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20230 if (!SWIG_IsOK(res1
)) {
20231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20233 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20241 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20249 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20250 PyObject
*resultobj
= 0;
20251 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20252 wxWindow
*result
= 0 ;
20255 PyObject
*swig_obj
[1] ;
20257 if (!args
) SWIG_fail
;
20258 swig_obj
[0] = args
;
20259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20260 if (!SWIG_IsOK(res1
)) {
20261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20263 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (wxWindow
*)(arg1
)->GetToolBar();
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= wxPyMake_wxObject(result
, 0);
20279 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
= 0;
20281 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20282 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20287 PyObject
* obj0
= 0 ;
20288 PyObject
* obj1
= 0 ;
20289 char * kwnames
[] = {
20290 (char *) "self",(char *) "orient", NULL
20293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20295 if (!SWIG_IsOK(res1
)) {
20296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20298 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20301 if (!SWIG_IsOK(ecode2
)) {
20302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20304 arg2
= static_cast< wxOrientation
>(val2
);
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 (arg1
)->Tile(arg2
);
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 resultobj
= SWIG_Py_Void();
20319 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20322 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20323 return SWIG_Py_Void();
20326 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20327 return SWIG_Python_InitShadowInstance(args
);
20330 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
= 0;
20332 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20333 int arg2
= (int) (int)-1 ;
20334 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20335 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20336 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20337 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20338 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20339 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20340 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20341 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20342 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20343 wxMDIChildFrame
*result
= 0 ;
20348 bool temp3
= false ;
20353 bool temp7
= false ;
20354 PyObject
* obj0
= 0 ;
20355 PyObject
* obj1
= 0 ;
20356 PyObject
* obj2
= 0 ;
20357 PyObject
* obj3
= 0 ;
20358 PyObject
* obj4
= 0 ;
20359 PyObject
* obj5
= 0 ;
20360 PyObject
* obj6
= 0 ;
20361 char * kwnames
[] = {
20362 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20367 if (!SWIG_IsOK(res1
)) {
20368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20370 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20373 if (!SWIG_IsOK(ecode2
)) {
20374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20376 arg2
= static_cast< int >(val2
);
20380 arg3
= wxString_in_helper(obj2
);
20381 if (arg3
== NULL
) SWIG_fail
;
20388 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20394 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20398 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20399 if (!SWIG_IsOK(ecode6
)) {
20400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20402 arg6
= static_cast< long >(val6
);
20406 arg7
= wxString_in_helper(obj6
);
20407 if (arg7
== NULL
) SWIG_fail
;
20412 if (!wxPyCheckForApp()) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20441 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20442 PyObject
*resultobj
= 0;
20443 wxMDIChildFrame
*result
= 0 ;
20445 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20447 if (!wxPyCheckForApp()) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20460 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
= 0;
20462 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20463 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20464 int arg3
= (int) (int)-1 ;
20465 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20466 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20467 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20468 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20469 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20470 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20471 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20472 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20473 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20481 bool temp4
= false ;
20486 bool temp8
= false ;
20487 PyObject
* obj0
= 0 ;
20488 PyObject
* obj1
= 0 ;
20489 PyObject
* obj2
= 0 ;
20490 PyObject
* obj3
= 0 ;
20491 PyObject
* obj4
= 0 ;
20492 PyObject
* obj5
= 0 ;
20493 PyObject
* obj6
= 0 ;
20494 PyObject
* obj7
= 0 ;
20495 char * kwnames
[] = {
20496 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20501 if (!SWIG_IsOK(res1
)) {
20502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20504 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20506 if (!SWIG_IsOK(res2
)) {
20507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20509 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20512 if (!SWIG_IsOK(ecode3
)) {
20513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20515 arg3
= static_cast< int >(val3
);
20519 arg4
= wxString_in_helper(obj3
);
20520 if (arg4
== NULL
) SWIG_fail
;
20527 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20533 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20537 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20538 if (!SWIG_IsOK(ecode7
)) {
20539 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20541 arg7
= static_cast< long >(val7
);
20545 arg8
= wxString_in_helper(obj7
);
20546 if (arg8
== NULL
) SWIG_fail
;
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20581 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20582 PyObject
*resultobj
= 0;
20583 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20586 PyObject
*swig_obj
[1] ;
20588 if (!args
) SWIG_fail
;
20589 swig_obj
[0] = args
;
20590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20591 if (!SWIG_IsOK(res1
)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20594 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 (arg1
)->Activate();
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= SWIG_Py_Void();
20608 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20611 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20612 return SWIG_Py_Void();
20615 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20616 return SWIG_Python_InitShadowInstance(args
);
20619 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
= 0;
20621 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20622 long arg2
= (long) 0 ;
20623 wxMDIClientWindow
*result
= 0 ;
20628 PyObject
* obj0
= 0 ;
20629 PyObject
* obj1
= 0 ;
20630 char * kwnames
[] = {
20631 (char *) "parent",(char *) "style", NULL
20634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20636 if (!SWIG_IsOK(res1
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20639 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20641 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20642 if (!SWIG_IsOK(ecode2
)) {
20643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20645 arg2
= static_cast< long >(val2
);
20648 if (!wxPyCheckForApp()) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20661 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20662 PyObject
*resultobj
= 0;
20663 wxMDIClientWindow
*result
= 0 ;
20665 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20667 if (!wxPyCheckForApp()) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20680 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
= 0;
20682 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20683 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20684 long arg3
= (long) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 PyObject
* obj1
= 0 ;
20694 PyObject
* obj2
= 0 ;
20695 char * kwnames
[] = {
20696 (char *) "self",(char *) "parent",(char *) "style", NULL
20699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20701 if (!SWIG_IsOK(res1
)) {
20702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20704 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
20705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20706 if (!SWIG_IsOK(res2
)) {
20707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20709 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20711 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20712 if (!SWIG_IsOK(ecode3
)) {
20713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20715 arg3
= static_cast< long >(val3
);
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (bool)(arg1
)->Create(arg2
,arg3
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20732 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20735 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
20736 return SWIG_Py_Void();
20739 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20740 return SWIG_Python_InitShadowInstance(args
);
20743 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
= 0;
20745 wxWindow
*arg1
= (wxWindow
*) 0 ;
20746 int arg2
= (int) (int)-1 ;
20747 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20748 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20749 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20750 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20751 long arg5
= (long) 0 ;
20752 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20753 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20754 wxPyWindow
*result
= 0 ;
20763 bool temp6
= false ;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 PyObject
* obj2
= 0 ;
20767 PyObject
* obj3
= 0 ;
20768 PyObject
* obj4
= 0 ;
20769 PyObject
* obj5
= 0 ;
20770 char * kwnames
[] = {
20771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20776 if (!SWIG_IsOK(res1
)) {
20777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20779 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20782 if (!SWIG_IsOK(ecode2
)) {
20783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
20785 arg2
= static_cast< int >(val2
);
20790 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20796 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20800 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20801 if (!SWIG_IsOK(ecode5
)) {
20802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
20804 arg5
= static_cast< long >(val5
);
20808 arg6
= wxString_in_helper(obj5
);
20809 if (arg6
== NULL
) SWIG_fail
;
20814 if (!wxPyCheckForApp()) SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20817 wxPyEndAllowThreads(__tstate
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
20835 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20836 PyObject
*resultobj
= 0;
20837 wxPyWindow
*result
= 0 ;
20839 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
20841 if (!wxPyCheckForApp()) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (wxPyWindow
*)new wxPyWindow();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
20854 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
= 0;
20856 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
20857 PyObject
*arg2
= (PyObject
*) 0 ;
20858 PyObject
*arg3
= (PyObject
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 PyObject
* obj1
= 0 ;
20863 PyObject
* obj2
= 0 ;
20864 char * kwnames
[] = {
20865 (char *) "self",(char *) "self",(char *) "_class", NULL
20868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
20870 if (!SWIG_IsOK(res1
)) {
20871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
20873 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= SWIG_Py_Void();
20889 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
= 0;
20891 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 PyObject
* obj1
= 0 ;
20898 char * kwnames
[] = {
20899 (char *) "self",(char *) "size", NULL
20902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
20904 if (!SWIG_IsOK(res1
)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
20907 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
20910 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= SWIG_Py_Void();
20925 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
= 0;
20927 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
20928 wxDC
*arg2
= (wxDC
*) 0 ;
20934 PyObject
* obj0
= 0 ;
20935 PyObject
* obj1
= 0 ;
20936 char * kwnames
[] = {
20937 (char *) "self",(char *) "dc", NULL
20940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
20942 if (!SWIG_IsOK(res1
)) {
20943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
20945 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
20946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
20947 if (!SWIG_IsOK(res2
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
20950 arg2
= reinterpret_cast< wxDC
* >(argp2
);
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20966 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
= 0;
20968 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 PyObject
* obj2
= 0 ;
20986 PyObject
* obj3
= 0 ;
20987 PyObject
* obj4
= 0 ;
20988 char * kwnames
[] = {
20989 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
20994 if (!SWIG_IsOK(res1
)) {
20995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
20997 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
20998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20999 if (!SWIG_IsOK(ecode2
)) {
21000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21002 arg2
= static_cast< int >(val2
);
21003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21004 if (!SWIG_IsOK(ecode3
)) {
21005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21007 arg3
= static_cast< int >(val3
);
21008 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21009 if (!SWIG_IsOK(ecode4
)) {
21010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21012 arg4
= static_cast< int >(val4
);
21013 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21014 if (!SWIG_IsOK(ecode5
)) {
21015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21017 arg5
= static_cast< int >(val5
);
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= SWIG_Py_Void();
21031 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
= 0;
21033 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21038 int arg6
= (int) wxSIZE_AUTO
;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 PyObject
* obj2
= 0 ;
21054 PyObject
* obj3
= 0 ;
21055 PyObject
* obj4
= 0 ;
21056 PyObject
* obj5
= 0 ;
21057 char * kwnames
[] = {
21058 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21063 if (!SWIG_IsOK(res1
)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21066 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21068 if (!SWIG_IsOK(ecode2
)) {
21069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21071 arg2
= static_cast< int >(val2
);
21072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21073 if (!SWIG_IsOK(ecode3
)) {
21074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21076 arg3
= static_cast< int >(val3
);
21077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21078 if (!SWIG_IsOK(ecode4
)) {
21079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21081 arg4
= static_cast< int >(val4
);
21082 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21083 if (!SWIG_IsOK(ecode5
)) {
21084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21086 arg5
= static_cast< int >(val5
);
21088 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21089 if (!SWIG_IsOK(ecode6
)) {
21090 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21092 arg6
= static_cast< int >(val6
);
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_Py_Void();
21107 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
= 0;
21109 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21118 PyObject
* obj0
= 0 ;
21119 PyObject
* obj1
= 0 ;
21120 PyObject
* obj2
= 0 ;
21121 char * kwnames
[] = {
21122 (char *) "self",(char *) "width",(char *) "height", NULL
21125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21127 if (!SWIG_IsOK(res1
)) {
21128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21130 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21132 if (!SWIG_IsOK(ecode2
)) {
21133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21135 arg2
= static_cast< int >(val2
);
21136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21137 if (!SWIG_IsOK(ecode3
)) {
21138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21140 arg3
= static_cast< int >(val3
);
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 (arg1
)->DoSetClientSize(arg2
,arg3
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= SWIG_Py_Void();
21154 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
= 0;
21156 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 PyObject
* obj1
= 0 ;
21167 PyObject
* obj2
= 0 ;
21168 char * kwnames
[] = {
21169 (char *) "self",(char *) "x",(char *) "y", NULL
21172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21174 if (!SWIG_IsOK(res1
)) {
21175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21177 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21179 if (!SWIG_IsOK(ecode2
)) {
21180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21182 arg2
= static_cast< int >(val2
);
21183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21184 if (!SWIG_IsOK(ecode3
)) {
21185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21187 arg3
= static_cast< int >(val3
);
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= SWIG_Py_Void();
21201 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21202 PyObject
*resultobj
= 0;
21203 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21204 int *arg2
= (int *) 0 ;
21205 int *arg3
= (int *) 0 ;
21209 int res2
= SWIG_TMPOBJ
;
21211 int res3
= SWIG_TMPOBJ
;
21212 PyObject
*swig_obj
[1] ;
21216 if (!args
) SWIG_fail
;
21217 swig_obj
[0] = args
;
21218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21219 if (!SWIG_IsOK(res1
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21222 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_Py_Void();
21230 if (SWIG_IsTmpObj(res2
)) {
21231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21233 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21236 if (SWIG_IsTmpObj(res3
)) {
21237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21239 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21240 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21248 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21249 PyObject
*resultobj
= 0;
21250 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21251 int *arg2
= (int *) 0 ;
21252 int *arg3
= (int *) 0 ;
21256 int res2
= SWIG_TMPOBJ
;
21258 int res3
= SWIG_TMPOBJ
;
21259 PyObject
*swig_obj
[1] ;
21263 if (!args
) SWIG_fail
;
21264 swig_obj
[0] = args
;
21265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21266 if (!SWIG_IsOK(res1
)) {
21267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21269 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= SWIG_Py_Void();
21277 if (SWIG_IsTmpObj(res2
)) {
21278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21280 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21283 if (SWIG_IsTmpObj(res3
)) {
21284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21286 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21287 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21295 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21296 PyObject
*resultobj
= 0;
21297 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21298 int *arg2
= (int *) 0 ;
21299 int *arg3
= (int *) 0 ;
21303 int res2
= SWIG_TMPOBJ
;
21305 int res3
= SWIG_TMPOBJ
;
21306 PyObject
*swig_obj
[1] ;
21310 if (!args
) SWIG_fail
;
21311 swig_obj
[0] = args
;
21312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21313 if (!SWIG_IsOK(res1
)) {
21314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21316 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21323 resultobj
= SWIG_Py_Void();
21324 if (SWIG_IsTmpObj(res2
)) {
21325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21327 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21330 if (SWIG_IsTmpObj(res3
)) {
21331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21333 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21342 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21343 PyObject
*resultobj
= 0;
21344 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21348 PyObject
*swig_obj
[1] ;
21350 if (!args
) SWIG_fail
;
21351 swig_obj
[0] = args
;
21352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21353 if (!SWIG_IsOK(res1
)) {
21354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21356 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21370 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21371 PyObject
*resultobj
= 0;
21372 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21376 PyObject
*swig_obj
[1] ;
21378 if (!args
) SWIG_fail
;
21379 swig_obj
[0] = args
;
21380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21381 if (!SWIG_IsOK(res1
)) {
21382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21384 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21398 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21399 PyObject
*resultobj
= 0;
21400 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21401 SwigValueWrapper
<wxVisualAttributes
> result
;
21404 PyObject
*swig_obj
[1] ;
21406 if (!args
) SWIG_fail
;
21407 swig_obj
[0] = args
;
21408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21409 if (!SWIG_IsOK(res1
)) {
21410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21412 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= (arg1
)->GetDefaultAttributes();
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21426 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21427 PyObject
*resultobj
= 0;
21428 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21431 PyObject
*swig_obj
[1] ;
21433 if (!args
) SWIG_fail
;
21434 swig_obj
[0] = args
;
21435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21436 if (!SWIG_IsOK(res1
)) {
21437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21439 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 (arg1
)->OnInternalIdle();
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= SWIG_Py_Void();
21453 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21456 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21457 return SWIG_Py_Void();
21460 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21461 return SWIG_Python_InitShadowInstance(args
);
21464 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
= 0;
21466 wxWindow
*arg1
= (wxWindow
*) 0 ;
21467 int arg2
= (int) (int)-1 ;
21468 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21469 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21470 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21471 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21472 long arg5
= (long) 0 ;
21473 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21474 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21475 wxPyPanel
*result
= 0 ;
21484 bool temp6
= false ;
21485 PyObject
* obj0
= 0 ;
21486 PyObject
* obj1
= 0 ;
21487 PyObject
* obj2
= 0 ;
21488 PyObject
* obj3
= 0 ;
21489 PyObject
* obj4
= 0 ;
21490 PyObject
* obj5
= 0 ;
21491 char * kwnames
[] = {
21492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21497 if (!SWIG_IsOK(res1
)) {
21498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21503 if (!SWIG_IsOK(ecode2
)) {
21504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21506 arg2
= static_cast< int >(val2
);
21511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21517 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21521 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21522 if (!SWIG_IsOK(ecode5
)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21525 arg5
= static_cast< long >(val5
);
21529 arg6
= wxString_in_helper(obj5
);
21530 if (arg6
== NULL
) SWIG_fail
;
21535 if (!wxPyCheckForApp()) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21556 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21557 PyObject
*resultobj
= 0;
21558 wxPyPanel
*result
= 0 ;
21560 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21562 if (!wxPyCheckForApp()) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (wxPyPanel
*)new wxPyPanel();
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21575 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
= 0;
21577 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21578 PyObject
*arg2
= (PyObject
*) 0 ;
21579 PyObject
*arg3
= (PyObject
*) 0 ;
21582 PyObject
* obj0
= 0 ;
21583 PyObject
* obj1
= 0 ;
21584 PyObject
* obj2
= 0 ;
21585 char * kwnames
[] = {
21586 (char *) "self",(char *) "self",(char *) "_class", NULL
21589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21591 if (!SWIG_IsOK(res1
)) {
21592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21594 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= SWIG_Py_Void();
21610 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
= 0;
21612 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char * kwnames
[] = {
21620 (char *) "self",(char *) "size", NULL
21623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21625 if (!SWIG_IsOK(res1
)) {
21626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21628 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21631 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= SWIG_Py_Void();
21646 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
= 0;
21648 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21649 wxDC
*arg2
= (wxDC
*) 0 ;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 char * kwnames
[] = {
21658 (char *) "self",(char *) "dc", NULL
21661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21663 if (!SWIG_IsOK(res1
)) {
21664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21666 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21668 if (!SWIG_IsOK(res2
)) {
21669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21671 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21687 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
= 0;
21689 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 PyObject
* obj2
= 0 ;
21707 PyObject
* obj3
= 0 ;
21708 PyObject
* obj4
= 0 ;
21709 char * kwnames
[] = {
21710 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21715 if (!SWIG_IsOK(res1
)) {
21716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21718 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21720 if (!SWIG_IsOK(ecode2
)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21723 arg2
= static_cast< int >(val2
);
21724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21725 if (!SWIG_IsOK(ecode3
)) {
21726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21728 arg3
= static_cast< int >(val3
);
21729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21730 if (!SWIG_IsOK(ecode4
)) {
21731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21733 arg4
= static_cast< int >(val4
);
21734 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21735 if (!SWIG_IsOK(ecode5
)) {
21736 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21738 arg5
= static_cast< int >(val5
);
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_Py_Void();
21752 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
= 0;
21754 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21759 int arg6
= (int) wxSIZE_AUTO
;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 PyObject
* obj2
= 0 ;
21775 PyObject
* obj3
= 0 ;
21776 PyObject
* obj4
= 0 ;
21777 PyObject
* obj5
= 0 ;
21778 char * kwnames
[] = {
21779 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21784 if (!SWIG_IsOK(res1
)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21787 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21789 if (!SWIG_IsOK(ecode2
)) {
21790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21792 arg2
= static_cast< int >(val2
);
21793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21794 if (!SWIG_IsOK(ecode3
)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21797 arg3
= static_cast< int >(val3
);
21798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21799 if (!SWIG_IsOK(ecode4
)) {
21800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21802 arg4
= static_cast< int >(val4
);
21803 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21804 if (!SWIG_IsOK(ecode5
)) {
21805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21807 arg5
= static_cast< int >(val5
);
21809 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21810 if (!SWIG_IsOK(ecode6
)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21813 arg6
= static_cast< int >(val6
);
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= SWIG_Py_Void();
21828 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
= 0;
21830 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21839 PyObject
* obj0
= 0 ;
21840 PyObject
* obj1
= 0 ;
21841 PyObject
* obj2
= 0 ;
21842 char * kwnames
[] = {
21843 (char *) "self",(char *) "width",(char *) "height", NULL
21846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21848 if (!SWIG_IsOK(res1
)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21851 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21853 if (!SWIG_IsOK(ecode2
)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21856 arg2
= static_cast< int >(val2
);
21857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21858 if (!SWIG_IsOK(ecode3
)) {
21859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21861 arg3
= static_cast< int >(val3
);
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 (arg1
)->DoSetClientSize(arg2
,arg3
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_Py_Void();
21875 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
= 0;
21877 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 PyObject
* obj2
= 0 ;
21889 char * kwnames
[] = {
21890 (char *) "self",(char *) "x",(char *) "y", NULL
21893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21895 if (!SWIG_IsOK(res1
)) {
21896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21898 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21900 if (!SWIG_IsOK(ecode2
)) {
21901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21903 arg2
= static_cast< int >(val2
);
21904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21905 if (!SWIG_IsOK(ecode3
)) {
21906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21908 arg3
= static_cast< int >(val3
);
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21911 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= SWIG_Py_Void();
21922 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21923 PyObject
*resultobj
= 0;
21924 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21925 int *arg2
= (int *) 0 ;
21926 int *arg3
= (int *) 0 ;
21930 int res2
= SWIG_TMPOBJ
;
21932 int res3
= SWIG_TMPOBJ
;
21933 PyObject
*swig_obj
[1] ;
21937 if (!args
) SWIG_fail
;
21938 swig_obj
[0] = args
;
21939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21940 if (!SWIG_IsOK(res1
)) {
21941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
21943 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21950 resultobj
= SWIG_Py_Void();
21951 if (SWIG_IsTmpObj(res2
)) {
21952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21954 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21957 if (SWIG_IsTmpObj(res3
)) {
21958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21960 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21969 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21970 PyObject
*resultobj
= 0;
21971 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21972 int *arg2
= (int *) 0 ;
21973 int *arg3
= (int *) 0 ;
21977 int res2
= SWIG_TMPOBJ
;
21979 int res3
= SWIG_TMPOBJ
;
21980 PyObject
*swig_obj
[1] ;
21984 if (!args
) SWIG_fail
;
21985 swig_obj
[0] = args
;
21986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21987 if (!SWIG_IsOK(res1
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
21990 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= SWIG_Py_Void();
21998 if (SWIG_IsTmpObj(res2
)) {
21999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22001 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22004 if (SWIG_IsTmpObj(res3
)) {
22005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22007 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22016 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22017 PyObject
*resultobj
= 0;
22018 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22019 int *arg2
= (int *) 0 ;
22020 int *arg3
= (int *) 0 ;
22024 int res2
= SWIG_TMPOBJ
;
22026 int res3
= SWIG_TMPOBJ
;
22027 PyObject
*swig_obj
[1] ;
22031 if (!args
) SWIG_fail
;
22032 swig_obj
[0] = args
;
22033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22034 if (!SWIG_IsOK(res1
)) {
22035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22037 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 resultobj
= SWIG_Py_Void();
22045 if (SWIG_IsTmpObj(res2
)) {
22046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22048 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22051 if (SWIG_IsTmpObj(res3
)) {
22052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22054 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22063 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22064 PyObject
*resultobj
= 0;
22065 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22069 PyObject
*swig_obj
[1] ;
22071 if (!args
) SWIG_fail
;
22072 swig_obj
[0] = args
;
22073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22074 if (!SWIG_IsOK(res1
)) {
22075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22077 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22091 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22092 PyObject
*resultobj
= 0;
22093 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22097 PyObject
*swig_obj
[1] ;
22099 if (!args
) SWIG_fail
;
22100 swig_obj
[0] = args
;
22101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22102 if (!SWIG_IsOK(res1
)) {
22103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22105 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22119 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22120 PyObject
*resultobj
= 0;
22121 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22122 SwigValueWrapper
<wxVisualAttributes
> result
;
22125 PyObject
*swig_obj
[1] ;
22127 if (!args
) SWIG_fail
;
22128 swig_obj
[0] = args
;
22129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22130 if (!SWIG_IsOK(res1
)) {
22131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22133 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (arg1
)->GetDefaultAttributes();
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22147 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22148 PyObject
*resultobj
= 0;
22149 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22152 PyObject
*swig_obj
[1] ;
22154 if (!args
) SWIG_fail
;
22155 swig_obj
[0] = args
;
22156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22157 if (!SWIG_IsOK(res1
)) {
22158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22160 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 (arg1
)->OnInternalIdle();
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_Py_Void();
22174 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22178 return SWIG_Py_Void();
22181 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22182 return SWIG_Python_InitShadowInstance(args
);
22185 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
= 0;
22187 wxWindow
*arg1
= (wxWindow
*) 0 ;
22188 int arg2
= (int) (int)-1 ;
22189 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22190 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22191 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22192 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22193 long arg5
= (long) 0 ;
22194 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22195 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22196 wxPyScrolledWindow
*result
= 0 ;
22205 bool temp6
= false ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 PyObject
* obj2
= 0 ;
22209 PyObject
* obj3
= 0 ;
22210 PyObject
* obj4
= 0 ;
22211 PyObject
* obj5
= 0 ;
22212 char * kwnames
[] = {
22213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22218 if (!SWIG_IsOK(res1
)) {
22219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22221 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22224 if (!SWIG_IsOK(ecode2
)) {
22225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22227 arg2
= static_cast< int >(val2
);
22232 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22238 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22242 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22243 if (!SWIG_IsOK(ecode5
)) {
22244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22246 arg5
= static_cast< long >(val5
);
22250 arg6
= wxString_in_helper(obj5
);
22251 if (arg6
== NULL
) SWIG_fail
;
22256 if (!wxPyCheckForApp()) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22277 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22278 PyObject
*resultobj
= 0;
22279 wxPyScrolledWindow
*result
= 0 ;
22281 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22283 if (!wxPyCheckForApp()) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22296 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
= 0;
22298 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22299 PyObject
*arg2
= (PyObject
*) 0 ;
22300 PyObject
*arg3
= (PyObject
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 PyObject
* obj1
= 0 ;
22305 PyObject
* obj2
= 0 ;
22306 char * kwnames
[] = {
22307 (char *) "self",(char *) "self",(char *) "_class", NULL
22310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22312 if (!SWIG_IsOK(res1
)) {
22313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22315 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= SWIG_Py_Void();
22331 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
= 0;
22333 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22338 PyObject
* obj0
= 0 ;
22339 PyObject
* obj1
= 0 ;
22340 char * kwnames
[] = {
22341 (char *) "self",(char *) "size", NULL
22344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22346 if (!SWIG_IsOK(res1
)) {
22347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22349 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22352 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_Py_Void();
22367 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
= 0;
22369 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22370 wxDC
*arg2
= (wxDC
*) 0 ;
22376 PyObject
* obj0
= 0 ;
22377 PyObject
* obj1
= 0 ;
22378 char * kwnames
[] = {
22379 (char *) "self",(char *) "dc", NULL
22382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22384 if (!SWIG_IsOK(res1
)) {
22385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22387 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22389 if (!SWIG_IsOK(res2
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22392 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22408 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
= 0;
22410 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 PyObject
* obj1
= 0 ;
22427 PyObject
* obj2
= 0 ;
22428 PyObject
* obj3
= 0 ;
22429 PyObject
* obj4
= 0 ;
22430 char * kwnames
[] = {
22431 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22436 if (!SWIG_IsOK(res1
)) {
22437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22439 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22441 if (!SWIG_IsOK(ecode2
)) {
22442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22444 arg2
= static_cast< int >(val2
);
22445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22446 if (!SWIG_IsOK(ecode3
)) {
22447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22449 arg3
= static_cast< int >(val3
);
22450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22451 if (!SWIG_IsOK(ecode4
)) {
22452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22454 arg4
= static_cast< int >(val4
);
22455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22456 if (!SWIG_IsOK(ecode5
)) {
22457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22459 arg5
= static_cast< int >(val5
);
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_Py_Void();
22473 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
= 0;
22475 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22480 int arg6
= (int) wxSIZE_AUTO
;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 PyObject
* obj2
= 0 ;
22496 PyObject
* obj3
= 0 ;
22497 PyObject
* obj4
= 0 ;
22498 PyObject
* obj5
= 0 ;
22499 char * kwnames
[] = {
22500 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22505 if (!SWIG_IsOK(res1
)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22508 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22510 if (!SWIG_IsOK(ecode2
)) {
22511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22513 arg2
= static_cast< int >(val2
);
22514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22515 if (!SWIG_IsOK(ecode3
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22518 arg3
= static_cast< int >(val3
);
22519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22520 if (!SWIG_IsOK(ecode4
)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22523 arg4
= static_cast< int >(val4
);
22524 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22525 if (!SWIG_IsOK(ecode5
)) {
22526 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22528 arg5
= static_cast< int >(val5
);
22530 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22531 if (!SWIG_IsOK(ecode6
)) {
22532 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22534 arg6
= static_cast< int >(val6
);
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= SWIG_Py_Void();
22549 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
= 0;
22551 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22560 PyObject
* obj0
= 0 ;
22561 PyObject
* obj1
= 0 ;
22562 PyObject
* obj2
= 0 ;
22563 char * kwnames
[] = {
22564 (char *) "self",(char *) "width",(char *) "height", NULL
22567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22569 if (!SWIG_IsOK(res1
)) {
22570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22572 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22574 if (!SWIG_IsOK(ecode2
)) {
22575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22577 arg2
= static_cast< int >(val2
);
22578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22579 if (!SWIG_IsOK(ecode3
)) {
22580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22582 arg3
= static_cast< int >(val3
);
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->DoSetClientSize(arg2
,arg3
);
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= SWIG_Py_Void();
22596 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
= 0;
22598 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 PyObject
* obj2
= 0 ;
22610 char * kwnames
[] = {
22611 (char *) "self",(char *) "x",(char *) "y", NULL
22614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22616 if (!SWIG_IsOK(res1
)) {
22617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22619 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22621 if (!SWIG_IsOK(ecode2
)) {
22622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22624 arg2
= static_cast< int >(val2
);
22625 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22626 if (!SWIG_IsOK(ecode3
)) {
22627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22629 arg3
= static_cast< int >(val3
);
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 resultobj
= SWIG_Py_Void();
22643 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22644 PyObject
*resultobj
= 0;
22645 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22646 int *arg2
= (int *) 0 ;
22647 int *arg3
= (int *) 0 ;
22651 int res2
= SWIG_TMPOBJ
;
22653 int res3
= SWIG_TMPOBJ
;
22654 PyObject
*swig_obj
[1] ;
22658 if (!args
) SWIG_fail
;
22659 swig_obj
[0] = args
;
22660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22661 if (!SWIG_IsOK(res1
)) {
22662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22664 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 resultobj
= SWIG_Py_Void();
22672 if (SWIG_IsTmpObj(res2
)) {
22673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22675 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22678 if (SWIG_IsTmpObj(res3
)) {
22679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22681 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22690 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22691 PyObject
*resultobj
= 0;
22692 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22693 int *arg2
= (int *) 0 ;
22694 int *arg3
= (int *) 0 ;
22698 int res2
= SWIG_TMPOBJ
;
22700 int res3
= SWIG_TMPOBJ
;
22701 PyObject
*swig_obj
[1] ;
22705 if (!args
) SWIG_fail
;
22706 swig_obj
[0] = args
;
22707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22708 if (!SWIG_IsOK(res1
)) {
22709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22711 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 resultobj
= SWIG_Py_Void();
22719 if (SWIG_IsTmpObj(res2
)) {
22720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22722 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22725 if (SWIG_IsTmpObj(res3
)) {
22726 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22728 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22729 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22737 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22738 PyObject
*resultobj
= 0;
22739 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22740 int *arg2
= (int *) 0 ;
22741 int *arg3
= (int *) 0 ;
22745 int res2
= SWIG_TMPOBJ
;
22747 int res3
= SWIG_TMPOBJ
;
22748 PyObject
*swig_obj
[1] ;
22752 if (!args
) SWIG_fail
;
22753 swig_obj
[0] = args
;
22754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22755 if (!SWIG_IsOK(res1
)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22758 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= SWIG_Py_Void();
22766 if (SWIG_IsTmpObj(res2
)) {
22767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22769 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22772 if (SWIG_IsTmpObj(res3
)) {
22773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22775 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22784 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22785 PyObject
*resultobj
= 0;
22786 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22790 PyObject
*swig_obj
[1] ;
22792 if (!args
) SWIG_fail
;
22793 swig_obj
[0] = args
;
22794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22795 if (!SWIG_IsOK(res1
)) {
22796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22798 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22812 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22813 PyObject
*resultobj
= 0;
22814 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22818 PyObject
*swig_obj
[1] ;
22820 if (!args
) SWIG_fail
;
22821 swig_obj
[0] = args
;
22822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22823 if (!SWIG_IsOK(res1
)) {
22824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22826 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22840 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22841 PyObject
*resultobj
= 0;
22842 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22843 SwigValueWrapper
<wxVisualAttributes
> result
;
22846 PyObject
*swig_obj
[1] ;
22848 if (!args
) SWIG_fail
;
22849 swig_obj
[0] = args
;
22850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22851 if (!SWIG_IsOK(res1
)) {
22852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22854 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (arg1
)->GetDefaultAttributes();
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22868 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22869 PyObject
*resultobj
= 0;
22870 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22873 PyObject
*swig_obj
[1] ;
22875 if (!args
) SWIG_fail
;
22876 swig_obj
[0] = args
;
22877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22878 if (!SWIG_IsOK(res1
)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22881 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 (arg1
)->OnInternalIdle();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_Py_Void();
22895 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22898 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
22899 return SWIG_Py_Void();
22902 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22903 return SWIG_Python_InitShadowInstance(args
);
22906 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
22907 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
22912 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
22913 PyObject
*pyobj
= 0;
22917 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
22919 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
22926 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
22927 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
22932 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
22933 PyObject
*pyobj
= 0;
22937 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
22939 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
22946 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
22947 PyObject
*resultobj
= 0;
22948 wxPrintData
*result
= 0 ;
22950 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (wxPrintData
*)new wxPrintData();
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
22964 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22965 PyObject
*resultobj
= 0;
22966 wxPrintData
*arg1
= 0 ;
22967 wxPrintData
*result
= 0 ;
22971 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
22972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
22973 if (!SWIG_IsOK(res1
)) {
22974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22979 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
22993 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
22997 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23000 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23003 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23007 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23012 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23013 PyObject
*resultobj
= 0;
23014 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23017 PyObject
*swig_obj
[1] ;
23019 if (!args
) SWIG_fail
;
23020 swig_obj
[0] = args
;
23021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23022 if (!SWIG_IsOK(res1
)) {
23023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23025 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 resultobj
= SWIG_Py_Void();
23040 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23041 PyObject
*resultobj
= 0;
23042 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23046 PyObject
*swig_obj
[1] ;
23048 if (!args
) SWIG_fail
;
23049 swig_obj
[0] = args
;
23050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23051 if (!SWIG_IsOK(res1
)) {
23052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23054 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (int)(arg1
)->GetNoCopies();
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= SWIG_From_int(static_cast< int >(result
));
23068 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23069 PyObject
*resultobj
= 0;
23070 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23074 PyObject
*swig_obj
[1] ;
23076 if (!args
) SWIG_fail
;
23077 swig_obj
[0] = args
;
23078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23079 if (!SWIG_IsOK(res1
)) {
23080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23082 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (bool)(arg1
)->GetCollate();
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23098 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23099 PyObject
*resultobj
= 0;
23100 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23104 PyObject
*swig_obj
[1] ;
23106 if (!args
) SWIG_fail
;
23107 swig_obj
[0] = args
;
23108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23109 if (!SWIG_IsOK(res1
)) {
23110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23112 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 result
= (int)(arg1
)->GetOrientation();
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= SWIG_From_int(static_cast< int >(result
));
23126 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23127 PyObject
*resultobj
= 0;
23128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23132 PyObject
*swig_obj
[1] ;
23134 if (!args
) SWIG_fail
;
23135 swig_obj
[0] = args
;
23136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23137 if (!SWIG_IsOK(res1
)) {
23138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23140 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 result
= (bool)(arg1
)->Ok();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23156 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23157 PyObject
*resultobj
= 0;
23158 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23159 wxString
*result
= 0 ;
23162 PyObject
*swig_obj
[1] ;
23164 if (!args
) SWIG_fail
;
23165 swig_obj
[0] = args
;
23166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23167 if (!SWIG_IsOK(res1
)) {
23168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23170 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23175 result
= (wxString
*) &_result_ref
;
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23184 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23193 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23194 PyObject
*resultobj
= 0;
23195 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23199 PyObject
*swig_obj
[1] ;
23201 if (!args
) SWIG_fail
;
23202 swig_obj
[0] = args
;
23203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23204 if (!SWIG_IsOK(res1
)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23207 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 result
= (bool)(arg1
)->GetColour();
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23223 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23224 PyObject
*resultobj
= 0;
23225 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23226 wxDuplexMode result
;
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_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23237 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= SWIG_From_int(static_cast< int >(result
));
23251 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23252 PyObject
*resultobj
= 0;
23253 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23254 wxPaperSize result
;
23257 PyObject
*swig_obj
[1] ;
23259 if (!args
) SWIG_fail
;
23260 swig_obj
[0] = args
;
23261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23262 if (!SWIG_IsOK(res1
)) {
23263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23265 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= SWIG_From_int(static_cast< int >(result
));
23279 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23280 PyObject
*resultobj
= 0;
23281 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23282 wxSize
*result
= 0 ;
23285 PyObject
*swig_obj
[1] ;
23287 if (!args
) SWIG_fail
;
23288 swig_obj
[0] = args
;
23289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23290 if (!SWIG_IsOK(res1
)) {
23291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23293 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23298 result
= (wxSize
*) &_result_ref
;
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23310 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23311 PyObject
*resultobj
= 0;
23312 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23316 PyObject
*swig_obj
[1] ;
23318 if (!args
) SWIG_fail
;
23319 swig_obj
[0] = args
;
23320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23321 if (!SWIG_IsOK(res1
)) {
23322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23324 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 result
= (int)(arg1
)->GetQuality();
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= SWIG_From_int(static_cast< int >(result
));
23338 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23339 PyObject
*resultobj
= 0;
23340 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23344 PyObject
*swig_obj
[1] ;
23346 if (!args
) SWIG_fail
;
23347 swig_obj
[0] = args
;
23348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23349 if (!SWIG_IsOK(res1
)) {
23350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23352 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 result
= (wxPrintBin
)(arg1
)->GetBin();
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= SWIG_From_int(static_cast< int >(result
));
23366 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23367 PyObject
*resultobj
= 0;
23368 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23369 wxPrintMode result
;
23372 PyObject
*swig_obj
[1] ;
23374 if (!args
) SWIG_fail
;
23375 swig_obj
[0] = args
;
23376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23377 if (!SWIG_IsOK(res1
)) {
23378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23380 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= SWIG_From_int(static_cast< int >(result
));
23394 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
= 0;
23396 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 char * kwnames
[] = {
23405 (char *) "self",(char *) "v", NULL
23408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23410 if (!SWIG_IsOK(res1
)) {
23411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23413 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23415 if (!SWIG_IsOK(ecode2
)) {
23416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23418 arg2
= static_cast< int >(val2
);
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 (arg1
)->SetNoCopies(arg2
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 resultobj
= SWIG_Py_Void();
23432 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
= 0;
23434 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23440 PyObject
* obj0
= 0 ;
23441 PyObject
* obj1
= 0 ;
23442 char * kwnames
[] = {
23443 (char *) "self",(char *) "flag", NULL
23446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23448 if (!SWIG_IsOK(res1
)) {
23449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23451 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23452 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23453 if (!SWIG_IsOK(ecode2
)) {
23454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23456 arg2
= static_cast< bool >(val2
);
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 (arg1
)->SetCollate(arg2
);
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= SWIG_Py_Void();
23470 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
= 0;
23472 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj1
= 0 ;
23480 char * kwnames
[] = {
23481 (char *) "self",(char *) "orient", NULL
23484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23486 if (!SWIG_IsOK(res1
)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23489 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23491 if (!SWIG_IsOK(ecode2
)) {
23492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23494 arg2
= static_cast< int >(val2
);
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 (arg1
)->SetOrientation(arg2
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= SWIG_Py_Void();
23508 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
= 0;
23510 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23511 wxString
*arg2
= 0 ;
23514 bool temp2
= false ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 char * kwnames
[] = {
23518 (char *) "self",(char *) "name", NULL
23521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23523 if (!SWIG_IsOK(res1
)) {
23524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23526 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23528 arg2
= wxString_in_helper(obj1
);
23529 if (arg2
== NULL
) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= SWIG_Py_Void();
23553 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
= 0;
23555 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 char * kwnames
[] = {
23564 (char *) "self",(char *) "colour", NULL
23567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23569 if (!SWIG_IsOK(res1
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23572 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23573 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23574 if (!SWIG_IsOK(ecode2
)) {
23575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23577 arg2
= static_cast< bool >(val2
);
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 (arg1
)->SetColour(arg2
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_Py_Void();
23591 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
= 0;
23593 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23594 wxDuplexMode arg2
;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 char * kwnames
[] = {
23602 (char *) "self",(char *) "duplex", NULL
23605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23607 if (!SWIG_IsOK(res1
)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23610 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23612 if (!SWIG_IsOK(ecode2
)) {
23613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23615 arg2
= static_cast< wxDuplexMode
>(val2
);
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 (arg1
)->SetDuplex(arg2
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= SWIG_Py_Void();
23629 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23630 PyObject
*resultobj
= 0;
23631 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23637 PyObject
* obj0
= 0 ;
23638 PyObject
* obj1
= 0 ;
23639 char * kwnames
[] = {
23640 (char *) "self",(char *) "sizeId", NULL
23643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23645 if (!SWIG_IsOK(res1
)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23648 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23650 if (!SWIG_IsOK(ecode2
)) {
23651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23653 arg2
= static_cast< wxPaperSize
>(val2
);
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 (arg1
)->SetPaperId(arg2
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= SWIG_Py_Void();
23667 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
= 0;
23669 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23674 PyObject
* obj0
= 0 ;
23675 PyObject
* obj1
= 0 ;
23676 char * kwnames
[] = {
23677 (char *) "self",(char *) "sz", NULL
23680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23682 if (!SWIG_IsOK(res1
)) {
23683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23685 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23688 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= SWIG_Py_Void();
23703 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
= 0;
23705 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23711 PyObject
* obj0
= 0 ;
23712 PyObject
* obj1
= 0 ;
23713 char * kwnames
[] = {
23714 (char *) "self",(char *) "quality", NULL
23717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23719 if (!SWIG_IsOK(res1
)) {
23720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23722 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23724 if (!SWIG_IsOK(ecode2
)) {
23725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23727 arg2
= static_cast< int >(val2
);
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 (arg1
)->SetQuality(arg2
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= SWIG_Py_Void();
23741 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
= 0;
23743 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 PyObject
* obj1
= 0 ;
23751 char * kwnames
[] = {
23752 (char *) "self",(char *) "bin", NULL
23755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23757 if (!SWIG_IsOK(res1
)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23760 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23762 if (!SWIG_IsOK(ecode2
)) {
23763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23765 arg2
= static_cast< wxPrintBin
>(val2
);
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 (arg1
)->SetBin(arg2
);
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= SWIG_Py_Void();
23779 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
= 0;
23781 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23787 PyObject
* obj0
= 0 ;
23788 PyObject
* obj1
= 0 ;
23789 char * kwnames
[] = {
23790 (char *) "self",(char *) "printMode", NULL
23793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23795 if (!SWIG_IsOK(res1
)) {
23796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
23798 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23800 if (!SWIG_IsOK(ecode2
)) {
23801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
23803 arg2
= static_cast< wxPrintMode
>(val2
);
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 (arg1
)->SetPrintMode(arg2
);
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_Py_Void();
23817 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23818 PyObject
*resultobj
= 0;
23819 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23823 PyObject
*swig_obj
[1] ;
23825 if (!args
) SWIG_fail
;
23826 swig_obj
[0] = args
;
23827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23828 if (!SWIG_IsOK(res1
)) {
23829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23831 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= ((wxPrintData
const *)arg1
)->GetFilename();
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23851 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
= 0;
23853 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23854 wxString
*arg2
= 0 ;
23857 bool temp2
= false ;
23858 PyObject
* obj0
= 0 ;
23859 PyObject
* obj1
= 0 ;
23860 char * kwnames
[] = {
23861 (char *) "self",(char *) "filename", NULL
23864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23866 if (!SWIG_IsOK(res1
)) {
23867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
23869 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23871 arg2
= wxString_in_helper(obj1
);
23872 if (arg2
== NULL
) SWIG_fail
;
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 (arg1
)->SetFilename((wxString
const &)*arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_Py_Void();
23896 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23897 PyObject
*resultobj
= 0;
23898 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23899 PyObject
*result
= 0 ;
23902 PyObject
*swig_obj
[1] ;
23904 if (!args
) SWIG_fail
;
23905 swig_obj
[0] = args
;
23906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23907 if (!SWIG_IsOK(res1
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23910 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= result
;
23924 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
= 0;
23926 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23927 PyObject
*arg2
= (PyObject
*) 0 ;
23930 PyObject
* obj0
= 0 ;
23931 PyObject
* obj1
= 0 ;
23932 char * kwnames
[] = {
23933 (char *) "self",(char *) "data", NULL
23936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23938 if (!SWIG_IsOK(res1
)) {
23939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23941 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 wxPrintData_SetPrivData(arg1
,arg2
);
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= SWIG_Py_Void();
23956 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23959 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
23960 return SWIG_Py_Void();
23963 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23964 return SWIG_Python_InitShadowInstance(args
);
23967 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23968 PyObject
*resultobj
= 0;
23969 wxPageSetupDialogData
*result
= 0 ;
23971 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
23985 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23986 PyObject
*resultobj
= 0;
23987 wxPageSetupDialogData
*arg1
= 0 ;
23988 wxPageSetupDialogData
*result
= 0 ;
23992 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
23994 if (!SWIG_IsOK(res1
)) {
23995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
23998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24000 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24014 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24015 PyObject
*resultobj
= 0;
24016 wxPrintData
*arg1
= 0 ;
24017 wxPageSetupDialogData
*result
= 0 ;
24021 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24023 if (!SWIG_IsOK(res1
)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24029 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24043 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24047 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24050 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24055 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24056 _v
= SWIG_CheckState(res
);
24058 if (!_v
) goto check_2
;
24059 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24064 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24068 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24073 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24074 PyObject
*resultobj
= 0;
24075 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24078 PyObject
*swig_obj
[1] ;
24080 if (!args
) SWIG_fail
;
24081 swig_obj
[0] = args
;
24082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24083 if (!SWIG_IsOK(res1
)) {
24084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24086 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= SWIG_Py_Void();
24101 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
= 0;
24103 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24109 PyObject
* obj0
= 0 ;
24110 PyObject
* obj1
= 0 ;
24111 char * kwnames
[] = {
24112 (char *) "self",(char *) "flag", NULL
24115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24117 if (!SWIG_IsOK(res1
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24120 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24121 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24122 if (!SWIG_IsOK(ecode2
)) {
24123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24125 arg2
= static_cast< bool >(val2
);
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 (arg1
)->EnableHelp(arg2
);
24129 wxPyEndAllowThreads(__tstate
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24132 resultobj
= SWIG_Py_Void();
24139 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
= 0;
24141 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 char * kwnames
[] = {
24150 (char *) "self",(char *) "flag", NULL
24153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24158 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24159 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24160 if (!SWIG_IsOK(ecode2
)) {
24161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24163 arg2
= static_cast< bool >(val2
);
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 (arg1
)->EnableMargins(arg2
);
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= SWIG_Py_Void();
24177 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24178 PyObject
*resultobj
= 0;
24179 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24185 PyObject
* obj0
= 0 ;
24186 PyObject
* obj1
= 0 ;
24187 char * kwnames
[] = {
24188 (char *) "self",(char *) "flag", NULL
24191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24193 if (!SWIG_IsOK(res1
)) {
24194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24196 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24197 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24198 if (!SWIG_IsOK(ecode2
)) {
24199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24201 arg2
= static_cast< bool >(val2
);
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 (arg1
)->EnableOrientation(arg2
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= SWIG_Py_Void();
24215 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
= 0;
24217 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 char * kwnames
[] = {
24226 (char *) "self",(char *) "flag", NULL
24229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24231 if (!SWIG_IsOK(res1
)) {
24232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24234 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24235 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24236 if (!SWIG_IsOK(ecode2
)) {
24237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24239 arg2
= static_cast< bool >(val2
);
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 (arg1
)->EnablePaper(arg2
);
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 resultobj
= SWIG_Py_Void();
24253 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
= 0;
24255 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24261 PyObject
* obj0
= 0 ;
24262 PyObject
* obj1
= 0 ;
24263 char * kwnames
[] = {
24264 (char *) "self",(char *) "flag", NULL
24267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24269 if (!SWIG_IsOK(res1
)) {
24270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24272 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24273 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24274 if (!SWIG_IsOK(ecode2
)) {
24275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24277 arg2
= static_cast< bool >(val2
);
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 (arg1
)->EnablePrinter(arg2
);
24281 wxPyEndAllowThreads(__tstate
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= SWIG_Py_Void();
24291 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24292 PyObject
*resultobj
= 0;
24293 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24297 PyObject
*swig_obj
[1] ;
24299 if (!args
) SWIG_fail
;
24300 swig_obj
[0] = args
;
24301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24302 if (!SWIG_IsOK(res1
)) {
24303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24305 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (bool)(arg1
)->GetDefaultMinMargins();
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24321 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24322 PyObject
*resultobj
= 0;
24323 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24327 PyObject
*swig_obj
[1] ;
24329 if (!args
) SWIG_fail
;
24330 swig_obj
[0] = args
;
24331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24332 if (!SWIG_IsOK(res1
)) {
24333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24335 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 result
= (bool)(arg1
)->GetEnableMargins();
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24351 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24352 PyObject
*resultobj
= 0;
24353 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24357 PyObject
*swig_obj
[1] ;
24359 if (!args
) SWIG_fail
;
24360 swig_obj
[0] = args
;
24361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24362 if (!SWIG_IsOK(res1
)) {
24363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24365 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (bool)(arg1
)->GetEnableOrientation();
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24381 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24382 PyObject
*resultobj
= 0;
24383 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24387 PyObject
*swig_obj
[1] ;
24389 if (!args
) SWIG_fail
;
24390 swig_obj
[0] = args
;
24391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24392 if (!SWIG_IsOK(res1
)) {
24393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24395 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 result
= (bool)(arg1
)->GetEnablePaper();
24399 wxPyEndAllowThreads(__tstate
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24411 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24412 PyObject
*resultobj
= 0;
24413 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24417 PyObject
*swig_obj
[1] ;
24419 if (!args
) SWIG_fail
;
24420 swig_obj
[0] = args
;
24421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24422 if (!SWIG_IsOK(res1
)) {
24423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24425 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 result
= (bool)(arg1
)->GetEnablePrinter();
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24441 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24442 PyObject
*resultobj
= 0;
24443 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24447 PyObject
*swig_obj
[1] ;
24449 if (!args
) SWIG_fail
;
24450 swig_obj
[0] = args
;
24451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24452 if (!SWIG_IsOK(res1
)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24455 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= (bool)(arg1
)->GetEnableHelp();
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24471 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24472 PyObject
*resultobj
= 0;
24473 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24477 PyObject
*swig_obj
[1] ;
24479 if (!args
) SWIG_fail
;
24480 swig_obj
[0] = args
;
24481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24482 if (!SWIG_IsOK(res1
)) {
24483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24485 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 result
= (bool)(arg1
)->GetDefaultInfo();
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24501 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24502 PyObject
*resultobj
= 0;
24503 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24507 PyObject
*swig_obj
[1] ;
24509 if (!args
) SWIG_fail
;
24510 swig_obj
[0] = args
;
24511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24512 if (!SWIG_IsOK(res1
)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24515 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 result
= (arg1
)->GetMarginTopLeft();
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24529 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24530 PyObject
*resultobj
= 0;
24531 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24535 PyObject
*swig_obj
[1] ;
24537 if (!args
) SWIG_fail
;
24538 swig_obj
[0] = args
;
24539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24540 if (!SWIG_IsOK(res1
)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24543 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 result
= (arg1
)->GetMarginBottomRight();
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24557 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24558 PyObject
*resultobj
= 0;
24559 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24563 PyObject
*swig_obj
[1] ;
24565 if (!args
) SWIG_fail
;
24566 swig_obj
[0] = args
;
24567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24568 if (!SWIG_IsOK(res1
)) {
24569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24571 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (arg1
)->GetMinMarginTopLeft();
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24578 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24585 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24586 PyObject
*resultobj
= 0;
24587 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24591 PyObject
*swig_obj
[1] ;
24593 if (!args
) SWIG_fail
;
24594 swig_obj
[0] = args
;
24595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24596 if (!SWIG_IsOK(res1
)) {
24597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24599 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 result
= (arg1
)->GetMinMarginBottomRight();
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24613 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24614 PyObject
*resultobj
= 0;
24615 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24616 wxPaperSize result
;
24619 PyObject
*swig_obj
[1] ;
24621 if (!args
) SWIG_fail
;
24622 swig_obj
[0] = args
;
24623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24624 if (!SWIG_IsOK(res1
)) {
24625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24627 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_From_int(static_cast< int >(result
));
24641 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24642 PyObject
*resultobj
= 0;
24643 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24647 PyObject
*swig_obj
[1] ;
24649 if (!args
) SWIG_fail
;
24650 swig_obj
[0] = args
;
24651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24652 if (!SWIG_IsOK(res1
)) {
24653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24655 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 result
= (arg1
)->GetPaperSize();
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24669 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24670 PyObject
*resultobj
= 0;
24671 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24672 wxPrintData
*result
= 0 ;
24675 PyObject
*swig_obj
[1] ;
24677 if (!args
) SWIG_fail
;
24678 swig_obj
[0] = args
;
24679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24680 if (!SWIG_IsOK(res1
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24683 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24688 result
= (wxPrintData
*) &_result_ref
;
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24700 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24701 PyObject
*resultobj
= 0;
24702 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24706 PyObject
*swig_obj
[1] ;
24708 if (!args
) SWIG_fail
;
24709 swig_obj
[0] = args
;
24710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24711 if (!SWIG_IsOK(res1
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24714 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (bool)(arg1
)->Ok();
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24730 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
= 0;
24732 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char * kwnames
[] = {
24741 (char *) "self",(char *) "flag", NULL
24744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24746 if (!SWIG_IsOK(res1
)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24749 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24750 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24751 if (!SWIG_IsOK(ecode2
)) {
24752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24754 arg2
= static_cast< bool >(val2
);
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 (arg1
)->SetDefaultInfo(arg2
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= SWIG_Py_Void();
24768 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24769 PyObject
*resultobj
= 0;
24770 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24776 PyObject
* obj0
= 0 ;
24777 PyObject
* obj1
= 0 ;
24778 char * kwnames
[] = {
24779 (char *) "self",(char *) "flag", NULL
24782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24784 if (!SWIG_IsOK(res1
)) {
24785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24787 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24788 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24789 if (!SWIG_IsOK(ecode2
)) {
24790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
24792 arg2
= static_cast< bool >(val2
);
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 (arg1
)->SetDefaultMinMargins(arg2
);
24796 wxPyEndAllowThreads(__tstate
);
24797 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= SWIG_Py_Void();
24806 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24807 PyObject
*resultobj
= 0;
24808 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24809 wxPoint
*arg2
= 0 ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 char * kwnames
[] = {
24816 (char *) "self",(char *) "pt", NULL
24819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24821 if (!SWIG_IsOK(res1
)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24824 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24827 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= SWIG_Py_Void();
24842 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
= 0;
24844 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24845 wxPoint
*arg2
= 0 ;
24849 PyObject
* obj0
= 0 ;
24850 PyObject
* obj1
= 0 ;
24851 char * kwnames
[] = {
24852 (char *) "self",(char *) "pt", NULL
24855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24857 if (!SWIG_IsOK(res1
)) {
24858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24860 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24863 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= SWIG_Py_Void();
24878 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
= 0;
24880 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24881 wxPoint
*arg2
= 0 ;
24885 PyObject
* obj0
= 0 ;
24886 PyObject
* obj1
= 0 ;
24887 char * kwnames
[] = {
24888 (char *) "self",(char *) "pt", NULL
24891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24893 if (!SWIG_IsOK(res1
)) {
24894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24896 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24899 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24907 resultobj
= SWIG_Py_Void();
24914 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
= 0;
24916 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24917 wxPoint
*arg2
= 0 ;
24921 PyObject
* obj0
= 0 ;
24922 PyObject
* obj1
= 0 ;
24923 char * kwnames
[] = {
24924 (char *) "self",(char *) "pt", NULL
24927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24929 if (!SWIG_IsOK(res1
)) {
24930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24932 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24935 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= SWIG_Py_Void();
24950 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
= 0;
24952 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24958 PyObject
* obj0
= 0 ;
24959 PyObject
* obj1
= 0 ;
24960 char * kwnames
[] = {
24961 (char *) "self",(char *) "id", NULL
24964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24966 if (!SWIG_IsOK(res1
)) {
24967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24969 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24971 if (!SWIG_IsOK(ecode2
)) {
24972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24974 arg2
= static_cast< wxPaperSize
>(val2
);
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 (arg1
)->SetPaperId(arg2
);
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 resultobj
= SWIG_Py_Void();
24988 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
= 0;
24990 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24995 PyObject
* obj0
= 0 ;
24996 PyObject
* obj1
= 0 ;
24997 char * kwnames
[] = {
24998 (char *) "self",(char *) "size", NULL
25001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25003 if (!SWIG_IsOK(res1
)) {
25004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25006 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25009 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= SWIG_Py_Void();
25024 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
= 0;
25026 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25027 wxPrintData
*arg2
= 0 ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char * kwnames
[] = {
25035 (char *) "self",(char *) "printData", NULL
25038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25040 if (!SWIG_IsOK(res1
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25043 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25045 if (!SWIG_IsOK(res2
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25051 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= SWIG_Py_Void();
25065 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25066 PyObject
*resultobj
= 0;
25067 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25070 PyObject
*swig_obj
[1] ;
25072 if (!args
) SWIG_fail
;
25073 swig_obj
[0] = args
;
25074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25078 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 (arg1
)->CalculateIdFromPaperSize();
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= SWIG_Py_Void();
25092 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25093 PyObject
*resultobj
= 0;
25094 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25097 PyObject
*swig_obj
[1] ;
25099 if (!args
) SWIG_fail
;
25100 swig_obj
[0] = args
;
25101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25102 if (!SWIG_IsOK(res1
)) {
25103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25105 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 (arg1
)->CalculatePaperSizeFromId();
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25112 resultobj
= SWIG_Py_Void();
25119 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25122 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25123 return SWIG_Py_Void();
25126 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25127 return SWIG_Python_InitShadowInstance(args
);
25130 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
= 0;
25132 wxWindow
*arg1
= (wxWindow
*) 0 ;
25133 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25134 wxPageSetupDialog
*result
= 0 ;
25139 PyObject
* obj0
= 0 ;
25140 PyObject
* obj1
= 0 ;
25141 char * kwnames
[] = {
25142 (char *) "parent",(char *) "data", NULL
25145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25147 if (!SWIG_IsOK(res1
)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25150 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25153 if (!SWIG_IsOK(res2
)) {
25154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25156 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25159 if (!wxPyCheckForApp()) SWIG_fail
;
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25172 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25173 PyObject
*resultobj
= 0;
25174 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25175 wxPageSetupDialogData
*result
= 0 ;
25178 PyObject
*swig_obj
[1] ;
25180 if (!args
) SWIG_fail
;
25181 swig_obj
[0] = args
;
25182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25183 if (!SWIG_IsOK(res1
)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25186 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25191 result
= (wxPageSetupDialogData
*) &_result_ref
;
25193 wxPyEndAllowThreads(__tstate
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25203 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25204 PyObject
*resultobj
= 0;
25205 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25206 wxPageSetupDialogData
*result
= 0 ;
25209 PyObject
*swig_obj
[1] ;
25211 if (!args
) SWIG_fail
;
25212 swig_obj
[0] = args
;
25213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25214 if (!SWIG_IsOK(res1
)) {
25215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25217 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25222 result
= (wxPageSetupDialogData
*) &_result_ref
;
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25234 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25235 PyObject
*resultobj
= 0;
25236 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25240 PyObject
*swig_obj
[1] ;
25242 if (!args
) SWIG_fail
;
25243 swig_obj
[0] = args
;
25244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25245 if (!SWIG_IsOK(res1
)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25248 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= (int)(arg1
)->ShowModal();
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= SWIG_From_int(static_cast< int >(result
));
25262 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25265 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25266 return SWIG_Py_Void();
25269 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25270 return SWIG_Python_InitShadowInstance(args
);
25273 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25274 PyObject
*resultobj
= 0;
25275 wxPrintDialogData
*result
= 0 ;
25277 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25291 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25292 PyObject
*resultobj
= 0;
25293 wxPrintData
*arg1
= 0 ;
25294 wxPrintDialogData
*result
= 0 ;
25298 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25300 if (!SWIG_IsOK(res1
)) {
25301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25306 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25320 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25321 PyObject
*resultobj
= 0;
25322 wxPrintDialogData
*arg1
= 0 ;
25323 wxPrintDialogData
*result
= 0 ;
25327 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25329 if (!SWIG_IsOK(res1
)) {
25330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25335 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25349 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25353 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25356 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25361 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25362 _v
= SWIG_CheckState(res
);
25364 if (!_v
) goto check_2
;
25365 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25370 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25374 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25379 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25380 PyObject
*resultobj
= 0;
25381 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25384 PyObject
*swig_obj
[1] ;
25386 if (!args
) SWIG_fail
;
25387 swig_obj
[0] = args
;
25388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25389 if (!SWIG_IsOK(res1
)) {
25390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25392 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25400 resultobj
= SWIG_Py_Void();
25407 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25408 PyObject
*resultobj
= 0;
25409 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25413 PyObject
*swig_obj
[1] ;
25415 if (!args
) SWIG_fail
;
25416 swig_obj
[0] = args
;
25417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25418 if (!SWIG_IsOK(res1
)) {
25419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25421 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= SWIG_From_int(static_cast< int >(result
));
25435 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25436 PyObject
*resultobj
= 0;
25437 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25441 PyObject
*swig_obj
[1] ;
25443 if (!args
) SWIG_fail
;
25444 swig_obj
[0] = args
;
25445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25446 if (!SWIG_IsOK(res1
)) {
25447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25449 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_From_int(static_cast< int >(result
));
25463 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25464 PyObject
*resultobj
= 0;
25465 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25469 PyObject
*swig_obj
[1] ;
25471 if (!args
) SWIG_fail
;
25472 swig_obj
[0] = args
;
25473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25474 if (!SWIG_IsOK(res1
)) {
25475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25477 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_From_int(static_cast< int >(result
));
25491 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25492 PyObject
*resultobj
= 0;
25493 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25497 PyObject
*swig_obj
[1] ;
25499 if (!args
) SWIG_fail
;
25500 swig_obj
[0] = args
;
25501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25502 if (!SWIG_IsOK(res1
)) {
25503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25505 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= SWIG_From_int(static_cast< int >(result
));
25519 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25520 PyObject
*resultobj
= 0;
25521 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25525 PyObject
*swig_obj
[1] ;
25527 if (!args
) SWIG_fail
;
25528 swig_obj
[0] = args
;
25529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25530 if (!SWIG_IsOK(res1
)) {
25531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25533 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 resultobj
= SWIG_From_int(static_cast< int >(result
));
25547 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25548 PyObject
*resultobj
= 0;
25549 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25553 PyObject
*swig_obj
[1] ;
25555 if (!args
) SWIG_fail
;
25556 swig_obj
[0] = args
;
25557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25558 if (!SWIG_IsOK(res1
)) {
25559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25561 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25564 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25565 wxPyEndAllowThreads(__tstate
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25577 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25578 PyObject
*resultobj
= 0;
25579 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25583 PyObject
*swig_obj
[1] ;
25585 if (!args
) SWIG_fail
;
25586 swig_obj
[0] = args
;
25587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25588 if (!SWIG_IsOK(res1
)) {
25589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25591 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25607 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25608 PyObject
*resultobj
= 0;
25609 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25613 PyObject
*swig_obj
[1] ;
25615 if (!args
) SWIG_fail
;
25616 swig_obj
[0] = args
;
25617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25618 if (!SWIG_IsOK(res1
)) {
25619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25621 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25637 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25638 PyObject
*resultobj
= 0;
25639 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25643 PyObject
*swig_obj
[1] ;
25645 if (!args
) SWIG_fail
;
25646 swig_obj
[0] = args
;
25647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25648 if (!SWIG_IsOK(res1
)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25651 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25667 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25668 PyObject
*resultobj
= 0;
25669 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25675 PyObject
* obj0
= 0 ;
25676 PyObject
* obj1
= 0 ;
25677 char * kwnames
[] = {
25678 (char *) "self",(char *) "v", NULL
25681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25683 if (!SWIG_IsOK(res1
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25686 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25688 if (!SWIG_IsOK(ecode2
)) {
25689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25691 arg2
= static_cast< int >(val2
);
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 (arg1
)->SetFromPage(arg2
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_Py_Void();
25705 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
= 0;
25707 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 char * kwnames
[] = {
25716 (char *) "self",(char *) "v", NULL
25719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25721 if (!SWIG_IsOK(res1
)) {
25722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25724 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25726 if (!SWIG_IsOK(ecode2
)) {
25727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25729 arg2
= static_cast< int >(val2
);
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 (arg1
)->SetToPage(arg2
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= SWIG_Py_Void();
25743 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25744 PyObject
*resultobj
= 0;
25745 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25751 PyObject
* obj0
= 0 ;
25752 PyObject
* obj1
= 0 ;
25753 char * kwnames
[] = {
25754 (char *) "self",(char *) "v", NULL
25757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25759 if (!SWIG_IsOK(res1
)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25762 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25764 if (!SWIG_IsOK(ecode2
)) {
25765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
25767 arg2
= static_cast< int >(val2
);
25769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25770 (arg1
)->SetMinPage(arg2
);
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= SWIG_Py_Void();
25781 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
= 0;
25783 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25789 PyObject
* obj0
= 0 ;
25790 PyObject
* obj1
= 0 ;
25791 char * kwnames
[] = {
25792 (char *) "self",(char *) "v", NULL
25795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25797 if (!SWIG_IsOK(res1
)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25800 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25802 if (!SWIG_IsOK(ecode2
)) {
25803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
25805 arg2
= static_cast< int >(val2
);
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 (arg1
)->SetMaxPage(arg2
);
25809 wxPyEndAllowThreads(__tstate
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25812 resultobj
= SWIG_Py_Void();
25819 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25820 PyObject
*resultobj
= 0;
25821 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25827 PyObject
* obj0
= 0 ;
25828 PyObject
* obj1
= 0 ;
25829 char * kwnames
[] = {
25830 (char *) "self",(char *) "v", NULL
25833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25835 if (!SWIG_IsOK(res1
)) {
25836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25838 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25840 if (!SWIG_IsOK(ecode2
)) {
25841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
25843 arg2
= static_cast< int >(val2
);
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 (arg1
)->SetNoCopies(arg2
);
25847 wxPyEndAllowThreads(__tstate
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 resultobj
= SWIG_Py_Void();
25857 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
= 0;
25859 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 char * kwnames
[] = {
25868 (char *) "self",(char *) "flag", NULL
25871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25873 if (!SWIG_IsOK(res1
)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25876 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25878 if (!SWIG_IsOK(ecode2
)) {
25879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
25881 arg2
= static_cast< bool >(val2
);
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 (arg1
)->SetAllPages(arg2
);
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25888 resultobj
= SWIG_Py_Void();
25895 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
= 0;
25897 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 char * kwnames
[] = {
25906 (char *) "self",(char *) "flag", NULL
25909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25911 if (!SWIG_IsOK(res1
)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25914 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25915 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25916 if (!SWIG_IsOK(ecode2
)) {
25917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
25919 arg2
= static_cast< bool >(val2
);
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 (arg1
)->SetSelection(arg2
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= SWIG_Py_Void();
25933 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25934 PyObject
*resultobj
= 0;
25935 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25941 PyObject
* obj0
= 0 ;
25942 PyObject
* obj1
= 0 ;
25943 char * kwnames
[] = {
25944 (char *) "self",(char *) "flag", NULL
25947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25949 if (!SWIG_IsOK(res1
)) {
25950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25952 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25953 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25954 if (!SWIG_IsOK(ecode2
)) {
25955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
25957 arg2
= static_cast< bool >(val2
);
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 (arg1
)->SetCollate(arg2
);
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= SWIG_Py_Void();
25971 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
= 0;
25973 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25979 PyObject
* obj0
= 0 ;
25980 PyObject
* obj1
= 0 ;
25981 char * kwnames
[] = {
25982 (char *) "self",(char *) "flag", NULL
25985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25987 if (!SWIG_IsOK(res1
)) {
25988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25990 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25991 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25992 if (!SWIG_IsOK(ecode2
)) {
25993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
25995 arg2
= static_cast< bool >(val2
);
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 (arg1
)->SetPrintToFile(arg2
);
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= SWIG_Py_Void();
26009 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
= 0;
26011 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26017 PyObject
* obj0
= 0 ;
26018 PyObject
* obj1
= 0 ;
26019 char * kwnames
[] = {
26020 (char *) "self",(char *) "flag", NULL
26023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26025 if (!SWIG_IsOK(res1
)) {
26026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26028 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26029 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26030 if (!SWIG_IsOK(ecode2
)) {
26031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26033 arg2
= static_cast< bool >(val2
);
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 (arg1
)->EnablePrintToFile(arg2
);
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26040 resultobj
= SWIG_Py_Void();
26047 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26048 PyObject
*resultobj
= 0;
26049 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26055 PyObject
* obj0
= 0 ;
26056 PyObject
* obj1
= 0 ;
26057 char * kwnames
[] = {
26058 (char *) "self",(char *) "flag", NULL
26061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26063 if (!SWIG_IsOK(res1
)) {
26064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26066 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26067 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26068 if (!SWIG_IsOK(ecode2
)) {
26069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26071 arg2
= static_cast< bool >(val2
);
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 (arg1
)->EnableSelection(arg2
);
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26078 resultobj
= SWIG_Py_Void();
26085 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26086 PyObject
*resultobj
= 0;
26087 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26093 PyObject
* obj0
= 0 ;
26094 PyObject
* obj1
= 0 ;
26095 char * kwnames
[] = {
26096 (char *) "self",(char *) "flag", NULL
26099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26101 if (!SWIG_IsOK(res1
)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26104 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26105 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26106 if (!SWIG_IsOK(ecode2
)) {
26107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26109 arg2
= static_cast< bool >(val2
);
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 (arg1
)->EnablePageNumbers(arg2
);
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26116 resultobj
= SWIG_Py_Void();
26123 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26124 PyObject
*resultobj
= 0;
26125 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 char * kwnames
[] = {
26134 (char *) "self",(char *) "flag", NULL
26137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26139 if (!SWIG_IsOK(res1
)) {
26140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26142 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26143 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26144 if (!SWIG_IsOK(ecode2
)) {
26145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26147 arg2
= static_cast< bool >(val2
);
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 (arg1
)->EnableHelp(arg2
);
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= SWIG_Py_Void();
26161 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26162 PyObject
*resultobj
= 0;
26163 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26167 PyObject
*swig_obj
[1] ;
26169 if (!args
) SWIG_fail
;
26170 swig_obj
[0] = args
;
26171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26172 if (!SWIG_IsOK(res1
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26175 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26191 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26192 PyObject
*resultobj
= 0;
26193 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26197 PyObject
*swig_obj
[1] ;
26199 if (!args
) SWIG_fail
;
26200 swig_obj
[0] = args
;
26201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26202 if (!SWIG_IsOK(res1
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26205 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26221 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26222 PyObject
*resultobj
= 0;
26223 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26227 PyObject
*swig_obj
[1] ;
26229 if (!args
) SWIG_fail
;
26230 swig_obj
[0] = args
;
26231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26232 if (!SWIG_IsOK(res1
)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26235 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26251 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26252 PyObject
*resultobj
= 0;
26253 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26257 PyObject
*swig_obj
[1] ;
26259 if (!args
) SWIG_fail
;
26260 swig_obj
[0] = args
;
26261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26262 if (!SWIG_IsOK(res1
)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26265 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26268 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26281 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26282 PyObject
*resultobj
= 0;
26283 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26287 PyObject
*swig_obj
[1] ;
26289 if (!args
) SWIG_fail
;
26290 swig_obj
[0] = args
;
26291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26292 if (!SWIG_IsOK(res1
)) {
26293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26295 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26299 wxPyEndAllowThreads(__tstate
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26311 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26312 PyObject
*resultobj
= 0;
26313 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26314 wxPrintData
*result
= 0 ;
26317 PyObject
*swig_obj
[1] ;
26319 if (!args
) SWIG_fail
;
26320 swig_obj
[0] = args
;
26321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26322 if (!SWIG_IsOK(res1
)) {
26323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26325 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26330 result
= (wxPrintData
*) &_result_ref
;
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26342 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
= 0;
26344 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26345 wxPrintData
*arg2
= 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 char * kwnames
[] = {
26353 (char *) "self",(char *) "printData", NULL
26356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26358 if (!SWIG_IsOK(res1
)) {
26359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26361 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26362 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26363 if (!SWIG_IsOK(res2
)) {
26364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26369 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 resultobj
= SWIG_Py_Void();
26383 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26386 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26387 return SWIG_Py_Void();
26390 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26391 return SWIG_Python_InitShadowInstance(args
);
26394 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
= 0;
26396 wxWindow
*arg1
= (wxWindow
*) 0 ;
26397 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26398 wxPrintDialog
*result
= 0 ;
26403 PyObject
* obj0
= 0 ;
26404 PyObject
* obj1
= 0 ;
26405 char * kwnames
[] = {
26406 (char *) "parent",(char *) "data", NULL
26409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26411 if (!SWIG_IsOK(res1
)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26414 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26417 if (!SWIG_IsOK(res2
)) {
26418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26420 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26423 if (!wxPyCheckForApp()) SWIG_fail
;
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26436 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26437 PyObject
*resultobj
= 0;
26438 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26442 PyObject
*swig_obj
[1] ;
26444 if (!args
) SWIG_fail
;
26445 swig_obj
[0] = args
;
26446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26447 if (!SWIG_IsOK(res1
)) {
26448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26450 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 result
= (int)(arg1
)->ShowModal();
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_From_int(static_cast< int >(result
));
26464 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26465 PyObject
*resultobj
= 0;
26466 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26467 wxPrintDialogData
*result
= 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_wxPrintDialog
, 0 | 0 );
26475 if (!SWIG_IsOK(res1
)) {
26476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26478 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26483 result
= (wxPrintDialogData
*) &_result_ref
;
26485 wxPyEndAllowThreads(__tstate
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26495 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26496 PyObject
*resultobj
= 0;
26497 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26498 wxPrintData
*result
= 0 ;
26501 PyObject
*swig_obj
[1] ;
26503 if (!args
) SWIG_fail
;
26504 swig_obj
[0] = args
;
26505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26506 if (!SWIG_IsOK(res1
)) {
26507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26509 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26514 result
= (wxPrintData
*) &_result_ref
;
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26526 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26527 PyObject
*resultobj
= 0;
26528 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26532 PyObject
*swig_obj
[1] ;
26534 if (!args
) SWIG_fail
;
26535 swig_obj
[0] = args
;
26536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26537 if (!SWIG_IsOK(res1
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26540 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 result
= (wxDC
*)(arg1
)->GetPrintDC();
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26548 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26556 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26559 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26560 return SWIG_Py_Void();
26563 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26564 return SWIG_Python_InitShadowInstance(args
);
26567 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
= 0;
26569 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26570 wxPrinter
*result
= 0 ;
26573 PyObject
* obj0
= 0 ;
26574 char * kwnames
[] = {
26575 (char *) "data", NULL
26578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26581 if (!SWIG_IsOK(res1
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26584 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26587 if (!wxPyCheckForApp()) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 result
= (wxPrinter
*)new wxPrinter(arg1
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26600 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26601 PyObject
*resultobj
= 0;
26602 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26605 PyObject
*swig_obj
[1] ;
26607 if (!args
) SWIG_fail
;
26608 swig_obj
[0] = args
;
26609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26610 if (!SWIG_IsOK(res1
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26613 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= SWIG_Py_Void();
26628 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
= 0;
26630 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26631 wxWindow
*arg2
= (wxWindow
*) 0 ;
26632 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26633 wxWindow
*result
= 0 ;
26640 PyObject
* obj0
= 0 ;
26641 PyObject
* obj1
= 0 ;
26642 PyObject
* obj2
= 0 ;
26643 char * kwnames
[] = {
26644 (char *) "self",(char *) "parent",(char *) "printout", NULL
26647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26649 if (!SWIG_IsOK(res1
)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26652 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26654 if (!SWIG_IsOK(res2
)) {
26655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26657 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26658 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26659 if (!SWIG_IsOK(res3
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26662 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26665 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
26666 wxPyEndAllowThreads(__tstate
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26670 resultobj
= wxPyMake_wxObject(result
, 0);
26678 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
= 0;
26680 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26681 wxWindow
*arg2
= (wxWindow
*) 0 ;
26682 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26683 wxString
*arg4
= 0 ;
26690 bool temp4
= false ;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 PyObject
* obj2
= 0 ;
26694 PyObject
* obj3
= 0 ;
26695 char * kwnames
[] = {
26696 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26701 if (!SWIG_IsOK(res1
)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26704 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26706 if (!SWIG_IsOK(res2
)) {
26707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26709 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26710 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26711 if (!SWIG_IsOK(res3
)) {
26712 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26714 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26716 arg4
= wxString_in_helper(obj3
);
26717 if (arg4
== NULL
) SWIG_fail
;
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= SWIG_Py_Void();
26741 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
= 0;
26743 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26744 wxWindow
*arg2
= (wxWindow
*) 0 ;
26750 PyObject
* obj0
= 0 ;
26751 PyObject
* obj1
= 0 ;
26752 char * kwnames
[] = {
26753 (char *) "self",(char *) "parent", NULL
26756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26758 if (!SWIG_IsOK(res1
)) {
26759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
26761 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26763 if (!SWIG_IsOK(res2
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
26766 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 result
= (bool)(arg1
)->Setup(arg2
);
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26782 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26783 PyObject
*resultobj
= 0;
26784 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26785 wxWindow
*arg2
= (wxWindow
*) 0 ;
26786 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26787 bool arg4
= (bool) true ;
26797 PyObject
* obj0
= 0 ;
26798 PyObject
* obj1
= 0 ;
26799 PyObject
* obj2
= 0 ;
26800 PyObject
* obj3
= 0 ;
26801 char * kwnames
[] = {
26802 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
26805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26807 if (!SWIG_IsOK(res1
)) {
26808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
26810 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26812 if (!SWIG_IsOK(res2
)) {
26813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
26815 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26816 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26817 if (!SWIG_IsOK(res3
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26820 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26822 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
26823 if (!SWIG_IsOK(ecode4
)) {
26824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
26826 arg4
= static_cast< bool >(val4
);
26829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26843 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
= 0;
26845 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26846 wxWindow
*arg2
= (wxWindow
*) 0 ;
26852 PyObject
* obj0
= 0 ;
26853 PyObject
* obj1
= 0 ;
26854 char * kwnames
[] = {
26855 (char *) "self",(char *) "parent", NULL
26858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) 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_PrintDialog" "', 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_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
26868 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26884 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26885 PyObject
*resultobj
= 0;
26886 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26887 wxPrintDialogData
*result
= 0 ;
26890 PyObject
*swig_obj
[1] ;
26892 if (!args
) SWIG_fail
;
26893 swig_obj
[0] = args
;
26894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26895 if (!SWIG_IsOK(res1
)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
26898 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
26903 result
= (wxPrintDialogData
*) &_result_ref
;
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26915 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26916 PyObject
*resultobj
= 0;
26917 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26921 PyObject
*swig_obj
[1] ;
26923 if (!args
) SWIG_fail
;
26924 swig_obj
[0] = args
;
26925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26926 if (!SWIG_IsOK(res1
)) {
26927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
26929 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= (bool)(arg1
)->GetAbort();
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26945 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26946 PyObject
*resultobj
= 0;
26947 wxPrinterError result
;
26949 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
26951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26952 result
= (wxPrinterError
)wxPrinter::GetLastError();
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= SWIG_From_int(static_cast< int >(result
));
26963 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26966 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
26967 return SWIG_Py_Void();
26970 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26971 return SWIG_Python_InitShadowInstance(args
);
26974 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
= 0;
26976 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
26977 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26978 wxPyPrintout
*result
= 0 ;
26979 bool temp1
= false ;
26980 PyObject
* obj0
= 0 ;
26981 char * kwnames
[] = {
26982 (char *) "title", NULL
26985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
26988 arg1
= wxString_in_helper(obj0
);
26989 if (arg1
== NULL
) SWIG_fail
;
26994 if (!wxPyCheckForApp()) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27015 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27016 PyObject
*resultobj
= 0;
27017 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27020 PyObject
*swig_obj
[1] ;
27022 if (!args
) SWIG_fail
;
27023 swig_obj
[0] = args
;
27024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27025 if (!SWIG_IsOK(res1
)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27028 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 resultobj
= SWIG_Py_Void();
27043 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
= 0;
27045 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27046 PyObject
*arg2
= (PyObject
*) 0 ;
27047 PyObject
*arg3
= (PyObject
*) 0 ;
27050 PyObject
* obj0
= 0 ;
27051 PyObject
* obj1
= 0 ;
27052 PyObject
* obj2
= 0 ;
27053 char * kwnames
[] = {
27054 (char *) "self",(char *) "self",(char *) "_class", NULL
27057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27059 if (!SWIG_IsOK(res1
)) {
27060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27062 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27067 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27071 resultobj
= SWIG_Py_Void();
27078 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27079 PyObject
*resultobj
= 0;
27080 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27084 PyObject
*swig_obj
[1] ;
27086 if (!args
) SWIG_fail
;
27087 swig_obj
[0] = args
;
27088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27089 if (!SWIG_IsOK(res1
)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27092 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27095 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27112 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27113 PyObject
*resultobj
= 0;
27114 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27118 PyObject
*swig_obj
[1] ;
27120 if (!args
) SWIG_fail
;
27121 swig_obj
[0] = args
;
27122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27123 if (!SWIG_IsOK(res1
)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27126 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (wxDC
*)(arg1
)->GetDC();
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27142 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
= 0;
27144 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27145 wxDC
*arg2
= (wxDC
*) 0 ;
27150 PyObject
* obj0
= 0 ;
27151 PyObject
* obj1
= 0 ;
27152 char * kwnames
[] = {
27153 (char *) "self",(char *) "dc", NULL
27156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27158 if (!SWIG_IsOK(res1
)) {
27159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27161 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27162 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27163 if (!SWIG_IsOK(res2
)) {
27164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27166 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 (arg1
)->SetDC(arg2
);
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 resultobj
= SWIG_Py_Void();
27180 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
= 0;
27182 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27191 PyObject
* obj0
= 0 ;
27192 PyObject
* obj1
= 0 ;
27193 PyObject
* obj2
= 0 ;
27194 char * kwnames
[] = {
27195 (char *) "self",(char *) "w",(char *) "h", NULL
27198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27203 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27205 if (!SWIG_IsOK(ecode2
)) {
27206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27208 arg2
= static_cast< int >(val2
);
27209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27210 if (!SWIG_IsOK(ecode3
)) {
27211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27213 arg3
= static_cast< int >(val3
);
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= SWIG_Py_Void();
27227 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27228 PyObject
*resultobj
= 0;
27229 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27230 int *arg2
= (int *) 0 ;
27231 int *arg3
= (int *) 0 ;
27235 int res2
= SWIG_TMPOBJ
;
27237 int res3
= SWIG_TMPOBJ
;
27238 PyObject
*swig_obj
[1] ;
27242 if (!args
) SWIG_fail
;
27243 swig_obj
[0] = args
;
27244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27245 if (!SWIG_IsOK(res1
)) {
27246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27248 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= SWIG_Py_Void();
27256 if (SWIG_IsTmpObj(res2
)) {
27257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27259 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27260 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27262 if (SWIG_IsTmpObj(res3
)) {
27263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27265 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27274 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
= 0;
27276 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 PyObject
* obj2
= 0 ;
27288 char * kwnames
[] = {
27289 (char *) "self",(char *) "w",(char *) "h", NULL
27292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27294 if (!SWIG_IsOK(res1
)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27297 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27299 if (!SWIG_IsOK(ecode2
)) {
27300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27302 arg2
= static_cast< int >(val2
);
27303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27304 if (!SWIG_IsOK(ecode3
)) {
27305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27307 arg3
= static_cast< int >(val3
);
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= SWIG_Py_Void();
27321 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27322 PyObject
*resultobj
= 0;
27323 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27324 int *arg2
= (int *) 0 ;
27325 int *arg3
= (int *) 0 ;
27329 int res2
= SWIG_TMPOBJ
;
27331 int res3
= SWIG_TMPOBJ
;
27332 PyObject
*swig_obj
[1] ;
27336 if (!args
) SWIG_fail
;
27337 swig_obj
[0] = args
;
27338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27339 if (!SWIG_IsOK(res1
)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27342 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 resultobj
= SWIG_Py_Void();
27350 if (SWIG_IsTmpObj(res2
)) {
27351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27353 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27356 if (SWIG_IsTmpObj(res3
)) {
27357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27359 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27368 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
= 0;
27370 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27379 PyObject
* obj0
= 0 ;
27380 PyObject
* obj1
= 0 ;
27381 PyObject
* obj2
= 0 ;
27382 char * kwnames
[] = {
27383 (char *) "self",(char *) "x",(char *) "y", NULL
27386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27388 if (!SWIG_IsOK(res1
)) {
27389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27391 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27393 if (!SWIG_IsOK(ecode2
)) {
27394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27396 arg2
= static_cast< int >(val2
);
27397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27398 if (!SWIG_IsOK(ecode3
)) {
27399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27401 arg3
= static_cast< int >(val3
);
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 (arg1
)->SetPPIScreen(arg2
,arg3
);
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 resultobj
= SWIG_Py_Void();
27415 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27416 PyObject
*resultobj
= 0;
27417 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27418 int *arg2
= (int *) 0 ;
27419 int *arg3
= (int *) 0 ;
27423 int res2
= SWIG_TMPOBJ
;
27425 int res3
= SWIG_TMPOBJ
;
27426 PyObject
*swig_obj
[1] ;
27430 if (!args
) SWIG_fail
;
27431 swig_obj
[0] = args
;
27432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27433 if (!SWIG_IsOK(res1
)) {
27434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27436 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 (arg1
)->GetPPIScreen(arg2
,arg3
);
27440 wxPyEndAllowThreads(__tstate
);
27441 if (PyErr_Occurred()) SWIG_fail
;
27443 resultobj
= SWIG_Py_Void();
27444 if (SWIG_IsTmpObj(res2
)) {
27445 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27447 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27448 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27450 if (SWIG_IsTmpObj(res3
)) {
27451 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27453 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27454 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27462 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
= 0;
27464 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27473 PyObject
* obj0
= 0 ;
27474 PyObject
* obj1
= 0 ;
27475 PyObject
* obj2
= 0 ;
27476 char * kwnames
[] = {
27477 (char *) "self",(char *) "x",(char *) "y", NULL
27480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27482 if (!SWIG_IsOK(res1
)) {
27483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27485 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27487 if (!SWIG_IsOK(ecode2
)) {
27488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27490 arg2
= static_cast< int >(val2
);
27491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27492 if (!SWIG_IsOK(ecode3
)) {
27493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27495 arg3
= static_cast< int >(val3
);
27497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27498 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27502 resultobj
= SWIG_Py_Void();
27509 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27510 PyObject
*resultobj
= 0;
27511 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27512 int *arg2
= (int *) 0 ;
27513 int *arg3
= (int *) 0 ;
27517 int res2
= SWIG_TMPOBJ
;
27519 int res3
= SWIG_TMPOBJ
;
27520 PyObject
*swig_obj
[1] ;
27524 if (!args
) SWIG_fail
;
27525 swig_obj
[0] = args
;
27526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27527 if (!SWIG_IsOK(res1
)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27530 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27533 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27537 resultobj
= SWIG_Py_Void();
27538 if (SWIG_IsTmpObj(res2
)) {
27539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27541 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27544 if (SWIG_IsTmpObj(res3
)) {
27545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27547 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27556 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27557 PyObject
*resultobj
= 0;
27558 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27562 PyObject
*swig_obj
[1] ;
27564 if (!args
) SWIG_fail
;
27565 swig_obj
[0] = args
;
27566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27567 if (!SWIG_IsOK(res1
)) {
27568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27570 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 result
= (bool)(arg1
)->IsPreview();
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27586 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27587 PyObject
*resultobj
= 0;
27588 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 PyObject
* obj1
= 0 ;
27596 char * kwnames
[] = {
27597 (char *) "self",(char *) "p", NULL
27600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27602 if (!SWIG_IsOK(res1
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27605 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27606 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27607 if (!SWIG_IsOK(ecode2
)) {
27608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27610 arg2
= static_cast< bool >(val2
);
27612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27613 (arg1
)->SetIsPreview(arg2
);
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 resultobj
= SWIG_Py_Void();
27624 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
= 0;
27626 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27636 PyObject
* obj0
= 0 ;
27637 PyObject
* obj1
= 0 ;
27638 PyObject
* obj2
= 0 ;
27639 char * kwnames
[] = {
27640 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27645 if (!SWIG_IsOK(res1
)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27648 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27650 if (!SWIG_IsOK(ecode2
)) {
27651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27653 arg2
= static_cast< int >(val2
);
27654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27655 if (!SWIG_IsOK(ecode3
)) {
27656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27658 arg3
= static_cast< int >(val3
);
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27674 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27675 PyObject
*resultobj
= 0;
27676 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27679 PyObject
*swig_obj
[1] ;
27681 if (!args
) SWIG_fail
;
27682 swig_obj
[0] = args
;
27683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27684 if (!SWIG_IsOK(res1
)) {
27685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27687 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 (arg1
)->OnEndDocument();
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_Py_Void();
27701 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27702 PyObject
*resultobj
= 0;
27703 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27706 PyObject
*swig_obj
[1] ;
27708 if (!args
) SWIG_fail
;
27709 swig_obj
[0] = args
;
27710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27711 if (!SWIG_IsOK(res1
)) {
27712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27714 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 (arg1
)->OnBeginPrinting();
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= SWIG_Py_Void();
27728 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27729 PyObject
*resultobj
= 0;
27730 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27733 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_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27741 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 (arg1
)->OnEndPrinting();
27745 wxPyEndAllowThreads(__tstate
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27748 resultobj
= SWIG_Py_Void();
27755 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27756 PyObject
*resultobj
= 0;
27757 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27760 PyObject
*swig_obj
[1] ;
27762 if (!args
) SWIG_fail
;
27763 swig_obj
[0] = args
;
27764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27765 if (!SWIG_IsOK(res1
)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27768 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 (arg1
)->OnPreparePrinting();
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 resultobj
= SWIG_Py_Void();
27782 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
= 0;
27784 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27791 PyObject
* obj0
= 0 ;
27792 PyObject
* obj1
= 0 ;
27793 char * kwnames
[] = {
27794 (char *) "self",(char *) "page", NULL
27797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27799 if (!SWIG_IsOK(res1
)) {
27800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27802 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27804 if (!SWIG_IsOK(ecode2
)) {
27805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
27807 arg2
= static_cast< int >(val2
);
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 result
= (bool)(arg1
)->HasPage(arg2
);
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27823 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27824 PyObject
*resultobj
= 0;
27825 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27826 int *arg2
= (int *) 0 ;
27827 int *arg3
= (int *) 0 ;
27828 int *arg4
= (int *) 0 ;
27829 int *arg5
= (int *) 0 ;
27833 int res2
= SWIG_TMPOBJ
;
27835 int res3
= SWIG_TMPOBJ
;
27837 int res4
= SWIG_TMPOBJ
;
27839 int res5
= SWIG_TMPOBJ
;
27840 PyObject
*swig_obj
[1] ;
27846 if (!args
) SWIG_fail
;
27847 swig_obj
[0] = args
;
27848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27849 if (!SWIG_IsOK(res1
)) {
27850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27852 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27855 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
27856 wxPyEndAllowThreads(__tstate
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27859 resultobj
= SWIG_Py_Void();
27860 if (SWIG_IsTmpObj(res2
)) {
27861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27863 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27866 if (SWIG_IsTmpObj(res3
)) {
27867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27869 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27872 if (SWIG_IsTmpObj(res4
)) {
27873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27875 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27878 if (SWIG_IsTmpObj(res5
)) {
27879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
27881 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
27890 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27893 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
27894 return SWIG_Py_Void();
27897 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27898 return SWIG_Python_InitShadowInstance(args
);
27901 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
= 0;
27903 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27904 wxWindow
*arg2
= (wxWindow
*) 0 ;
27905 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27906 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27907 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27908 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27909 long arg5
= (long) 0 ;
27910 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
27911 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
27912 wxPreviewCanvas
*result
= 0 ;
27921 bool temp6
= false ;
27922 PyObject
* obj0
= 0 ;
27923 PyObject
* obj1
= 0 ;
27924 PyObject
* obj2
= 0 ;
27925 PyObject
* obj3
= 0 ;
27926 PyObject
* obj4
= 0 ;
27927 PyObject
* obj5
= 0 ;
27928 char * kwnames
[] = {
27929 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
27934 if (!SWIG_IsOK(res1
)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
27937 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
27938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27939 if (!SWIG_IsOK(res2
)) {
27940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
27942 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27946 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27952 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27956 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
27957 if (!SWIG_IsOK(ecode5
)) {
27958 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
27960 arg5
= static_cast< long >(val5
);
27964 arg6
= wxString_in_helper(obj5
);
27965 if (arg6
== NULL
) SWIG_fail
;
27970 if (!wxPyCheckForApp()) SWIG_fail
;
27971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
27991 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27994 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
27995 return SWIG_Py_Void();
27998 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27999 return SWIG_Python_InitShadowInstance(args
);
28002 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
= 0;
28004 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28005 wxFrame
*arg2
= (wxFrame
*) 0 ;
28006 wxString
*arg3
= 0 ;
28007 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28008 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28009 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28010 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28011 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28012 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28013 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28014 wxPreviewFrame
*result
= 0 ;
28018 bool temp3
= false ;
28023 bool temp7
= false ;
28024 PyObject
* obj0
= 0 ;
28025 PyObject
* obj1
= 0 ;
28026 PyObject
* obj2
= 0 ;
28027 PyObject
* obj3
= 0 ;
28028 PyObject
* obj4
= 0 ;
28029 PyObject
* obj5
= 0 ;
28030 PyObject
* obj6
= 0 ;
28031 char * kwnames
[] = {
28032 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28036 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28037 if (!SWIG_IsOK(res1
)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28040 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28041 if (!SWIG_IsOK(res2
)) {
28042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28044 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28046 arg3
= wxString_in_helper(obj2
);
28047 if (arg3
== NULL
) SWIG_fail
;
28053 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28059 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28063 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28064 if (!SWIG_IsOK(ecode6
)) {
28065 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28067 arg6
= static_cast< long >(val6
);
28071 arg7
= wxString_in_helper(obj6
);
28072 if (arg7
== NULL
) SWIG_fail
;
28077 if (!wxPyCheckForApp()) SWIG_fail
;
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28106 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28107 PyObject
*resultobj
= 0;
28108 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28111 PyObject
*swig_obj
[1] ;
28113 if (!args
) SWIG_fail
;
28114 swig_obj
[0] = args
;
28115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28116 if (!SWIG_IsOK(res1
)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28119 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28122 (arg1
)->Initialize();
28123 wxPyEndAllowThreads(__tstate
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= SWIG_Py_Void();
28133 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28134 PyObject
*resultobj
= 0;
28135 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28138 PyObject
*swig_obj
[1] ;
28140 if (!args
) SWIG_fail
;
28141 swig_obj
[0] = args
;
28142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28143 if (!SWIG_IsOK(res1
)) {
28144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28146 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 (arg1
)->CreateControlBar();
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28153 resultobj
= SWIG_Py_Void();
28160 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28161 PyObject
*resultobj
= 0;
28162 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28165 PyObject
*swig_obj
[1] ;
28167 if (!args
) SWIG_fail
;
28168 swig_obj
[0] = args
;
28169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28170 if (!SWIG_IsOK(res1
)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28173 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 (arg1
)->CreateCanvas();
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= SWIG_Py_Void();
28187 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28188 PyObject
*resultobj
= 0;
28189 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28190 wxPreviewControlBar
*result
= 0 ;
28193 PyObject
*swig_obj
[1] ;
28195 if (!args
) SWIG_fail
;
28196 swig_obj
[0] = args
;
28197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28198 if (!SWIG_IsOK(res1
)) {
28199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28201 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28204 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28205 wxPyEndAllowThreads(__tstate
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28215 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28218 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28219 return SWIG_Py_Void();
28222 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28223 return SWIG_Python_InitShadowInstance(args
);
28226 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28227 PyObject
*resultobj
= 0;
28228 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28230 wxWindow
*arg3
= (wxWindow
*) 0 ;
28231 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28232 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28233 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28234 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28235 long arg6
= (long) wxTAB_TRAVERSAL
;
28236 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28237 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28238 wxPreviewControlBar
*result
= 0 ;
28249 bool temp7
= false ;
28250 PyObject
* obj0
= 0 ;
28251 PyObject
* obj1
= 0 ;
28252 PyObject
* obj2
= 0 ;
28253 PyObject
* obj3
= 0 ;
28254 PyObject
* obj4
= 0 ;
28255 PyObject
* obj5
= 0 ;
28256 PyObject
* obj6
= 0 ;
28257 char * kwnames
[] = {
28258 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28263 if (!SWIG_IsOK(res1
)) {
28264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28266 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28267 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28268 if (!SWIG_IsOK(ecode2
)) {
28269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28271 arg2
= static_cast< long >(val2
);
28272 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28273 if (!SWIG_IsOK(res3
)) {
28274 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28276 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28280 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28286 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28290 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28291 if (!SWIG_IsOK(ecode6
)) {
28292 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28294 arg6
= static_cast< long >(val6
);
28298 arg7
= wxString_in_helper(obj6
);
28299 if (arg7
== NULL
) SWIG_fail
;
28304 if (!wxPyCheckForApp()) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28325 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28326 PyObject
*resultobj
= 0;
28327 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28331 PyObject
*swig_obj
[1] ;
28333 if (!args
) SWIG_fail
;
28334 swig_obj
[0] = args
;
28335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28336 if (!SWIG_IsOK(res1
)) {
28337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28339 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 result
= (int)(arg1
)->GetZoomControl();
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= SWIG_From_int(static_cast< int >(result
));
28353 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
= 0;
28355 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28361 PyObject
* obj0
= 0 ;
28362 PyObject
* obj1
= 0 ;
28363 char * kwnames
[] = {
28364 (char *) "self",(char *) "zoom", NULL
28367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28369 if (!SWIG_IsOK(res1
)) {
28370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28372 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28374 if (!SWIG_IsOK(ecode2
)) {
28375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28377 arg2
= static_cast< int >(val2
);
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28380 (arg1
)->SetZoomControl(arg2
);
28381 wxPyEndAllowThreads(__tstate
);
28382 if (PyErr_Occurred()) SWIG_fail
;
28384 resultobj
= SWIG_Py_Void();
28391 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28392 PyObject
*resultobj
= 0;
28393 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28394 wxPrintPreview
*result
= 0 ;
28397 PyObject
*swig_obj
[1] ;
28399 if (!args
) SWIG_fail
;
28400 swig_obj
[0] = args
;
28401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28402 if (!SWIG_IsOK(res1
)) {
28403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28405 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28409 wxPyEndAllowThreads(__tstate
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28419 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28420 PyObject
*resultobj
= 0;
28421 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28424 PyObject
*swig_obj
[1] ;
28426 if (!args
) SWIG_fail
;
28427 swig_obj
[0] = args
;
28428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28429 if (!SWIG_IsOK(res1
)) {
28430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28432 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_Py_Void();
28446 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28447 PyObject
*resultobj
= 0;
28448 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28451 PyObject
*swig_obj
[1] ;
28453 if (!args
) SWIG_fail
;
28454 swig_obj
[0] = args
;
28455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28456 if (!SWIG_IsOK(res1
)) {
28457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28459 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 (arg1
)->OnPrevious();
28463 wxPyEndAllowThreads(__tstate
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= SWIG_Py_Void();
28473 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28474 PyObject
*resultobj
= 0;
28475 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28478 PyObject
*swig_obj
[1] ;
28480 if (!args
) SWIG_fail
;
28481 swig_obj
[0] = args
;
28482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28483 if (!SWIG_IsOK(res1
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28486 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 resultobj
= SWIG_Py_Void();
28500 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28501 PyObject
*resultobj
= 0;
28502 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28505 PyObject
*swig_obj
[1] ;
28507 if (!args
) SWIG_fail
;
28508 swig_obj
[0] = args
;
28509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28510 if (!SWIG_IsOK(res1
)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28513 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= SWIG_Py_Void();
28527 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28528 PyObject
*resultobj
= 0;
28529 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28532 PyObject
*swig_obj
[1] ;
28534 if (!args
) SWIG_fail
;
28535 swig_obj
[0] = args
;
28536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28537 if (!SWIG_IsOK(res1
)) {
28538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28540 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 resultobj
= SWIG_Py_Void();
28554 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28556 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28557 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28558 return SWIG_Py_Void();
28561 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28562 return SWIG_Python_InitShadowInstance(args
);
28565 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28566 PyObject
*resultobj
= 0;
28567 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28568 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28569 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28570 wxPrintPreview
*result
= 0 ;
28576 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28577 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28578 if (!SWIG_IsOK(res1
)) {
28579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28581 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28582 if (!SWIG_IsOK(res2
)) {
28583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28586 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28587 if (!SWIG_IsOK(res3
)) {
28588 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28590 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28593 if (!wxPyCheckForApp()) SWIG_fail
;
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28606 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28607 PyObject
*resultobj
= 0;
28608 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28609 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28610 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28611 wxPrintPreview
*result
= 0 ;
28617 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28618 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28619 if (!SWIG_IsOK(res1
)) {
28620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28622 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28623 if (!SWIG_IsOK(res2
)) {
28624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28626 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28627 if (!SWIG_IsOK(res3
)) {
28628 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28630 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28632 if (!wxPyCheckForApp()) SWIG_fail
;
28633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28634 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28645 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28649 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28651 if ((argc
>= 2) && (argc
<= 3)) {
28656 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
28657 _v
= SWIG_CheckState(res
);
28659 if (!_v
) goto check_1
;
28661 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
28666 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
28670 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
28675 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28676 PyObject
*resultobj
= 0;
28677 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28680 PyObject
*swig_obj
[1] ;
28682 if (!args
) SWIG_fail
;
28683 swig_obj
[0] = args
;
28684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28685 if (!SWIG_IsOK(res1
)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28688 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= SWIG_Py_Void();
28703 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
= 0;
28705 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 char * kwnames
[] = {
28715 (char *) "self",(char *) "pageNum", NULL
28718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28720 if (!SWIG_IsOK(res1
)) {
28721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28723 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28725 if (!SWIG_IsOK(ecode2
)) {
28726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28728 arg2
= static_cast< int >(val2
);
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28744 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28745 PyObject
*resultobj
= 0;
28746 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28750 PyObject
*swig_obj
[1] ;
28752 if (!args
) SWIG_fail
;
28753 swig_obj
[0] = args
;
28754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28755 if (!SWIG_IsOK(res1
)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28758 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 result
= (int)(arg1
)->GetCurrentPage();
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28765 resultobj
= SWIG_From_int(static_cast< int >(result
));
28772 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28773 PyObject
*resultobj
= 0;
28774 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28775 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28779 PyObject
* obj0
= 0 ;
28780 PyObject
* obj1
= 0 ;
28781 char * kwnames
[] = {
28782 (char *) "self",(char *) "printout", NULL
28785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28787 if (!SWIG_IsOK(res1
)) {
28788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28790 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28791 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28792 if (!SWIG_IsOK(res2
)) {
28793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 (arg1
)->SetPrintout(arg2
);
28798 wxPyEndAllowThreads(__tstate
);
28799 if (PyErr_Occurred()) SWIG_fail
;
28801 resultobj
= SWIG_Py_Void();
28808 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28809 PyObject
*resultobj
= 0;
28810 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28811 wxPyPrintout
*result
= 0 ;
28814 PyObject
*swig_obj
[1] ;
28816 if (!args
) SWIG_fail
;
28817 swig_obj
[0] = args
;
28818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28819 if (!SWIG_IsOK(res1
)) {
28820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28822 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
28826 wxPyEndAllowThreads(__tstate
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28830 resultobj
= wxPyMake_wxObject(result
, 0);
28838 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28839 PyObject
*resultobj
= 0;
28840 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28841 wxPyPrintout
*result
= 0 ;
28844 PyObject
*swig_obj
[1] ;
28846 if (!args
) SWIG_fail
;
28847 swig_obj
[0] = args
;
28848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28849 if (!SWIG_IsOK(res1
)) {
28850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28852 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28860 resultobj
= wxPyMake_wxObject(result
, 0);
28868 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
= 0;
28870 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28871 wxFrame
*arg2
= (wxFrame
*) 0 ;
28876 PyObject
* obj0
= 0 ;
28877 PyObject
* obj1
= 0 ;
28878 char * kwnames
[] = {
28879 (char *) "self",(char *) "frame", NULL
28882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28884 if (!SWIG_IsOK(res1
)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28887 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28889 if (!SWIG_IsOK(res2
)) {
28890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28892 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 (arg1
)->SetFrame(arg2
);
28896 wxPyEndAllowThreads(__tstate
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28899 resultobj
= SWIG_Py_Void();
28906 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28907 PyObject
*resultobj
= 0;
28908 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28909 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
28914 PyObject
* obj0
= 0 ;
28915 PyObject
* obj1
= 0 ;
28916 char * kwnames
[] = {
28917 (char *) "self",(char *) "canvas", NULL
28920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28922 if (!SWIG_IsOK(res1
)) {
28923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28925 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28926 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
28927 if (!SWIG_IsOK(res2
)) {
28928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
28930 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
28932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28933 (arg1
)->SetCanvas(arg2
);
28934 wxPyEndAllowThreads(__tstate
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28937 resultobj
= SWIG_Py_Void();
28944 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28945 PyObject
*resultobj
= 0;
28946 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28947 wxFrame
*result
= 0 ;
28950 PyObject
*swig_obj
[1] ;
28952 if (!args
) SWIG_fail
;
28953 swig_obj
[0] = args
;
28954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28955 if (!SWIG_IsOK(res1
)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28958 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 result
= (wxFrame
*)(arg1
)->GetFrame();
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28966 resultobj
= wxPyMake_wxObject(result
, 0);
28974 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28975 PyObject
*resultobj
= 0;
28976 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28977 wxPreviewCanvas
*result
= 0 ;
28980 PyObject
*swig_obj
[1] ;
28982 if (!args
) SWIG_fail
;
28983 swig_obj
[0] = args
;
28984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28985 if (!SWIG_IsOK(res1
)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28988 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29002 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
= 0;
29004 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29005 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29014 PyObject
* obj0
= 0 ;
29015 PyObject
* obj1
= 0 ;
29016 PyObject
* obj2
= 0 ;
29017 char * kwnames
[] = {
29018 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29023 if (!SWIG_IsOK(res1
)) {
29024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29026 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29028 if (!SWIG_IsOK(res2
)) {
29029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29031 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29032 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29033 if (!SWIG_IsOK(res3
)) {
29034 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29039 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29055 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29056 PyObject
*resultobj
= 0;
29057 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29058 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29067 PyObject
* obj0
= 0 ;
29068 PyObject
* obj1
= 0 ;
29069 PyObject
* obj2
= 0 ;
29070 char * kwnames
[] = {
29071 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29076 if (!SWIG_IsOK(res1
)) {
29077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29079 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29081 if (!SWIG_IsOK(res2
)) {
29082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29084 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29085 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29086 if (!SWIG_IsOK(res3
)) {
29087 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29092 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29108 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
= 0;
29110 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29117 PyObject
* obj0
= 0 ;
29118 PyObject
* obj1
= 0 ;
29119 char * kwnames
[] = {
29120 (char *) "self",(char *) "pageNum", NULL
29123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29125 if (!SWIG_IsOK(res1
)) {
29126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29128 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29130 if (!SWIG_IsOK(ecode2
)) {
29131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29133 arg2
= static_cast< int >(val2
);
29135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29136 result
= (bool)(arg1
)->RenderPage(arg2
);
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29149 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
= 0;
29151 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29152 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29157 PyObject
* obj0
= 0 ;
29158 PyObject
* obj1
= 0 ;
29159 char * kwnames
[] = {
29160 (char *) "self",(char *) "canvas", NULL
29163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29165 if (!SWIG_IsOK(res1
)) {
29166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29168 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29170 if (!SWIG_IsOK(res2
)) {
29171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29173 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 (arg1
)->AdjustScrollbars(arg2
);
29177 wxPyEndAllowThreads(__tstate
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29180 resultobj
= SWIG_Py_Void();
29187 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29188 PyObject
*resultobj
= 0;
29189 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29190 wxPrintDialogData
*result
= 0 ;
29193 PyObject
*swig_obj
[1] ;
29195 if (!args
) SWIG_fail
;
29196 swig_obj
[0] = args
;
29197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29198 if (!SWIG_IsOK(res1
)) {
29199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29201 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29206 result
= (wxPrintDialogData
*) &_result_ref
;
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29218 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
= 0;
29220 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29226 PyObject
* obj0
= 0 ;
29227 PyObject
* obj1
= 0 ;
29228 char * kwnames
[] = {
29229 (char *) "self",(char *) "percent", NULL
29232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) 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_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29237 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29239 if (!SWIG_IsOK(ecode2
)) {
29240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29242 arg2
= static_cast< int >(val2
);
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 (arg1
)->SetZoom(arg2
);
29246 wxPyEndAllowThreads(__tstate
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= SWIG_Py_Void();
29256 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29257 PyObject
*resultobj
= 0;
29258 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29262 PyObject
*swig_obj
[1] ;
29264 if (!args
) SWIG_fail
;
29265 swig_obj
[0] = args
;
29266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29267 if (!SWIG_IsOK(res1
)) {
29268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29270 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 result
= (int)(arg1
)->GetZoom();
29274 wxPyEndAllowThreads(__tstate
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= SWIG_From_int(static_cast< int >(result
));
29284 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29285 PyObject
*resultobj
= 0;
29286 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29290 PyObject
*swig_obj
[1] ;
29292 if (!args
) SWIG_fail
;
29293 swig_obj
[0] = args
;
29294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29295 if (!SWIG_IsOK(res1
)) {
29296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29298 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 result
= (int)(arg1
)->GetMaxPage();
29302 wxPyEndAllowThreads(__tstate
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29305 resultobj
= SWIG_From_int(static_cast< int >(result
));
29312 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29313 PyObject
*resultobj
= 0;
29314 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29318 PyObject
*swig_obj
[1] ;
29320 if (!args
) SWIG_fail
;
29321 swig_obj
[0] = args
;
29322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29323 if (!SWIG_IsOK(res1
)) {
29324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29326 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29329 result
= (int)(arg1
)->GetMinPage();
29330 wxPyEndAllowThreads(__tstate
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29333 resultobj
= SWIG_From_int(static_cast< int >(result
));
29340 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29341 PyObject
*resultobj
= 0;
29342 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29346 PyObject
*swig_obj
[1] ;
29348 if (!args
) SWIG_fail
;
29349 swig_obj
[0] = args
;
29350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29351 if (!SWIG_IsOK(res1
)) {
29352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29354 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 result
= (bool)(arg1
)->Ok();
29358 wxPyEndAllowThreads(__tstate
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29370 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29371 PyObject
*resultobj
= 0;
29372 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 char * kwnames
[] = {
29381 (char *) "self",(char *) "ok", NULL
29384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29386 if (!SWIG_IsOK(res1
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29389 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29390 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29391 if (!SWIG_IsOK(ecode2
)) {
29392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29394 arg2
= static_cast< bool >(val2
);
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 (arg1
)->SetOk(arg2
);
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= SWIG_Py_Void();
29408 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
= 0;
29410 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 char * kwnames
[] = {
29420 (char *) "self",(char *) "interactive", NULL
29423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29425 if (!SWIG_IsOK(res1
)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29428 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29429 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29430 if (!SWIG_IsOK(ecode2
)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29433 arg2
= static_cast< bool >(val2
);
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 result
= (bool)(arg1
)->Print(arg2
);
29437 wxPyEndAllowThreads(__tstate
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29449 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29450 PyObject
*resultobj
= 0;
29451 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29454 PyObject
*swig_obj
[1] ;
29456 if (!args
) SWIG_fail
;
29457 swig_obj
[0] = args
;
29458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29459 if (!SWIG_IsOK(res1
)) {
29460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29462 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 (arg1
)->DetermineScaling();
29466 wxPyEndAllowThreads(__tstate
);
29467 if (PyErr_Occurred()) SWIG_fail
;
29469 resultobj
= SWIG_Py_Void();
29476 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29480 return SWIG_Py_Void();
29483 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29484 return SWIG_Python_InitShadowInstance(args
);
29487 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29488 PyObject
*resultobj
= 0;
29489 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29490 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29491 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29492 wxPyPrintPreview
*result
= 0 ;
29498 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29499 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29500 if (!SWIG_IsOK(res1
)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29503 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29504 if (!SWIG_IsOK(res2
)) {
29505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29508 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29509 if (!SWIG_IsOK(res3
)) {
29510 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29512 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29515 if (!wxPyCheckForApp()) SWIG_fail
;
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29528 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29529 PyObject
*resultobj
= 0;
29530 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29531 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29532 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29533 wxPyPrintPreview
*result
= 0 ;
29539 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29540 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29541 if (!SWIG_IsOK(res1
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29544 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29545 if (!SWIG_IsOK(res2
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29548 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29549 if (!SWIG_IsOK(res3
)) {
29550 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29552 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29554 if (!wxPyCheckForApp()) SWIG_fail
;
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29557 wxPyEndAllowThreads(__tstate
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29567 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29571 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29573 if ((argc
>= 2) && (argc
<= 3)) {
29578 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29579 _v
= SWIG_CheckState(res
);
29581 if (!_v
) goto check_1
;
29583 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29588 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29592 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29597 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29598 PyObject
*resultobj
= 0;
29599 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29600 PyObject
*arg2
= (PyObject
*) 0 ;
29601 PyObject
*arg3
= (PyObject
*) 0 ;
29604 PyObject
* obj0
= 0 ;
29605 PyObject
* obj1
= 0 ;
29606 PyObject
* obj2
= 0 ;
29607 char * kwnames
[] = {
29608 (char *) "self",(char *) "self",(char *) "_class", NULL
29611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29613 if (!SWIG_IsOK(res1
)) {
29614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29616 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29622 wxPyEndAllowThreads(__tstate
);
29623 if (PyErr_Occurred()) SWIG_fail
;
29625 resultobj
= SWIG_Py_Void();
29632 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29635 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29636 return SWIG_Py_Void();
29639 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29640 return SWIG_Python_InitShadowInstance(args
);
29643 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
= 0;
29645 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29646 wxFrame
*arg2
= (wxFrame
*) 0 ;
29647 wxString
*arg3
= 0 ;
29648 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29649 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29650 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29651 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29652 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29653 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29654 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29655 wxPyPreviewFrame
*result
= 0 ;
29660 bool temp3
= false ;
29665 bool temp7
= false ;
29666 PyObject
* obj0
= 0 ;
29667 PyObject
* obj1
= 0 ;
29668 PyObject
* obj2
= 0 ;
29669 PyObject
* obj3
= 0 ;
29670 PyObject
* obj4
= 0 ;
29671 PyObject
* obj5
= 0 ;
29672 PyObject
* obj6
= 0 ;
29673 char * kwnames
[] = {
29674 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29679 if (!SWIG_IsOK(res1
)) {
29680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29682 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29683 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29684 if (!SWIG_IsOK(res2
)) {
29685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29687 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29689 arg3
= wxString_in_helper(obj2
);
29690 if (arg3
== NULL
) SWIG_fail
;
29696 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29702 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29706 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29707 if (!SWIG_IsOK(ecode6
)) {
29708 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29710 arg6
= static_cast< long >(val6
);
29714 arg7
= wxString_in_helper(obj6
);
29715 if (arg7
== NULL
) SWIG_fail
;
29720 if (!wxPyCheckForApp()) SWIG_fail
;
29721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29722 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29723 wxPyEndAllowThreads(__tstate
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29749 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
= 0;
29751 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29752 PyObject
*arg2
= (PyObject
*) 0 ;
29753 PyObject
*arg3
= (PyObject
*) 0 ;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 PyObject
* obj2
= 0 ;
29759 char * kwnames
[] = {
29760 (char *) "self",(char *) "self",(char *) "_class", NULL
29763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29765 if (!SWIG_IsOK(res1
)) {
29766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29768 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29777 resultobj
= SWIG_Py_Void();
29784 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29785 PyObject
*resultobj
= 0;
29786 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29787 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29792 PyObject
* obj0
= 0 ;
29793 PyObject
* obj1
= 0 ;
29794 char * kwnames
[] = {
29795 (char *) "self",(char *) "canvas", NULL
29798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29800 if (!SWIG_IsOK(res1
)) {
29801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29803 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29805 if (!SWIG_IsOK(res2
)) {
29806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29808 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29811 (arg1
)->SetPreviewCanvas(arg2
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29815 resultobj
= SWIG_Py_Void();
29822 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
= 0;
29824 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29825 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
29830 PyObject
* obj0
= 0 ;
29831 PyObject
* obj1
= 0 ;
29832 char * kwnames
[] = {
29833 (char *) "self",(char *) "bar", NULL
29836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29838 if (!SWIG_IsOK(res1
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29841 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29842 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29843 if (!SWIG_IsOK(res2
)) {
29844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
29846 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
29848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29849 (arg1
)->SetControlBar(arg2
);
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= SWIG_Py_Void();
29860 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29861 PyObject
*resultobj
= 0;
29862 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29865 PyObject
*swig_obj
[1] ;
29867 if (!args
) SWIG_fail
;
29868 swig_obj
[0] = args
;
29869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29870 if (!SWIG_IsOK(res1
)) {
29871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29873 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29876 (arg1
)->Initialize();
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= SWIG_Py_Void();
29887 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29888 PyObject
*resultobj
= 0;
29889 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29892 PyObject
*swig_obj
[1] ;
29894 if (!args
) SWIG_fail
;
29895 swig_obj
[0] = args
;
29896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29897 if (!SWIG_IsOK(res1
)) {
29898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29900 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29903 (arg1
)->CreateCanvas();
29904 wxPyEndAllowThreads(__tstate
);
29905 if (PyErr_Occurred()) SWIG_fail
;
29907 resultobj
= SWIG_Py_Void();
29914 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29915 PyObject
*resultobj
= 0;
29916 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29919 PyObject
*swig_obj
[1] ;
29921 if (!args
) SWIG_fail
;
29922 swig_obj
[0] = args
;
29923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29924 if (!SWIG_IsOK(res1
)) {
29925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29927 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29930 (arg1
)->CreateControlBar();
29931 wxPyEndAllowThreads(__tstate
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29934 resultobj
= SWIG_Py_Void();
29941 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29944 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
29945 return SWIG_Py_Void();
29948 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29949 return SWIG_Python_InitShadowInstance(args
);
29952 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29953 PyObject
*resultobj
= 0;
29954 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29956 wxWindow
*arg3
= (wxWindow
*) 0 ;
29957 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29958 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29959 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29960 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29961 long arg6
= (long) 0 ;
29962 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29963 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29964 wxPyPreviewControlBar
*result
= 0 ;
29975 bool temp7
= false ;
29976 PyObject
* obj0
= 0 ;
29977 PyObject
* obj1
= 0 ;
29978 PyObject
* obj2
= 0 ;
29979 PyObject
* obj3
= 0 ;
29980 PyObject
* obj4
= 0 ;
29981 PyObject
* obj5
= 0 ;
29982 PyObject
* obj6
= 0 ;
29983 char * kwnames
[] = {
29984 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29989 if (!SWIG_IsOK(res1
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29992 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29993 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29994 if (!SWIG_IsOK(ecode2
)) {
29995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29997 arg2
= static_cast< long >(val2
);
29998 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29999 if (!SWIG_IsOK(res3
)) {
30000 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30002 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30006 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30012 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30016 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30017 if (!SWIG_IsOK(ecode6
)) {
30018 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30020 arg6
= static_cast< long >(val6
);
30024 arg7
= wxString_in_helper(obj6
);
30025 if (arg7
== NULL
) SWIG_fail
;
30030 if (!wxPyCheckForApp()) SWIG_fail
;
30031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30032 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30033 wxPyEndAllowThreads(__tstate
);
30034 if (PyErr_Occurred()) SWIG_fail
;
30036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30051 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30052 PyObject
*resultobj
= 0;
30053 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30054 PyObject
*arg2
= (PyObject
*) 0 ;
30055 PyObject
*arg3
= (PyObject
*) 0 ;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 PyObject
* obj2
= 0 ;
30061 char * kwnames
[] = {
30062 (char *) "self",(char *) "self",(char *) "_class", NULL
30065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30067 if (!SWIG_IsOK(res1
)) {
30068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30070 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30075 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30076 wxPyEndAllowThreads(__tstate
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30079 resultobj
= SWIG_Py_Void();
30086 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30087 PyObject
*resultobj
= 0;
30088 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30089 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30094 PyObject
* obj0
= 0 ;
30095 PyObject
* obj1
= 0 ;
30096 char * kwnames
[] = {
30097 (char *) "self",(char *) "preview", NULL
30100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30105 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30106 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30107 if (!SWIG_IsOK(res2
)) {
30108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30110 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30113 (arg1
)->SetPrintPreview(arg2
);
30114 wxPyEndAllowThreads(__tstate
);
30115 if (PyErr_Occurred()) SWIG_fail
;
30117 resultobj
= SWIG_Py_Void();
30124 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30125 PyObject
*resultobj
= 0;
30126 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30129 PyObject
*swig_obj
[1] ;
30131 if (!args
) SWIG_fail
;
30132 swig_obj
[0] = args
;
30133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30134 if (!SWIG_IsOK(res1
)) {
30135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30137 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30140 (arg1
)->CreateButtons();
30141 wxPyEndAllowThreads(__tstate
);
30142 if (PyErr_Occurred()) SWIG_fail
;
30144 resultobj
= SWIG_Py_Void();
30151 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30152 PyObject
*resultobj
= 0;
30153 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30159 PyObject
* obj0
= 0 ;
30160 PyObject
* obj1
= 0 ;
30161 char * kwnames
[] = {
30162 (char *) "self",(char *) "zoom", NULL
30165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30167 if (!SWIG_IsOK(res1
)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30170 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30172 if (!SWIG_IsOK(ecode2
)) {
30173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30175 arg2
= static_cast< int >(val2
);
30177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30178 (arg1
)->SetZoomControl(arg2
);
30179 wxPyEndAllowThreads(__tstate
);
30180 if (PyErr_Occurred()) SWIG_fail
;
30182 resultobj
= SWIG_Py_Void();
30189 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30192 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30193 return SWIG_Py_Void();
30196 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30197 return SWIG_Python_InitShadowInstance(args
);
30200 static PyMethodDef SwigMethods
[] = {
30201 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30202 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30203 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30204 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30205 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30206 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30207 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30208 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30209 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30210 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30211 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30212 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30213 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30214 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30215 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30216 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30217 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30218 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30219 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30220 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30221 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30222 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30223 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30224 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30225 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30226 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30227 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30228 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30229 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30230 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30231 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30232 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30233 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30234 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30235 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30236 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30237 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30238 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30239 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30240 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30241 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30242 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30243 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30244 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30245 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30246 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30247 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30248 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30249 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30250 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30251 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30252 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30253 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30254 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30255 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30256 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30257 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30258 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30259 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30260 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30261 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30262 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30263 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30264 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30265 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30266 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30267 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30268 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30269 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30270 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30271 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30272 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30273 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30274 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30275 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30276 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30277 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30278 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30279 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30280 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30281 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30282 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30283 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30284 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30285 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30286 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30287 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30288 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30289 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30290 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30291 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30292 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30293 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30294 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30295 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30296 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30297 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30298 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30299 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30300 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30301 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30302 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30303 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30304 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30305 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30306 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30307 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30308 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30309 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30310 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30311 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30312 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30313 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30314 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30315 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30316 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30317 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30318 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30319 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30320 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30321 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30322 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30323 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30324 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30325 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30326 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30327 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30328 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30329 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30330 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30331 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30332 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30333 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30334 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30335 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30336 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30337 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30338 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30339 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30340 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30341 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30342 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30343 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30344 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30345 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30346 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30347 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30348 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30349 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30350 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30351 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30352 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30353 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30354 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30355 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30356 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30357 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30358 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30359 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30360 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30361 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30362 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30363 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30364 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30365 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30366 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30367 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30368 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30369 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30370 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30371 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30372 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30373 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30374 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30375 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30376 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30377 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30378 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30379 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30380 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30381 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30382 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30383 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30384 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30385 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30386 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30387 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30388 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30389 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30390 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30391 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30392 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30393 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30394 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30395 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30396 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30397 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30398 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30399 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30400 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30401 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30402 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30403 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30404 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30405 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30406 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30407 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30408 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30409 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30410 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30411 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30412 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30413 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30414 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30415 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30416 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30417 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30418 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30419 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30420 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30421 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30422 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30423 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30424 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30425 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30426 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30427 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30428 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30429 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30430 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30431 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30432 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30433 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30434 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30435 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30436 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30437 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30438 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30439 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30440 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30441 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30442 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30443 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30444 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30445 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30446 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30447 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30448 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30449 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30450 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30451 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30452 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30453 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30454 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30455 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30456 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30457 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30458 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30459 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30460 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30461 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30462 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30463 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30464 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30465 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30466 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30467 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30468 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30469 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30470 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30471 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30472 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30473 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30474 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30475 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30476 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30477 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30478 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30479 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30480 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30481 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30482 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30483 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30484 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30485 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30486 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30487 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30488 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30489 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30490 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30491 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30492 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30493 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30494 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30495 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30496 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30497 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30498 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30499 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30500 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30501 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30502 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30503 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30504 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30505 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30506 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30507 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30508 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30509 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30510 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30511 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30512 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30513 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30514 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30515 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30516 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30517 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30518 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30519 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30520 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30521 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30522 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30523 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30524 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30525 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30526 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30527 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30530 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30531 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30532 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30533 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30534 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30535 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30537 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30538 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30539 { (char *)"DirDialog_GetStyle", (PyCFunction
)_wrap_DirDialog_GetStyle
, METH_O
, NULL
},
30540 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30543 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30544 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30545 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30546 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30548 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30550 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30551 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30552 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30553 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30554 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30555 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30556 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30557 { (char *)"FileDialog_GetStyle", (PyCFunction
)_wrap_FileDialog_GetStyle
, METH_O
, NULL
},
30558 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30559 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30560 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30561 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30562 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30563 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30564 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30565 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30566 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30567 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30568 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30570 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30571 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30573 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30574 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30575 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30576 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30578 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30579 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30581 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30582 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30583 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30584 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30586 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30587 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30588 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30589 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30590 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30591 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30596 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30598 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30599 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30601 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30602 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30603 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30605 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30606 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30607 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30609 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30610 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30611 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30612 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30614 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30615 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30616 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30617 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30621 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30622 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30624 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30625 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30626 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30627 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30628 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30631 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30632 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30633 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30634 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30636 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30637 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30638 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30639 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30641 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30643 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30644 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30645 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30646 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30647 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30648 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
30649 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30650 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
30651 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
30652 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30653 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
30654 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
30656 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
30657 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
30658 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30659 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
30660 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30661 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
30662 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
30663 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
30665 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30672 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
30673 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
30674 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
30675 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
30676 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
30677 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
30678 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
30679 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
30680 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
30681 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30682 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
30683 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30684 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30685 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
30691 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
30692 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
30693 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
30694 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
30695 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
30696 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
30697 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
30698 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
30699 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30700 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
30701 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30703 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30705 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
30709 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
30710 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
30711 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
30712 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
30713 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
30714 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
30715 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30716 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30717 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
30718 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
30719 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
30720 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
30721 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
30722 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
30723 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
30724 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
30725 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
30726 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
30727 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
30728 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
30729 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
30730 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
30731 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30733 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30737 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30741 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30742 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
30743 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
30745 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
30747 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
30748 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
30749 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
30750 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30755 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
30756 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
30757 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
30758 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
30759 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
30760 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
30761 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
30762 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
30763 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
30764 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
30765 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
30766 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
30767 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
30768 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
30769 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
30770 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30775 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30778 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
30780 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
30781 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
30782 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
30783 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
30785 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
30786 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
30787 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
30788 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
30789 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
30790 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
30791 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
30792 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
30793 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
30794 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
30795 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
30796 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
30797 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
30798 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
30799 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
30800 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
30814 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
30815 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
30816 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
30817 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
30818 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
30819 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
30821 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
30822 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
30824 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
30825 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
30826 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
30827 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
30828 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
30829 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
30831 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30833 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30835 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
30837 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
30838 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
30839 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
30840 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
30841 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
30843 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
30845 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
30846 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
30849 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
30851 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
30853 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
30855 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
30856 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
30859 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
30860 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
30861 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
30862 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30863 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
30864 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
30865 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
30866 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
30868 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
30869 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
30871 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
30872 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
30873 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
30874 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
30875 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
30876 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
30878 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
30880 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
30881 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
30882 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
30883 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
30884 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
30885 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
30886 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
30887 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
30888 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
30889 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
30891 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
30893 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
30894 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
30897 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
30898 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
30903 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
30905 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
30906 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
30907 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
30908 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
30911 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
30912 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
30913 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
30914 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
30916 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
30917 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
30922 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
30923 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
30924 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
30925 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
30926 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
30930 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
30932 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
30933 { NULL
, NULL
, 0, NULL
}
30937 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30939 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
30940 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
30942 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30943 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30945 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30946 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30948 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30949 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30951 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30952 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30954 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30955 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30957 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30958 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30960 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
30961 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
30963 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30964 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30966 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30967 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30969 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
30970 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
30972 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30973 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30975 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30976 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30978 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
30979 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
30981 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30982 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30984 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30985 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30987 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30988 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30990 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30991 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30993 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30994 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30996 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30997 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30999 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31000 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31002 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31003 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31005 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31006 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31008 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31009 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31011 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31012 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31014 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31015 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31017 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31018 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31020 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31021 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31023 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31024 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31026 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31027 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31029 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31030 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31032 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31033 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31035 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31036 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31038 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31039 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31041 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31042 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31044 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31045 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31047 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31048 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31050 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31051 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31053 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31054 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31056 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31057 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31059 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31060 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31062 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31063 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31065 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31066 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31068 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31069 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31071 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31072 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31074 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31077 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31080 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31083 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31084 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31086 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31087 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31089 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31090 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31092 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31093 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31095 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31098 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31101 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31104 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31107 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31110 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31113 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31116 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31119 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31120 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31122 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31123 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31125 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31128 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31131 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31132 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31134 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31135 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31137 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31140 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31141 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31143 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31144 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31146 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31147 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31149 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31150 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31152 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31155 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31156 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31158 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31159 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31161 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31164 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31165 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31167 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31170 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31173 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31176 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31177 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31179 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31182 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31183 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31185 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31188 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31191 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31194 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31197 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31200 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31201 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31203 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31206 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31209 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31212 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31215 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31218 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31221 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31222 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31224 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31225 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31227 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31228 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31230 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31231 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31233 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31234 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31236 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31237 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31239 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31240 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31242 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31243 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31245 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31246 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31248 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31249 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31251 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31252 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31254 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31257 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31260 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31261 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31263 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31264 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31266 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31267 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31269 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31270 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31272 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31273 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31275 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31276 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31278 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31279 return (void *)((wxObject
*) ((wxSizer
*) x
));
31281 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31282 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31284 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31287 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31290 static void *_p_wxEventTo_p_wxObject(void *x
) {
31291 return (void *)((wxObject
*) ((wxEvent
*) x
));
31293 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31294 return (void *)((wxObject
*) ((wxFontData
*) x
));
31296 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31297 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31299 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31300 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31302 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31303 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31305 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31306 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31308 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31309 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31311 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31312 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31314 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31315 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31317 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31318 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31320 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31321 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31323 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31324 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31326 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31327 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31329 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31330 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31332 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31333 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31335 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31338 static void *_p_wxControlTo_p_wxObject(void *x
) {
31339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31341 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31342 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31344 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31345 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31347 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31348 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31350 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31351 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31353 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31354 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31356 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31357 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31359 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31360 return (void *)((wxObject
*) ((wxColourData
*) x
));
31362 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31363 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31365 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31366 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31368 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31371 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31374 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31377 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31380 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31383 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31386 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31389 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31392 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31395 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31398 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31399 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31401 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31402 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31404 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31405 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31407 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31408 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31410 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31411 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31413 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31414 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31416 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31417 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31419 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31420 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31422 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31423 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31425 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31426 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31428 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31429 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31431 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31432 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31434 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31435 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31437 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31438 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31440 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31441 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31443 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31444 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31446 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31447 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31449 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31450 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31452 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31453 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31455 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31456 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31458 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31461 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31464 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31465 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31467 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31468 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31470 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31473 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31474 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31476 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31477 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31479 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31482 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31485 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31486 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31488 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31489 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31491 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31494 static void *_p_wxImageTo_p_wxObject(void *x
) {
31495 return (void *)((wxObject
*) ((wxImage
*) x
));
31497 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31500 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31501 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31503 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31504 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31506 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31507 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31509 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31512 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31515 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31518 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31519 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31521 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31522 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31524 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31525 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31527 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31528 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31530 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31533 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31536 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31539 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31542 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31545 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31548 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31551 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31554 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31557 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31560 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31563 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31566 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31569 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31570 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31572 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31573 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31575 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31576 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31578 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31581 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31584 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31587 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31590 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31593 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31594 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31596 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31597 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31599 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31600 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31602 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31605 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31606 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31608 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31609 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31611 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31612 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31614 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31615 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31617 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31618 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31620 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31621 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31623 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31624 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31626 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31629 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31632 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31633 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31635 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31636 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31638 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31639 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31641 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31644 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
31645 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
31647 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
31648 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
31650 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31653 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31654 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31656 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31657 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31659 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31660 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31662 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
31663 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31665 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
31666 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31668 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
31669 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
31671 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
31672 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
31674 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
31675 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
31677 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
31678 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
31680 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
31681 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
31683 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
31684 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
31686 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
31687 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
31689 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
31690 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
31692 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
31693 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
31695 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
31696 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
31698 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
31699 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
31701 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31702 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31704 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31705 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
31707 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31708 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31710 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31711 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31713 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
31714 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
31716 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
31717 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
31719 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
31720 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
31722 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31723 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
31725 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31726 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31728 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
31729 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31731 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
31732 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31734 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
31735 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
31737 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31738 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31740 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
31741 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31743 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
31744 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31746 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
31747 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31749 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
31750 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31752 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
31753 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31755 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
31756 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31758 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
31759 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31761 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
31762 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31764 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
31765 return (void *)((wxWindow
*) ((wxPanel
*) x
));
31767 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
31768 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
31770 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
31771 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31773 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
31774 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31776 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
31777 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31779 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
31780 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
31782 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
31783 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31785 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
31786 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
31788 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
31789 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
31791 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
31792 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
31794 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
31795 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
31797 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
31798 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
31800 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
31801 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
31803 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
31804 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31806 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31807 return (void *)((wxWindow
*) ((wxControl
*) x
));
31809 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
31810 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31812 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
31813 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31815 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
31816 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31818 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31819 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31821 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
31822 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
31824 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
31825 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31827 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
31828 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31830 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
31831 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31833 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
31834 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
31836 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
31837 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31839 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
31840 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
31842 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
31843 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31845 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
31846 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31848 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
31849 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31851 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
31852 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
31854 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
31855 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31857 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
31858 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31860 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
31861 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31863 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
31864 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31866 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
31867 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
31869 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
31870 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
31872 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
31873 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
31875 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
31876 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
31878 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
31879 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31881 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
31882 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31884 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
31885 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
31887 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
31888 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31890 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
31891 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
31893 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
31894 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
31896 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
31897 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
31899 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
31900 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31902 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
31903 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31905 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
31906 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31908 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
31909 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31911 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
31912 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
31914 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
31915 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31917 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
31918 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
31920 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
31921 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31923 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31924 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31926 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31927 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31929 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31930 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31932 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
31933 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
31935 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31936 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31938 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
31939 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31941 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31942 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31944 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31945 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31947 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
31948 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31950 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31951 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31953 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31954 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31956 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
31957 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
31959 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
31960 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31962 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
31963 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};
31964 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
31965 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
31966 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
31967 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
31968 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
31969 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
31970 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
31971 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
31972 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
31973 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
31974 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
31975 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
31976 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
31977 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
31978 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
31979 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
31980 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
31981 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
31982 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
31983 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
31984 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
31985 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
31986 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
31987 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
31988 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
31989 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
31990 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
31991 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
31992 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
31993 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
31994 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
31995 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
31996 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
31997 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
31998 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
31999 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32000 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32001 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32002 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32003 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32004 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32005 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32006 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32007 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32008 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32009 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32010 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32011 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32012 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32013 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32014 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32015 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32016 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32017 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32018 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32019 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32020 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32021 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32022 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32023 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32024 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32025 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32026 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32027 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32028 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32029 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32030 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32031 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32032 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32033 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32034 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32035 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32036 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32037 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32038 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32039 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32040 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32041 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32042 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32043 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32044 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32045 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32046 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32047 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32048 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32049 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32050 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32051 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32052 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32053 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32054 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32055 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32056 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32057 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32058 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32059 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32060 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32061 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32062 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32063 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32064 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32065 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32066 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32067 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32068 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32069 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32070 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32071 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32072 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32073 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32074 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32075 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32076 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32077 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32078 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32079 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32080 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32081 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32082 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32083 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32084 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32085 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32086 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32087 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32088 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32089 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32090 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32091 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32092 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32093 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32094 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32095 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32096 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32097 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32098 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32099 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32100 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32101 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32102 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32103 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32104 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32105 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32106 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32107 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32108 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32109 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32110 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32111 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32112 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32113 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32114 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32115 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32116 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32117 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32118 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32119 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32120 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32121 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32123 static swig_type_info
*swig_type_initial
[] = {
32125 &_swigt__p_form_ops_t
,
32127 &_swigt__p_unsigned_char
,
32128 &_swigt__p_unsigned_int
,
32129 &_swigt__p_unsigned_long
,
32130 &_swigt__p_wxANIHandler
,
32131 &_swigt__p_wxAcceleratorTable
,
32132 &_swigt__p_wxActivateEvent
,
32133 &_swigt__p_wxArrayInt
,
32134 &_swigt__p_wxBMPHandler
,
32135 &_swigt__p_wxBitmap
,
32136 &_swigt__p_wxBoxSizer
,
32137 &_swigt__p_wxCURHandler
,
32138 &_swigt__p_wxCalculateLayoutEvent
,
32139 &_swigt__p_wxChildFocusEvent
,
32140 &_swigt__p_wxCloseEvent
,
32141 &_swigt__p_wxColour
,
32142 &_swigt__p_wxColourData
,
32143 &_swigt__p_wxColourDialog
,
32144 &_swigt__p_wxCommandEvent
,
32145 &_swigt__p_wxContextMenuEvent
,
32146 &_swigt__p_wxControl
,
32147 &_swigt__p_wxControlWithItems
,
32149 &_swigt__p_wxDateEvent
,
32150 &_swigt__p_wxDialog
,
32151 &_swigt__p_wxDirDialog
,
32152 &_swigt__p_wxDisplayChangedEvent
,
32153 &_swigt__p_wxDropFilesEvent
,
32154 &_swigt__p_wxDuplexMode
,
32155 &_swigt__p_wxEraseEvent
,
32156 &_swigt__p_wxEvent
,
32157 &_swigt__p_wxEvtHandler
,
32158 &_swigt__p_wxFSFile
,
32159 &_swigt__p_wxFileDialog
,
32160 &_swigt__p_wxFileSystem
,
32161 &_swigt__p_wxFindDialogEvent
,
32162 &_swigt__p_wxFindReplaceData
,
32163 &_swigt__p_wxFindReplaceDialog
,
32164 &_swigt__p_wxFlexGridSizer
,
32165 &_swigt__p_wxFocusEvent
,
32167 &_swigt__p_wxFontData
,
32168 &_swigt__p_wxFontDialog
,
32169 &_swigt__p_wxFrame
,
32170 &_swigt__p_wxGBSizerItem
,
32171 &_swigt__p_wxGIFHandler
,
32172 &_swigt__p_wxGridBagSizer
,
32173 &_swigt__p_wxGridSizer
,
32174 &_swigt__p_wxICOHandler
,
32176 &_swigt__p_wxIconBundle
,
32177 &_swigt__p_wxIconizeEvent
,
32178 &_swigt__p_wxIdleEvent
,
32179 &_swigt__p_wxImage
,
32180 &_swigt__p_wxImageHandler
,
32181 &_swigt__p_wxIndividualLayoutConstraint
,
32182 &_swigt__p_wxInitDialogEvent
,
32183 &_swigt__p_wxJPEGHandler
,
32184 &_swigt__p_wxKeyEvent
,
32185 &_swigt__p_wxLayoutAlgorithm
,
32186 &_swigt__p_wxLayoutConstraints
,
32187 &_swigt__p_wxMDIChildFrame
,
32188 &_swigt__p_wxMDIClientWindow
,
32189 &_swigt__p_wxMDIParentFrame
,
32190 &_swigt__p_wxMaximizeEvent
,
32192 &_swigt__p_wxMenuBar
,
32193 &_swigt__p_wxMenuEvent
,
32194 &_swigt__p_wxMenuItem
,
32195 &_swigt__p_wxMessageDialog
,
32196 &_swigt__p_wxMiniFrame
,
32197 &_swigt__p_wxMouseCaptureChangedEvent
,
32198 &_swigt__p_wxMouseEvent
,
32199 &_swigt__p_wxMoveEvent
,
32200 &_swigt__p_wxMultiChoiceDialog
,
32201 &_swigt__p_wxNavigationKeyEvent
,
32202 &_swigt__p_wxNcPaintEvent
,
32203 &_swigt__p_wxNotifyEvent
,
32204 &_swigt__p_wxObject
,
32205 &_swigt__p_wxPCXHandler
,
32206 &_swigt__p_wxPNGHandler
,
32207 &_swigt__p_wxPNMHandler
,
32208 &_swigt__p_wxPageSetupDialog
,
32209 &_swigt__p_wxPageSetupDialogData
,
32210 &_swigt__p_wxPaintEvent
,
32211 &_swigt__p_wxPaletteChangedEvent
,
32212 &_swigt__p_wxPanel
,
32213 &_swigt__p_wxPaperSize
,
32214 &_swigt__p_wxPasswordEntryDialog
,
32215 &_swigt__p_wxPoint
,
32216 &_swigt__p_wxPopupWindow
,
32217 &_swigt__p_wxPreviewCanvas
,
32218 &_swigt__p_wxPreviewControlBar
,
32219 &_swigt__p_wxPreviewFrame
,
32220 &_swigt__p_wxPrintData
,
32221 &_swigt__p_wxPrintDialog
,
32222 &_swigt__p_wxPrintDialogData
,
32223 &_swigt__p_wxPrintPreview
,
32224 &_swigt__p_wxPrinter
,
32225 &_swigt__p_wxProgressDialog
,
32226 &_swigt__p_wxPyApp
,
32227 &_swigt__p_wxPyCommandEvent
,
32228 &_swigt__p_wxPyEvent
,
32229 &_swigt__p_wxPyHtmlListBox
,
32230 &_swigt__p_wxPyImageHandler
,
32231 &_swigt__p_wxPyPanel
,
32232 &_swigt__p_wxPyPopupTransientWindow
,
32233 &_swigt__p_wxPyPreviewControlBar
,
32234 &_swigt__p_wxPyPreviewFrame
,
32235 &_swigt__p_wxPyPrintPreview
,
32236 &_swigt__p_wxPyPrintout
,
32237 &_swigt__p_wxPyScrolledWindow
,
32238 &_swigt__p_wxPySizer
,
32239 &_swigt__p_wxPyTaskBarIcon
,
32240 &_swigt__p_wxPyVListBox
,
32241 &_swigt__p_wxPyVScrolledWindow
,
32242 &_swigt__p_wxPyValidator
,
32243 &_swigt__p_wxPyWindow
,
32244 &_swigt__p_wxQueryLayoutInfoEvent
,
32245 &_swigt__p_wxQueryNewPaletteEvent
,
32247 &_swigt__p_wxRegion
,
32248 &_swigt__p_wxSashEvent
,
32249 &_swigt__p_wxSashLayoutWindow
,
32250 &_swigt__p_wxSashWindow
,
32251 &_swigt__p_wxScrollEvent
,
32252 &_swigt__p_wxScrollWinEvent
,
32253 &_swigt__p_wxScrolledWindow
,
32254 &_swigt__p_wxSetCursorEvent
,
32255 &_swigt__p_wxShowEvent
,
32256 &_swigt__p_wxSingleChoiceDialog
,
32258 &_swigt__p_wxSizeEvent
,
32259 &_swigt__p_wxSizer
,
32260 &_swigt__p_wxSizerItem
,
32261 &_swigt__p_wxSplashScreen
,
32262 &_swigt__p_wxSplashScreenWindow
,
32263 &_swigt__p_wxSplitterEvent
,
32264 &_swigt__p_wxSplitterWindow
,
32265 &_swigt__p_wxStaticBoxSizer
,
32266 &_swigt__p_wxStatusBar
,
32267 &_swigt__p_wxStdDialogButtonSizer
,
32268 &_swigt__p_wxString
,
32269 &_swigt__p_wxSysColourChangedEvent
,
32270 &_swigt__p_wxTIFFHandler
,
32271 &_swigt__p_wxTaskBarIcon
,
32272 &_swigt__p_wxTaskBarIconEvent
,
32273 &_swigt__p_wxTextEntryDialog
,
32274 &_swigt__p_wxTipWindow
,
32275 &_swigt__p_wxToolBar
,
32276 &_swigt__p_wxTopLevelWindow
,
32277 &_swigt__p_wxUpdateUIEvent
,
32278 &_swigt__p_wxValidator
,
32279 &_swigt__p_wxVisualAttributes
,
32280 &_swigt__p_wxWindow
,
32281 &_swigt__p_wxWindowCreateEvent
,
32282 &_swigt__p_wxWindowDestroyEvent
,
32283 &_swigt__p_wxXPMHandler
,
32286 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32287 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32288 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32289 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32290 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32291 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32292 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32293 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32294 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32295 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32296 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32297 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32298 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32299 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32300 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32301 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32302 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32303 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32304 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32305 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32306 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32307 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32308 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}};
32309 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32310 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32311 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32312 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32313 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32314 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32315 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32316 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32317 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32318 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32319 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32320 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32321 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32322 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32323 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32324 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32325 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32326 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32327 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32328 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32329 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32330 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32331 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32332 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32333 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32334 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32335 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32336 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
32337 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32338 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32339 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32340 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32341 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32342 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}};
32343 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32344 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32345 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32346 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32347 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32348 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32349 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32350 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32351 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}};
32352 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32353 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32354 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32355 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32356 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32357 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32358 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32359 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32360 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32361 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32362 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32363 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}};
32364 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32365 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32366 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32367 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32368 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32369 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32370 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32371 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32372 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32373 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32374 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32375 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32376 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32377 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32378 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32379 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32380 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32381 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32382 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32383 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32384 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32385 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32386 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32387 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32388 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32389 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32390 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32391 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32392 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
32393 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32394 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32395 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}};
32396 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32397 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32398 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32399 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}};
32400 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32401 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}};
32402 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}};
32403 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32404 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32405 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32406 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}};
32407 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32408 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32409 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32410 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32411 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32412 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32413 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32414 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32415 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32416 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32417 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32418 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}};
32419 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}};
32420 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32421 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32422 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32423 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32424 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32425 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32426 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}};
32427 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32428 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}};
32429 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32430 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32431 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32432 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32433 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32434 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32435 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32436 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32437 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32438 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32439 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32440 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}};
32441 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32442 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32443 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}};
32444 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32445 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}};
32447 static swig_cast_info
*swig_cast_initial
[] = {
32449 _swigc__p_form_ops_t
,
32451 _swigc__p_unsigned_char
,
32452 _swigc__p_unsigned_int
,
32453 _swigc__p_unsigned_long
,
32454 _swigc__p_wxANIHandler
,
32455 _swigc__p_wxAcceleratorTable
,
32456 _swigc__p_wxActivateEvent
,
32457 _swigc__p_wxArrayInt
,
32458 _swigc__p_wxBMPHandler
,
32459 _swigc__p_wxBitmap
,
32460 _swigc__p_wxBoxSizer
,
32461 _swigc__p_wxCURHandler
,
32462 _swigc__p_wxCalculateLayoutEvent
,
32463 _swigc__p_wxChildFocusEvent
,
32464 _swigc__p_wxCloseEvent
,
32465 _swigc__p_wxColour
,
32466 _swigc__p_wxColourData
,
32467 _swigc__p_wxColourDialog
,
32468 _swigc__p_wxCommandEvent
,
32469 _swigc__p_wxContextMenuEvent
,
32470 _swigc__p_wxControl
,
32471 _swigc__p_wxControlWithItems
,
32473 _swigc__p_wxDateEvent
,
32474 _swigc__p_wxDialog
,
32475 _swigc__p_wxDirDialog
,
32476 _swigc__p_wxDisplayChangedEvent
,
32477 _swigc__p_wxDropFilesEvent
,
32478 _swigc__p_wxDuplexMode
,
32479 _swigc__p_wxEraseEvent
,
32481 _swigc__p_wxEvtHandler
,
32482 _swigc__p_wxFSFile
,
32483 _swigc__p_wxFileDialog
,
32484 _swigc__p_wxFileSystem
,
32485 _swigc__p_wxFindDialogEvent
,
32486 _swigc__p_wxFindReplaceData
,
32487 _swigc__p_wxFindReplaceDialog
,
32488 _swigc__p_wxFlexGridSizer
,
32489 _swigc__p_wxFocusEvent
,
32491 _swigc__p_wxFontData
,
32492 _swigc__p_wxFontDialog
,
32494 _swigc__p_wxGBSizerItem
,
32495 _swigc__p_wxGIFHandler
,
32496 _swigc__p_wxGridBagSizer
,
32497 _swigc__p_wxGridSizer
,
32498 _swigc__p_wxICOHandler
,
32500 _swigc__p_wxIconBundle
,
32501 _swigc__p_wxIconizeEvent
,
32502 _swigc__p_wxIdleEvent
,
32504 _swigc__p_wxImageHandler
,
32505 _swigc__p_wxIndividualLayoutConstraint
,
32506 _swigc__p_wxInitDialogEvent
,
32507 _swigc__p_wxJPEGHandler
,
32508 _swigc__p_wxKeyEvent
,
32509 _swigc__p_wxLayoutAlgorithm
,
32510 _swigc__p_wxLayoutConstraints
,
32511 _swigc__p_wxMDIChildFrame
,
32512 _swigc__p_wxMDIClientWindow
,
32513 _swigc__p_wxMDIParentFrame
,
32514 _swigc__p_wxMaximizeEvent
,
32516 _swigc__p_wxMenuBar
,
32517 _swigc__p_wxMenuEvent
,
32518 _swigc__p_wxMenuItem
,
32519 _swigc__p_wxMessageDialog
,
32520 _swigc__p_wxMiniFrame
,
32521 _swigc__p_wxMouseCaptureChangedEvent
,
32522 _swigc__p_wxMouseEvent
,
32523 _swigc__p_wxMoveEvent
,
32524 _swigc__p_wxMultiChoiceDialog
,
32525 _swigc__p_wxNavigationKeyEvent
,
32526 _swigc__p_wxNcPaintEvent
,
32527 _swigc__p_wxNotifyEvent
,
32528 _swigc__p_wxObject
,
32529 _swigc__p_wxPCXHandler
,
32530 _swigc__p_wxPNGHandler
,
32531 _swigc__p_wxPNMHandler
,
32532 _swigc__p_wxPageSetupDialog
,
32533 _swigc__p_wxPageSetupDialogData
,
32534 _swigc__p_wxPaintEvent
,
32535 _swigc__p_wxPaletteChangedEvent
,
32537 _swigc__p_wxPaperSize
,
32538 _swigc__p_wxPasswordEntryDialog
,
32540 _swigc__p_wxPopupWindow
,
32541 _swigc__p_wxPreviewCanvas
,
32542 _swigc__p_wxPreviewControlBar
,
32543 _swigc__p_wxPreviewFrame
,
32544 _swigc__p_wxPrintData
,
32545 _swigc__p_wxPrintDialog
,
32546 _swigc__p_wxPrintDialogData
,
32547 _swigc__p_wxPrintPreview
,
32548 _swigc__p_wxPrinter
,
32549 _swigc__p_wxProgressDialog
,
32551 _swigc__p_wxPyCommandEvent
,
32552 _swigc__p_wxPyEvent
,
32553 _swigc__p_wxPyHtmlListBox
,
32554 _swigc__p_wxPyImageHandler
,
32555 _swigc__p_wxPyPanel
,
32556 _swigc__p_wxPyPopupTransientWindow
,
32557 _swigc__p_wxPyPreviewControlBar
,
32558 _swigc__p_wxPyPreviewFrame
,
32559 _swigc__p_wxPyPrintPreview
,
32560 _swigc__p_wxPyPrintout
,
32561 _swigc__p_wxPyScrolledWindow
,
32562 _swigc__p_wxPySizer
,
32563 _swigc__p_wxPyTaskBarIcon
,
32564 _swigc__p_wxPyVListBox
,
32565 _swigc__p_wxPyVScrolledWindow
,
32566 _swigc__p_wxPyValidator
,
32567 _swigc__p_wxPyWindow
,
32568 _swigc__p_wxQueryLayoutInfoEvent
,
32569 _swigc__p_wxQueryNewPaletteEvent
,
32571 _swigc__p_wxRegion
,
32572 _swigc__p_wxSashEvent
,
32573 _swigc__p_wxSashLayoutWindow
,
32574 _swigc__p_wxSashWindow
,
32575 _swigc__p_wxScrollEvent
,
32576 _swigc__p_wxScrollWinEvent
,
32577 _swigc__p_wxScrolledWindow
,
32578 _swigc__p_wxSetCursorEvent
,
32579 _swigc__p_wxShowEvent
,
32580 _swigc__p_wxSingleChoiceDialog
,
32582 _swigc__p_wxSizeEvent
,
32584 _swigc__p_wxSizerItem
,
32585 _swigc__p_wxSplashScreen
,
32586 _swigc__p_wxSplashScreenWindow
,
32587 _swigc__p_wxSplitterEvent
,
32588 _swigc__p_wxSplitterWindow
,
32589 _swigc__p_wxStaticBoxSizer
,
32590 _swigc__p_wxStatusBar
,
32591 _swigc__p_wxStdDialogButtonSizer
,
32592 _swigc__p_wxString
,
32593 _swigc__p_wxSysColourChangedEvent
,
32594 _swigc__p_wxTIFFHandler
,
32595 _swigc__p_wxTaskBarIcon
,
32596 _swigc__p_wxTaskBarIconEvent
,
32597 _swigc__p_wxTextEntryDialog
,
32598 _swigc__p_wxTipWindow
,
32599 _swigc__p_wxToolBar
,
32600 _swigc__p_wxTopLevelWindow
,
32601 _swigc__p_wxUpdateUIEvent
,
32602 _swigc__p_wxValidator
,
32603 _swigc__p_wxVisualAttributes
,
32604 _swigc__p_wxWindow
,
32605 _swigc__p_wxWindowCreateEvent
,
32606 _swigc__p_wxWindowDestroyEvent
,
32607 _swigc__p_wxXPMHandler
,
32611 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32613 static swig_const_info swig_const_table
[] = {
32614 {0, 0, 0, 0.0, 0, 0}};
32619 /* -----------------------------------------------------------------------------
32620 * Type initialization:
32621 * This problem is tough by the requirement that no dynamic
32622 * memory is used. Also, since swig_type_info structures store pointers to
32623 * swig_cast_info structures and swig_cast_info structures store pointers back
32624 * to swig_type_info structures, we need some lookup code at initialization.
32625 * The idea is that swig generates all the structures that are needed.
32626 * The runtime then collects these partially filled structures.
32627 * The SWIG_InitializeModule function takes these initial arrays out of
32628 * swig_module, and does all the lookup, filling in the swig_module.types
32629 * array with the correct data and linking the correct swig_cast_info
32630 * structures together.
32632 * The generated swig_type_info structures are assigned staticly to an initial
32633 * array. We just loop though that array, and handle each type individually.
32634 * First we lookup if this type has been already loaded, and if so, use the
32635 * loaded structure instead of the generated one. Then we have to fill in the
32636 * cast linked list. The cast data is initially stored in something like a
32637 * two-dimensional array. Each row corresponds to a type (there are the same
32638 * number of rows as there are in the swig_type_initial array). Each entry in
32639 * a column is one of the swig_cast_info structures for that type.
32640 * The cast_initial array is actually an array of arrays, because each row has
32641 * a variable number of columns. So to actually build the cast linked list,
32642 * we find the array of casts associated with the type, and loop through it
32643 * adding the casts to the list. The one last trick we need to do is making
32644 * sure the type pointer in the swig_cast_info struct is correct.
32646 * First off, we lookup the cast->type name to see if it is already loaded.
32647 * There are three cases to handle:
32648 * 1) If the cast->type has already been loaded AND the type we are adding
32649 * casting info to has not been loaded (it is in this module), THEN we
32650 * replace the cast->type pointer with the type pointer that has already
32652 * 2) If BOTH types (the one we are adding casting info to, and the
32653 * cast->type) are loaded, THEN the cast info has already been loaded by
32654 * the previous module so we just ignore it.
32655 * 3) Finally, if cast->type has not already been loaded, then we add that
32656 * swig_cast_info to the linked list (because the cast->type) pointer will
32658 * ----------------------------------------------------------------------------- */
32668 #define SWIGRUNTIME_DEBUG
32672 SWIG_InitializeModule(void *clientdata
) {
32674 swig_module_info
*module_head
;
32675 static int init_run
= 0;
32677 clientdata
= clientdata
;
32679 if (init_run
) return;
32682 /* Initialize the swig_module */
32683 swig_module
.type_initial
= swig_type_initial
;
32684 swig_module
.cast_initial
= swig_cast_initial
;
32686 /* Try and load any already created modules */
32687 module_head
= SWIG_GetModule(clientdata
);
32689 swig_module
.next
= module_head
->next
;
32690 module_head
->next
= &swig_module
;
32692 /* This is the first module loaded */
32693 swig_module
.next
= &swig_module
;
32694 SWIG_SetModule(clientdata
, &swig_module
);
32697 /* Now work on filling in swig_module.types */
32698 #ifdef SWIGRUNTIME_DEBUG
32699 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32701 for (i
= 0; i
< swig_module
.size
; ++i
) {
32702 swig_type_info
*type
= 0;
32703 swig_type_info
*ret
;
32704 swig_cast_info
*cast
;
32706 #ifdef SWIGRUNTIME_DEBUG
32707 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32710 /* if there is another module already loaded */
32711 if (swig_module
.next
!= &swig_module
) {
32712 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32715 /* Overwrite clientdata field */
32716 #ifdef SWIGRUNTIME_DEBUG
32717 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32719 if (swig_module
.type_initial
[i
]->clientdata
) {
32720 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32721 #ifdef SWIGRUNTIME_DEBUG
32722 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32726 type
= swig_module
.type_initial
[i
];
32729 /* Insert casting types */
32730 cast
= swig_module
.cast_initial
[i
];
32731 while (cast
->type
) {
32732 /* Don't need to add information already in the list */
32734 #ifdef SWIGRUNTIME_DEBUG
32735 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32737 if (swig_module
.next
!= &swig_module
) {
32738 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32739 #ifdef SWIGRUNTIME_DEBUG
32740 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32744 if (type
== swig_module
.type_initial
[i
]) {
32745 #ifdef SWIGRUNTIME_DEBUG
32746 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32751 /* Check for casting already in the list */
32752 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32753 #ifdef SWIGRUNTIME_DEBUG
32754 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32756 if (!ocast
) ret
= 0;
32761 #ifdef SWIGRUNTIME_DEBUG
32762 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
32765 type
->cast
->prev
= cast
;
32766 cast
->next
= type
->cast
;
32772 /* Set entry in modules->types array equal to the type */
32773 swig_module
.types
[i
] = type
;
32775 swig_module
.types
[i
] = 0;
32777 #ifdef SWIGRUNTIME_DEBUG
32778 printf("**** SWIG_InitializeModule: Cast List ******\n");
32779 for (i
= 0; i
< swig_module
.size
; ++i
) {
32781 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
32782 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32783 while (cast
->type
) {
32784 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
32788 printf("---- Total casts: %d\n",j
);
32790 printf("**** SWIG_InitializeModule: Cast List ******\n");
32794 /* This function will propagate the clientdata field of type to
32795 * any new swig_type_info structures that have been added into the list
32796 * of equivalent types. It is like calling
32797 * SWIG_TypeClientData(type, clientdata) a second time.
32800 SWIG_PropagateClientData(void) {
32802 swig_cast_info
*equiv
;
32803 static int init_run
= 0;
32805 if (init_run
) return;
32808 for (i
= 0; i
< swig_module
.size
; i
++) {
32809 if (swig_module
.types
[i
]->clientdata
) {
32810 equiv
= swig_module
.types
[i
]->cast
;
32812 if (!equiv
->converter
) {
32813 if (equiv
->type
&& !equiv
->type
->clientdata
)
32814 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
32816 equiv
= equiv
->next
;
32836 /* Python-specific SWIG API */
32837 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32838 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32839 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32841 /* -----------------------------------------------------------------------------
32842 * global variable support code.
32843 * ----------------------------------------------------------------------------- */
32845 typedef struct swig_globalvar
{
32846 char *name
; /* Name of global variable */
32847 PyObject
*(*get_attr
)(void); /* Return the current value */
32848 int (*set_attr
)(PyObject
*); /* Set the value */
32849 struct swig_globalvar
*next
;
32852 typedef struct swig_varlinkobject
{
32854 swig_globalvar
*vars
;
32855 } swig_varlinkobject
;
32857 SWIGINTERN PyObject
*
32858 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
32859 return PyString_FromString("<Swig global variables>");
32862 SWIGINTERN PyObject
*
32863 swig_varlink_str(swig_varlinkobject
*v
) {
32864 PyObject
*str
= PyString_FromString("(");
32865 swig_globalvar
*var
;
32866 for (var
= v
->vars
; var
; var
=var
->next
) {
32867 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
32868 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
32870 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
32875 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
32876 PyObject
*str
= swig_varlink_str(v
);
32877 fprintf(fp
,"Swig global variables ");
32878 fprintf(fp
,"%s\n", PyString_AsString(str
));
32884 swig_varlink_dealloc(swig_varlinkobject
*v
) {
32885 swig_globalvar
*var
= v
->vars
;
32887 swig_globalvar
*n
= var
->next
;
32894 SWIGINTERN PyObject
*
32895 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32896 PyObject
*res
= NULL
;
32897 swig_globalvar
*var
= v
->vars
;
32899 if (strcmp(var
->name
,n
) == 0) {
32900 res
= (*var
->get_attr
)();
32905 if (res
== NULL
&& !PyErr_Occurred()) {
32906 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32912 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32914 swig_globalvar
*var
= v
->vars
;
32916 if (strcmp(var
->name
,n
) == 0) {
32917 res
= (*var
->set_attr
)(p
);
32922 if (res
== 1 && !PyErr_Occurred()) {
32923 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32928 SWIGINTERN PyTypeObject
*
32929 swig_varlink_type(void) {
32930 static char varlink__doc__
[] = "Swig var link object";
32931 static PyTypeObject varlink_type
;
32932 static int type_init
= 0;
32934 const PyTypeObject tmp
32936 PyObject_HEAD_INIT(NULL
)
32937 0, /* Number of items in variable part (ob_size) */
32938 (char *)"swigvarlink", /* Type name (tp_name) */
32939 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32940 0, /* Itemsize (tp_itemsize) */
32941 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
32942 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32943 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32944 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32945 0, /* tp_compare */
32946 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32947 0, /* tp_as_number */
32948 0, /* tp_as_sequence */
32949 0, /* tp_as_mapping */
32952 (reprfunc
)swig_varlink_str
, /* tp_str */
32953 0, /* tp_getattro */
32954 0, /* tp_setattro */
32955 0, /* tp_as_buffer */
32957 varlink__doc__
, /* tp_doc */
32958 0, /* tp_traverse */
32960 0, /* tp_richcompare */
32961 0, /* tp_weaklistoffset */
32962 #if PY_VERSION_HEX >= 0x02020000
32963 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32965 #if PY_VERSION_HEX >= 0x02030000
32968 #ifdef COUNT_ALLOCS
32969 0,0,0,0 /* tp_alloc -> tp_next */
32972 varlink_type
= tmp
;
32973 varlink_type
.ob_type
= &PyType_Type
;
32976 return &varlink_type
;
32979 /* Create a variable linking object for use later */
32980 SWIGINTERN PyObject
*
32981 SWIG_Python_newvarlink(void) {
32982 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
32986 return ((PyObject
*) result
);
32990 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32991 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
32992 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32994 size_t size
= strlen(name
)+1;
32995 gv
->name
= (char *)malloc(size
);
32997 strncpy(gv
->name
,name
,size
);
32998 gv
->get_attr
= get_attr
;
32999 gv
->set_attr
= set_attr
;
33000 gv
->next
= v
->vars
;
33006 SWIGINTERN PyObject
*
33008 static PyObject
*_SWIG_globals
= 0;
33009 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33010 return _SWIG_globals
;
33013 /* -----------------------------------------------------------------------------
33014 * constants/methods manipulation
33015 * ----------------------------------------------------------------------------- */
33017 /* Install Constants */
33019 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33022 for (i
= 0; constants
[i
].type
; ++i
) {
33023 switch(constants
[i
].type
) {
33024 case SWIG_PY_POINTER
:
33025 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33027 case SWIG_PY_BINARY
:
33028 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33035 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33041 /* -----------------------------------------------------------------------------*/
33042 /* Fix SwigMethods to carry the callback ptrs when needed */
33043 /* -----------------------------------------------------------------------------*/
33046 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33047 swig_const_info
*const_table
,
33048 swig_type_info
**types
,
33049 swig_type_info
**types_initial
) {
33051 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33052 char *c
= methods
[i
].ml_doc
;
33053 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33055 swig_const_info
*ci
= 0;
33056 char *name
= c
+ 10;
33057 for (j
= 0; const_table
[j
].type
; ++j
) {
33058 if (strncmp(const_table
[j
].name
, name
,
33059 strlen(const_table
[j
].name
)) == 0) {
33060 ci
= &(const_table
[j
]);
33065 size_t shift
= (ci
->ptype
) - types
;
33066 swig_type_info
*ty
= types_initial
[shift
];
33067 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33068 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33069 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33072 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33074 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33076 strncpy(buff
, "swig_ptr: ", 10);
33078 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33079 methods
[i
].ml_doc
= ndoc
;
33091 /* -----------------------------------------------------------------------------*
33092 * Partial Init method
33093 * -----------------------------------------------------------------------------*/
33098 SWIGEXPORT
void SWIG_init(void) {
33101 /* Fix SwigMethods to carry the callback ptrs when needed */
33102 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33104 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33105 d
= PyModule_GetDict(m
);
33107 SWIG_InitializeModule(0);
33108 SWIG_InstallConstants(d
,swig_const_table
);
33111 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33112 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33113 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33114 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33115 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33116 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33117 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33118 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33119 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33120 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33121 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33122 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33123 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33124 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33125 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33126 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33127 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33128 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33129 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33130 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33131 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33132 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33133 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33134 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33135 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33136 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33137 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33138 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33139 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33140 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33141 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33142 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33143 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33144 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33145 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33146 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33147 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33148 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33149 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33150 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33151 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33152 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33153 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33154 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33155 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33156 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33157 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33158 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33159 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33160 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33161 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33162 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33163 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33164 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33165 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33166 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33167 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33168 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33169 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33170 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33171 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33172 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33173 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33174 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33175 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33176 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33177 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33178 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33179 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33180 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33181 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33182 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33183 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33184 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33185 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33186 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33187 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33188 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33189 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33190 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33191 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33192 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33193 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33194 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33195 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33196 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33197 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33198 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33199 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33200 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33201 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33202 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33203 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33204 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33205 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33206 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33207 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33208 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33209 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33210 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33211 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33212 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33214 // Map renamed classes back to their common name for OOR
33215 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33216 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33217 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33219 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33220 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33221 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33222 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33223 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33224 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33225 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33226 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33227 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33228 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33229 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33230 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33231 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33232 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33233 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33234 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33235 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33236 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33237 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33238 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33239 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33240 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33241 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33242 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33243 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33244 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33245 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33246 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33247 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33248 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33249 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33250 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33251 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33252 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33253 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33254 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33255 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33256 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33257 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33258 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33259 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33260 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33261 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33262 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33263 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33264 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33265 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33266 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33267 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33268 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33269 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33270 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33271 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33272 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33273 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33274 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33275 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33276 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33277 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33278 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33279 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33280 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33281 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33282 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33283 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33284 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33285 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33286 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33287 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33288 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33289 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33290 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33291 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33292 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33293 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33294 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33295 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33296 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33298 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");