1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2652 #define SWIG_name "_windows_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2735 # define LLONG_MIN LONG_LONG_MIN
2738 # define LLONG_MAX LONG_LONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2746 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2748 if (PyNumber_Check(obj
)) {
2749 if (val
) *val
= PyInt_AsLong(obj
);
2752 return SWIG_TypeError
;
2757 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2760 int res
= SWIG_AsVal_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< int >(v
);
2773 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2775 if (obj
== Py_True
) {
2776 if (val
) *val
= true;
2778 } else if (obj
== Py_False
) {
2779 if (val
) *val
= false;
2783 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2784 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2790 #define SWIG_From_long PyInt_FromLong
2793 SWIGINTERNINLINE PyObject
*
2794 SWIG_From_int (int value
)
2796 return SWIG_From_long (value
);
2801 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2803 if (PyNumber_Check(obj
)) {
2804 if (val
) *val
= PyFloat_AsDouble(obj
);
2807 return SWIG_TypeError
;
2811 #define SWIG_From_double PyFloat_FromDouble
2813 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2814 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2815 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2816 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2817 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2818 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2821 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2823 self
->GetFieldRect(i
, r
);
2826 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2827 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2828 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2830 #include <wx/popupwin.h>
2833 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2836 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2837 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2838 : wxPopupTransientWindow(parent
, style
) {}
2840 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2841 DEC_PYCALLBACK__(OnDismiss
);
2842 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2847 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2848 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2849 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2852 #include <wx/tipwin.h>
2854 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2855 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2858 #include <wx/tipwin.h>
2861 #include <wx/vscroll.h>
2864 class wxPyVScrolledWindow
: public wxVScrolledWindow
2866 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2868 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2870 wxPyVScrolledWindow(wxWindow
*parent
,
2871 wxWindowID id
= wxID_ANY
,
2872 const wxPoint
& pos
= wxDefaultPosition
,
2873 const wxSize
& size
= wxDefaultSize
,
2875 const wxString
& name
= wxPyPanelNameStr
)
2876 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2879 // Overridable virtuals
2881 // this function must be overridden in the derived class and it should
2882 // return the height of the given line in pixels
2883 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2886 // this function doesn't have to be overridden but it may be useful to do
2887 // it if calculating the lines heights is a relatively expensive operation
2888 // as it gives the user code a possibility to calculate several of them at
2891 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2892 // shouldn't rely on the latter being called for all lines in the interval
2893 // specified here. It is also possible that OnGetLineHeight() will be
2894 // called for the lines outside of this interval, so this is really just a
2895 // hint, not a promise.
2897 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2899 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2902 // when the number of lines changes, we try to estimate the total height
2903 // of all lines which is a rather expensive operation in terms of lines
2904 // access, so if the user code may estimate the average height
2905 // better/faster than we do, it should override this function to implement
2908 // this function should return the best guess for the total height it may
2910 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2913 // Also expose some other interesting protected methods
2916 // find the index of the line we need to show at the top of the window such
2917 // that the last (fully or partially) visible line is the given one
2918 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2919 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2921 // get the total height of the lines between lineMin (inclusive) and
2922 // lineMax (exclusive)
2923 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2924 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2926 // update the thumb size shown by the scrollbar
2927 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2929 // remove the scrollbar completely because we don't need it
2930 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2935 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2937 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2938 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2939 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2943 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2946 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2947 return SWIG_TypeError
;
2950 *val
= (unsigned long)v
;
2955 SWIGINTERNINLINE
int
2956 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2959 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2960 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2965 SWIGINTERNINLINE PyObject
*
2966 SWIG_From_unsigned_SS_long (unsigned long value
)
2968 return (value
> LONG_MAX
) ?
2969 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2973 SWIGINTERNINLINE PyObject
*
2974 SWIG_From_size_t (size_t value
)
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2980 #include <wx/vlbox.h>
2982 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2984 class wxPyVListBox
: public wxVListBox
2986 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2988 wxPyVListBox() : wxVListBox() {}
2990 wxPyVListBox(wxWindow
*parent
,
2991 wxWindowID id
= wxID_ANY
,
2992 const wxPoint
& pos
= wxDefaultPosition
,
2993 const wxSize
& size
= wxDefaultSize
,
2995 const wxString
& name
= wxPyVListBoxNameStr
)
2996 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2999 // Overridable virtuals
3001 // the derived class must implement this function to actually draw the item
3002 // with the given index on the provided DC
3003 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3004 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3007 // the derived class must implement this method to return the height of the
3009 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3010 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3013 // this method may be used to draw separators between the lines; note that
3014 // the rectangle may be modified, typically to deflate it a bit before
3015 // passing to OnDrawItem()
3017 // the base class version doesn't do anything
3018 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3019 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3022 // this method is used to draw the items background and, maybe, a border
3025 // the base class version implements a reasonable default behaviour which
3026 // consists in drawing the selected item with the standard background
3027 // colour and drawing a border around the item if it is either selected or
3029 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3030 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3036 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3038 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3039 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3040 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3041 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3044 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3045 unsigned long cookie
= 0;
3046 int selected
= self
->GetFirstSelected(cookie
);
3047 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3048 PyObject
* tup
= PyTuple_New(2);
3049 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3050 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3051 wxPyEndBlockThreads(blocked
);
3054 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3055 int selected
= self
->GetNextSelected(cookie
);
3056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3057 PyObject
* tup
= PyTuple_New(2);
3058 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3059 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3060 wxPyEndBlockThreads(blocked
);
3064 #include <wx/htmllbox.h>
3067 class wxPyHtmlListBox
: public wxHtmlListBox
3069 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3071 wxPyHtmlListBox() : wxHtmlListBox() {}
3073 wxPyHtmlListBox(wxWindow
*parent
,
3074 wxWindowID id
= wxID_ANY
,
3075 const wxPoint
& pos
= wxDefaultPosition
,
3076 const wxSize
& size
= wxDefaultSize
,
3078 const wxString
& name
= wxPyVListBoxNameStr
)
3079 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3082 // Overridable virtuals
3084 // this method must be implemented in the derived class and should return
3085 // the body (i.e. without <html>) of the HTML for the given item
3086 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3088 // this function may be overridden to decorate HTML returned by OnGetItem()
3089 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3091 // These are from wxVListBox
3092 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3093 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3096 // // this method allows to customize the selection appearance: it may be used
3097 // // to specify the colour of the text which normally has the given colour
3098 // // colFg when it is inside the selection
3100 // // by default, the original colour is not used at all and all text has the
3101 // // same (default for this system) colour inside selection
3102 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3104 // // this is the same as GetSelectedTextColour() but allows to customize the
3105 // // background colour -- this is even more rarely used as you can change it
3106 // // globally using SetSelectionBackground()
3107 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3110 // This method may be overriden to handle clicking on a link in
3111 // the listbox. By default, clicking links is ignored.
3112 virtual void OnLinkClicked(size_t n
,
3113 const wxHtmlLinkInfo
& link
);
3119 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3121 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3122 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3123 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3124 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3127 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3128 const wxHtmlLinkInfo
& link
) {
3130 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3131 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3132 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3133 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3136 wxPyEndBlockThreads(blocked
);
3138 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3145 #ifndef wxHAS_TASK_BAR_ICON
3146 // implement dummy classes for platforms that don't have it
3148 class wxTaskBarIcon
: public wxEvtHandler
3151 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3155 class wxTaskBarIconEvent
: public wxEvent
3158 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3159 { wxPyRaiseNotImplemented(); }
3160 virtual wxEvent
* Clone() const { return NULL
; }
3161 bool IsOk() const { return false; }
3162 bool IsIconInstalled() const { return false; }
3163 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3164 bool RemoveIcon() { return false; }
3165 bool PopupMenu(wxMenu
*menu
) { return false; }
3169 wxEVT_TASKBAR_MOVE
= 0,
3170 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3171 wxEVT_TASKBAR_LEFT_UP
= 0,
3172 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3173 wxEVT_TASKBAR_RIGHT_UP
= 0,
3174 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3175 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3180 // Otherwise make a class that can virtualize CreatePopupMenu
3181 class wxPyTaskBarIcon
: public wxTaskBarIcon
3183 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3185 wxPyTaskBarIcon() : wxTaskBarIcon()
3188 wxMenu
* CreatePopupMenu() {
3189 wxMenu
*rval
= NULL
;
3191 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3192 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3195 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3197 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3202 wxPyEndBlockThreads(blocked
);
3204 rval
= wxTaskBarIcon::CreatePopupMenu();
3211 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3215 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3219 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3220 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3221 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3222 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3223 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3224 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3226 // for compatibility only
3227 #define wxHIDE_READONLY 0
3229 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3231 self
->GetFilenames(arr
);
3232 return wxArrayString2PyList_helper(arr
);
3234 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3236 self
->GetPaths(arr
);
3237 return wxArrayString2PyList_helper(arr
);
3239 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3240 return wxArrayInt2PyList_helper(self
->GetSelections());
3242 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
){
3243 return new wxSingleChoiceDialog(parent
, message
, caption
,
3244 choices
, choices_array
, NULL
, style
, pos
);
3246 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3248 SWIGINTERNINLINE PyObject
*
3249 SWIG_From_bool (bool value
)
3251 return PyBool_FromLong(value
? 1 : 0);
3257 // C++ version of Python aware wxWindow
3258 class wxPyWindow
: public wxWindow
3260 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3262 wxPyWindow() : wxWindow() {}
3263 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3264 const wxPoint
& pos
= wxDefaultPosition
,
3265 const wxSize
& size
= wxDefaultSize
,
3267 const wxString
& name
= wxPyPanelNameStr
)
3268 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3270 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3272 bool DoEraseBackground(wxDC
* dc
) {
3274 return wxWindow::DoEraseBackground(dc
->GetHDC());
3276 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3282 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3283 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3284 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3291 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3292 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3294 DEC_PYCALLBACK__(InitDialog
);
3295 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3296 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3297 DEC_PYCALLBACK_BOOL_(Validate
);
3299 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3301 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3303 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3304 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3306 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3307 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3309 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3311 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3316 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3318 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3319 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3320 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3323 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3327 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3328 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3330 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3331 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3332 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3333 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3335 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3336 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3337 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3339 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3343 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3345 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3347 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3349 // C++ version of Python aware wxPanel
3350 class wxPyPanel
: public wxPanel
3352 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3354 wxPyPanel() : wxPanel() {}
3355 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3356 const wxPoint
& pos
= wxDefaultPosition
,
3357 const wxSize
& size
= wxDefaultSize
,
3359 const wxString
& name
= wxPyPanelNameStr
)
3360 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3362 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3363 bool DoEraseBackground(wxDC
* dc
) {
3365 return wxWindow::DoEraseBackground(dc
->GetHDC());
3367 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3374 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3375 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3376 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3377 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3379 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3380 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3381 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3383 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3384 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3386 DEC_PYCALLBACK__(InitDialog
);
3387 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3388 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3389 DEC_PYCALLBACK_BOOL_(Validate
);
3391 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3392 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3393 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3395 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3396 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3398 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3399 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3401 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3403 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3408 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3410 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3411 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3412 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3413 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3415 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3416 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3417 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3419 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3420 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3422 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3423 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3424 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3425 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3427 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3428 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3429 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3431 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3432 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3435 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3437 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3439 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3441 // C++ version of Python aware wxScrolledWindow
3442 class wxPyScrolledWindow
: public wxScrolledWindow
3444 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3446 wxPyScrolledWindow() : wxScrolledWindow() {}
3447 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3448 const wxPoint
& pos
= wxDefaultPosition
,
3449 const wxSize
& size
= wxDefaultSize
,
3451 const wxString
& name
= wxPyPanelNameStr
)
3452 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3454 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3455 bool DoEraseBackground(wxDC
* dc
) {
3457 return wxWindow::DoEraseBackground(dc
->GetHDC());
3459 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3465 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3466 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3467 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3468 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3470 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3471 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3472 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3474 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3475 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3477 DEC_PYCALLBACK__(InitDialog
);
3478 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3479 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3480 DEC_PYCALLBACK_BOOL_(Validate
);
3482 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3483 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3484 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3486 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3487 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3489 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3490 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3492 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3494 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3499 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3501 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3502 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3503 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3504 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3506 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3507 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3508 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3510 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3511 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3513 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3514 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3515 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3516 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3518 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3519 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3520 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3522 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3523 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3526 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3528 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3530 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3533 #include "wx/wxPython/printfw.h"
3536 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3537 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3538 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3540 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3541 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3542 self
->GetPrivDataLen());
3543 wxPyEndBlockThreads(blocked
);
3546 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3547 if (! PyString_Check(data
)) {
3548 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3549 "Expected string object"));
3553 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3554 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3555 wxPyEndBlockThreads(blocked
);
3559 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3561 // Since this one would be tough and ugly to do with the Macros...
3562 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3563 bool hadErr
= false;
3566 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3567 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3568 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3569 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3572 val
= PyTuple_GetItem(result
, 0);
3573 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3576 val
= PyTuple_GetItem(result
, 1);
3577 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3580 val
= PyTuple_GetItem(result
, 2);
3581 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3584 val
= PyTuple_GetItem(result
, 3);
3585 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3592 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3597 wxPyEndBlockThreads(blocked
);
3599 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3604 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3605 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3606 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3607 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3608 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3609 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3610 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3616 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3617 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3620 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3621 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3624 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3625 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3626 PyObject* win = wxPyMake_wxObject(a,false); \
3627 PyObject* dc = wxPyMake_wxObject(&b,false); \
3628 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3632 wxPyEndBlockThreads(blocked); \
3634 rval = PCLASS::CBNAME(a, b); \
3641 class wxPyPrintPreview
: public wxPrintPreview
3643 DECLARE_CLASS(wxPyPrintPreview
)
3645 wxPyPrintPreview(wxPyPrintout
* printout
,
3646 wxPyPrintout
* printoutForPrinting
,
3647 wxPrintDialogData
* data
=NULL
)
3648 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3650 wxPyPrintPreview(wxPyPrintout
* printout
,
3651 wxPyPrintout
* printoutForPrinting
,
3653 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3656 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3657 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3658 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3659 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3660 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3661 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3662 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3667 // Stupid renamed classes... Fix this in 2.5...
3668 #if defined(__WXMSW__)
3669 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3670 #elif defined(__WXMAC__)
3671 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3673 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3676 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3677 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3678 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3679 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3680 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3681 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3682 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3685 class wxPyPreviewFrame
: public wxPreviewFrame
3687 DECLARE_CLASS(wxPyPreviewFrame
)
3689 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3690 const wxString
& title
,
3691 const wxPoint
& pos
= wxDefaultPosition
,
3692 const wxSize
& size
= wxDefaultSize
,
3693 long style
= wxDEFAULT_FRAME_STYLE
,
3694 const wxString
& name
= wxPyFrameNameStr
)
3695 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3698 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3699 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3701 DEC_PYCALLBACK_VOID_(Initialize
);
3702 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3703 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3708 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3710 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3711 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3712 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3715 class wxPyPreviewControlBar
: public wxPreviewControlBar
3717 DECLARE_CLASS(wxPyPreviewControlBar
)
3719 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3722 const wxPoint
& pos
= wxDefaultPosition
,
3723 const wxSize
& size
= wxDefaultSize
,
3725 const wxString
& name
= wxPyPanelNameStr
)
3726 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3729 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3731 DEC_PYCALLBACK_VOID_(CreateButtons
);
3732 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3737 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3738 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3739 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3744 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
= 0;
3746 wxWindow
*arg1
= (wxWindow
*) 0 ;
3747 int arg2
= (int) (int)-1 ;
3748 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3749 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3750 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3751 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3752 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3753 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3754 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3755 wxPanel
*result
= 0 ;
3764 bool temp6
= false ;
3765 PyObject
* obj0
= 0 ;
3766 PyObject
* obj1
= 0 ;
3767 PyObject
* obj2
= 0 ;
3768 PyObject
* obj3
= 0 ;
3769 PyObject
* obj4
= 0 ;
3770 PyObject
* obj5
= 0 ;
3771 char * kwnames
[] = {
3772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3777 if (!SWIG_IsOK(res1
)) {
3778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3780 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3783 if (!SWIG_IsOK(ecode2
)) {
3784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3786 arg2
= static_cast< int >(val2
);
3791 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3797 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3801 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3802 if (!SWIG_IsOK(ecode5
)) {
3803 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3805 arg5
= static_cast< long >(val5
);
3809 arg6
= wxString_in_helper(obj5
);
3810 if (arg6
== NULL
) SWIG_fail
;
3815 if (!wxPyCheckForApp()) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3836 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3837 PyObject
*resultobj
= 0;
3838 wxPanel
*result
= 0 ;
3840 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3842 if (!wxPyCheckForApp()) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (wxPanel
*)new wxPanel();
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3855 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
*resultobj
= 0;
3857 wxPanel
*arg1
= (wxPanel
*) 0 ;
3858 wxWindow
*arg2
= (wxWindow
*) 0 ;
3859 int arg3
= (int) (int)-1 ;
3860 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3861 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3862 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3863 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3864 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3865 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3866 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3878 bool temp7
= false ;
3879 PyObject
* obj0
= 0 ;
3880 PyObject
* obj1
= 0 ;
3881 PyObject
* obj2
= 0 ;
3882 PyObject
* obj3
= 0 ;
3883 PyObject
* obj4
= 0 ;
3884 PyObject
* obj5
= 0 ;
3885 PyObject
* obj6
= 0 ;
3886 char * kwnames
[] = {
3887 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3892 if (!SWIG_IsOK(res1
)) {
3893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3895 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3897 if (!SWIG_IsOK(res2
)) {
3898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3900 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3903 if (!SWIG_IsOK(ecode3
)) {
3904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3906 arg3
= static_cast< int >(val3
);
3911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3917 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3921 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3922 if (!SWIG_IsOK(ecode6
)) {
3923 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3925 arg6
= static_cast< long >(val6
);
3929 arg7
= wxString_in_helper(obj6
);
3930 if (arg7
== NULL
) SWIG_fail
;
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3957 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3958 PyObject
*resultobj
= 0;
3959 wxPanel
*arg1
= (wxPanel
*) 0 ;
3962 PyObject
*swig_obj
[1] ;
3964 if (!args
) SWIG_fail
;
3966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3967 if (!SWIG_IsOK(res1
)) {
3968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3970 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 (arg1
)->SetFocusIgnoringChildren();
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 resultobj
= SWIG_Py_Void();
3984 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
= 0;
3986 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3987 SwigValueWrapper
<wxVisualAttributes
> result
;
3990 PyObject
* obj0
= 0 ;
3991 char * kwnames
[] = {
3992 (char *) "variant", NULL
3995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3997 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3998 if (!SWIG_IsOK(ecode1
)) {
3999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4001 arg1
= static_cast< wxWindowVariant
>(val1
);
4004 if (!wxPyCheckForApp()) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4017 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4020 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4021 return SWIG_Py_Void();
4024 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4025 return SWIG_Python_InitShadowInstance(args
);
4028 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
= 0;
4030 wxWindow
*arg1
= (wxWindow
*) 0 ;
4031 int arg2
= (int) (int)-1 ;
4032 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4033 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4034 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4035 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4036 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4037 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4038 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4039 wxScrolledWindow
*result
= 0 ;
4048 bool temp6
= false ;
4049 PyObject
* obj0
= 0 ;
4050 PyObject
* obj1
= 0 ;
4051 PyObject
* obj2
= 0 ;
4052 PyObject
* obj3
= 0 ;
4053 PyObject
* obj4
= 0 ;
4054 PyObject
* obj5
= 0 ;
4055 char * kwnames
[] = {
4056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4061 if (!SWIG_IsOK(res1
)) {
4062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4064 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4067 if (!SWIG_IsOK(ecode2
)) {
4068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4070 arg2
= static_cast< int >(val2
);
4075 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4081 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4085 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4086 if (!SWIG_IsOK(ecode5
)) {
4087 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4089 arg5
= static_cast< long >(val5
);
4093 arg6
= wxString_in_helper(obj5
);
4094 if (arg6
== NULL
) SWIG_fail
;
4099 if (!wxPyCheckForApp()) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4120 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4121 PyObject
*resultobj
= 0;
4122 wxScrolledWindow
*result
= 0 ;
4124 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4126 if (!wxPyCheckForApp()) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4139 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
= 0;
4141 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4142 wxWindow
*arg2
= (wxWindow
*) 0 ;
4143 int arg3
= (int) (int)-1 ;
4144 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4145 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4146 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4147 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4148 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4149 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4150 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4162 bool temp7
= false ;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4165 PyObject
* obj2
= 0 ;
4166 PyObject
* obj3
= 0 ;
4167 PyObject
* obj4
= 0 ;
4168 PyObject
* obj5
= 0 ;
4169 PyObject
* obj6
= 0 ;
4170 char * kwnames
[] = {
4171 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4176 if (!SWIG_IsOK(res1
)) {
4177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4179 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4181 if (!SWIG_IsOK(res2
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4187 if (!SWIG_IsOK(ecode3
)) {
4188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4190 arg3
= static_cast< int >(val3
);
4195 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4201 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4205 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4206 if (!SWIG_IsOK(ecode6
)) {
4207 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4209 arg6
= static_cast< long >(val6
);
4213 arg7
= wxString_in_helper(obj6
);
4214 if (arg7
== NULL
) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4241 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
= 0;
4243 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4248 int arg6
= (int) 0 ;
4249 int arg7
= (int) 0 ;
4250 bool arg8
= (bool) false ;
4267 PyObject
* obj0
= 0 ;
4268 PyObject
* obj1
= 0 ;
4269 PyObject
* obj2
= 0 ;
4270 PyObject
* obj3
= 0 ;
4271 PyObject
* obj4
= 0 ;
4272 PyObject
* obj5
= 0 ;
4273 PyObject
* obj6
= 0 ;
4274 PyObject
* obj7
= 0 ;
4275 char * kwnames
[] = {
4276 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4281 if (!SWIG_IsOK(res1
)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4284 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4286 if (!SWIG_IsOK(ecode2
)) {
4287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4289 arg2
= static_cast< int >(val2
);
4290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4291 if (!SWIG_IsOK(ecode3
)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4294 arg3
= static_cast< int >(val3
);
4295 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4296 if (!SWIG_IsOK(ecode4
)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4299 arg4
= static_cast< int >(val4
);
4300 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4301 if (!SWIG_IsOK(ecode5
)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4304 arg5
= static_cast< int >(val5
);
4306 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4307 if (!SWIG_IsOK(ecode6
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4310 arg6
= static_cast< int >(val6
);
4313 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4314 if (!SWIG_IsOK(ecode7
)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4317 arg7
= static_cast< int >(val7
);
4320 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4321 if (!SWIG_IsOK(ecode8
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4324 arg8
= static_cast< bool >(val8
);
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_Py_Void();
4339 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
= 0;
4341 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4352 PyObject
* obj2
= 0 ;
4353 char * kwnames
[] = {
4354 (char *) "self",(char *) "x",(char *) "y", NULL
4357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) 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_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
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_Scroll" "', expected argument " "2"" of type '" "int""'");
4367 arg2
= static_cast< int >(val2
);
4368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4369 if (!SWIG_IsOK(ecode3
)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4372 arg3
= static_cast< int >(val3
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->Scroll(arg2
,arg3
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_Py_Void();
4386 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
= 0;
4388 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4395 PyObject
* obj0
= 0 ;
4396 PyObject
* obj1
= 0 ;
4397 char * kwnames
[] = {
4398 (char *) "self",(char *) "orient", NULL
4401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4403 if (!SWIG_IsOK(res1
)) {
4404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4406 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4408 if (!SWIG_IsOK(ecode2
)) {
4409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4411 arg2
= static_cast< int >(val2
);
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 resultobj
= SWIG_From_int(static_cast< int >(result
));
4425 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
= 0;
4427 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4436 PyObject
* obj0
= 0 ;
4437 PyObject
* obj1
= 0 ;
4438 PyObject
* obj2
= 0 ;
4439 char * kwnames
[] = {
4440 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4445 if (!SWIG_IsOK(res1
)) {
4446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4448 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4450 if (!SWIG_IsOK(ecode2
)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4453 arg2
= static_cast< int >(val2
);
4454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4455 if (!SWIG_IsOK(ecode3
)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4458 arg3
= static_cast< int >(val3
);
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= SWIG_Py_Void();
4472 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
= 0;
4474 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 PyObject
* obj2
= 0 ;
4486 char * kwnames
[] = {
4487 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4492 if (!SWIG_IsOK(res1
)) {
4493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4495 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4497 if (!SWIG_IsOK(ecode2
)) {
4498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4500 arg2
= static_cast< int >(val2
);
4501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4502 if (!SWIG_IsOK(ecode3
)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4505 arg3
= static_cast< int >(val3
);
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 (arg1
)->SetScrollRate(arg2
,arg3
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 resultobj
= SWIG_Py_Void();
4519 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4520 PyObject
*resultobj
= 0;
4521 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4522 int *arg2
= (int *) 0 ;
4523 int *arg3
= (int *) 0 ;
4527 int res2
= SWIG_TMPOBJ
;
4529 int res3
= SWIG_TMPOBJ
;
4530 PyObject
*swig_obj
[1] ;
4534 if (!args
) SWIG_fail
;
4536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4537 if (!SWIG_IsOK(res1
)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4540 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= SWIG_Py_Void();
4548 if (SWIG_IsTmpObj(res2
)) {
4549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4551 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4554 if (SWIG_IsTmpObj(res3
)) {
4555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4557 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4566 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
= 0;
4568 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4577 PyObject
* obj0
= 0 ;
4578 PyObject
* obj1
= 0 ;
4579 PyObject
* obj2
= 0 ;
4580 char * kwnames
[] = {
4581 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4586 if (!SWIG_IsOK(res1
)) {
4587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4589 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4590 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4591 if (!SWIG_IsOK(ecode2
)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4594 arg2
= static_cast< bool >(val2
);
4595 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4596 if (!SWIG_IsOK(ecode3
)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4599 arg3
= static_cast< bool >(val3
);
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 (arg1
)->EnableScrolling(arg2
,arg3
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 resultobj
= SWIG_Py_Void();
4613 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4614 PyObject
*resultobj
= 0;
4615 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4616 int *arg2
= (int *) 0 ;
4617 int *arg3
= (int *) 0 ;
4621 int res2
= SWIG_TMPOBJ
;
4623 int res3
= SWIG_TMPOBJ
;
4624 PyObject
*swig_obj
[1] ;
4628 if (!args
) SWIG_fail
;
4630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4631 if (!SWIG_IsOK(res1
)) {
4632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4634 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= SWIG_Py_Void();
4642 if (SWIG_IsTmpObj(res2
)) {
4643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4645 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4648 if (SWIG_IsTmpObj(res3
)) {
4649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4651 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4660 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
= 0;
4662 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4673 PyObject
* obj2
= 0 ;
4674 char * kwnames
[] = {
4675 (char *) "self",(char *) "xs",(char *) "ys", NULL
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4680 if (!SWIG_IsOK(res1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4683 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4684 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4685 if (!SWIG_IsOK(ecode2
)) {
4686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4688 arg2
= static_cast< double >(val2
);
4689 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4690 if (!SWIG_IsOK(ecode3
)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4693 arg3
= static_cast< double >(val3
);
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 (arg1
)->SetScale(arg2
,arg3
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_Py_Void();
4707 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4708 PyObject
*resultobj
= 0;
4709 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4713 PyObject
*swig_obj
[1] ;
4715 if (!args
) SWIG_fail
;
4717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4718 if (!SWIG_IsOK(res1
)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4721 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= SWIG_From_double(static_cast< double >(result
));
4735 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4736 PyObject
*resultobj
= 0;
4737 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4741 PyObject
*swig_obj
[1] ;
4743 if (!args
) SWIG_fail
;
4745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4746 if (!SWIG_IsOK(res1
)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4749 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= SWIG_From_double(static_cast< double >(result
));
4763 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4764 PyObject
*resultobj
= 0;
4765 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4772 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4774 if (!SWIG_IsOK(res1
)) {
4775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4777 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4780 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4788 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4795 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4796 PyObject
*resultobj
= 0;
4797 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4800 int *arg4
= (int *) 0 ;
4801 int *arg5
= (int *) 0 ;
4809 int res4
= SWIG_TMPOBJ
;
4811 int res5
= SWIG_TMPOBJ
;
4815 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4817 if (!SWIG_IsOK(res1
)) {
4818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4820 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4821 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4822 if (!SWIG_IsOK(ecode2
)) {
4823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4825 arg2
= static_cast< int >(val2
);
4826 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4827 if (!SWIG_IsOK(ecode3
)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4830 arg3
= static_cast< int >(val3
);
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= SWIG_Py_Void();
4838 if (SWIG_IsTmpObj(res4
)) {
4839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4841 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4844 if (SWIG_IsTmpObj(res5
)) {
4845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4847 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4856 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4860 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4863 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4866 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4870 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4875 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4876 PyObject
*resultobj
= 0;
4877 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4884 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4886 if (!SWIG_IsOK(res1
)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4889 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4892 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4907 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4908 PyObject
*resultobj
= 0;
4909 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4912 int *arg4
= (int *) 0 ;
4913 int *arg5
= (int *) 0 ;
4921 int res4
= SWIG_TMPOBJ
;
4923 int res5
= SWIG_TMPOBJ
;
4927 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4929 if (!SWIG_IsOK(res1
)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4932 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4933 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4934 if (!SWIG_IsOK(ecode2
)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4937 arg2
= static_cast< int >(val2
);
4938 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4939 if (!SWIG_IsOK(ecode3
)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4942 arg3
= static_cast< int >(val3
);
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_Py_Void();
4950 if (SWIG_IsTmpObj(res4
)) {
4951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4953 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4956 if (SWIG_IsTmpObj(res5
)) {
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4959 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4968 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4972 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4975 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4978 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4982 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4987 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4988 PyObject
*resultobj
= 0;
4989 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4992 PyObject
*swig_obj
[1] ;
4994 if (!args
) SWIG_fail
;
4996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4997 if (!SWIG_IsOK(res1
)) {
4998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5000 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 (arg1
)->AdjustScrollbars();
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= SWIG_Py_Void();
5014 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
= 0;
5016 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5017 wxScrollWinEvent
*arg2
= 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5025 char * kwnames
[] = {
5026 (char *) "self",(char *) "event", NULL
5029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5031 if (!SWIG_IsOK(res1
)) {
5032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5034 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5036 if (!SWIG_IsOK(res2
)) {
5037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5042 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_From_int(static_cast< int >(result
));
5056 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
= 0;
5058 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5059 wxWindow
*arg2
= (wxWindow
*) 0 ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5066 char * kwnames
[] = {
5067 (char *) "self",(char *) "target", NULL
5070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5072 if (!SWIG_IsOK(res1
)) {
5073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5075 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5076 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5077 if (!SWIG_IsOK(res2
)) {
5078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5080 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 (arg1
)->SetTargetWindow(arg2
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 resultobj
= SWIG_Py_Void();
5094 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5095 PyObject
*resultobj
= 0;
5096 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5097 wxWindow
*result
= 0 ;
5100 PyObject
*swig_obj
[1] ;
5102 if (!args
) SWIG_fail
;
5104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5105 if (!SWIG_IsOK(res1
)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5108 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5116 resultobj
= wxPyMake_wxObject(result
, 0);
5124 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
= 0;
5126 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5132 PyObject
* obj1
= 0 ;
5133 char * kwnames
[] = {
5134 (char *) "self",(char *) "rect", NULL
5137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5139 if (!SWIG_IsOK(res1
)) {
5140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5142 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5145 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 resultobj
= SWIG_Py_Void();
5160 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5161 PyObject
*resultobj
= 0;
5162 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5166 PyObject
*swig_obj
[1] ;
5168 if (!args
) SWIG_fail
;
5170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5171 if (!SWIG_IsOK(res1
)) {
5172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5174 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5188 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
= 0;
5190 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5198 char * kwnames
[] = {
5199 (char *) "self",(char *) "dc", NULL
5202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5204 if (!SWIG_IsOK(res1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5207 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5209 if (!SWIG_IsOK(res2
)) {
5210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5215 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 (arg1
)->DoPrepareDC(*arg2
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 resultobj
= SWIG_Py_Void();
5229 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
*resultobj
= 0;
5231 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5232 SwigValueWrapper
<wxVisualAttributes
> result
;
5235 PyObject
* obj0
= 0 ;
5236 char * kwnames
[] = {
5237 (char *) "variant", NULL
5240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5242 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5243 if (!SWIG_IsOK(ecode1
)) {
5244 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5246 arg1
= static_cast< wxWindowVariant
>(val1
);
5249 if (!wxPyCheckForApp()) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5262 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5265 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5266 return SWIG_Py_Void();
5269 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5270 return SWIG_Python_InitShadowInstance(args
);
5273 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5274 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5279 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5280 PyObject
*pyobj
= 0;
5284 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5286 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5293 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5294 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5299 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5300 PyObject
*pyobj
= 0;
5304 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5306 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5313 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5314 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5319 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5320 PyObject
*pyobj
= 0;
5324 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5326 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5333 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5334 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5339 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5340 PyObject
*pyobj
= 0;
5344 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5346 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5353 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
= 0;
5355 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5356 bool arg2
= (bool) true ;
5361 PyObject
* obj0
= 0 ;
5362 PyObject
* obj1
= 0 ;
5363 char * kwnames
[] = {
5364 (char *) "self",(char *) "maximize", NULL
5367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5369 if (!SWIG_IsOK(res1
)) {
5370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5372 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5374 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5375 if (!SWIG_IsOK(ecode2
)) {
5376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5378 arg2
= static_cast< bool >(val2
);
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 (arg1
)->Maximize(arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 resultobj
= SWIG_Py_Void();
5393 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5394 PyObject
*resultobj
= 0;
5395 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5398 PyObject
*swig_obj
[1] ;
5400 if (!args
) SWIG_fail
;
5402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5403 if (!SWIG_IsOK(res1
)) {
5404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5406 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= SWIG_Py_Void();
5420 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
= 0;
5422 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5423 bool arg2
= (bool) true ;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5430 char * kwnames
[] = {
5431 (char *) "self",(char *) "iconize", NULL
5434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5436 if (!SWIG_IsOK(res1
)) {
5437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5439 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5441 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5442 if (!SWIG_IsOK(ecode2
)) {
5443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5445 arg2
= static_cast< bool >(val2
);
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 (arg1
)->Iconize(arg2
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= SWIG_Py_Void();
5460 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5461 PyObject
*resultobj
= 0;
5462 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5466 PyObject
*swig_obj
[1] ;
5468 if (!args
) SWIG_fail
;
5470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5471 if (!SWIG_IsOK(res1
)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5474 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5490 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5491 PyObject
*resultobj
= 0;
5492 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5496 PyObject
*swig_obj
[1] ;
5498 if (!args
) SWIG_fail
;
5500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5501 if (!SWIG_IsOK(res1
)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5504 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5520 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5521 PyObject
*resultobj
= 0;
5522 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5526 PyObject
*swig_obj
[1] ;
5528 if (!args
) SWIG_fail
;
5530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5531 if (!SWIG_IsOK(res1
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5534 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5550 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5551 PyObject
*resultobj
= 0;
5552 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5556 PyObject
*swig_obj
[1] ;
5558 if (!args
) SWIG_fail
;
5560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5561 if (!SWIG_IsOK(res1
)) {
5562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5564 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5578 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
= 0;
5580 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5586 PyObject
* obj0
= 0 ;
5587 PyObject
* obj1
= 0 ;
5588 char * kwnames
[] = {
5589 (char *) "self",(char *) "icon", NULL
5592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5594 if (!SWIG_IsOK(res1
)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5597 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5598 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5599 if (!SWIG_IsOK(res2
)) {
5600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5605 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= SWIG_Py_Void();
5619 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
= 0;
5621 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5622 wxIconBundle
*arg2
= 0 ;
5627 PyObject
* obj0
= 0 ;
5628 PyObject
* obj1
= 0 ;
5629 char * kwnames
[] = {
5630 (char *) "self",(char *) "icons", NULL
5633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5635 if (!SWIG_IsOK(res1
)) {
5636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5638 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5640 if (!SWIG_IsOK(res2
)) {
5641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5646 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_Py_Void();
5660 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
= 0;
5662 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5664 long arg3
= (long) wxFULLSCREEN_ALL
;
5672 PyObject
* obj0
= 0 ;
5673 PyObject
* obj1
= 0 ;
5674 PyObject
* obj2
= 0 ;
5675 char * kwnames
[] = {
5676 (char *) "self",(char *) "show",(char *) "style", NULL
5679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5681 if (!SWIG_IsOK(res1
)) {
5682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5684 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5685 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5686 if (!SWIG_IsOK(ecode2
)) {
5687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5689 arg2
= static_cast< bool >(val2
);
5691 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5692 if (!SWIG_IsOK(ecode3
)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5695 arg3
= static_cast< long >(val3
);
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5712 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5713 PyObject
*resultobj
= 0;
5714 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5718 PyObject
*swig_obj
[1] ;
5720 if (!args
) SWIG_fail
;
5722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5723 if (!SWIG_IsOK(res1
)) {
5724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5726 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5742 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
= 0;
5744 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5745 wxString
*arg2
= 0 ;
5748 bool temp2
= false ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5751 char * kwnames
[] = {
5752 (char *) "self",(char *) "title", NULL
5755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5757 if (!SWIG_IsOK(res1
)) {
5758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5760 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5762 arg2
= wxString_in_helper(obj1
);
5763 if (arg2
== NULL
) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 (arg1
)->SetTitle((wxString
const &)*arg2
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5772 resultobj
= SWIG_Py_Void();
5787 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5788 PyObject
*resultobj
= 0;
5789 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5793 PyObject
*swig_obj
[1] ;
5795 if (!args
) SWIG_fail
;
5797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5798 if (!SWIG_IsOK(res1
)) {
5799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5801 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5821 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
= 0;
5823 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5824 wxRegion
*arg2
= 0 ;
5830 PyObject
* obj0
= 0 ;
5831 PyObject
* obj1
= 0 ;
5832 char * kwnames
[] = {
5833 (char *) "self",(char *) "region", NULL
5836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5838 if (!SWIG_IsOK(res1
)) {
5839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5841 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5843 if (!SWIG_IsOK(res2
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5849 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5865 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
= 0;
5867 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5868 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5873 PyObject
* obj0
= 0 ;
5874 PyObject
* obj1
= 0 ;
5875 char * kwnames
[] = {
5876 (char *) "self",(char *) "flags", NULL
5879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5881 if (!SWIG_IsOK(res1
)) {
5882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5884 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5887 if (!SWIG_IsOK(ecode2
)) {
5888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5890 arg2
= static_cast< int >(val2
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 (arg1
)->RequestUserAttention(arg2
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= SWIG_Py_Void();
5905 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5906 PyObject
*resultobj
= 0;
5907 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5911 PyObject
*swig_obj
[1] ;
5913 if (!args
) SWIG_fail
;
5915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5916 if (!SWIG_IsOK(res1
)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5919 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (bool)(arg1
)->IsActive();
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5935 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
= 0;
5937 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5945 char * kwnames
[] = {
5946 (char *) "self",(char *) "on", NULL
5949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5951 if (!SWIG_IsOK(res1
)) {
5952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5954 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5955 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5956 if (!SWIG_IsOK(ecode2
)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5959 arg2
= static_cast< bool >(val2
);
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5966 resultobj
= SWIG_Py_Void();
5973 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5974 PyObject
*resultobj
= 0;
5975 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5979 PyObject
*swig_obj
[1] ;
5981 if (!args
) SWIG_fail
;
5983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5984 if (!SWIG_IsOK(res1
)) {
5985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5987 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6003 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
= 0;
6005 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6006 int arg2
= (int) wxBOTH
;
6011 PyObject
* obj0
= 0 ;
6012 PyObject
* obj1
= 0 ;
6013 char * kwnames
[] = {
6014 (char *) "self",(char *) "dir", NULL
6017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6019 if (!SWIG_IsOK(res1
)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6022 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6025 if (!SWIG_IsOK(ecode2
)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6028 arg2
= static_cast< int >(val2
);
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 (arg1
)->CenterOnScreen(arg2
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= SWIG_Py_Void();
6043 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6046 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6047 return SWIG_Py_Void();
6050 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
= 0;
6052 wxWindow
*arg1
= (wxWindow
*) 0 ;
6053 int arg2
= (int) (int)-1 ;
6054 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6055 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6056 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6057 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6058 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6059 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6060 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6061 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6062 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6063 wxFrame
*result
= 0 ;
6068 bool temp3
= false ;
6073 bool temp7
= false ;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6076 PyObject
* obj2
= 0 ;
6077 PyObject
* obj3
= 0 ;
6078 PyObject
* obj4
= 0 ;
6079 PyObject
* obj5
= 0 ;
6080 PyObject
* obj6
= 0 ;
6081 char * kwnames
[] = {
6082 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6087 if (!SWIG_IsOK(res1
)) {
6088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6090 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6093 if (!SWIG_IsOK(ecode2
)) {
6094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6096 arg2
= static_cast< int >(val2
);
6100 arg3
= wxString_in_helper(obj2
);
6101 if (arg3
== NULL
) SWIG_fail
;
6108 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6114 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6118 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6119 if (!SWIG_IsOK(ecode6
)) {
6120 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6122 arg6
= static_cast< long >(val6
);
6126 arg7
= wxString_in_helper(obj6
);
6127 if (arg7
== NULL
) SWIG_fail
;
6132 if (!wxPyCheckForApp()) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6161 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6162 PyObject
*resultobj
= 0;
6163 wxFrame
*result
= 0 ;
6165 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6167 if (!wxPyCheckForApp()) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (wxFrame
*)new wxFrame();
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6180 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
= 0;
6182 wxFrame
*arg1
= (wxFrame
*) 0 ;
6183 wxWindow
*arg2
= (wxWindow
*) 0 ;
6184 int arg3
= (int) (int)-1 ;
6185 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6186 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6187 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6188 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6189 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6190 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6191 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6192 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6193 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6201 bool temp4
= false ;
6206 bool temp8
= false ;
6207 PyObject
* obj0
= 0 ;
6208 PyObject
* obj1
= 0 ;
6209 PyObject
* obj2
= 0 ;
6210 PyObject
* obj3
= 0 ;
6211 PyObject
* obj4
= 0 ;
6212 PyObject
* obj5
= 0 ;
6213 PyObject
* obj6
= 0 ;
6214 PyObject
* obj7
= 0 ;
6215 char * kwnames
[] = {
6216 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6221 if (!SWIG_IsOK(res1
)) {
6222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6224 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6226 if (!SWIG_IsOK(res2
)) {
6227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6229 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6232 if (!SWIG_IsOK(ecode3
)) {
6233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6235 arg3
= static_cast< int >(val3
);
6239 arg4
= wxString_in_helper(obj3
);
6240 if (arg4
== NULL
) SWIG_fail
;
6247 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6253 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6257 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6258 if (!SWIG_IsOK(ecode7
)) {
6259 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6261 arg7
= static_cast< long >(val7
);
6265 arg8
= wxString_in_helper(obj7
);
6266 if (arg8
== NULL
) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6301 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6302 PyObject
*resultobj
= 0;
6303 wxFrame
*arg1
= (wxFrame
*) 0 ;
6306 PyObject
*swig_obj
[1] ;
6308 if (!args
) SWIG_fail
;
6310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6311 if (!SWIG_IsOK(res1
)) {
6312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6314 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 (arg1
)->SendSizeEvent();
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_Py_Void();
6328 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
= 0;
6330 wxFrame
*arg1
= (wxFrame
*) 0 ;
6331 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6338 char * kwnames
[] = {
6339 (char *) "self",(char *) "menubar", NULL
6342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6344 if (!SWIG_IsOK(res1
)) {
6345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6347 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6349 if (!SWIG_IsOK(res2
)) {
6350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6352 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 (arg1
)->SetMenuBar(arg2
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 resultobj
= SWIG_Py_Void();
6366 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6367 PyObject
*resultobj
= 0;
6368 wxFrame
*arg1
= (wxFrame
*) 0 ;
6369 wxMenuBar
*result
= 0 ;
6372 PyObject
*swig_obj
[1] ;
6374 if (!args
) SWIG_fail
;
6376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6377 if (!SWIG_IsOK(res1
)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6380 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= wxPyMake_wxObject(result
, 0);
6396 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
= 0;
6398 wxFrame
*arg1
= (wxFrame
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6406 PyObject
* obj1
= 0 ;
6407 char * kwnames
[] = {
6408 (char *) "self",(char *) "winid", NULL
6411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6413 if (!SWIG_IsOK(res1
)) {
6414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6416 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6418 if (!SWIG_IsOK(ecode2
)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6421 arg2
= static_cast< int >(val2
);
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6437 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
= 0;
6439 wxFrame
*arg1
= (wxFrame
*) 0 ;
6440 int arg2
= (int) 1 ;
6441 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6442 int arg4
= (int) 0 ;
6443 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6444 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6445 wxStatusBar
*result
= 0 ;
6454 bool temp5
= false ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6457 PyObject
* obj2
= 0 ;
6458 PyObject
* obj3
= 0 ;
6459 PyObject
* obj4
= 0 ;
6460 char * kwnames
[] = {
6461 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6466 if (!SWIG_IsOK(res1
)) {
6467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6469 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6472 if (!SWIG_IsOK(ecode2
)) {
6473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6475 arg2
= static_cast< int >(val2
);
6478 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6479 if (!SWIG_IsOK(ecode3
)) {
6480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6482 arg3
= static_cast< long >(val3
);
6485 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6486 if (!SWIG_IsOK(ecode4
)) {
6487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6489 arg4
= static_cast< int >(val4
);
6493 arg5
= wxString_in_helper(obj4
);
6494 if (arg5
== NULL
) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6521 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6522 PyObject
*resultobj
= 0;
6523 wxFrame
*arg1
= (wxFrame
*) 0 ;
6524 wxStatusBar
*result
= 0 ;
6527 PyObject
*swig_obj
[1] ;
6529 if (!args
) SWIG_fail
;
6531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6532 if (!SWIG_IsOK(res1
)) {
6533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6535 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6551 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
= 0;
6553 wxFrame
*arg1
= (wxFrame
*) 0 ;
6554 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6559 PyObject
* obj0
= 0 ;
6560 PyObject
* obj1
= 0 ;
6561 char * kwnames
[] = {
6562 (char *) "self",(char *) "statBar", NULL
6565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6570 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6572 if (!SWIG_IsOK(res2
)) {
6573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6575 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 (arg1
)->SetStatusBar(arg2
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= SWIG_Py_Void();
6589 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
= 0;
6591 wxFrame
*arg1
= (wxFrame
*) 0 ;
6592 wxString
*arg2
= 0 ;
6593 int arg3
= (int) 0 ;
6596 bool temp2
= false ;
6599 PyObject
* obj0
= 0 ;
6600 PyObject
* obj1
= 0 ;
6601 PyObject
* obj2
= 0 ;
6602 char * kwnames
[] = {
6603 (char *) "self",(char *) "text",(char *) "number", NULL
6606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6608 if (!SWIG_IsOK(res1
)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6611 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6613 arg2
= wxString_in_helper(obj1
);
6614 if (arg2
== NULL
) SWIG_fail
;
6618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6619 if (!SWIG_IsOK(ecode3
)) {
6620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6622 arg3
= static_cast< int >(val3
);
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= SWIG_Py_Void();
6645 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
= 0;
6647 wxFrame
*arg1
= (wxFrame
*) 0 ;
6649 int *arg3
= (int *) 0 ;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6654 char * kwnames
[] = {
6655 (char *) "self",(char *) "widths", NULL
6658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6663 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6665 arg2
= PyList_Size(obj1
);
6666 arg3
= int_LIST_helper(obj1
);
6667 if (arg3
== NULL
) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= SWIG_Py_Void();
6677 if (arg3
) delete [] arg3
;
6682 if (arg3
) delete [] arg3
;
6688 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
= 0;
6690 wxFrame
*arg1
= (wxFrame
*) 0 ;
6691 wxString
*arg2
= 0 ;
6692 int arg3
= (int) 0 ;
6695 bool temp2
= false ;
6698 PyObject
* obj0
= 0 ;
6699 PyObject
* obj1
= 0 ;
6700 PyObject
* obj2
= 0 ;
6701 char * kwnames
[] = {
6702 (char *) "self",(char *) "text",(char *) "number", NULL
6705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6707 if (!SWIG_IsOK(res1
)) {
6708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6710 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6712 arg2
= wxString_in_helper(obj1
);
6713 if (arg2
== NULL
) SWIG_fail
;
6717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6718 if (!SWIG_IsOK(ecode3
)) {
6719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6721 arg3
= static_cast< int >(val3
);
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= SWIG_Py_Void();
6744 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
= 0;
6746 wxFrame
*arg1
= (wxFrame
*) 0 ;
6747 int arg2
= (int) 0 ;
6752 PyObject
* obj0
= 0 ;
6753 PyObject
* obj1
= 0 ;
6754 char * kwnames
[] = {
6755 (char *) "self",(char *) "number", NULL
6758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6760 if (!SWIG_IsOK(res1
)) {
6761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6763 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6766 if (!SWIG_IsOK(ecode2
)) {
6767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6769 arg2
= static_cast< int >(val2
);
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 (arg1
)->PopStatusText(arg2
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= SWIG_Py_Void();
6784 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
= 0;
6786 wxFrame
*arg1
= (wxFrame
*) 0 ;
6792 PyObject
* obj0
= 0 ;
6793 PyObject
* obj1
= 0 ;
6794 char * kwnames
[] = {
6795 (char *) "self",(char *) "n", NULL
6798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6800 if (!SWIG_IsOK(res1
)) {
6801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6803 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6805 if (!SWIG_IsOK(ecode2
)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6808 arg2
= static_cast< int >(val2
);
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 (arg1
)->SetStatusBarPane(arg2
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_Py_Void();
6822 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6823 PyObject
*resultobj
= 0;
6824 wxFrame
*arg1
= (wxFrame
*) 0 ;
6828 PyObject
*swig_obj
[1] ;
6830 if (!args
) SWIG_fail
;
6832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6833 if (!SWIG_IsOK(res1
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6836 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6840 wxPyEndAllowThreads(__tstate
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6843 resultobj
= SWIG_From_int(static_cast< int >(result
));
6850 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
= 0;
6852 wxFrame
*arg1
= (wxFrame
*) 0 ;
6853 long arg2
= (long) -1 ;
6854 int arg3
= (int) -1 ;
6855 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6856 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6857 wxToolBar
*result
= 0 ;
6864 bool temp4
= false ;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6867 PyObject
* obj2
= 0 ;
6868 PyObject
* obj3
= 0 ;
6869 char * kwnames
[] = {
6870 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6875 if (!SWIG_IsOK(res1
)) {
6876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6878 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6880 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6881 if (!SWIG_IsOK(ecode2
)) {
6882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6884 arg2
= static_cast< long >(val2
);
6887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6888 if (!SWIG_IsOK(ecode3
)) {
6889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6891 arg3
= static_cast< int >(val3
);
6895 arg4
= wxString_in_helper(obj3
);
6896 if (arg4
== NULL
) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6923 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6924 PyObject
*resultobj
= 0;
6925 wxFrame
*arg1
= (wxFrame
*) 0 ;
6926 wxToolBar
*result
= 0 ;
6929 PyObject
*swig_obj
[1] ;
6931 if (!args
) SWIG_fail
;
6933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6934 if (!SWIG_IsOK(res1
)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6937 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6953 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
*resultobj
= 0;
6955 wxFrame
*arg1
= (wxFrame
*) 0 ;
6956 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6963 char * kwnames
[] = {
6964 (char *) "self",(char *) "toolbar", NULL
6967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6969 if (!SWIG_IsOK(res1
)) {
6970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6972 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6974 if (!SWIG_IsOK(res2
)) {
6975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6977 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 (arg1
)->SetToolBar(arg2
);
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= SWIG_Py_Void();
6991 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
= 0;
6993 wxFrame
*arg1
= (wxFrame
*) 0 ;
6994 wxString
*arg2
= 0 ;
6998 bool temp2
= false ;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7003 PyObject
* obj2
= 0 ;
7004 char * kwnames
[] = {
7005 (char *) "self",(char *) "text",(char *) "show", NULL
7008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7010 if (!SWIG_IsOK(res1
)) {
7011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7013 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7015 arg2
= wxString_in_helper(obj1
);
7016 if (arg2
== NULL
) SWIG_fail
;
7019 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7020 if (!SWIG_IsOK(ecode3
)) {
7021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7023 arg3
= static_cast< bool >(val3
);
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= SWIG_Py_Void();
7045 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
= 0;
7047 wxFrame
*arg1
= (wxFrame
*) 0 ;
7048 wxMenu
*arg2
= (wxMenu
*) NULL
;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7055 char * kwnames
[] = {
7056 (char *) "self",(char *) "menu", NULL
7059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7061 if (!SWIG_IsOK(res1
)) {
7062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7064 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7066 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7067 if (!SWIG_IsOK(res2
)) {
7068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7070 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 (arg1
)->DoMenuUpdates(arg2
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_Py_Void();
7085 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
= 0;
7087 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7088 SwigValueWrapper
<wxVisualAttributes
> result
;
7091 PyObject
* obj0
= 0 ;
7092 char * kwnames
[] = {
7093 (char *) "variant", NULL
7096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7098 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7099 if (!SWIG_IsOK(ecode1
)) {
7100 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7102 arg1
= static_cast< wxWindowVariant
>(val1
);
7105 if (!wxPyCheckForApp()) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7118 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7121 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7122 return SWIG_Py_Void();
7125 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7126 return SWIG_Python_InitShadowInstance(args
);
7129 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
= 0;
7131 wxWindow
*arg1
= (wxWindow
*) 0 ;
7132 int arg2
= (int) (int)-1 ;
7133 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7134 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7135 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7136 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7137 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7138 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7139 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7140 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7141 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7142 wxDialog
*result
= 0 ;
7147 bool temp3
= false ;
7152 bool temp7
= false ;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7155 PyObject
* obj2
= 0 ;
7156 PyObject
* obj3
= 0 ;
7157 PyObject
* obj4
= 0 ;
7158 PyObject
* obj5
= 0 ;
7159 PyObject
* obj6
= 0 ;
7160 char * kwnames
[] = {
7161 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7166 if (!SWIG_IsOK(res1
)) {
7167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7169 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7172 if (!SWIG_IsOK(ecode2
)) {
7173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7175 arg2
= static_cast< int >(val2
);
7179 arg3
= wxString_in_helper(obj2
);
7180 if (arg3
== NULL
) SWIG_fail
;
7187 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7193 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7197 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7198 if (!SWIG_IsOK(ecode6
)) {
7199 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7201 arg6
= static_cast< long >(val6
);
7205 arg7
= wxString_in_helper(obj6
);
7206 if (arg7
== NULL
) SWIG_fail
;
7211 if (!wxPyCheckForApp()) SWIG_fail
;
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7240 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7241 PyObject
*resultobj
= 0;
7242 wxDialog
*result
= 0 ;
7244 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7246 if (!wxPyCheckForApp()) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= (wxDialog
*)new wxDialog();
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7259 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
= 0;
7261 wxDialog
*arg1
= (wxDialog
*) 0 ;
7262 wxWindow
*arg2
= (wxWindow
*) 0 ;
7263 int arg3
= (int) (int)-1 ;
7264 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7265 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7266 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7267 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7268 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7269 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7270 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7271 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7272 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7280 bool temp4
= false ;
7285 bool temp8
= false ;
7286 PyObject
* obj0
= 0 ;
7287 PyObject
* obj1
= 0 ;
7288 PyObject
* obj2
= 0 ;
7289 PyObject
* obj3
= 0 ;
7290 PyObject
* obj4
= 0 ;
7291 PyObject
* obj5
= 0 ;
7292 PyObject
* obj6
= 0 ;
7293 PyObject
* obj7
= 0 ;
7294 char * kwnames
[] = {
7295 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7300 if (!SWIG_IsOK(res1
)) {
7301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7303 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7305 if (!SWIG_IsOK(res2
)) {
7306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7311 if (!SWIG_IsOK(ecode3
)) {
7312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7314 arg3
= static_cast< int >(val3
);
7318 arg4
= wxString_in_helper(obj3
);
7319 if (arg4
== NULL
) SWIG_fail
;
7326 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7332 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7336 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7337 if (!SWIG_IsOK(ecode7
)) {
7338 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7340 arg7
= static_cast< long >(val7
);
7344 arg8
= wxString_in_helper(obj7
);
7345 if (arg8
== NULL
) SWIG_fail
;
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7380 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
= 0;
7382 wxDialog
*arg1
= (wxDialog
*) 0 ;
7388 PyObject
* obj0
= 0 ;
7389 PyObject
* obj1
= 0 ;
7390 char * kwnames
[] = {
7391 (char *) "self",(char *) "returnCode", NULL
7394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7396 if (!SWIG_IsOK(res1
)) {
7397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7399 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7401 if (!SWIG_IsOK(ecode2
)) {
7402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7404 arg2
= static_cast< int >(val2
);
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 (arg1
)->SetReturnCode(arg2
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_Py_Void();
7418 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7419 PyObject
*resultobj
= 0;
7420 wxDialog
*arg1
= (wxDialog
*) 0 ;
7424 PyObject
*swig_obj
[1] ;
7426 if (!args
) SWIG_fail
;
7428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7429 if (!SWIG_IsOK(res1
)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7432 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= SWIG_From_int(static_cast< int >(result
));
7446 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
= 0;
7448 wxDialog
*arg1
= (wxDialog
*) 0 ;
7454 PyObject
* obj0
= 0 ;
7455 PyObject
* obj1
= 0 ;
7456 char * kwnames
[] = {
7457 (char *) "self",(char *) "affirmativeId", NULL
7460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7462 if (!SWIG_IsOK(res1
)) {
7463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7465 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7467 if (!SWIG_IsOK(ecode2
)) {
7468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7470 arg2
= static_cast< int >(val2
);
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 (arg1
)->SetAffirmativeId(arg2
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= SWIG_Py_Void();
7484 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7485 PyObject
*resultobj
= 0;
7486 wxDialog
*arg1
= (wxDialog
*) 0 ;
7490 PyObject
*swig_obj
[1] ;
7492 if (!args
) SWIG_fail
;
7494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7495 if (!SWIG_IsOK(res1
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7498 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= SWIG_From_int(static_cast< int >(result
));
7512 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
= 0;
7514 wxDialog
*arg1
= (wxDialog
*) 0 ;
7520 PyObject
* obj0
= 0 ;
7521 PyObject
* obj1
= 0 ;
7522 char * kwnames
[] = {
7523 (char *) "self",(char *) "escapeId", NULL
7526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7528 if (!SWIG_IsOK(res1
)) {
7529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7531 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7533 if (!SWIG_IsOK(ecode2
)) {
7534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7536 arg2
= static_cast< int >(val2
);
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 (arg1
)->SetEscapeId(arg2
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= SWIG_Py_Void();
7550 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7551 PyObject
*resultobj
= 0;
7552 wxDialog
*arg1
= (wxDialog
*) 0 ;
7556 PyObject
*swig_obj
[1] ;
7558 if (!args
) SWIG_fail
;
7560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7561 if (!SWIG_IsOK(res1
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7564 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_From_int(static_cast< int >(result
));
7578 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
= 0;
7580 wxDialog
*arg1
= (wxDialog
*) 0 ;
7581 wxString
*arg2
= 0 ;
7582 wxSizer
*result
= 0 ;
7585 bool temp2
= false ;
7586 PyObject
* obj0
= 0 ;
7587 PyObject
* obj1
= 0 ;
7588 char * kwnames
[] = {
7589 (char *) "self",(char *) "message", NULL
7592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7594 if (!SWIG_IsOK(res1
)) {
7595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7597 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7599 arg2
= wxString_in_helper(obj1
);
7600 if (arg2
== NULL
) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7626 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
= 0;
7628 wxDialog
*arg1
= (wxDialog
*) 0 ;
7630 bool arg3
= (bool) false ;
7631 int arg4
= (int) 0 ;
7632 wxSizer
*result
= 0 ;
7641 PyObject
* obj0
= 0 ;
7642 PyObject
* obj1
= 0 ;
7643 PyObject
* obj2
= 0 ;
7644 PyObject
* obj3
= 0 ;
7645 char * kwnames
[] = {
7646 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7651 if (!SWIG_IsOK(res1
)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7654 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7655 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7656 if (!SWIG_IsOK(ecode2
)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7659 arg2
= static_cast< long >(val2
);
7661 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7662 if (!SWIG_IsOK(ecode3
)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7665 arg3
= static_cast< bool >(val3
);
7668 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7669 if (!SWIG_IsOK(ecode4
)) {
7670 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7672 arg4
= static_cast< int >(val4
);
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7689 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
= 0;
7691 wxDialog
*arg1
= (wxDialog
*) 0 ;
7693 wxStdDialogButtonSizer
*result
= 0 ;
7698 PyObject
* obj0
= 0 ;
7699 PyObject
* obj1
= 0 ;
7700 char * kwnames
[] = {
7701 (char *) "self",(char *) "flags", NULL
7704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7706 if (!SWIG_IsOK(res1
)) {
7707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7709 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7710 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7711 if (!SWIG_IsOK(ecode2
)) {
7712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7714 arg2
= static_cast< long >(val2
);
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7728 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7729 PyObject
*resultobj
= 0;
7730 wxDialog
*arg1
= (wxDialog
*) 0 ;
7734 PyObject
*swig_obj
[1] ;
7736 if (!args
) SWIG_fail
;
7738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7739 if (!SWIG_IsOK(res1
)) {
7740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7742 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7758 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7759 PyObject
*resultobj
= 0;
7760 wxDialog
*arg1
= (wxDialog
*) 0 ;
7764 PyObject
*swig_obj
[1] ;
7766 if (!args
) SWIG_fail
;
7768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7769 if (!SWIG_IsOK(res1
)) {
7770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7772 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= (int)(arg1
)->ShowModal();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_From_int(static_cast< int >(result
));
7786 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
= 0;
7788 wxDialog
*arg1
= (wxDialog
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7796 char * kwnames
[] = {
7797 (char *) "self",(char *) "retCode", NULL
7800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7802 if (!SWIG_IsOK(res1
)) {
7803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7805 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7807 if (!SWIG_IsOK(ecode2
)) {
7808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7810 arg2
= static_cast< int >(val2
);
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 (arg1
)->EndModal(arg2
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_Py_Void();
7824 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
= 0;
7826 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7827 SwigValueWrapper
<wxVisualAttributes
> result
;
7830 PyObject
* obj0
= 0 ;
7831 char * kwnames
[] = {
7832 (char *) "variant", NULL
7835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7837 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7838 if (!SWIG_IsOK(ecode1
)) {
7839 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7841 arg1
= static_cast< wxWindowVariant
>(val1
);
7844 if (!wxPyCheckForApp()) SWIG_fail
;
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7857 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7860 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7861 return SWIG_Py_Void();
7864 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7865 return SWIG_Python_InitShadowInstance(args
);
7868 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
= 0;
7870 wxWindow
*arg1
= (wxWindow
*) 0 ;
7871 int arg2
= (int) (int)-1 ;
7872 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7873 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7878 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7879 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7880 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7881 wxMiniFrame
*result
= 0 ;
7886 bool temp3
= false ;
7891 bool temp7
= false ;
7892 PyObject
* obj0
= 0 ;
7893 PyObject
* obj1
= 0 ;
7894 PyObject
* obj2
= 0 ;
7895 PyObject
* obj3
= 0 ;
7896 PyObject
* obj4
= 0 ;
7897 PyObject
* obj5
= 0 ;
7898 PyObject
* obj6
= 0 ;
7899 char * kwnames
[] = {
7900 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7905 if (!SWIG_IsOK(res1
)) {
7906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7908 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7911 if (!SWIG_IsOK(ecode2
)) {
7912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7914 arg2
= static_cast< int >(val2
);
7918 arg3
= wxString_in_helper(obj2
);
7919 if (arg3
== NULL
) SWIG_fail
;
7926 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7932 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7936 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7937 if (!SWIG_IsOK(ecode6
)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7940 arg6
= static_cast< long >(val6
);
7944 arg7
= wxString_in_helper(obj6
);
7945 if (arg7
== NULL
) SWIG_fail
;
7950 if (!wxPyCheckForApp()) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7979 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7980 PyObject
*resultobj
= 0;
7981 wxMiniFrame
*result
= 0 ;
7983 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7985 if (!wxPyCheckForApp()) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (wxMiniFrame
*)new wxMiniFrame();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7998 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
= 0;
8000 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8001 wxWindow
*arg2
= (wxWindow
*) 0 ;
8002 int arg3
= (int) (int)-1 ;
8003 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8004 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8005 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8006 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8007 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8008 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8009 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8010 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8011 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8019 bool temp4
= false ;
8024 bool temp8
= false ;
8025 PyObject
* obj0
= 0 ;
8026 PyObject
* obj1
= 0 ;
8027 PyObject
* obj2
= 0 ;
8028 PyObject
* obj3
= 0 ;
8029 PyObject
* obj4
= 0 ;
8030 PyObject
* obj5
= 0 ;
8031 PyObject
* obj6
= 0 ;
8032 PyObject
* obj7
= 0 ;
8033 char * kwnames
[] = {
8034 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8039 if (!SWIG_IsOK(res1
)) {
8040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8042 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8043 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8044 if (!SWIG_IsOK(res2
)) {
8045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8047 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8050 if (!SWIG_IsOK(ecode3
)) {
8051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8053 arg3
= static_cast< int >(val3
);
8057 arg4
= wxString_in_helper(obj3
);
8058 if (arg4
== NULL
) SWIG_fail
;
8065 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8071 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8075 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8076 if (!SWIG_IsOK(ecode7
)) {
8077 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8079 arg7
= static_cast< long >(val7
);
8083 arg8
= wxString_in_helper(obj7
);
8084 if (arg8
== NULL
) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8119 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8122 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8123 return SWIG_Py_Void();
8126 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8127 return SWIG_Python_InitShadowInstance(args
);
8130 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
= 0;
8132 wxBitmap
*arg1
= 0 ;
8133 wxWindow
*arg2
= (wxWindow
*) 0 ;
8135 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8136 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8137 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8138 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8139 long arg6
= (long) wxNO_BORDER
;
8140 wxSplashScreenWindow
*result
= 0 ;
8151 PyObject
* obj0
= 0 ;
8152 PyObject
* obj1
= 0 ;
8153 PyObject
* obj2
= 0 ;
8154 PyObject
* obj3
= 0 ;
8155 PyObject
* obj4
= 0 ;
8156 PyObject
* obj5
= 0 ;
8157 char * kwnames
[] = {
8158 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8162 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8163 if (!SWIG_IsOK(res1
)) {
8164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8169 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8170 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8171 if (!SWIG_IsOK(res2
)) {
8172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8174 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8176 if (!SWIG_IsOK(ecode3
)) {
8177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8179 arg3
= static_cast< int >(val3
);
8183 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8189 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8193 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8194 if (!SWIG_IsOK(ecode6
)) {
8195 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8197 arg6
= static_cast< long >(val6
);
8200 if (!wxPyCheckForApp()) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8213 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
= 0;
8215 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8216 wxBitmap
*arg2
= 0 ;
8221 PyObject
* obj0
= 0 ;
8222 PyObject
* obj1
= 0 ;
8223 char * kwnames
[] = {
8224 (char *) "self",(char *) "bitmap", NULL
8227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8229 if (!SWIG_IsOK(res1
)) {
8230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8232 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8233 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8234 if (!SWIG_IsOK(res2
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8240 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= SWIG_Py_Void();
8254 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8255 PyObject
*resultobj
= 0;
8256 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8257 wxBitmap
*result
= 0 ;
8260 PyObject
*swig_obj
[1] ;
8262 if (!args
) SWIG_fail
;
8264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8265 if (!SWIG_IsOK(res1
)) {
8266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8268 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8273 result
= (wxBitmap
*) &_result_ref
;
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8279 wxBitmap
* resultptr
= new wxBitmap(*result
);
8280 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8288 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8291 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8292 return SWIG_Py_Void();
8295 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8296 return SWIG_Python_InitShadowInstance(args
);
8299 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
= 0;
8301 wxBitmap
*arg1
= 0 ;
8304 wxWindow
*arg4
= (wxWindow
*) 0 ;
8305 int arg5
= (int) -1 ;
8306 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8307 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8308 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8309 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8310 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8311 wxSplashScreen
*result
= 0 ;
8326 PyObject
* obj0
= 0 ;
8327 PyObject
* obj1
= 0 ;
8328 PyObject
* obj2
= 0 ;
8329 PyObject
* obj3
= 0 ;
8330 PyObject
* obj4
= 0 ;
8331 PyObject
* obj5
= 0 ;
8332 PyObject
* obj6
= 0 ;
8333 PyObject
* obj7
= 0 ;
8334 char * kwnames
[] = {
8335 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8339 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8340 if (!SWIG_IsOK(res1
)) {
8341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8346 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8347 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8348 if (!SWIG_IsOK(ecode2
)) {
8349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8351 arg2
= static_cast< long >(val2
);
8352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8353 if (!SWIG_IsOK(ecode3
)) {
8354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8356 arg3
= static_cast< int >(val3
);
8357 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8358 if (!SWIG_IsOK(res4
)) {
8359 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8361 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8363 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8364 if (!SWIG_IsOK(ecode5
)) {
8365 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8367 arg5
= static_cast< int >(val5
);
8372 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8378 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8382 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8383 if (!SWIG_IsOK(ecode8
)) {
8384 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8386 arg8
= static_cast< long >(val8
);
8389 if (!wxPyCheckForApp()) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8402 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8403 PyObject
*resultobj
= 0;
8404 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8408 PyObject
*swig_obj
[1] ;
8410 if (!args
) SWIG_fail
;
8412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8413 if (!SWIG_IsOK(res1
)) {
8414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8416 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= SWIG_From_long(static_cast< long >(result
));
8430 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8431 PyObject
*resultobj
= 0;
8432 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8433 wxSplashScreenWindow
*result
= 0 ;
8436 PyObject
*swig_obj
[1] ;
8438 if (!args
) SWIG_fail
;
8440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8441 if (!SWIG_IsOK(res1
)) {
8442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8444 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8458 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8459 PyObject
*resultobj
= 0;
8460 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8464 PyObject
*swig_obj
[1] ;
8466 if (!args
) SWIG_fail
;
8468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8469 if (!SWIG_IsOK(res1
)) {
8470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8472 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= SWIG_From_int(static_cast< int >(result
));
8486 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8489 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8490 return SWIG_Py_Void();
8493 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8494 return SWIG_Python_InitShadowInstance(args
);
8497 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
*resultobj
= 0;
8499 wxWindow
*arg1
= (wxWindow
*) 0 ;
8500 int arg2
= (int) -1 ;
8501 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8502 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8503 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8504 wxStatusBar
*result
= 0 ;
8511 bool temp4
= false ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8514 PyObject
* obj2
= 0 ;
8515 PyObject
* obj3
= 0 ;
8516 char * kwnames
[] = {
8517 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8522 if (!SWIG_IsOK(res1
)) {
8523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8525 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8528 if (!SWIG_IsOK(ecode2
)) {
8529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8531 arg2
= static_cast< int >(val2
);
8534 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8535 if (!SWIG_IsOK(ecode3
)) {
8536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8538 arg3
= static_cast< long >(val3
);
8542 arg4
= wxString_in_helper(obj3
);
8543 if (arg4
== NULL
) SWIG_fail
;
8548 if (!wxPyCheckForApp()) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8569 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8570 PyObject
*resultobj
= 0;
8571 wxStatusBar
*result
= 0 ;
8573 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8575 if (!wxPyCheckForApp()) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 result
= (wxStatusBar
*)new wxStatusBar();
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8588 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
= 0;
8590 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8591 wxWindow
*arg2
= (wxWindow
*) 0 ;
8592 int arg3
= (int) -1 ;
8593 long arg4
= (long) wxST_SIZEGRIP
;
8594 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8595 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8605 bool temp5
= false ;
8606 PyObject
* obj0
= 0 ;
8607 PyObject
* obj1
= 0 ;
8608 PyObject
* obj2
= 0 ;
8609 PyObject
* obj3
= 0 ;
8610 PyObject
* obj4
= 0 ;
8611 char * kwnames
[] = {
8612 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8617 if (!SWIG_IsOK(res1
)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8620 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8622 if (!SWIG_IsOK(res2
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8625 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8628 if (!SWIG_IsOK(ecode3
)) {
8629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8631 arg3
= static_cast< int >(val3
);
8634 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8635 if (!SWIG_IsOK(ecode4
)) {
8636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8638 arg4
= static_cast< long >(val4
);
8642 arg5
= wxString_in_helper(obj4
);
8643 if (arg5
== NULL
) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8670 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
= 0;
8672 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8673 int arg2
= (int) 1 ;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8680 char * kwnames
[] = {
8681 (char *) "self",(char *) "number", NULL
8684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8686 if (!SWIG_IsOK(res1
)) {
8687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8689 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8692 if (!SWIG_IsOK(ecode2
)) {
8693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8695 arg2
= static_cast< int >(val2
);
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 (arg1
)->SetFieldsCount(arg2
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= SWIG_Py_Void();
8710 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8711 PyObject
*resultobj
= 0;
8712 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8716 PyObject
*swig_obj
[1] ;
8718 if (!args
) SWIG_fail
;
8720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8721 if (!SWIG_IsOK(res1
)) {
8722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8724 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 resultobj
= SWIG_From_int(static_cast< int >(result
));
8738 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
= 0;
8740 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8741 wxString
*arg2
= 0 ;
8742 int arg3
= (int) 0 ;
8745 bool temp2
= false ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8751 char * kwnames
[] = {
8752 (char *) "self",(char *) "text",(char *) "number", NULL
8755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8757 if (!SWIG_IsOK(res1
)) {
8758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8760 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8762 arg2
= wxString_in_helper(obj1
);
8763 if (arg2
== NULL
) SWIG_fail
;
8767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8768 if (!SWIG_IsOK(ecode3
)) {
8769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8771 arg3
= static_cast< int >(val3
);
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= SWIG_Py_Void();
8794 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
= 0;
8796 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8797 int arg2
= (int) 0 ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 char * kwnames
[] = {
8806 (char *) "self",(char *) "number", NULL
8809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8811 if (!SWIG_IsOK(res1
)) {
8812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8814 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8817 if (!SWIG_IsOK(ecode2
)) {
8818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8820 arg2
= static_cast< int >(val2
);
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8841 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
= 0;
8843 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8844 wxString
*arg2
= 0 ;
8845 int arg3
= (int) 0 ;
8848 bool temp2
= false ;
8851 PyObject
* obj0
= 0 ;
8852 PyObject
* obj1
= 0 ;
8853 PyObject
* obj2
= 0 ;
8854 char * kwnames
[] = {
8855 (char *) "self",(char *) "text",(char *) "number", NULL
8858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8860 if (!SWIG_IsOK(res1
)) {
8861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8863 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8865 arg2
= wxString_in_helper(obj1
);
8866 if (arg2
== NULL
) SWIG_fail
;
8870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8871 if (!SWIG_IsOK(ecode3
)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8874 arg3
= static_cast< int >(val3
);
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 resultobj
= SWIG_Py_Void();
8897 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
= 0;
8899 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8900 int arg2
= (int) 0 ;
8905 PyObject
* obj0
= 0 ;
8906 PyObject
* obj1
= 0 ;
8907 char * kwnames
[] = {
8908 (char *) "self",(char *) "number", NULL
8911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8913 if (!SWIG_IsOK(res1
)) {
8914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8916 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8919 if (!SWIG_IsOK(ecode2
)) {
8920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8922 arg2
= static_cast< int >(val2
);
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 (arg1
)->PopStatusText(arg2
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= SWIG_Py_Void();
8937 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
= 0;
8939 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8941 int *arg3
= (int *) 0 ;
8944 PyObject
* obj0
= 0 ;
8945 PyObject
* obj1
= 0 ;
8946 char * kwnames
[] = {
8947 (char *) "self",(char *) "widths", NULL
8950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8952 if (!SWIG_IsOK(res1
)) {
8953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8955 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8957 arg2
= PyList_Size(obj1
);
8958 arg3
= int_LIST_helper(obj1
);
8959 if (arg3
== NULL
) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 resultobj
= SWIG_Py_Void();
8969 if (arg3
) delete [] arg3
;
8974 if (arg3
) delete [] arg3
;
8980 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
= 0;
8982 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8984 int *arg3
= (int *) 0 ;
8987 PyObject
* obj0
= 0 ;
8988 PyObject
* obj1
= 0 ;
8989 char * kwnames
[] = {
8990 (char *) "self",(char *) "styles", NULL
8993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8995 if (!SWIG_IsOK(res1
)) {
8996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8998 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9000 arg2
= PyList_Size(obj1
);
9001 arg3
= int_LIST_helper(obj1
);
9002 if (arg3
== NULL
) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= SWIG_Py_Void();
9012 if (arg3
) delete [] arg3
;
9017 if (arg3
) delete [] arg3
;
9023 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
= 0;
9025 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9032 PyObject
* obj0
= 0 ;
9033 PyObject
* obj1
= 0 ;
9034 char * kwnames
[] = {
9035 (char *) "self",(char *) "i", NULL
9038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9040 if (!SWIG_IsOK(res1
)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9043 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9045 if (!SWIG_IsOK(ecode2
)) {
9046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9048 arg2
= static_cast< int >(val2
);
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9062 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
= 0;
9064 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9070 PyObject
* obj0
= 0 ;
9071 PyObject
* obj1
= 0 ;
9072 char * kwnames
[] = {
9073 (char *) "self",(char *) "height", NULL
9076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9078 if (!SWIG_IsOK(res1
)) {
9079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9081 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9083 if (!SWIG_IsOK(ecode2
)) {
9084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9086 arg2
= static_cast< int >(val2
);
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 (arg1
)->SetMinHeight(arg2
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= SWIG_Py_Void();
9100 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9101 PyObject
*resultobj
= 0;
9102 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9106 PyObject
*swig_obj
[1] ;
9108 if (!args
) SWIG_fail
;
9110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9111 if (!SWIG_IsOK(res1
)) {
9112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9114 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= SWIG_From_int(static_cast< int >(result
));
9128 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9129 PyObject
*resultobj
= 0;
9130 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9134 PyObject
*swig_obj
[1] ;
9136 if (!args
) SWIG_fail
;
9138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9139 if (!SWIG_IsOK(res1
)) {
9140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9142 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 resultobj
= SWIG_From_int(static_cast< int >(result
));
9156 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
= 0;
9158 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9159 SwigValueWrapper
<wxVisualAttributes
> result
;
9162 PyObject
* obj0
= 0 ;
9163 char * kwnames
[] = {
9164 (char *) "variant", NULL
9167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9169 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9170 if (!SWIG_IsOK(ecode1
)) {
9171 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9173 arg1
= static_cast< wxWindowVariant
>(val1
);
9176 if (!wxPyCheckForApp()) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9189 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9192 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9193 return SWIG_Py_Void();
9196 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9197 return SWIG_Python_InitShadowInstance(args
);
9200 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9201 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9206 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9207 PyObject
*pyobj
= 0;
9211 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9213 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9220 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
= 0;
9222 wxWindow
*arg1
= (wxWindow
*) 0 ;
9223 int arg2
= (int) -1 ;
9224 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9225 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9226 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9227 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9228 long arg5
= (long) wxSP_3D
;
9229 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9230 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9231 wxSplitterWindow
*result
= 0 ;
9240 bool temp6
= false ;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9243 PyObject
* obj2
= 0 ;
9244 PyObject
* obj3
= 0 ;
9245 PyObject
* obj4
= 0 ;
9246 PyObject
* obj5
= 0 ;
9247 char * kwnames
[] = {
9248 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9253 if (!SWIG_IsOK(res1
)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9259 if (!SWIG_IsOK(ecode2
)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9262 arg2
= static_cast< int >(val2
);
9267 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9273 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9277 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9278 if (!SWIG_IsOK(ecode5
)) {
9279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9281 arg5
= static_cast< long >(val5
);
9285 arg6
= wxString_in_helper(obj5
);
9286 if (arg6
== NULL
) SWIG_fail
;
9291 if (!wxPyCheckForApp()) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9312 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9313 PyObject
*resultobj
= 0;
9314 wxSplitterWindow
*result
= 0 ;
9316 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9318 if (!wxPyCheckForApp()) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9331 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
= 0;
9333 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9334 wxWindow
*arg2
= (wxWindow
*) 0 ;
9335 int arg3
= (int) -1 ;
9336 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9337 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9338 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9339 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9340 long arg6
= (long) wxSP_3D
;
9341 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9342 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9354 bool temp7
= false ;
9355 PyObject
* obj0
= 0 ;
9356 PyObject
* obj1
= 0 ;
9357 PyObject
* obj2
= 0 ;
9358 PyObject
* obj3
= 0 ;
9359 PyObject
* obj4
= 0 ;
9360 PyObject
* obj5
= 0 ;
9361 PyObject
* obj6
= 0 ;
9362 char * kwnames
[] = {
9363 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9368 if (!SWIG_IsOK(res1
)) {
9369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9371 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9373 if (!SWIG_IsOK(res2
)) {
9374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9376 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9379 if (!SWIG_IsOK(ecode3
)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9382 arg3
= static_cast< int >(val3
);
9387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9397 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9398 if (!SWIG_IsOK(ecode6
)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9401 arg6
= static_cast< long >(val6
);
9405 arg7
= wxString_in_helper(obj6
);
9406 if (arg7
== NULL
) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9433 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9434 PyObject
*resultobj
= 0;
9435 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9436 wxWindow
*result
= 0 ;
9439 PyObject
*swig_obj
[1] ;
9441 if (!args
) SWIG_fail
;
9443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9444 if (!SWIG_IsOK(res1
)) {
9445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9447 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= wxPyMake_wxObject(result
, 0);
9463 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9464 PyObject
*resultobj
= 0;
9465 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9466 wxWindow
*result
= 0 ;
9469 PyObject
*swig_obj
[1] ;
9471 if (!args
) SWIG_fail
;
9473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9474 if (!SWIG_IsOK(res1
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9477 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= wxPyMake_wxObject(result
, 0);
9493 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
= 0;
9495 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9501 PyObject
* obj0
= 0 ;
9502 PyObject
* obj1
= 0 ;
9503 char * kwnames
[] = {
9504 (char *) "self",(char *) "mode", NULL
9507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9509 if (!SWIG_IsOK(res1
)) {
9510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9512 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9514 if (!SWIG_IsOK(ecode2
)) {
9515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9517 arg2
= static_cast< int >(val2
);
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 (arg1
)->SetSplitMode(arg2
);
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= SWIG_Py_Void();
9531 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9532 PyObject
*resultobj
= 0;
9533 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9537 PyObject
*swig_obj
[1] ;
9539 if (!args
) SWIG_fail
;
9541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9542 if (!SWIG_IsOK(res1
)) {
9543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9545 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= SWIG_From_int(static_cast< int >(result
));
9559 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
= 0;
9561 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9562 wxWindow
*arg2
= (wxWindow
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9569 char * kwnames
[] = {
9570 (char *) "self",(char *) "window", NULL
9573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9575 if (!SWIG_IsOK(res1
)) {
9576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9578 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9580 if (!SWIG_IsOK(res2
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 (arg1
)->Initialize(arg2
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_Py_Void();
9597 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
= 0;
9599 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9600 wxWindow
*arg2
= (wxWindow
*) 0 ;
9601 wxWindow
*arg3
= (wxWindow
*) 0 ;
9602 int arg4
= (int) 0 ;
9612 PyObject
* obj0
= 0 ;
9613 PyObject
* obj1
= 0 ;
9614 PyObject
* obj2
= 0 ;
9615 PyObject
* obj3
= 0 ;
9616 char * kwnames
[] = {
9617 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9622 if (!SWIG_IsOK(res1
)) {
9623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9625 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9627 if (!SWIG_IsOK(res2
)) {
9628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9630 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9631 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9632 if (!SWIG_IsOK(res3
)) {
9633 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9635 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9637 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9638 if (!SWIG_IsOK(ecode4
)) {
9639 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9641 arg4
= static_cast< int >(val4
);
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9658 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
= 0;
9660 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9661 wxWindow
*arg2
= (wxWindow
*) 0 ;
9662 wxWindow
*arg3
= (wxWindow
*) 0 ;
9663 int arg4
= (int) 0 ;
9673 PyObject
* obj0
= 0 ;
9674 PyObject
* obj1
= 0 ;
9675 PyObject
* obj2
= 0 ;
9676 PyObject
* obj3
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9686 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9688 if (!SWIG_IsOK(res2
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9692 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9693 if (!SWIG_IsOK(res3
)) {
9694 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9696 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9698 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9699 if (!SWIG_IsOK(ecode4
)) {
9700 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9702 arg4
= static_cast< int >(val4
);
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9719 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
= 0;
9721 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9722 wxWindow
*arg2
= (wxWindow
*) NULL
;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 char * kwnames
[] = {
9731 (char *) "self",(char *) "toRemove", NULL
9734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9736 if (!SWIG_IsOK(res1
)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9739 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9742 if (!SWIG_IsOK(res2
)) {
9743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9745 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= (bool)(arg1
)->Unsplit(arg2
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9762 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
= 0;
9764 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9765 wxWindow
*arg2
= (wxWindow
*) 0 ;
9766 wxWindow
*arg3
= (wxWindow
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9775 PyObject
* obj1
= 0 ;
9776 PyObject
* obj2
= 0 ;
9777 char * kwnames
[] = {
9778 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9783 if (!SWIG_IsOK(res1
)) {
9784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9786 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9787 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9788 if (!SWIG_IsOK(res2
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9791 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9792 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9793 if (!SWIG_IsOK(res3
)) {
9794 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9796 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9812 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9813 PyObject
*resultobj
= 0;
9814 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9817 PyObject
*swig_obj
[1] ;
9819 if (!args
) SWIG_fail
;
9821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9822 if (!SWIG_IsOK(res1
)) {
9823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9825 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 (arg1
)->UpdateSize();
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_Py_Void();
9839 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9840 PyObject
*resultobj
= 0;
9841 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9845 PyObject
*swig_obj
[1] ;
9847 if (!args
) SWIG_fail
;
9849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9850 if (!SWIG_IsOK(res1
)) {
9851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9853 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9869 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
= 0;
9871 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9879 char * kwnames
[] = {
9880 (char *) "self",(char *) "width", NULL
9883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9885 if (!SWIG_IsOK(res1
)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9888 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9890 if (!SWIG_IsOK(ecode2
)) {
9891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9893 arg2
= static_cast< int >(val2
);
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 (arg1
)->SetSashSize(arg2
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_Py_Void();
9907 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= 0;
9909 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9915 PyObject
* obj0
= 0 ;
9916 PyObject
* obj1
= 0 ;
9917 char * kwnames
[] = {
9918 (char *) "self",(char *) "width", NULL
9921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9923 if (!SWIG_IsOK(res1
)) {
9924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9926 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9928 if (!SWIG_IsOK(ecode2
)) {
9929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9931 arg2
= static_cast< int >(val2
);
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 (arg1
)->SetBorderSize(arg2
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= SWIG_Py_Void();
9945 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9946 PyObject
*resultobj
= 0;
9947 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9951 PyObject
*swig_obj
[1] ;
9953 if (!args
) SWIG_fail
;
9955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9956 if (!SWIG_IsOK(res1
)) {
9957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9959 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= SWIG_From_int(static_cast< int >(result
));
9973 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9974 PyObject
*resultobj
= 0;
9975 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9979 PyObject
*swig_obj
[1] ;
9981 if (!args
) SWIG_fail
;
9983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9984 if (!SWIG_IsOK(res1
)) {
9985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9987 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= SWIG_From_int(static_cast< int >(result
));
10001 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
= 0;
10003 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10005 bool arg3
= (bool) true ;
10012 PyObject
* obj0
= 0 ;
10013 PyObject
* obj1
= 0 ;
10014 PyObject
* obj2
= 0 ;
10015 char * kwnames
[] = {
10016 (char *) "self",(char *) "position",(char *) "redraw", NULL
10019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10021 if (!SWIG_IsOK(res1
)) {
10022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10024 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10026 if (!SWIG_IsOK(ecode2
)) {
10027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10029 arg2
= static_cast< int >(val2
);
10031 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10032 if (!SWIG_IsOK(ecode3
)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10035 arg3
= static_cast< bool >(val3
);
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 (arg1
)->SetSashPosition(arg2
,arg3
);
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= SWIG_Py_Void();
10050 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10051 PyObject
*resultobj
= 0;
10052 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10056 PyObject
*swig_obj
[1] ;
10058 if (!args
) SWIG_fail
;
10059 swig_obj
[0] = args
;
10060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10061 if (!SWIG_IsOK(res1
)) {
10062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10064 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= SWIG_From_int(static_cast< int >(result
));
10078 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
= 0;
10080 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj1
= 0 ;
10088 char * kwnames
[] = {
10089 (char *) "self",(char *) "gravity", NULL
10092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10094 if (!SWIG_IsOK(res1
)) {
10095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10097 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10098 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10099 if (!SWIG_IsOK(ecode2
)) {
10100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10102 arg2
= static_cast< double >(val2
);
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 (arg1
)->SetSashGravity(arg2
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_Py_Void();
10116 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10117 PyObject
*resultobj
= 0;
10118 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10122 PyObject
*swig_obj
[1] ;
10124 if (!args
) SWIG_fail
;
10125 swig_obj
[0] = args
;
10126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10127 if (!SWIG_IsOK(res1
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10130 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= SWIG_From_double(static_cast< double >(result
));
10144 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
= 0;
10146 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10152 PyObject
* obj0
= 0 ;
10153 PyObject
* obj1
= 0 ;
10154 char * kwnames
[] = {
10155 (char *) "self",(char *) "min", NULL
10158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10160 if (!SWIG_IsOK(res1
)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10163 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10165 if (!SWIG_IsOK(ecode2
)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10168 arg2
= static_cast< int >(val2
);
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 (arg1
)->SetMinimumPaneSize(arg2
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_Py_Void();
10182 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10183 PyObject
*resultobj
= 0;
10184 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10188 PyObject
*swig_obj
[1] ;
10190 if (!args
) SWIG_fail
;
10191 swig_obj
[0] = args
;
10192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10193 if (!SWIG_IsOK(res1
)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10196 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_From_int(static_cast< int >(result
));
10210 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
= 0;
10212 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10215 int arg4
= (int) 5 ;
10225 PyObject
* obj0
= 0 ;
10226 PyObject
* obj1
= 0 ;
10227 PyObject
* obj2
= 0 ;
10228 PyObject
* obj3
= 0 ;
10229 char * kwnames
[] = {
10230 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10235 if (!SWIG_IsOK(res1
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10238 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10240 if (!SWIG_IsOK(ecode2
)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10243 arg2
= static_cast< int >(val2
);
10244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10245 if (!SWIG_IsOK(ecode3
)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10248 arg3
= static_cast< int >(val3
);
10250 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10251 if (!SWIG_IsOK(ecode4
)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10254 arg4
= static_cast< int >(val4
);
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10271 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10272 PyObject
*resultobj
= 0;
10273 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10276 PyObject
*swig_obj
[1] ;
10278 if (!args
) SWIG_fail
;
10279 swig_obj
[0] = args
;
10280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10281 if (!SWIG_IsOK(res1
)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10284 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 (arg1
)->SizeWindows();
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_Py_Void();
10298 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
= 0;
10300 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 char * kwnames
[] = {
10309 (char *) "self",(char *) "needUpdating", NULL
10312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10314 if (!SWIG_IsOK(res1
)) {
10315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10317 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10318 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10319 if (!SWIG_IsOK(ecode2
)) {
10320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10322 arg2
= static_cast< bool >(val2
);
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 (arg1
)->SetNeedUpdating(arg2
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= SWIG_Py_Void();
10336 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10337 PyObject
*resultobj
= 0;
10338 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10342 PyObject
*swig_obj
[1] ;
10344 if (!args
) SWIG_fail
;
10345 swig_obj
[0] = args
;
10346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10347 if (!SWIG_IsOK(res1
)) {
10348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10350 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10366 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
= 0;
10368 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10369 SwigValueWrapper
<wxVisualAttributes
> result
;
10372 PyObject
* obj0
= 0 ;
10373 char * kwnames
[] = {
10374 (char *) "variant", NULL
10377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10379 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10380 if (!SWIG_IsOK(ecode1
)) {
10381 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10383 arg1
= static_cast< wxWindowVariant
>(val1
);
10386 if (!wxPyCheckForApp()) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10399 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10401 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10402 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10403 return SWIG_Py_Void();
10406 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10407 return SWIG_Python_InitShadowInstance(args
);
10410 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
= 0;
10412 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10413 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10414 wxSplitterEvent
*result
= 0 ;
10419 PyObject
* obj0
= 0 ;
10420 PyObject
* obj1
= 0 ;
10421 char * kwnames
[] = {
10422 (char *) "type",(char *) "splitter", NULL
10425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10428 if (!SWIG_IsOK(ecode1
)) {
10429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10431 arg1
= static_cast< wxEventType
>(val1
);
10434 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10435 if (!SWIG_IsOK(res2
)) {
10436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10438 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10453 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
= 0;
10455 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 PyObject
* obj1
= 0 ;
10463 char * kwnames
[] = {
10464 (char *) "self",(char *) "pos", NULL
10467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10469 if (!SWIG_IsOK(res1
)) {
10470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10472 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10474 if (!SWIG_IsOK(ecode2
)) {
10475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10477 arg2
= static_cast< int >(val2
);
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 (arg1
)->SetSashPosition(arg2
);
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_Py_Void();
10491 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10492 PyObject
*resultobj
= 0;
10493 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10497 PyObject
*swig_obj
[1] ;
10499 if (!args
) SWIG_fail
;
10500 swig_obj
[0] = args
;
10501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10505 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_From_int(static_cast< int >(result
));
10519 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10520 PyObject
*resultobj
= 0;
10521 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10522 wxWindow
*result
= 0 ;
10525 PyObject
*swig_obj
[1] ;
10527 if (!args
) SWIG_fail
;
10528 swig_obj
[0] = args
;
10529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10530 if (!SWIG_IsOK(res1
)) {
10531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10533 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= wxPyMake_wxObject(result
, 0);
10549 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10550 PyObject
*resultobj
= 0;
10551 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10555 PyObject
*swig_obj
[1] ;
10557 if (!args
) SWIG_fail
;
10558 swig_obj
[0] = args
;
10559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10563 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= SWIG_From_int(static_cast< int >(result
));
10577 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10578 PyObject
*resultobj
= 0;
10579 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10583 PyObject
*swig_obj
[1] ;
10585 if (!args
) SWIG_fail
;
10586 swig_obj
[0] = args
;
10587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10588 if (!SWIG_IsOK(res1
)) {
10589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10591 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= SWIG_From_int(static_cast< int >(result
));
10605 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10608 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10609 return SWIG_Py_Void();
10612 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10613 return SWIG_Python_InitShadowInstance(args
);
10616 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10617 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10622 SWIGINTERN PyObject
*SashNameStr_get(void) {
10623 PyObject
*pyobj
= 0;
10627 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10629 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10636 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10637 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10642 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10643 PyObject
*pyobj
= 0;
10647 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10649 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10656 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
*resultobj
= 0;
10658 wxWindow
*arg1
= (wxWindow
*) 0 ;
10659 int arg2
= (int) -1 ;
10660 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10661 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10662 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10663 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10664 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10665 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10666 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10667 wxSashWindow
*result
= 0 ;
10676 bool temp6
= false ;
10677 PyObject
* obj0
= 0 ;
10678 PyObject
* obj1
= 0 ;
10679 PyObject
* obj2
= 0 ;
10680 PyObject
* obj3
= 0 ;
10681 PyObject
* obj4
= 0 ;
10682 PyObject
* obj5
= 0 ;
10683 char * kwnames
[] = {
10684 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10689 if (!SWIG_IsOK(res1
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10692 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10695 if (!SWIG_IsOK(ecode2
)) {
10696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10698 arg2
= static_cast< int >(val2
);
10703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10709 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10713 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10714 if (!SWIG_IsOK(ecode5
)) {
10715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10717 arg5
= static_cast< long >(val5
);
10721 arg6
= wxString_in_helper(obj5
);
10722 if (arg6
== NULL
) SWIG_fail
;
10727 if (!wxPyCheckForApp()) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10748 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10749 PyObject
*resultobj
= 0;
10750 wxSashWindow
*result
= 0 ;
10752 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10754 if (!wxPyCheckForApp()) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (wxSashWindow
*)new wxSashWindow();
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10767 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
= 0;
10769 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10770 wxWindow
*arg2
= (wxWindow
*) 0 ;
10771 int arg3
= (int) -1 ;
10772 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10773 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10774 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10775 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10776 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10777 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10778 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10790 bool temp7
= false ;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 PyObject
* obj2
= 0 ;
10794 PyObject
* obj3
= 0 ;
10795 PyObject
* obj4
= 0 ;
10796 PyObject
* obj5
= 0 ;
10797 PyObject
* obj6
= 0 ;
10798 char * kwnames
[] = {
10799 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10804 if (!SWIG_IsOK(res1
)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10807 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10808 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10809 if (!SWIG_IsOK(res2
)) {
10810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10812 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10815 if (!SWIG_IsOK(ecode3
)) {
10816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10818 arg3
= static_cast< int >(val3
);
10823 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10829 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10833 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10834 if (!SWIG_IsOK(ecode6
)) {
10835 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10837 arg6
= static_cast< long >(val6
);
10841 arg7
= wxString_in_helper(obj6
);
10842 if (arg7
== NULL
) SWIG_fail
;
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10869 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
= 0;
10871 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10872 wxSashEdgePosition arg2
;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 PyObject
* obj2
= 0 ;
10883 char * kwnames
[] = {
10884 (char *) "self",(char *) "edge",(char *) "sash", NULL
10887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10889 if (!SWIG_IsOK(res1
)) {
10890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10892 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10894 if (!SWIG_IsOK(ecode2
)) {
10895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10897 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10898 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10899 if (!SWIG_IsOK(ecode3
)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10902 arg3
= static_cast< bool >(val3
);
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 (arg1
)->SetSashVisible(arg2
,arg3
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= SWIG_Py_Void();
10916 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
= 0;
10918 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10919 wxSashEdgePosition arg2
;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 char * kwnames
[] = {
10928 (char *) "self",(char *) "edge", NULL
10931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10933 if (!SWIG_IsOK(res1
)) {
10934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10936 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10938 if (!SWIG_IsOK(ecode2
)) {
10939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10941 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10957 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
= 0;
10959 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10960 wxSashEdgePosition arg2
;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 PyObject
* obj2
= 0 ;
10971 char * kwnames
[] = {
10972 (char *) "self",(char *) "edge",(char *) "border", NULL
10975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10980 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10982 if (!SWIG_IsOK(ecode2
)) {
10983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10985 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10986 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10987 if (!SWIG_IsOK(ecode3
)) {
10988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10990 arg3
= static_cast< bool >(val3
);
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 (arg1
)->SetSashBorder(arg2
,arg3
);
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= SWIG_Py_Void();
11004 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
= 0;
11006 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11007 wxSashEdgePosition arg2
;
11013 PyObject
* obj0
= 0 ;
11014 PyObject
* obj1
= 0 ;
11015 char * kwnames
[] = {
11016 (char *) "self",(char *) "edge", NULL
11019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11021 if (!SWIG_IsOK(res1
)) {
11022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11024 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11026 if (!SWIG_IsOK(ecode2
)) {
11027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11029 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11032 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11045 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
= 0;
11047 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11048 wxSashEdgePosition arg2
;
11054 PyObject
* obj0
= 0 ;
11055 PyObject
* obj1
= 0 ;
11056 char * kwnames
[] = {
11057 (char *) "self",(char *) "edge", NULL
11060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11062 if (!SWIG_IsOK(res1
)) {
11063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11065 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11067 if (!SWIG_IsOK(ecode2
)) {
11068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11070 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11077 resultobj
= SWIG_From_int(static_cast< int >(result
));
11084 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
= 0;
11086 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 char * kwnames
[] = {
11095 (char *) "self",(char *) "width", NULL
11098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11100 if (!SWIG_IsOK(res1
)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11103 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11105 if (!SWIG_IsOK(ecode2
)) {
11106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11108 arg2
= static_cast< int >(val2
);
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 (arg1
)->SetDefaultBorderSize(arg2
);
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 resultobj
= SWIG_Py_Void();
11122 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11123 PyObject
*resultobj
= 0;
11124 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11128 PyObject
*swig_obj
[1] ;
11130 if (!args
) SWIG_fail
;
11131 swig_obj
[0] = args
;
11132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11133 if (!SWIG_IsOK(res1
)) {
11134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11136 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11143 resultobj
= SWIG_From_int(static_cast< int >(result
));
11150 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
= 0;
11152 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 char * kwnames
[] = {
11161 (char *) "self",(char *) "width", NULL
11164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11166 if (!SWIG_IsOK(res1
)) {
11167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11169 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11171 if (!SWIG_IsOK(ecode2
)) {
11172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11174 arg2
= static_cast< int >(val2
);
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 (arg1
)->SetExtraBorderSize(arg2
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= SWIG_Py_Void();
11188 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11189 PyObject
*resultobj
= 0;
11190 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11194 PyObject
*swig_obj
[1] ;
11196 if (!args
) SWIG_fail
;
11197 swig_obj
[0] = args
;
11198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11199 if (!SWIG_IsOK(res1
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11202 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11209 resultobj
= SWIG_From_int(static_cast< int >(result
));
11216 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
= 0;
11218 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 PyObject
* obj1
= 0 ;
11226 char * kwnames
[] = {
11227 (char *) "self",(char *) "min", NULL
11230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11232 if (!SWIG_IsOK(res1
)) {
11233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11235 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11237 if (!SWIG_IsOK(ecode2
)) {
11238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11240 arg2
= static_cast< int >(val2
);
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 (arg1
)->SetMinimumSizeX(arg2
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11247 resultobj
= SWIG_Py_Void();
11254 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
= 0;
11256 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 PyObject
* obj1
= 0 ;
11264 char * kwnames
[] = {
11265 (char *) "self",(char *) "min", NULL
11268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11270 if (!SWIG_IsOK(res1
)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11273 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11275 if (!SWIG_IsOK(ecode2
)) {
11276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11278 arg2
= static_cast< int >(val2
);
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 (arg1
)->SetMinimumSizeY(arg2
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_Py_Void();
11292 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11293 PyObject
*resultobj
= 0;
11294 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11298 PyObject
*swig_obj
[1] ;
11300 if (!args
) SWIG_fail
;
11301 swig_obj
[0] = args
;
11302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11303 if (!SWIG_IsOK(res1
)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11306 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= SWIG_From_int(static_cast< int >(result
));
11320 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11321 PyObject
*resultobj
= 0;
11322 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11326 PyObject
*swig_obj
[1] ;
11328 if (!args
) SWIG_fail
;
11329 swig_obj
[0] = args
;
11330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11331 if (!SWIG_IsOK(res1
)) {
11332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11334 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= SWIG_From_int(static_cast< int >(result
));
11348 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
= 0;
11350 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 PyObject
* obj1
= 0 ;
11358 char * kwnames
[] = {
11359 (char *) "self",(char *) "max", NULL
11362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11364 if (!SWIG_IsOK(res1
)) {
11365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11367 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11369 if (!SWIG_IsOK(ecode2
)) {
11370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11372 arg2
= static_cast< int >(val2
);
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 (arg1
)->SetMaximumSizeX(arg2
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= SWIG_Py_Void();
11386 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
= 0;
11388 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11394 PyObject
* obj0
= 0 ;
11395 PyObject
* obj1
= 0 ;
11396 char * kwnames
[] = {
11397 (char *) "self",(char *) "max", NULL
11400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11402 if (!SWIG_IsOK(res1
)) {
11403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11405 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11407 if (!SWIG_IsOK(ecode2
)) {
11408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11410 arg2
= static_cast< int >(val2
);
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 (arg1
)->SetMaximumSizeY(arg2
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_Py_Void();
11424 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11425 PyObject
*resultobj
= 0;
11426 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11430 PyObject
*swig_obj
[1] ;
11432 if (!args
) SWIG_fail
;
11433 swig_obj
[0] = args
;
11434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11435 if (!SWIG_IsOK(res1
)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11438 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 resultobj
= SWIG_From_int(static_cast< int >(result
));
11452 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11453 PyObject
*resultobj
= 0;
11454 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11458 PyObject
*swig_obj
[1] ;
11460 if (!args
) SWIG_fail
;
11461 swig_obj
[0] = args
;
11462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11463 if (!SWIG_IsOK(res1
)) {
11464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11466 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= SWIG_From_int(static_cast< int >(result
));
11480 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
= 0;
11482 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11485 int arg4
= (int) 2 ;
11486 wxSashEdgePosition result
;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 PyObject
* obj2
= 0 ;
11498 PyObject
* obj3
= 0 ;
11499 char * kwnames
[] = {
11500 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11505 if (!SWIG_IsOK(res1
)) {
11506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11508 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11510 if (!SWIG_IsOK(ecode2
)) {
11511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11513 arg2
= static_cast< int >(val2
);
11514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11515 if (!SWIG_IsOK(ecode3
)) {
11516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11518 arg3
= static_cast< int >(val3
);
11520 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11521 if (!SWIG_IsOK(ecode4
)) {
11522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11524 arg4
= static_cast< int >(val4
);
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 resultobj
= SWIG_From_int(static_cast< int >(result
));
11539 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11540 PyObject
*resultobj
= 0;
11541 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11544 PyObject
*swig_obj
[1] ;
11546 if (!args
) SWIG_fail
;
11547 swig_obj
[0] = args
;
11548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11549 if (!SWIG_IsOK(res1
)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11552 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 (arg1
)->SizeWindows();
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= SWIG_Py_Void();
11566 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11569 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11570 return SWIG_Py_Void();
11573 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11574 return SWIG_Python_InitShadowInstance(args
);
11577 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11578 PyObject
*resultobj
= 0;
11579 int arg1
= (int) 0 ;
11580 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11581 wxSashEvent
*result
= 0 ;
11586 PyObject
* obj0
= 0 ;
11587 PyObject
* obj1
= 0 ;
11588 char * kwnames
[] = {
11589 (char *) "id",(char *) "edge", NULL
11592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11594 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11595 if (!SWIG_IsOK(ecode1
)) {
11596 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11598 arg1
= static_cast< int >(val1
);
11601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11602 if (!SWIG_IsOK(ecode2
)) {
11603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11605 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11620 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
= 0;
11622 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11623 wxSashEdgePosition arg2
;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 char * kwnames
[] = {
11631 (char *) "self",(char *) "edge", NULL
11634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11636 if (!SWIG_IsOK(res1
)) {
11637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11639 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11641 if (!SWIG_IsOK(ecode2
)) {
11642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11644 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 (arg1
)->SetEdge(arg2
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_Py_Void();
11658 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11659 PyObject
*resultobj
= 0;
11660 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11661 wxSashEdgePosition result
;
11664 PyObject
*swig_obj
[1] ;
11666 if (!args
) SWIG_fail
;
11667 swig_obj
[0] = args
;
11668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11669 if (!SWIG_IsOK(res1
)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11672 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_From_int(static_cast< int >(result
));
11686 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
= 0;
11688 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 PyObject
* obj1
= 0 ;
11695 char * kwnames
[] = {
11696 (char *) "self",(char *) "rect", NULL
11699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11701 if (!SWIG_IsOK(res1
)) {
11702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11704 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11707 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= SWIG_Py_Void();
11722 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11723 PyObject
*resultobj
= 0;
11724 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11728 PyObject
*swig_obj
[1] ;
11730 if (!args
) SWIG_fail
;
11731 swig_obj
[0] = args
;
11732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11733 if (!SWIG_IsOK(res1
)) {
11734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11736 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11750 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
= 0;
11752 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11753 wxSashDragStatus arg2
;
11758 PyObject
* obj0
= 0 ;
11759 PyObject
* obj1
= 0 ;
11760 char * kwnames
[] = {
11761 (char *) "self",(char *) "status", NULL
11764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11766 if (!SWIG_IsOK(res1
)) {
11767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11769 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11771 if (!SWIG_IsOK(ecode2
)) {
11772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11774 arg2
= static_cast< wxSashDragStatus
>(val2
);
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 (arg1
)->SetDragStatus(arg2
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 resultobj
= SWIG_Py_Void();
11788 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11789 PyObject
*resultobj
= 0;
11790 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11791 wxSashDragStatus result
;
11794 PyObject
*swig_obj
[1] ;
11796 if (!args
) SWIG_fail
;
11797 swig_obj
[0] = args
;
11798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11799 if (!SWIG_IsOK(res1
)) {
11800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11802 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= SWIG_From_int(static_cast< int >(result
));
11816 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11819 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11820 return SWIG_Py_Void();
11823 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11824 return SWIG_Python_InitShadowInstance(args
);
11827 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
= 0;
11829 int arg1
= (int) 0 ;
11830 wxQueryLayoutInfoEvent
*result
= 0 ;
11833 PyObject
* obj0
= 0 ;
11834 char * kwnames
[] = {
11835 (char *) "id", NULL
11838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11840 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11841 if (!SWIG_IsOK(ecode1
)) {
11842 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11844 arg1
= static_cast< int >(val1
);
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11859 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
= 0;
11861 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 char * kwnames
[] = {
11870 (char *) "self",(char *) "length", NULL
11873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11878 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11880 if (!SWIG_IsOK(ecode2
)) {
11881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11883 arg2
= static_cast< int >(val2
);
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 (arg1
)->SetRequestedLength(arg2
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_Py_Void();
11897 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11898 PyObject
*resultobj
= 0;
11899 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11903 PyObject
*swig_obj
[1] ;
11905 if (!args
) SWIG_fail
;
11906 swig_obj
[0] = args
;
11907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11911 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= SWIG_From_int(static_cast< int >(result
));
11925 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11926 PyObject
*resultobj
= 0;
11927 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11933 PyObject
* obj0
= 0 ;
11934 PyObject
* obj1
= 0 ;
11935 char * kwnames
[] = {
11936 (char *) "self",(char *) "flags", NULL
11939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11941 if (!SWIG_IsOK(res1
)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11944 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11946 if (!SWIG_IsOK(ecode2
)) {
11947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11949 arg2
= static_cast< int >(val2
);
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 (arg1
)->SetFlags(arg2
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_Py_Void();
11963 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11964 PyObject
*resultobj
= 0;
11965 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11969 PyObject
*swig_obj
[1] ;
11971 if (!args
) SWIG_fail
;
11972 swig_obj
[0] = args
;
11973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11977 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_From_int(static_cast< int >(result
));
11991 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
= 0;
11993 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11998 PyObject
* obj0
= 0 ;
11999 PyObject
* obj1
= 0 ;
12000 char * kwnames
[] = {
12001 (char *) "self",(char *) "size", NULL
12004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12006 if (!SWIG_IsOK(res1
)) {
12007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12009 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12012 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 (arg1
)->SetSize((wxSize
const &)*arg2
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_Py_Void();
12027 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12028 PyObject
*resultobj
= 0;
12029 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12033 PyObject
*swig_obj
[1] ;
12035 if (!args
) SWIG_fail
;
12036 swig_obj
[0] = args
;
12037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12038 if (!SWIG_IsOK(res1
)) {
12039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12041 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12055 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
= 0;
12057 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12058 wxLayoutOrientation arg2
;
12063 PyObject
* obj0
= 0 ;
12064 PyObject
* obj1
= 0 ;
12065 char * kwnames
[] = {
12066 (char *) "self",(char *) "orient", NULL
12069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12074 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12076 if (!SWIG_IsOK(ecode2
)) {
12077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12079 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 (arg1
)->SetOrientation(arg2
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= SWIG_Py_Void();
12093 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12094 PyObject
*resultobj
= 0;
12095 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12096 wxLayoutOrientation result
;
12099 PyObject
*swig_obj
[1] ;
12101 if (!args
) SWIG_fail
;
12102 swig_obj
[0] = args
;
12103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12104 if (!SWIG_IsOK(res1
)) {
12105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12107 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= SWIG_From_int(static_cast< int >(result
));
12121 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
= 0;
12123 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12124 wxLayoutAlignment arg2
;
12129 PyObject
* obj0
= 0 ;
12130 PyObject
* obj1
= 0 ;
12131 char * kwnames
[] = {
12132 (char *) "self",(char *) "align", NULL
12135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12137 if (!SWIG_IsOK(res1
)) {
12138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12140 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12142 if (!SWIG_IsOK(ecode2
)) {
12143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12145 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 (arg1
)->SetAlignment(arg2
);
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= SWIG_Py_Void();
12159 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12160 PyObject
*resultobj
= 0;
12161 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12162 wxLayoutAlignment result
;
12165 PyObject
*swig_obj
[1] ;
12167 if (!args
) SWIG_fail
;
12168 swig_obj
[0] = args
;
12169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12170 if (!SWIG_IsOK(res1
)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12173 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12176 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= SWIG_From_int(static_cast< int >(result
));
12187 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12190 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12191 return SWIG_Py_Void();
12194 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12195 return SWIG_Python_InitShadowInstance(args
);
12198 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
= 0;
12200 int arg1
= (int) 0 ;
12201 wxCalculateLayoutEvent
*result
= 0 ;
12204 PyObject
* obj0
= 0 ;
12205 char * kwnames
[] = {
12206 (char *) "id", NULL
12209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12211 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12212 if (!SWIG_IsOK(ecode1
)) {
12213 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12215 arg1
= static_cast< int >(val1
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12230 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
= 0;
12232 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 char * kwnames
[] = {
12241 (char *) "self",(char *) "flags", NULL
12244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12246 if (!SWIG_IsOK(res1
)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12249 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12251 if (!SWIG_IsOK(ecode2
)) {
12252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12254 arg2
= static_cast< int >(val2
);
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 (arg1
)->SetFlags(arg2
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_Py_Void();
12268 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12269 PyObject
*resultobj
= 0;
12270 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12274 PyObject
*swig_obj
[1] ;
12276 if (!args
) SWIG_fail
;
12277 swig_obj
[0] = args
;
12278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12279 if (!SWIG_IsOK(res1
)) {
12280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12282 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 resultobj
= SWIG_From_int(static_cast< int >(result
));
12296 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
= 0;
12298 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 PyObject
* obj1
= 0 ;
12305 char * kwnames
[] = {
12306 (char *) "self",(char *) "rect", NULL
12309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12311 if (!SWIG_IsOK(res1
)) {
12312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12314 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12317 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 (arg1
)->SetRect((wxRect
const &)*arg2
);
12322 wxPyEndAllowThreads(__tstate
);
12323 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= SWIG_Py_Void();
12332 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12333 PyObject
*resultobj
= 0;
12334 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12338 PyObject
*swig_obj
[1] ;
12340 if (!args
) SWIG_fail
;
12341 swig_obj
[0] = args
;
12342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12343 if (!SWIG_IsOK(res1
)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12346 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12360 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12363 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12364 return SWIG_Py_Void();
12367 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12368 return SWIG_Python_InitShadowInstance(args
);
12371 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= 0;
12373 wxWindow
*arg1
= (wxWindow
*) 0 ;
12374 int arg2
= (int) -1 ;
12375 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12376 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12377 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12378 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12379 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12380 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12381 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12382 wxSashLayoutWindow
*result
= 0 ;
12391 bool temp6
= false ;
12392 PyObject
* obj0
= 0 ;
12393 PyObject
* obj1
= 0 ;
12394 PyObject
* obj2
= 0 ;
12395 PyObject
* obj3
= 0 ;
12396 PyObject
* obj4
= 0 ;
12397 PyObject
* obj5
= 0 ;
12398 char * kwnames
[] = {
12399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12404 if (!SWIG_IsOK(res1
)) {
12405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12407 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12410 if (!SWIG_IsOK(ecode2
)) {
12411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12413 arg2
= static_cast< int >(val2
);
12418 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12424 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12428 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12429 if (!SWIG_IsOK(ecode5
)) {
12430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12432 arg5
= static_cast< long >(val5
);
12436 arg6
= wxString_in_helper(obj5
);
12437 if (arg6
== NULL
) SWIG_fail
;
12442 if (!wxPyCheckForApp()) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12463 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12464 PyObject
*resultobj
= 0;
12465 wxSashLayoutWindow
*result
= 0 ;
12467 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12469 if (!wxPyCheckForApp()) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12482 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
= 0;
12484 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12485 wxWindow
*arg2
= (wxWindow
*) 0 ;
12486 int arg3
= (int) -1 ;
12487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12491 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12492 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12493 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12505 bool temp7
= false ;
12506 PyObject
* obj0
= 0 ;
12507 PyObject
* obj1
= 0 ;
12508 PyObject
* obj2
= 0 ;
12509 PyObject
* obj3
= 0 ;
12510 PyObject
* obj4
= 0 ;
12511 PyObject
* obj5
= 0 ;
12512 PyObject
* obj6
= 0 ;
12513 char * kwnames
[] = {
12514 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12519 if (!SWIG_IsOK(res1
)) {
12520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12522 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12524 if (!SWIG_IsOK(res2
)) {
12525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12527 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12530 if (!SWIG_IsOK(ecode3
)) {
12531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12533 arg3
= static_cast< int >(val3
);
12538 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12544 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12548 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12549 if (!SWIG_IsOK(ecode6
)) {
12550 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12552 arg6
= static_cast< long >(val6
);
12556 arg7
= wxString_in_helper(obj6
);
12557 if (arg7
== NULL
) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12584 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12585 PyObject
*resultobj
= 0;
12586 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12587 wxLayoutAlignment result
;
12590 PyObject
*swig_obj
[1] ;
12592 if (!args
) SWIG_fail
;
12593 swig_obj
[0] = args
;
12594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12595 if (!SWIG_IsOK(res1
)) {
12596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12598 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_From_int(static_cast< int >(result
));
12612 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12615 wxLayoutOrientation result
;
12618 PyObject
*swig_obj
[1] ;
12620 if (!args
) SWIG_fail
;
12621 swig_obj
[0] = args
;
12622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12626 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= SWIG_From_int(static_cast< int >(result
));
12640 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
= 0;
12642 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12643 wxLayoutAlignment arg2
;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 char * kwnames
[] = {
12651 (char *) "self",(char *) "alignment", NULL
12654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",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_SetAlignment" "', 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_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12664 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->SetAlignment(arg2
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= SWIG_Py_Void();
12678 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
= 0;
12680 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12685 PyObject
* obj0
= 0 ;
12686 PyObject
* obj1
= 0 ;
12687 char * kwnames
[] = {
12688 (char *) "self",(char *) "size", NULL
12691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12693 if (!SWIG_IsOK(res1
)) {
12694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12696 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12699 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= SWIG_Py_Void();
12714 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
= 0;
12716 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12717 wxLayoutOrientation arg2
;
12722 PyObject
* obj0
= 0 ;
12723 PyObject
* obj1
= 0 ;
12724 char * kwnames
[] = {
12725 (char *) "self",(char *) "orientation", NULL
12728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12730 if (!SWIG_IsOK(res1
)) {
12731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12733 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12735 if (!SWIG_IsOK(ecode2
)) {
12736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12738 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 (arg1
)->SetOrientation(arg2
);
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= SWIG_Py_Void();
12752 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12755 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12756 return SWIG_Py_Void();
12759 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12760 return SWIG_Python_InitShadowInstance(args
);
12763 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12764 PyObject
*resultobj
= 0;
12765 wxLayoutAlgorithm
*result
= 0 ;
12767 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12781 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12782 PyObject
*resultobj
= 0;
12783 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12786 PyObject
*swig_obj
[1] ;
12788 if (!args
) SWIG_fail
;
12789 swig_obj
[0] = args
;
12790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12791 if (!SWIG_IsOK(res1
)) {
12792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12794 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 resultobj
= SWIG_Py_Void();
12809 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
= 0;
12811 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12812 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12813 wxRect
*arg3
= (wxRect
*) NULL
;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 PyObject
* obj2
= 0 ;
12824 char * kwnames
[] = {
12825 (char *) "self",(char *) "frame",(char *) "rect", NULL
12828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12830 if (!SWIG_IsOK(res1
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12833 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12835 if (!SWIG_IsOK(res2
)) {
12836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12838 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12840 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12841 if (!SWIG_IsOK(res3
)) {
12842 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12844 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12861 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
= 0;
12863 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12864 wxFrame
*arg2
= (wxFrame
*) 0 ;
12865 wxWindow
*arg3
= (wxWindow
*) NULL
;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 PyObject
* obj2
= 0 ;
12876 char * kwnames
[] = {
12877 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12882 if (!SWIG_IsOK(res1
)) {
12883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12885 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12886 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12887 if (!SWIG_IsOK(res2
)) {
12888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12890 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12892 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12893 if (!SWIG_IsOK(res3
)) {
12894 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12896 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12913 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
*resultobj
= 0;
12915 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12916 wxWindow
*arg2
= (wxWindow
*) 0 ;
12917 wxWindow
*arg3
= (wxWindow
*) NULL
;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 PyObject
* obj2
= 0 ;
12928 char * kwnames
[] = {
12929 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12934 if (!SWIG_IsOK(res1
)) {
12935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12937 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12939 if (!SWIG_IsOK(res2
)) {
12940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12942 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12944 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12945 if (!SWIG_IsOK(res3
)) {
12946 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12948 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12965 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12968 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12969 return SWIG_Py_Void();
12972 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 return SWIG_Python_InitShadowInstance(args
);
12976 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
*resultobj
= 0;
12978 wxWindow
*arg1
= (wxWindow
*) 0 ;
12979 int arg2
= (int) wxBORDER_NONE
;
12980 wxPopupWindow
*result
= 0 ;
12985 PyObject
* obj0
= 0 ;
12986 PyObject
* obj1
= 0 ;
12987 char * kwnames
[] = {
12988 (char *) "parent",(char *) "flags", NULL
12991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12993 if (!SWIG_IsOK(res1
)) {
12994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12996 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12999 if (!SWIG_IsOK(ecode2
)) {
13000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13002 arg2
= static_cast< int >(val2
);
13005 if (!wxPyCheckForApp()) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13018 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13019 PyObject
*resultobj
= 0;
13020 wxPopupWindow
*result
= 0 ;
13022 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13024 if (!wxPyCheckForApp()) SWIG_fail
;
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (wxPopupWindow
*)new wxPopupWindow();
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13037 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
= 0;
13039 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13040 wxWindow
*arg2
= (wxWindow
*) 0 ;
13041 int arg3
= (int) wxBORDER_NONE
;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 PyObject
* obj2
= 0 ;
13052 char * kwnames
[] = {
13053 (char *) "self",(char *) "parent",(char *) "flags", NULL
13056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13058 if (!SWIG_IsOK(res1
)) {
13059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13061 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13063 if (!SWIG_IsOK(res2
)) {
13064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13066 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13069 if (!SWIG_IsOK(ecode3
)) {
13070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13072 arg3
= static_cast< int >(val3
);
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13089 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
= 0;
13091 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13092 wxPoint
*arg2
= 0 ;
13098 PyObject
* obj0
= 0 ;
13099 PyObject
* obj1
= 0 ;
13100 PyObject
* obj2
= 0 ;
13101 char * kwnames
[] = {
13102 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13107 if (!SWIG_IsOK(res1
)) {
13108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13110 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13117 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 resultobj
= SWIG_Py_Void();
13132 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13135 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13136 return SWIG_Py_Void();
13139 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13140 return SWIG_Python_InitShadowInstance(args
);
13143 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
= 0;
13145 wxWindow
*arg1
= (wxWindow
*) 0 ;
13146 int arg2
= (int) wxBORDER_NONE
;
13147 wxPyPopupTransientWindow
*result
= 0 ;
13152 PyObject
* obj0
= 0 ;
13153 PyObject
* obj1
= 0 ;
13154 char * kwnames
[] = {
13155 (char *) "parent",(char *) "style", NULL
13158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13163 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13166 if (!SWIG_IsOK(ecode2
)) {
13167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13169 arg2
= static_cast< int >(val2
);
13172 if (!wxPyCheckForApp()) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13185 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13186 PyObject
*resultobj
= 0;
13187 wxPyPopupTransientWindow
*result
= 0 ;
13189 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13191 if (!wxPyCheckForApp()) SWIG_fail
;
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13204 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
= 0;
13206 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13207 PyObject
*arg2
= (PyObject
*) 0 ;
13208 PyObject
*arg3
= (PyObject
*) 0 ;
13211 PyObject
* obj0
= 0 ;
13212 PyObject
* obj1
= 0 ;
13213 PyObject
* obj2
= 0 ;
13214 char * kwnames
[] = {
13215 (char *) "self",(char *) "self",(char *) "_class", NULL
13218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13220 if (!SWIG_IsOK(res1
)) {
13221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13223 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_Py_Void();
13239 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
= 0;
13241 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13242 wxWindow
*arg2
= (wxWindow
*) NULL
;
13247 PyObject
* obj0
= 0 ;
13248 PyObject
* obj1
= 0 ;
13249 char * kwnames
[] = {
13250 (char *) "self",(char *) "focus", NULL
13253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13255 if (!SWIG_IsOK(res1
)) {
13256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13258 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13260 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13261 if (!SWIG_IsOK(res2
)) {
13262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13264 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 (arg1
)->Popup(arg2
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= SWIG_Py_Void();
13279 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13280 PyObject
*resultobj
= 0;
13281 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13284 PyObject
*swig_obj
[1] ;
13286 if (!args
) SWIG_fail
;
13287 swig_obj
[0] = args
;
13288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13292 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_Py_Void();
13306 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13310 return SWIG_Py_Void();
13313 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 return SWIG_Python_InitShadowInstance(args
);
13317 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
= 0;
13319 wxWindow
*arg1
= (wxWindow
*) 0 ;
13320 wxString
*arg2
= 0 ;
13321 int arg3
= (int) 100 ;
13322 wxRect
*arg4
= (wxRect
*) NULL
;
13323 wxTipWindow
*result
= 0 ;
13326 bool temp2
= false ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 PyObject
* obj2
= 0 ;
13334 PyObject
* obj3
= 0 ;
13335 char * kwnames
[] = {
13336 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13341 if (!SWIG_IsOK(res1
)) {
13342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13344 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13346 arg2
= wxString_in_helper(obj1
);
13347 if (arg2
== NULL
) SWIG_fail
;
13351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13352 if (!SWIG_IsOK(ecode3
)) {
13353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13355 arg3
= static_cast< int >(val3
);
13358 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13359 if (!SWIG_IsOK(res4
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13362 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13365 if (!wxPyCheckForApp()) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13386 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
= 0;
13388 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 PyObject
* obj1
= 0 ;
13395 char * kwnames
[] = {
13396 (char *) "self",(char *) "rectBound", NULL
13399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13401 if (!SWIG_IsOK(res1
)) {
13402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13404 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13407 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_Py_Void();
13422 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13423 PyObject
*resultobj
= 0;
13424 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13427 PyObject
*swig_obj
[1] ;
13429 if (!args
) SWIG_fail
;
13430 swig_obj
[0] = args
;
13431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13432 if (!SWIG_IsOK(res1
)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13435 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= SWIG_Py_Void();
13449 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13452 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13453 return SWIG_Py_Void();
13456 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13457 return SWIG_Python_InitShadowInstance(args
);
13460 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13461 PyObject
*resultobj
= 0;
13462 wxWindow
*arg1
= (wxWindow
*) 0 ;
13463 int arg2
= (int) wxID_ANY
;
13464 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13465 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13466 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13467 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13468 long arg5
= (long) 0 ;
13469 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13470 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13471 wxPyVScrolledWindow
*result
= 0 ;
13480 bool temp6
= false ;
13481 PyObject
* obj0
= 0 ;
13482 PyObject
* obj1
= 0 ;
13483 PyObject
* obj2
= 0 ;
13484 PyObject
* obj3
= 0 ;
13485 PyObject
* obj4
= 0 ;
13486 PyObject
* obj5
= 0 ;
13487 char * kwnames
[] = {
13488 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13493 if (!SWIG_IsOK(res1
)) {
13494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13496 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13499 if (!SWIG_IsOK(ecode2
)) {
13500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13502 arg2
= static_cast< int >(val2
);
13507 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13513 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13517 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13518 if (!SWIG_IsOK(ecode5
)) {
13519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13521 arg5
= static_cast< long >(val5
);
13525 arg6
= wxString_in_helper(obj5
);
13526 if (arg6
== NULL
) SWIG_fail
;
13531 if (!wxPyCheckForApp()) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13552 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13553 PyObject
*resultobj
= 0;
13554 wxPyVScrolledWindow
*result
= 0 ;
13556 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13558 if (!wxPyCheckForApp()) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13571 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
= 0;
13573 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13574 PyObject
*arg2
= (PyObject
*) 0 ;
13575 PyObject
*arg3
= (PyObject
*) 0 ;
13578 PyObject
* obj0
= 0 ;
13579 PyObject
* obj1
= 0 ;
13580 PyObject
* obj2
= 0 ;
13581 char * kwnames
[] = {
13582 (char *) "self",(char *) "self",(char *) "_class", NULL
13585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13587 if (!SWIG_IsOK(res1
)) {
13588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13590 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= SWIG_Py_Void();
13606 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
= 0;
13608 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13609 wxWindow
*arg2
= (wxWindow
*) 0 ;
13610 int arg3
= (int) wxID_ANY
;
13611 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13612 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13613 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13614 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13615 long arg6
= (long) 0 ;
13616 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13617 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13629 bool temp7
= false ;
13630 PyObject
* obj0
= 0 ;
13631 PyObject
* obj1
= 0 ;
13632 PyObject
* obj2
= 0 ;
13633 PyObject
* obj3
= 0 ;
13634 PyObject
* obj4
= 0 ;
13635 PyObject
* obj5
= 0 ;
13636 PyObject
* obj6
= 0 ;
13637 char * kwnames
[] = {
13638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13643 if (!SWIG_IsOK(res1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13646 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13648 if (!SWIG_IsOK(res2
)) {
13649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13654 if (!SWIG_IsOK(ecode3
)) {
13655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13657 arg3
= static_cast< int >(val3
);
13662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13672 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13673 if (!SWIG_IsOK(ecode6
)) {
13674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13676 arg6
= static_cast< long >(val6
);
13680 arg7
= wxString_in_helper(obj6
);
13681 if (arg7
== NULL
) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13708 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
= 0;
13710 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13716 PyObject
* obj0
= 0 ;
13717 PyObject
* obj1
= 0 ;
13718 char * kwnames
[] = {
13719 (char *) "self",(char *) "count", NULL
13722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13724 if (!SWIG_IsOK(res1
)) {
13725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13727 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13728 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13729 if (!SWIG_IsOK(ecode2
)) {
13730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13732 arg2
= static_cast< size_t >(val2
);
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 (arg1
)->SetLineCount(arg2
);
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 resultobj
= SWIG_Py_Void();
13746 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
= 0;
13748 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 char * kwnames
[] = {
13758 (char *) "self",(char *) "line", NULL
13761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13763 if (!SWIG_IsOK(res1
)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13766 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13767 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13768 if (!SWIG_IsOK(ecode2
)) {
13769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13771 arg2
= static_cast< size_t >(val2
);
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13787 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
= 0;
13789 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 PyObject
* obj1
= 0 ;
13797 char * kwnames
[] = {
13798 (char *) "self",(char *) "line", NULL
13801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13803 if (!SWIG_IsOK(res1
)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13806 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13807 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13808 if (!SWIG_IsOK(ecode2
)) {
13809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13811 arg2
= static_cast< size_t >(val2
);
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 (arg1
)->RefreshLine(arg2
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= SWIG_Py_Void();
13825 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
= 0;
13827 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 PyObject
* obj1
= 0 ;
13838 PyObject
* obj2
= 0 ;
13839 char * kwnames
[] = {
13840 (char *) "self",(char *) "from",(char *) "to", NULL
13843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13845 if (!SWIG_IsOK(res1
)) {
13846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13848 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13849 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13850 if (!SWIG_IsOK(ecode2
)) {
13851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13853 arg2
= static_cast< size_t >(val2
);
13854 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13855 if (!SWIG_IsOK(ecode3
)) {
13856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13858 arg3
= static_cast< size_t >(val3
);
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 (arg1
)->RefreshLines(arg2
,arg3
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_Py_Void();
13872 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
= 0;
13874 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 PyObject
* obj1
= 0 ;
13886 PyObject
* obj2
= 0 ;
13887 char * kwnames
[] = {
13888 (char *) "self",(char *) "x",(char *) "y", NULL
13891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13893 if (!SWIG_IsOK(res1
)) {
13894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13896 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13898 if (!SWIG_IsOK(ecode2
)) {
13899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13901 arg2
= static_cast< int >(val2
);
13902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13903 if (!SWIG_IsOK(ecode3
)) {
13904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13906 arg3
= static_cast< int >(val3
);
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= SWIG_From_int(static_cast< int >(result
));
13920 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
= 0;
13922 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13923 wxPoint
*arg2
= 0 ;
13928 PyObject
* obj0
= 0 ;
13929 PyObject
* obj1
= 0 ;
13930 char * kwnames
[] = {
13931 (char *) "self",(char *) "pt", NULL
13934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13936 if (!SWIG_IsOK(res1
)) {
13937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13939 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13942 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 resultobj
= SWIG_From_int(static_cast< int >(result
));
13957 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13958 PyObject
*resultobj
= 0;
13959 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13962 PyObject
*swig_obj
[1] ;
13964 if (!args
) SWIG_fail
;
13965 swig_obj
[0] = args
;
13966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13967 if (!SWIG_IsOK(res1
)) {
13968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13970 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 (arg1
)->RefreshAll();
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13977 resultobj
= SWIG_Py_Void();
13984 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13985 PyObject
*resultobj
= 0;
13986 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13990 PyObject
*swig_obj
[1] ;
13992 if (!args
) SWIG_fail
;
13993 swig_obj
[0] = args
;
13994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13995 if (!SWIG_IsOK(res1
)) {
13996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13998 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14012 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14013 PyObject
*resultobj
= 0;
14014 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14018 PyObject
*swig_obj
[1] ;
14020 if (!args
) SWIG_fail
;
14021 swig_obj
[0] = args
;
14022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14023 if (!SWIG_IsOK(res1
)) {
14024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14026 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14040 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14041 PyObject
*resultobj
= 0;
14042 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14046 PyObject
*swig_obj
[1] ;
14048 if (!args
) SWIG_fail
;
14049 swig_obj
[0] = args
;
14050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14051 if (!SWIG_IsOK(res1
)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14054 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14068 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
= 0;
14070 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14077 PyObject
* obj0
= 0 ;
14078 PyObject
* obj1
= 0 ;
14079 char * kwnames
[] = {
14080 (char *) "self",(char *) "line", NULL
14083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14085 if (!SWIG_IsOK(res1
)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14088 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14089 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14090 if (!SWIG_IsOK(ecode2
)) {
14091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14093 arg2
= static_cast< size_t >(val2
);
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14109 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14110 PyObject
*resultobj
= 0;
14111 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14115 PyObject
*swig_obj
[1] ;
14117 if (!args
) SWIG_fail
;
14118 swig_obj
[0] = args
;
14119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14120 if (!SWIG_IsOK(res1
)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14123 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14137 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14138 PyObject
*resultobj
= 0;
14139 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14143 PyObject
*swig_obj
[1] ;
14145 if (!args
) SWIG_fail
;
14146 swig_obj
[0] = args
;
14147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14148 if (!SWIG_IsOK(res1
)) {
14149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14151 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14165 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
= 0;
14167 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14169 bool arg3
= (bool) false ;
14177 PyObject
* obj0
= 0 ;
14178 PyObject
* obj1
= 0 ;
14179 PyObject
* obj2
= 0 ;
14180 char * kwnames
[] = {
14181 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14186 if (!SWIG_IsOK(res1
)) {
14187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14189 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14190 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14191 if (!SWIG_IsOK(ecode2
)) {
14192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14194 arg2
= static_cast< size_t >(val2
);
14196 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14197 if (!SWIG_IsOK(ecode3
)) {
14198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14200 arg3
= static_cast< bool >(val3
);
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14215 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
= 0;
14217 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 PyObject
* obj2
= 0 ;
14230 char * kwnames
[] = {
14231 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14236 if (!SWIG_IsOK(res1
)) {
14237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14239 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14240 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14241 if (!SWIG_IsOK(ecode2
)) {
14242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14244 arg2
= static_cast< size_t >(val2
);
14245 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14246 if (!SWIG_IsOK(ecode3
)) {
14247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14249 arg3
= static_cast< size_t >(val3
);
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= SWIG_From_int(static_cast< int >(result
));
14263 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14266 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14267 return SWIG_Py_Void();
14270 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14271 return SWIG_Python_InitShadowInstance(args
);
14274 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14275 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14280 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14281 PyObject
*pyobj
= 0;
14285 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14287 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14294 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
= 0;
14296 wxWindow
*arg1
= (wxWindow
*) 0 ;
14297 int arg2
= (int) wxID_ANY
;
14298 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14299 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14300 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14301 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14302 long arg5
= (long) 0 ;
14303 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14304 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14305 wxPyVListBox
*result
= 0 ;
14314 bool temp6
= false ;
14315 PyObject
* obj0
= 0 ;
14316 PyObject
* obj1
= 0 ;
14317 PyObject
* obj2
= 0 ;
14318 PyObject
* obj3
= 0 ;
14319 PyObject
* obj4
= 0 ;
14320 PyObject
* obj5
= 0 ;
14321 char * kwnames
[] = {
14322 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14327 if (!SWIG_IsOK(res1
)) {
14328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14330 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14333 if (!SWIG_IsOK(ecode2
)) {
14334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14336 arg2
= static_cast< int >(val2
);
14341 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14347 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14351 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14352 if (!SWIG_IsOK(ecode5
)) {
14353 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14355 arg5
= static_cast< long >(val5
);
14359 arg6
= wxString_in_helper(obj5
);
14360 if (arg6
== NULL
) SWIG_fail
;
14365 if (!wxPyCheckForApp()) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14386 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14387 PyObject
*resultobj
= 0;
14388 wxPyVListBox
*result
= 0 ;
14390 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14392 if (!wxPyCheckForApp()) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (wxPyVListBox
*)new wxPyVListBox();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14405 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
= 0;
14407 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14408 PyObject
*arg2
= (PyObject
*) 0 ;
14409 PyObject
*arg3
= (PyObject
*) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 PyObject
* obj1
= 0 ;
14414 PyObject
* obj2
= 0 ;
14415 char * kwnames
[] = {
14416 (char *) "self",(char *) "self",(char *) "_class", NULL
14419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14421 if (!SWIG_IsOK(res1
)) {
14422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14424 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= SWIG_Py_Void();
14440 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
= 0;
14442 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14443 wxWindow
*arg2
= (wxWindow
*) 0 ;
14444 int arg3
= (int) wxID_ANY
;
14445 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14446 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14447 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14448 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14449 long arg6
= (long) 0 ;
14450 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14451 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14463 bool temp7
= false ;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 PyObject
* obj2
= 0 ;
14467 PyObject
* obj3
= 0 ;
14468 PyObject
* obj4
= 0 ;
14469 PyObject
* obj5
= 0 ;
14470 PyObject
* obj6
= 0 ;
14471 char * kwnames
[] = {
14472 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14477 if (!SWIG_IsOK(res1
)) {
14478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14480 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14481 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14482 if (!SWIG_IsOK(res2
)) {
14483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14485 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14488 if (!SWIG_IsOK(ecode3
)) {
14489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14491 arg3
= static_cast< int >(val3
);
14496 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14502 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14506 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14507 if (!SWIG_IsOK(ecode6
)) {
14508 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14510 arg6
= static_cast< long >(val6
);
14514 arg7
= wxString_in_helper(obj6
);
14515 if (arg7
== NULL
) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14542 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14543 PyObject
*resultobj
= 0;
14544 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14548 PyObject
*swig_obj
[1] ;
14550 if (!args
) SWIG_fail
;
14551 swig_obj
[0] = args
;
14552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14553 if (!SWIG_IsOK(res1
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14556 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14570 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14571 PyObject
*resultobj
= 0;
14572 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14576 PyObject
*swig_obj
[1] ;
14578 if (!args
) SWIG_fail
;
14579 swig_obj
[0] = args
;
14580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14581 if (!SWIG_IsOK(res1
)) {
14582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14584 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14600 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14601 PyObject
*resultobj
= 0;
14602 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14606 PyObject
*swig_obj
[1] ;
14608 if (!args
) SWIG_fail
;
14609 swig_obj
[0] = args
;
14610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14611 if (!SWIG_IsOK(res1
)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14614 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_From_int(static_cast< int >(result
));
14628 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
= 0;
14630 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 char * kwnames
[] = {
14640 (char *) "self",(char *) "item", NULL
14643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14645 if (!SWIG_IsOK(res1
)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14648 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14649 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14650 if (!SWIG_IsOK(ecode2
)) {
14651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14653 arg2
= static_cast< size_t >(val2
);
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14669 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
= 0;
14671 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 PyObject
* obj1
= 0 ;
14680 char * kwnames
[] = {
14681 (char *) "self",(char *) "item", NULL
14684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14686 if (!SWIG_IsOK(res1
)) {
14687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14689 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14690 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14691 if (!SWIG_IsOK(ecode2
)) {
14692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14694 arg2
= static_cast< size_t >(val2
);
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14710 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14711 PyObject
*resultobj
= 0;
14712 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14716 PyObject
*swig_obj
[1] ;
14718 if (!args
) SWIG_fail
;
14719 swig_obj
[0] = args
;
14720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14721 if (!SWIG_IsOK(res1
)) {
14722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14724 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14738 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14739 PyObject
*resultobj
= 0;
14740 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14741 PyObject
*result
= 0 ;
14744 PyObject
*swig_obj
[1] ;
14746 if (!args
) SWIG_fail
;
14747 swig_obj
[0] = args
;
14748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14749 if (!SWIG_IsOK(res1
)) {
14750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14752 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= result
;
14766 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
= 0;
14768 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14769 unsigned long arg2
;
14770 PyObject
*result
= 0 ;
14773 unsigned long val2
;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 char * kwnames
[] = {
14778 (char *) "self",(char *) "cookie", NULL
14781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14783 if (!SWIG_IsOK(res1
)) {
14784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14786 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14787 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14788 if (!SWIG_IsOK(ecode2
)) {
14789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14791 arg2
= static_cast< unsigned long >(val2
);
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= result
;
14805 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14806 PyObject
*resultobj
= 0;
14807 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14811 PyObject
*swig_obj
[1] ;
14813 if (!args
) SWIG_fail
;
14814 swig_obj
[0] = args
;
14815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14816 if (!SWIG_IsOK(res1
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14819 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14833 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14834 PyObject
*resultobj
= 0;
14835 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14836 wxColour
*result
= 0 ;
14839 PyObject
*swig_obj
[1] ;
14841 if (!args
) SWIG_fail
;
14842 swig_obj
[0] = args
;
14843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14844 if (!SWIG_IsOK(res1
)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14847 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14852 result
= (wxColour
*) &_result_ref
;
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14864 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
= 0;
14866 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 PyObject
* obj1
= 0 ;
14874 char * kwnames
[] = {
14875 (char *) "self",(char *) "count", NULL
14878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14880 if (!SWIG_IsOK(res1
)) {
14881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14883 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14884 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14885 if (!SWIG_IsOK(ecode2
)) {
14886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14888 arg2
= static_cast< size_t >(val2
);
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 (arg1
)->SetItemCount(arg2
);
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= SWIG_Py_Void();
14902 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14903 PyObject
*resultobj
= 0;
14904 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14907 PyObject
*swig_obj
[1] ;
14909 if (!args
) SWIG_fail
;
14910 swig_obj
[0] = args
;
14911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14912 if (!SWIG_IsOK(res1
)) {
14913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14915 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 wxPyEndAllowThreads(__tstate
);
14920 if (PyErr_Occurred()) SWIG_fail
;
14922 resultobj
= SWIG_Py_Void();
14929 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
= 0;
14931 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 char * kwnames
[] = {
14940 (char *) "self",(char *) "selection", NULL
14943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14945 if (!SWIG_IsOK(res1
)) {
14946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14948 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14950 if (!SWIG_IsOK(ecode2
)) {
14951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14953 arg2
= static_cast< int >(val2
);
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 (arg1
)->SetSelection(arg2
);
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_Py_Void();
14967 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
= 0;
14969 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14971 bool arg3
= (bool) true ;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 PyObject
* obj2
= 0 ;
14982 char * kwnames
[] = {
14983 (char *) "self",(char *) "item",(char *) "select", NULL
14986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14991 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14992 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14993 if (!SWIG_IsOK(ecode2
)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14996 arg2
= static_cast< size_t >(val2
);
14998 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14999 if (!SWIG_IsOK(ecode3
)) {
15000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15002 arg3
= static_cast< bool >(val3
);
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15019 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
= 0;
15021 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 PyObject
* obj1
= 0 ;
15033 PyObject
* obj2
= 0 ;
15034 char * kwnames
[] = {
15035 (char *) "self",(char *) "from",(char *) "to", NULL
15038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15040 if (!SWIG_IsOK(res1
)) {
15041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15043 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15044 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15045 if (!SWIG_IsOK(ecode2
)) {
15046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15048 arg2
= static_cast< size_t >(val2
);
15049 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15050 if (!SWIG_IsOK(ecode3
)) {
15051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15053 arg3
= static_cast< size_t >(val3
);
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15069 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
= 0;
15071 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char * kwnames
[] = {
15080 (char *) "self",(char *) "item", NULL
15083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15085 if (!SWIG_IsOK(res1
)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15088 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15089 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15090 if (!SWIG_IsOK(ecode2
)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15093 arg2
= static_cast< size_t >(val2
);
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 (arg1
)->Toggle(arg2
);
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= SWIG_Py_Void();
15107 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15108 PyObject
*resultobj
= 0;
15109 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15113 PyObject
*swig_obj
[1] ;
15115 if (!args
) SWIG_fail
;
15116 swig_obj
[0] = args
;
15117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15118 if (!SWIG_IsOK(res1
)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15121 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (bool)(arg1
)->SelectAll();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15137 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15138 PyObject
*resultobj
= 0;
15139 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15143 PyObject
*swig_obj
[1] ;
15145 if (!args
) SWIG_fail
;
15146 swig_obj
[0] = args
;
15147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15148 if (!SWIG_IsOK(res1
)) {
15149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15151 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (bool)(arg1
)->DeselectAll();
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15167 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
= 0;
15169 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15170 wxPoint
*arg2
= 0 ;
15174 PyObject
* obj0
= 0 ;
15175 PyObject
* obj1
= 0 ;
15176 char * kwnames
[] = {
15177 (char *) "self",(char *) "pt", NULL
15180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15182 if (!SWIG_IsOK(res1
)) {
15183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15185 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= SWIG_Py_Void();
15203 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
= 0;
15205 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 PyObject
* obj1
= 0 ;
15216 PyObject
* obj2
= 0 ;
15217 char * kwnames
[] = {
15218 (char *) "self",(char *) "x",(char *) "y", NULL
15221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15223 if (!SWIG_IsOK(res1
)) {
15224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15226 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15228 if (!SWIG_IsOK(ecode2
)) {
15229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15231 arg2
= static_cast< int >(val2
);
15232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15233 if (!SWIG_IsOK(ecode3
)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15236 arg3
= static_cast< int >(val3
);
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 (arg1
)->SetMargins(arg2
,arg3
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_Py_Void();
15250 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
= 0;
15252 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15253 wxColour
*arg2
= 0 ;
15257 PyObject
* obj0
= 0 ;
15258 PyObject
* obj1
= 0 ;
15259 char * kwnames
[] = {
15260 (char *) "self",(char *) "col", NULL
15263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15265 if (!SWIG_IsOK(res1
)) {
15266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15268 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15271 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15279 resultobj
= SWIG_Py_Void();
15286 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
= 0;
15288 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15299 PyObject
* obj0
= 0 ;
15300 PyObject
* obj1
= 0 ;
15301 PyObject
* obj2
= 0 ;
15302 PyObject
* obj3
= 0 ;
15303 char * kwnames
[] = {
15304 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15309 if (!SWIG_IsOK(res1
)) {
15310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15312 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15314 if (!SWIG_IsOK(res2
)) {
15315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15320 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15323 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15325 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15326 if (!SWIG_IsOK(ecode4
)) {
15327 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15329 arg4
= static_cast< size_t >(val4
);
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15336 resultobj
= SWIG_Py_Void();
15343 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
= 0;
15345 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 PyObject
* obj2
= 0 ;
15359 PyObject
* obj3
= 0 ;
15360 char * kwnames
[] = {
15361 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15366 if (!SWIG_IsOK(res1
)) {
15367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15369 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15371 if (!SWIG_IsOK(res2
)) {
15372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15377 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15380 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15382 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15383 if (!SWIG_IsOK(ecode4
)) {
15384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15386 arg4
= static_cast< size_t >(val4
);
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= SWIG_Py_Void();
15400 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15403 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15404 return SWIG_Py_Void();
15407 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15408 return SWIG_Python_InitShadowInstance(args
);
15411 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
= 0;
15413 wxWindow
*arg1
= (wxWindow
*) 0 ;
15414 int arg2
= (int) wxID_ANY
;
15415 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15416 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15417 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15418 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15419 long arg5
= (long) 0 ;
15420 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15421 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15422 wxPyHtmlListBox
*result
= 0 ;
15431 bool temp6
= false ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 PyObject
* obj3
= 0 ;
15436 PyObject
* obj4
= 0 ;
15437 PyObject
* obj5
= 0 ;
15438 char * kwnames
[] = {
15439 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15444 if (!SWIG_IsOK(res1
)) {
15445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15447 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15450 if (!SWIG_IsOK(ecode2
)) {
15451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15453 arg2
= static_cast< int >(val2
);
15458 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15464 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15468 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15469 if (!SWIG_IsOK(ecode5
)) {
15470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15472 arg5
= static_cast< long >(val5
);
15476 arg6
= wxString_in_helper(obj5
);
15477 if (arg6
== NULL
) SWIG_fail
;
15482 if (!wxPyCheckForApp()) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15503 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15504 PyObject
*resultobj
= 0;
15505 wxPyHtmlListBox
*result
= 0 ;
15507 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15509 if (!wxPyCheckForApp()) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15522 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
= 0;
15524 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15525 PyObject
*arg2
= (PyObject
*) 0 ;
15526 PyObject
*arg3
= (PyObject
*) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 PyObject
* obj1
= 0 ;
15531 PyObject
* obj2
= 0 ;
15532 char * kwnames
[] = {
15533 (char *) "self",(char *) "self",(char *) "_class", NULL
15536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15538 if (!SWIG_IsOK(res1
)) {
15539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15541 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_Py_Void();
15557 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
= 0;
15559 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15560 wxWindow
*arg2
= (wxWindow
*) 0 ;
15561 int arg3
= (int) wxID_ANY
;
15562 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15563 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15564 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15565 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15566 long arg6
= (long) 0 ;
15567 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15568 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15580 bool temp7
= false ;
15581 PyObject
* obj0
= 0 ;
15582 PyObject
* obj1
= 0 ;
15583 PyObject
* obj2
= 0 ;
15584 PyObject
* obj3
= 0 ;
15585 PyObject
* obj4
= 0 ;
15586 PyObject
* obj5
= 0 ;
15587 PyObject
* obj6
= 0 ;
15588 char * kwnames
[] = {
15589 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15594 if (!SWIG_IsOK(res1
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15597 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15598 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15599 if (!SWIG_IsOK(res2
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15602 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15605 if (!SWIG_IsOK(ecode3
)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15608 arg3
= static_cast< int >(val3
);
15613 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15619 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15623 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15624 if (!SWIG_IsOK(ecode6
)) {
15625 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15627 arg6
= static_cast< long >(val6
);
15631 arg7
= wxString_in_helper(obj6
);
15632 if (arg7
== NULL
) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15659 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
= 0;
15661 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15667 PyObject
* obj0
= 0 ;
15668 PyObject
* obj1
= 0 ;
15669 char * kwnames
[] = {
15670 (char *) "self",(char *) "count", NULL
15673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15675 if (!SWIG_IsOK(res1
)) {
15676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15678 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15679 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15680 if (!SWIG_IsOK(ecode2
)) {
15681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15683 arg2
= static_cast< size_t >(val2
);
15685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15686 (arg1
)->SetItemCount(arg2
);
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_Py_Void();
15697 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15698 PyObject
*resultobj
= 0;
15699 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15700 wxFileSystem
*result
= 0 ;
15703 PyObject
*swig_obj
[1] ;
15705 if (!args
) SWIG_fail
;
15706 swig_obj
[0] = args
;
15707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15708 if (!SWIG_IsOK(res1
)) {
15709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15711 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15716 result
= (wxFileSystem
*) &_result_ref
;
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15728 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
= 0;
15730 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15732 wxHtmlLinkInfo
*arg3
= 0 ;
15739 PyObject
* obj0
= 0 ;
15740 PyObject
* obj1
= 0 ;
15741 PyObject
* obj2
= 0 ;
15742 char * kwnames
[] = {
15743 (char *) "self",(char *) "n",(char *) "link", NULL
15746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15748 if (!SWIG_IsOK(res1
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15751 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15752 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15753 if (!SWIG_IsOK(ecode2
)) {
15754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15756 arg2
= static_cast< size_t >(val2
);
15757 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15758 if (!SWIG_IsOK(res3
)) {
15759 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15764 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15768 wxPyEndAllowThreads(__tstate
);
15769 if (PyErr_Occurred()) SWIG_fail
;
15771 resultobj
= SWIG_Py_Void();
15778 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15781 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15782 return SWIG_Py_Void();
15785 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15786 return SWIG_Python_InitShadowInstance(args
);
15789 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15790 PyObject
*resultobj
= 0;
15791 wxPyTaskBarIcon
*result
= 0 ;
15793 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15795 if (!wxPyCheckForApp()) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15808 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15809 PyObject
*resultobj
= 0;
15810 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15813 PyObject
*swig_obj
[1] ;
15815 if (!args
) SWIG_fail
;
15816 swig_obj
[0] = args
;
15817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15818 if (!SWIG_IsOK(res1
)) {
15819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15821 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= SWIG_Py_Void();
15836 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
= 0;
15838 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15839 PyObject
*arg2
= (PyObject
*) 0 ;
15840 PyObject
*arg3
= (PyObject
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 PyObject
* obj1
= 0 ;
15848 PyObject
* obj2
= 0 ;
15849 PyObject
* obj3
= 0 ;
15850 char * kwnames
[] = {
15851 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15856 if (!SWIG_IsOK(res1
)) {
15857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15859 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15862 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15863 if (!SWIG_IsOK(ecode4
)) {
15864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15866 arg4
= static_cast< int >(val4
);
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 resultobj
= SWIG_Py_Void();
15880 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15881 PyObject
*resultobj
= 0;
15882 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15885 PyObject
*swig_obj
[1] ;
15887 if (!args
) SWIG_fail
;
15888 swig_obj
[0] = args
;
15889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15893 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 wxPyTaskBarIcon_Destroy(arg1
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= SWIG_Py_Void();
15907 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15908 PyObject
*resultobj
= 0;
15909 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15913 PyObject
*swig_obj
[1] ;
15915 if (!args
) SWIG_fail
;
15916 swig_obj
[0] = args
;
15917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15918 if (!SWIG_IsOK(res1
)) {
15919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15921 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15937 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15938 PyObject
*resultobj
= 0;
15939 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15943 PyObject
*swig_obj
[1] ;
15945 if (!args
) SWIG_fail
;
15946 swig_obj
[0] = args
;
15947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15948 if (!SWIG_IsOK(res1
)) {
15949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15951 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15967 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
= 0;
15969 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15971 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15972 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15978 bool temp3
= false ;
15979 PyObject
* obj0
= 0 ;
15980 PyObject
* obj1
= 0 ;
15981 PyObject
* obj2
= 0 ;
15982 char * kwnames
[] = {
15983 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15988 if (!SWIG_IsOK(res1
)) {
15989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15991 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15993 if (!SWIG_IsOK(res2
)) {
15994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15999 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16002 arg3
= wxString_in_helper(obj2
);
16003 if (arg3
== NULL
) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16030 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16031 PyObject
*resultobj
= 0;
16032 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16036 PyObject
*swig_obj
[1] ;
16038 if (!args
) SWIG_fail
;
16039 swig_obj
[0] = args
;
16040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16041 if (!SWIG_IsOK(res1
)) {
16042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16044 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= (bool)(arg1
)->RemoveIcon();
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16060 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
= 0;
16062 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16063 wxMenu
*arg2
= (wxMenu
*) 0 ;
16069 PyObject
* obj0
= 0 ;
16070 PyObject
* obj1
= 0 ;
16071 char * kwnames
[] = {
16072 (char *) "self",(char *) "menu", NULL
16075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16077 if (!SWIG_IsOK(res1
)) {
16078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16080 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16082 if (!SWIG_IsOK(res2
)) {
16083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16085 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (bool)(arg1
)->PopupMenu(arg2
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16101 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16104 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16105 return SWIG_Py_Void();
16108 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16109 return SWIG_Python_InitShadowInstance(args
);
16112 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
= 0;
16115 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16116 wxTaskBarIconEvent
*result
= 0 ;
16121 PyObject
* obj0
= 0 ;
16122 PyObject
* obj1
= 0 ;
16123 char * kwnames
[] = {
16124 (char *) "evtType",(char *) "tbIcon", NULL
16127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16128 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16129 if (!SWIG_IsOK(ecode1
)) {
16130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16132 arg1
= static_cast< wxEventType
>(val1
);
16133 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16134 if (!SWIG_IsOK(res2
)) {
16135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16137 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16151 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16154 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16155 return SWIG_Py_Void();
16158 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16159 return SWIG_Python_InitShadowInstance(args
);
16162 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16163 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16168 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16169 PyObject
*pyobj
= 0;
16173 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16175 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16182 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16183 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16188 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16189 PyObject
*pyobj
= 0;
16193 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16195 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16202 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16203 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16208 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16209 PyObject
*pyobj
= 0;
16213 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16215 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16222 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16223 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16228 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16229 PyObject
*pyobj
= 0;
16233 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16235 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16242 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16243 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16248 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16249 PyObject
*pyobj
= 0;
16253 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16255 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16262 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16263 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16268 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16269 PyObject
*pyobj
= 0;
16273 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16275 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16282 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16283 PyObject
*resultobj
= 0;
16284 wxColourData
*result
= 0 ;
16286 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 result
= (wxColourData
*)new wxColourData();
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16300 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16301 PyObject
*resultobj
= 0;
16302 wxColourData
*arg1
= (wxColourData
*) 0 ;
16305 PyObject
*swig_obj
[1] ;
16307 if (!args
) SWIG_fail
;
16308 swig_obj
[0] = args
;
16309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16310 if (!SWIG_IsOK(res1
)) {
16311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16313 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= SWIG_Py_Void();
16328 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16329 PyObject
*resultobj
= 0;
16330 wxColourData
*arg1
= (wxColourData
*) 0 ;
16334 PyObject
*swig_obj
[1] ;
16336 if (!args
) SWIG_fail
;
16337 swig_obj
[0] = args
;
16338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16339 if (!SWIG_IsOK(res1
)) {
16340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16342 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (bool)(arg1
)->GetChooseFull();
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16358 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16359 PyObject
*resultobj
= 0;
16360 wxColourData
*arg1
= (wxColourData
*) 0 ;
16364 PyObject
*swig_obj
[1] ;
16366 if (!args
) SWIG_fail
;
16367 swig_obj
[0] = args
;
16368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16369 if (!SWIG_IsOK(res1
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16372 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 result
= (arg1
)->GetColour();
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16386 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
= 0;
16388 wxColourData
*arg1
= (wxColourData
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char * kwnames
[] = {
16398 (char *) "self",(char *) "i", NULL
16401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16403 if (!SWIG_IsOK(res1
)) {
16404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16406 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16408 if (!SWIG_IsOK(ecode2
)) {
16409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16411 arg2
= static_cast< int >(val2
);
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (arg1
)->GetCustomColour(arg2
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16425 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
= 0;
16427 wxColourData
*arg1
= (wxColourData
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 char * kwnames
[] = {
16436 (char *) "self",(char *) "flag", NULL
16439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16441 if (!SWIG_IsOK(res1
)) {
16442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16444 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16446 if (!SWIG_IsOK(ecode2
)) {
16447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16449 arg2
= static_cast< int >(val2
);
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 (arg1
)->SetChooseFull(arg2
);
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= SWIG_Py_Void();
16463 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
= 0;
16465 wxColourData
*arg1
= (wxColourData
*) 0 ;
16466 wxColour
*arg2
= 0 ;
16470 PyObject
* obj0
= 0 ;
16471 PyObject
* obj1
= 0 ;
16472 char * kwnames
[] = {
16473 (char *) "self",(char *) "colour", NULL
16476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16478 if (!SWIG_IsOK(res1
)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16481 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 (arg1
)->SetColour((wxColour
const &)*arg2
);
16489 wxPyEndAllowThreads(__tstate
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16492 resultobj
= SWIG_Py_Void();
16499 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
= 0;
16501 wxColourData
*arg1
= (wxColourData
*) 0 ;
16503 wxColour
*arg3
= 0 ;
16509 PyObject
* obj0
= 0 ;
16510 PyObject
* obj1
= 0 ;
16511 PyObject
* obj2
= 0 ;
16512 char * kwnames
[] = {
16513 (char *) "self",(char *) "i",(char *) "colour", NULL
16516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16518 if (!SWIG_IsOK(res1
)) {
16519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16521 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16523 if (!SWIG_IsOK(ecode2
)) {
16524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16526 arg2
= static_cast< int >(val2
);
16529 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16537 resultobj
= SWIG_Py_Void();
16544 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16547 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16548 return SWIG_Py_Void();
16551 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16552 return SWIG_Python_InitShadowInstance(args
);
16555 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
= 0;
16557 wxWindow
*arg1
= (wxWindow
*) 0 ;
16558 wxColourData
*arg2
= (wxColourData
*) NULL
;
16559 wxColourDialog
*result
= 0 ;
16564 PyObject
* obj0
= 0 ;
16565 PyObject
* obj1
= 0 ;
16566 char * kwnames
[] = {
16567 (char *) "parent",(char *) "data", NULL
16570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16572 if (!SWIG_IsOK(res1
)) {
16573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16575 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16578 if (!SWIG_IsOK(res2
)) {
16579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16581 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16584 if (!wxPyCheckForApp()) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16597 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16598 PyObject
*resultobj
= 0;
16599 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16600 wxColourData
*result
= 0 ;
16603 PyObject
*swig_obj
[1] ;
16605 if (!args
) SWIG_fail
;
16606 swig_obj
[0] = args
;
16607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16608 if (!SWIG_IsOK(res1
)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16611 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16616 result
= (wxColourData
*) &_result_ref
;
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16628 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16631 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16632 return SWIG_Py_Void();
16635 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16636 return SWIG_Python_InitShadowInstance(args
);
16639 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
= 0;
16641 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16642 wxColour
const &arg2_defvalue
= wxNullColour
;
16643 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16644 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16645 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16650 bool temp3
= false ;
16651 PyObject
* obj0
= 0 ;
16652 PyObject
* obj1
= 0 ;
16653 PyObject
* obj2
= 0 ;
16654 char * kwnames
[] = {
16655 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16661 if (!SWIG_IsOK(res1
)) {
16662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16664 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16669 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16674 arg3
= wxString_in_helper(obj2
);
16675 if (arg3
== NULL
) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16700 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
= 0;
16702 wxWindow
*arg1
= (wxWindow
*) 0 ;
16703 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16704 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16705 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16706 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16707 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16708 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16709 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16710 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16711 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16712 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16713 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16714 wxDirDialog
*result
= 0 ;
16717 bool temp2
= false ;
16718 bool temp3
= false ;
16723 bool temp7
= false ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 PyObject
* obj2
= 0 ;
16727 PyObject
* obj3
= 0 ;
16728 PyObject
* obj4
= 0 ;
16729 PyObject
* obj5
= 0 ;
16730 PyObject
* obj6
= 0 ;
16731 char * kwnames
[] = {
16732 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16737 if (!SWIG_IsOK(res1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16740 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16743 arg2
= wxString_in_helper(obj1
);
16744 if (arg2
== NULL
) SWIG_fail
;
16750 arg3
= wxString_in_helper(obj2
);
16751 if (arg3
== NULL
) SWIG_fail
;
16756 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16757 if (!SWIG_IsOK(ecode4
)) {
16758 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16760 arg4
= static_cast< long >(val4
);
16765 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16771 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16776 arg7
= wxString_in_helper(obj6
);
16777 if (arg7
== NULL
) SWIG_fail
;
16782 if (!wxPyCheckForApp()) SWIG_fail
;
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16819 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16820 PyObject
*resultobj
= 0;
16821 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16825 PyObject
*swig_obj
[1] ;
16827 if (!args
) SWIG_fail
;
16828 swig_obj
[0] = args
;
16829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16830 if (!SWIG_IsOK(res1
)) {
16831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16833 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 result
= (arg1
)->GetPath();
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16853 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16854 PyObject
*resultobj
= 0;
16855 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16859 PyObject
*swig_obj
[1] ;
16861 if (!args
) SWIG_fail
;
16862 swig_obj
[0] = args
;
16863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16864 if (!SWIG_IsOK(res1
)) {
16865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16867 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= (arg1
)->GetMessage();
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16887 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
= 0;
16889 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16890 wxString
*arg2
= 0 ;
16893 bool temp2
= false ;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 char * kwnames
[] = {
16897 (char *) "self",(char *) "message", NULL
16900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16902 if (!SWIG_IsOK(res1
)) {
16903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16905 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16907 arg2
= wxString_in_helper(obj1
);
16908 if (arg2
== NULL
) SWIG_fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 (arg1
)->SetMessage((wxString
const &)*arg2
);
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16917 resultobj
= SWIG_Py_Void();
16932 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
= 0;
16934 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16935 wxString
*arg2
= 0 ;
16938 bool temp2
= false ;
16939 PyObject
* obj0
= 0 ;
16940 PyObject
* obj1
= 0 ;
16941 char * kwnames
[] = {
16942 (char *) "self",(char *) "path", NULL
16945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16947 if (!SWIG_IsOK(res1
)) {
16948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16950 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16952 arg2
= wxString_in_helper(obj1
);
16953 if (arg2
== NULL
) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 (arg1
)->SetPath((wxString
const &)*arg2
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_Py_Void();
16977 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16980 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16981 return SWIG_Py_Void();
16984 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16985 return SWIG_Python_InitShadowInstance(args
);
16988 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
= 0;
16990 wxWindow
*arg1
= (wxWindow
*) 0 ;
16991 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16992 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16993 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16994 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16995 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16996 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16997 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16998 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16999 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17000 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17001 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17002 wxFileDialog
*result
= 0 ;
17005 bool temp2
= false ;
17006 bool temp3
= false ;
17007 bool temp4
= false ;
17008 bool temp5
= false ;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 PyObject
* obj2
= 0 ;
17015 PyObject
* obj3
= 0 ;
17016 PyObject
* obj4
= 0 ;
17017 PyObject
* obj5
= 0 ;
17018 PyObject
* obj6
= 0 ;
17019 char * kwnames
[] = {
17020 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17025 if (!SWIG_IsOK(res1
)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17028 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17031 arg2
= wxString_in_helper(obj1
);
17032 if (arg2
== NULL
) SWIG_fail
;
17038 arg3
= wxString_in_helper(obj2
);
17039 if (arg3
== NULL
) SWIG_fail
;
17045 arg4
= wxString_in_helper(obj3
);
17046 if (arg4
== NULL
) SWIG_fail
;
17052 arg5
= wxString_in_helper(obj4
);
17053 if (arg5
== NULL
) SWIG_fail
;
17058 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17059 if (!SWIG_IsOK(ecode6
)) {
17060 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17062 arg6
= static_cast< long >(val6
);
17067 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17071 if (!wxPyCheckForApp()) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17116 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
= 0;
17118 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17119 wxString
*arg2
= 0 ;
17122 bool temp2
= false ;
17123 PyObject
* obj0
= 0 ;
17124 PyObject
* obj1
= 0 ;
17125 char * kwnames
[] = {
17126 (char *) "self",(char *) "message", NULL
17129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17131 if (!SWIG_IsOK(res1
)) {
17132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17134 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17136 arg2
= wxString_in_helper(obj1
);
17137 if (arg2
== NULL
) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 (arg1
)->SetMessage((wxString
const &)*arg2
);
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 resultobj
= SWIG_Py_Void();
17161 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
= 0;
17163 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17164 wxString
*arg2
= 0 ;
17167 bool temp2
= false ;
17168 PyObject
* obj0
= 0 ;
17169 PyObject
* obj1
= 0 ;
17170 char * kwnames
[] = {
17171 (char *) "self",(char *) "path", NULL
17174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17176 if (!SWIG_IsOK(res1
)) {
17177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17179 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17181 arg2
= wxString_in_helper(obj1
);
17182 if (arg2
== NULL
) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 (arg1
)->SetPath((wxString
const &)*arg2
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= SWIG_Py_Void();
17206 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
= 0;
17208 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17209 wxString
*arg2
= 0 ;
17212 bool temp2
= false ;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 char * kwnames
[] = {
17216 (char *) "self",(char *) "dir", NULL
17219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17221 if (!SWIG_IsOK(res1
)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17224 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17226 arg2
= wxString_in_helper(obj1
);
17227 if (arg2
== NULL
) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= SWIG_Py_Void();
17251 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
= 0;
17253 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17254 wxString
*arg2
= 0 ;
17257 bool temp2
= false ;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 char * kwnames
[] = {
17261 (char *) "self",(char *) "name", NULL
17264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17266 if (!SWIG_IsOK(res1
)) {
17267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17269 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17271 arg2
= wxString_in_helper(obj1
);
17272 if (arg2
== NULL
) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 (arg1
)->SetFilename((wxString
const &)*arg2
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= SWIG_Py_Void();
17296 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
= 0;
17298 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17299 wxString
*arg2
= 0 ;
17302 bool temp2
= false ;
17303 PyObject
* obj0
= 0 ;
17304 PyObject
* obj1
= 0 ;
17305 char * kwnames
[] = {
17306 (char *) "self",(char *) "wildCard", NULL
17309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17311 if (!SWIG_IsOK(res1
)) {
17312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17314 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17316 arg2
= wxString_in_helper(obj1
);
17317 if (arg2
== NULL
) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= SWIG_Py_Void();
17341 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
= 0;
17343 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 PyObject
* obj1
= 0 ;
17351 char * kwnames
[] = {
17352 (char *) "self",(char *) "filterIndex", NULL
17355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17357 if (!SWIG_IsOK(res1
)) {
17358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17360 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17362 if (!SWIG_IsOK(ecode2
)) {
17363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17365 arg2
= static_cast< int >(val2
);
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 (arg1
)->SetFilterIndex(arg2
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= SWIG_Py_Void();
17379 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17380 PyObject
*resultobj
= 0;
17381 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17385 PyObject
*swig_obj
[1] ;
17387 if (!args
) SWIG_fail
;
17388 swig_obj
[0] = args
;
17389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17390 if (!SWIG_IsOK(res1
)) {
17391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17393 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17413 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17414 PyObject
*resultobj
= 0;
17415 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17419 PyObject
*swig_obj
[1] ;
17421 if (!args
) SWIG_fail
;
17422 swig_obj
[0] = args
;
17423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17424 if (!SWIG_IsOK(res1
)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17427 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17447 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17448 PyObject
*resultobj
= 0;
17449 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17453 PyObject
*swig_obj
[1] ;
17455 if (!args
) SWIG_fail
;
17456 swig_obj
[0] = args
;
17457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17458 if (!SWIG_IsOK(res1
)) {
17459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17461 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17481 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17482 PyObject
*resultobj
= 0;
17483 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17487 PyObject
*swig_obj
[1] ;
17489 if (!args
) SWIG_fail
;
17490 swig_obj
[0] = args
;
17491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17492 if (!SWIG_IsOK(res1
)) {
17493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17495 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17515 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17516 PyObject
*resultobj
= 0;
17517 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17521 PyObject
*swig_obj
[1] ;
17523 if (!args
) SWIG_fail
;
17524 swig_obj
[0] = args
;
17525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17526 if (!SWIG_IsOK(res1
)) {
17527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17529 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17549 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17550 PyObject
*resultobj
= 0;
17551 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17555 PyObject
*swig_obj
[1] ;
17557 if (!args
) SWIG_fail
;
17558 swig_obj
[0] = args
;
17559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17560 if (!SWIG_IsOK(res1
)) {
17561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17563 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_From_int(static_cast< int >(result
));
17577 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17578 PyObject
*resultobj
= 0;
17579 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17580 PyObject
*result
= 0 ;
17583 PyObject
*swig_obj
[1] ;
17585 if (!args
) SWIG_fail
;
17586 swig_obj
[0] = args
;
17587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17588 if (!SWIG_IsOK(res1
)) {
17589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17591 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= result
;
17605 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17606 PyObject
*resultobj
= 0;
17607 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17608 PyObject
*result
= 0 ;
17611 PyObject
*swig_obj
[1] ;
17613 if (!args
) SWIG_fail
;
17614 swig_obj
[0] = args
;
17615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17616 if (!SWIG_IsOK(res1
)) {
17617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17619 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= result
;
17633 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17636 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17637 return SWIG_Py_Void();
17640 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17641 return SWIG_Python_InitShadowInstance(args
);
17644 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
= 0;
17646 wxWindow
*arg1
= (wxWindow
*) 0 ;
17647 wxString
*arg2
= 0 ;
17648 wxString
*arg3
= 0 ;
17649 int arg4
= (int) 0 ;
17650 wxString
*arg5
= (wxString
*) NULL
;
17651 long arg6
= (long) wxCHOICEDLG_STYLE
;
17652 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17653 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17654 wxMultiChoiceDialog
*result
= 0 ;
17657 bool temp2
= false ;
17658 bool temp3
= false ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 PyObject
* obj2
= 0 ;
17665 PyObject
* obj3
= 0 ;
17666 PyObject
* obj4
= 0 ;
17667 PyObject
* obj5
= 0 ;
17668 char * kwnames
[] = {
17669 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17674 if (!SWIG_IsOK(res1
)) {
17675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17677 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17679 arg2
= wxString_in_helper(obj1
);
17680 if (arg2
== NULL
) SWIG_fail
;
17684 arg3
= wxString_in_helper(obj2
);
17685 if (arg3
== NULL
) SWIG_fail
;
17690 arg4
= PyList_Size(obj3
);
17691 arg5
= wxString_LIST_helper(obj3
);
17692 if (arg5
== NULL
) SWIG_fail
;
17696 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17697 if (!SWIG_IsOK(ecode6
)) {
17698 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17700 arg6
= static_cast< long >(val6
);
17705 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17709 if (!wxPyCheckForApp()) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17725 if (arg5
) delete [] arg5
;
17738 if (arg5
) delete [] arg5
;
17744 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
= 0;
17746 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17747 wxArrayInt
*arg2
= 0 ;
17750 bool temp2
= false ;
17751 PyObject
* obj0
= 0 ;
17752 PyObject
* obj1
= 0 ;
17753 char * kwnames
[] = {
17754 (char *) "self",(char *) "selections", NULL
17757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17759 if (!SWIG_IsOK(res1
)) {
17760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17762 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17764 if (! PySequence_Check(obj1
)) {
17765 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17768 arg2
= new wxArrayInt
;
17770 int i
, len
=PySequence_Length(obj1
);
17771 for (i
=0; i
<len
; i
++) {
17772 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17773 PyObject
* number
= PyNumber_Int(item
);
17774 arg2
->Add(PyInt_AS_LONG(number
));
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= SWIG_Py_Void();
17787 if (temp2
) delete arg2
;
17792 if (temp2
) delete arg2
;
17798 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17799 PyObject
*resultobj
= 0;
17800 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17801 PyObject
*result
= 0 ;
17804 PyObject
*swig_obj
[1] ;
17806 if (!args
) SWIG_fail
;
17807 swig_obj
[0] = args
;
17808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17809 if (!SWIG_IsOK(res1
)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17812 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= result
;
17826 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17829 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17830 return SWIG_Py_Void();
17833 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17834 return SWIG_Python_InitShadowInstance(args
);
17837 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
= 0;
17839 wxWindow
*arg1
= (wxWindow
*) 0 ;
17840 wxString
*arg2
= 0 ;
17841 wxString
*arg3
= 0 ;
17843 wxString
*arg5
= (wxString
*) 0 ;
17844 long arg6
= (long) wxCHOICEDLG_STYLE
;
17845 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17846 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17847 wxSingleChoiceDialog
*result
= 0 ;
17850 bool temp2
= false ;
17851 bool temp3
= false ;
17855 PyObject
* obj0
= 0 ;
17856 PyObject
* obj1
= 0 ;
17857 PyObject
* obj2
= 0 ;
17858 PyObject
* obj3
= 0 ;
17859 PyObject
* obj4
= 0 ;
17860 PyObject
* obj5
= 0 ;
17861 char * kwnames
[] = {
17862 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17867 if (!SWIG_IsOK(res1
)) {
17868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17872 arg2
= wxString_in_helper(obj1
);
17873 if (arg2
== NULL
) SWIG_fail
;
17877 arg3
= wxString_in_helper(obj2
);
17878 if (arg3
== NULL
) SWIG_fail
;
17882 arg4
= PyList_Size(obj3
);
17883 arg5
= wxString_LIST_helper(obj3
);
17884 if (arg5
== NULL
) SWIG_fail
;
17887 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17888 if (!SWIG_IsOK(ecode6
)) {
17889 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17891 arg6
= static_cast< long >(val6
);
17896 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17900 if (!wxPyCheckForApp()) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17916 if (arg5
) delete [] arg5
;
17929 if (arg5
) delete [] arg5
;
17935 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17936 PyObject
*resultobj
= 0;
17937 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17941 PyObject
*swig_obj
[1] ;
17943 if (!args
) SWIG_fail
;
17944 swig_obj
[0] = args
;
17945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17946 if (!SWIG_IsOK(res1
)) {
17947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17949 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 result
= (int)(arg1
)->GetSelection();
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 resultobj
= SWIG_From_int(static_cast< int >(result
));
17963 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17964 PyObject
*resultobj
= 0;
17965 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17969 PyObject
*swig_obj
[1] ;
17971 if (!args
) SWIG_fail
;
17972 swig_obj
[0] = args
;
17973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17974 if (!SWIG_IsOK(res1
)) {
17975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17977 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 result
= (arg1
)->GetStringSelection();
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17997 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
= 0;
17999 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 char * kwnames
[] = {
18008 (char *) "self",(char *) "sel", NULL
18011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18013 if (!SWIG_IsOK(res1
)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18016 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18018 if (!SWIG_IsOK(ecode2
)) {
18019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18021 arg2
= static_cast< int >(val2
);
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 (arg1
)->SetSelection(arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= SWIG_Py_Void();
18035 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18038 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18039 return SWIG_Py_Void();
18042 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18043 return SWIG_Python_InitShadowInstance(args
);
18046 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
= 0;
18048 wxWindow
*arg1
= (wxWindow
*) 0 ;
18049 wxString
*arg2
= 0 ;
18050 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18051 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18052 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18053 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18054 long arg5
= (long) wxTextEntryDialogStyle
;
18055 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18056 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18057 wxTextEntryDialog
*result
= 0 ;
18060 bool temp2
= false ;
18061 bool temp3
= false ;
18062 bool temp4
= false ;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 PyObject
* obj2
= 0 ;
18069 PyObject
* obj3
= 0 ;
18070 PyObject
* obj4
= 0 ;
18071 PyObject
* obj5
= 0 ;
18072 char * kwnames
[] = {
18073 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18078 if (!SWIG_IsOK(res1
)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18081 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18083 arg2
= wxString_in_helper(obj1
);
18084 if (arg2
== NULL
) SWIG_fail
;
18089 arg3
= wxString_in_helper(obj2
);
18090 if (arg3
== NULL
) SWIG_fail
;
18096 arg4
= wxString_in_helper(obj3
);
18097 if (arg4
== NULL
) SWIG_fail
;
18102 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18103 if (!SWIG_IsOK(ecode5
)) {
18104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18106 arg5
= static_cast< long >(val5
);
18111 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18115 if (!wxPyCheckForApp()) SWIG_fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18152 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18153 PyObject
*resultobj
= 0;
18154 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18158 PyObject
*swig_obj
[1] ;
18160 if (!args
) SWIG_fail
;
18161 swig_obj
[0] = args
;
18162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18163 if (!SWIG_IsOK(res1
)) {
18164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18166 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 result
= (arg1
)->GetValue();
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18186 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
= 0;
18188 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18189 wxString
*arg2
= 0 ;
18192 bool temp2
= false ;
18193 PyObject
* obj0
= 0 ;
18194 PyObject
* obj1
= 0 ;
18195 char * kwnames
[] = {
18196 (char *) "self",(char *) "value", NULL
18199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18201 if (!SWIG_IsOK(res1
)) {
18202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18204 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18206 arg2
= wxString_in_helper(obj1
);
18207 if (arg2
== NULL
) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 (arg1
)->SetValue((wxString
const &)*arg2
);
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_Py_Void();
18231 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18234 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18235 return SWIG_Py_Void();
18238 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18239 return SWIG_Python_InitShadowInstance(args
);
18242 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18243 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18248 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18249 PyObject
*pyobj
= 0;
18253 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18255 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18262 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
= 0;
18264 wxWindow
*arg1
= (wxWindow
*) 0 ;
18265 wxString
*arg2
= 0 ;
18266 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18267 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18268 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18269 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18270 long arg5
= (long) wxTextEntryDialogStyle
;
18271 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18272 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18273 wxPasswordEntryDialog
*result
= 0 ;
18276 bool temp2
= false ;
18277 bool temp3
= false ;
18278 bool temp4
= false ;
18282 PyObject
* obj0
= 0 ;
18283 PyObject
* obj1
= 0 ;
18284 PyObject
* obj2
= 0 ;
18285 PyObject
* obj3
= 0 ;
18286 PyObject
* obj4
= 0 ;
18287 PyObject
* obj5
= 0 ;
18288 char * kwnames
[] = {
18289 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18294 if (!SWIG_IsOK(res1
)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18297 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18299 arg2
= wxString_in_helper(obj1
);
18300 if (arg2
== NULL
) SWIG_fail
;
18305 arg3
= wxString_in_helper(obj2
);
18306 if (arg3
== NULL
) SWIG_fail
;
18312 arg4
= wxString_in_helper(obj3
);
18313 if (arg4
== NULL
) SWIG_fail
;
18318 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18319 if (!SWIG_IsOK(ecode5
)) {
18320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18322 arg5
= static_cast< long >(val5
);
18327 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18367 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18370 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18371 return SWIG_Py_Void();
18374 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18375 return SWIG_Python_InitShadowInstance(args
);
18378 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18379 PyObject
*resultobj
= 0;
18380 wxFontData
*result
= 0 ;
18382 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (wxFontData
*)new wxFontData();
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18396 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18397 PyObject
*resultobj
= 0;
18398 wxFontData
*arg1
= (wxFontData
*) 0 ;
18401 PyObject
*swig_obj
[1] ;
18403 if (!args
) SWIG_fail
;
18404 swig_obj
[0] = args
;
18405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18406 if (!SWIG_IsOK(res1
)) {
18407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18409 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_Py_Void();
18424 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
= 0;
18426 wxFontData
*arg1
= (wxFontData
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 char * kwnames
[] = {
18435 (char *) "self",(char *) "enable", NULL
18438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18440 if (!SWIG_IsOK(res1
)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18443 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18444 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18445 if (!SWIG_IsOK(ecode2
)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18448 arg2
= static_cast< bool >(val2
);
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 (arg1
)->EnableEffects(arg2
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= SWIG_Py_Void();
18462 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18463 PyObject
*resultobj
= 0;
18464 wxFontData
*arg1
= (wxFontData
*) 0 ;
18468 PyObject
*swig_obj
[1] ;
18470 if (!args
) SWIG_fail
;
18471 swig_obj
[0] = args
;
18472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18473 if (!SWIG_IsOK(res1
)) {
18474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18476 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= (bool)(arg1
)->GetAllowSymbols();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18492 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18493 PyObject
*resultobj
= 0;
18494 wxFontData
*arg1
= (wxFontData
*) 0 ;
18498 PyObject
*swig_obj
[1] ;
18500 if (!args
) SWIG_fail
;
18501 swig_obj
[0] = args
;
18502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18503 if (!SWIG_IsOK(res1
)) {
18504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18506 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 result
= (arg1
)->GetColour();
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18520 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18521 PyObject
*resultobj
= 0;
18522 wxFontData
*arg1
= (wxFontData
*) 0 ;
18526 PyObject
*swig_obj
[1] ;
18528 if (!args
) SWIG_fail
;
18529 swig_obj
[0] = args
;
18530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18531 if (!SWIG_IsOK(res1
)) {
18532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18534 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 result
= (arg1
)->GetChosenFont();
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18548 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18549 PyObject
*resultobj
= 0;
18550 wxFontData
*arg1
= (wxFontData
*) 0 ;
18554 PyObject
*swig_obj
[1] ;
18556 if (!args
) SWIG_fail
;
18557 swig_obj
[0] = args
;
18558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18559 if (!SWIG_IsOK(res1
)) {
18560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18562 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 result
= (bool)(arg1
)->GetEnableEffects();
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18578 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18579 PyObject
*resultobj
= 0;
18580 wxFontData
*arg1
= (wxFontData
*) 0 ;
18584 PyObject
*swig_obj
[1] ;
18586 if (!args
) SWIG_fail
;
18587 swig_obj
[0] = args
;
18588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18589 if (!SWIG_IsOK(res1
)) {
18590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18592 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 result
= (arg1
)->GetInitialFont();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18606 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18607 PyObject
*resultobj
= 0;
18608 wxFontData
*arg1
= (wxFontData
*) 0 ;
18612 PyObject
*swig_obj
[1] ;
18614 if (!args
) SWIG_fail
;
18615 swig_obj
[0] = args
;
18616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18617 if (!SWIG_IsOK(res1
)) {
18618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18620 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (bool)(arg1
)->GetShowHelp();
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18636 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
= 0;
18638 wxFontData
*arg1
= (wxFontData
*) 0 ;
18644 PyObject
* obj0
= 0 ;
18645 PyObject
* obj1
= 0 ;
18646 char * kwnames
[] = {
18647 (char *) "self",(char *) "allowSymbols", NULL
18650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18652 if (!SWIG_IsOK(res1
)) {
18653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18655 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18656 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18657 if (!SWIG_IsOK(ecode2
)) {
18658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18660 arg2
= static_cast< bool >(val2
);
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 (arg1
)->SetAllowSymbols(arg2
);
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_Py_Void();
18674 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
= 0;
18676 wxFontData
*arg1
= (wxFontData
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 char * kwnames
[] = {
18685 (char *) "self",(char *) "font", NULL
18688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18690 if (!SWIG_IsOK(res1
)) {
18691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18693 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18695 if (!SWIG_IsOK(res2
)) {
18696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18701 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18708 resultobj
= SWIG_Py_Void();
18715 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
= 0;
18717 wxFontData
*arg1
= (wxFontData
*) 0 ;
18718 wxColour
*arg2
= 0 ;
18722 PyObject
* obj0
= 0 ;
18723 PyObject
* obj1
= 0 ;
18724 char * kwnames
[] = {
18725 (char *) "self",(char *) "colour", NULL
18728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18730 if (!SWIG_IsOK(res1
)) {
18731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18733 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18736 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 (arg1
)->SetColour((wxColour
const &)*arg2
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_Py_Void();
18751 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
= 0;
18753 wxFontData
*arg1
= (wxFontData
*) 0 ;
18759 PyObject
* obj0
= 0 ;
18760 PyObject
* obj1
= 0 ;
18761 char * kwnames
[] = {
18762 (char *) "self",(char *) "font", NULL
18765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18767 if (!SWIG_IsOK(res1
)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18770 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18772 if (!SWIG_IsOK(res2
)) {
18773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18778 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= SWIG_Py_Void();
18792 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
= 0;
18794 wxFontData
*arg1
= (wxFontData
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 PyObject
* obj1
= 0 ;
18805 PyObject
* obj2
= 0 ;
18806 char * kwnames
[] = {
18807 (char *) "self",(char *) "min",(char *) "max", NULL
18810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18812 if (!SWIG_IsOK(res1
)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18815 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18817 if (!SWIG_IsOK(ecode2
)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18820 arg2
= static_cast< int >(val2
);
18821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18822 if (!SWIG_IsOK(ecode3
)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18825 arg3
= static_cast< int >(val3
);
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 (arg1
)->SetRange(arg2
,arg3
);
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= SWIG_Py_Void();
18839 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18840 PyObject
*resultobj
= 0;
18841 wxFontData
*arg1
= (wxFontData
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 char * kwnames
[] = {
18850 (char *) "self",(char *) "showHelp", NULL
18853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18855 if (!SWIG_IsOK(res1
)) {
18856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18858 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18859 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18860 if (!SWIG_IsOK(ecode2
)) {
18861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18863 arg2
= static_cast< bool >(val2
);
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 (arg1
)->SetShowHelp(arg2
);
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18870 resultobj
= SWIG_Py_Void();
18877 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18879 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18880 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18881 return SWIG_Py_Void();
18884 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18885 return SWIG_Python_InitShadowInstance(args
);
18888 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
= 0;
18890 wxWindow
*arg1
= (wxWindow
*) 0 ;
18891 wxFontData
*arg2
= 0 ;
18892 wxFontDialog
*result
= 0 ;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 char * kwnames
[] = {
18900 (char *) "parent",(char *) "data", NULL
18903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18905 if (!SWIG_IsOK(res1
)) {
18906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18908 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18910 if (!SWIG_IsOK(res2
)) {
18911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18916 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18918 if (!wxPyCheckForApp()) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18931 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18932 PyObject
*resultobj
= 0;
18933 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18934 wxFontData
*result
= 0 ;
18937 PyObject
*swig_obj
[1] ;
18939 if (!args
) SWIG_fail
;
18940 swig_obj
[0] = args
;
18941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18942 if (!SWIG_IsOK(res1
)) {
18943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18945 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18950 result
= (wxFontData
*) &_result_ref
;
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18962 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18965 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18966 return SWIG_Py_Void();
18969 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18970 return SWIG_Python_InitShadowInstance(args
);
18973 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
= 0;
18975 wxWindow
*arg1
= (wxWindow
*) NULL
;
18976 wxFont
const &arg2_defvalue
= wxNullFont
;
18977 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18978 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18979 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18985 bool temp3
= false ;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 PyObject
* obj2
= 0 ;
18989 char * kwnames
[] = {
18990 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18996 if (!SWIG_IsOK(res1
)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18999 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19002 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19003 if (!SWIG_IsOK(res2
)) {
19004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19009 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19013 arg3
= wxString_in_helper(obj2
);
19014 if (arg3
== NULL
) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19024 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19039 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
= 0;
19041 wxWindow
*arg1
= (wxWindow
*) 0 ;
19042 wxString
*arg2
= 0 ;
19043 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19044 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19045 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19046 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19047 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19048 wxMessageDialog
*result
= 0 ;
19051 bool temp2
= false ;
19052 bool temp3
= false ;
19056 PyObject
* obj0
= 0 ;
19057 PyObject
* obj1
= 0 ;
19058 PyObject
* obj2
= 0 ;
19059 PyObject
* obj3
= 0 ;
19060 PyObject
* obj4
= 0 ;
19061 char * kwnames
[] = {
19062 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19067 if (!SWIG_IsOK(res1
)) {
19068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19072 arg2
= wxString_in_helper(obj1
);
19073 if (arg2
== NULL
) SWIG_fail
;
19078 arg3
= wxString_in_helper(obj2
);
19079 if (arg3
== NULL
) SWIG_fail
;
19084 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19085 if (!SWIG_IsOK(ecode4
)) {
19086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19088 arg4
= static_cast< long >(val4
);
19093 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19097 if (!wxPyCheckForApp()) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19126 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19129 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19130 return SWIG_Py_Void();
19133 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19134 return SWIG_Python_InitShadowInstance(args
);
19137 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
= 0;
19139 wxString
*arg1
= 0 ;
19140 wxString
*arg2
= 0 ;
19141 int arg3
= (int) 100 ;
19142 wxWindow
*arg4
= (wxWindow
*) NULL
;
19143 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19144 wxProgressDialog
*result
= 0 ;
19145 bool temp1
= false ;
19146 bool temp2
= false ;
19153 PyObject
* obj0
= 0 ;
19154 PyObject
* obj1
= 0 ;
19155 PyObject
* obj2
= 0 ;
19156 PyObject
* obj3
= 0 ;
19157 PyObject
* obj4
= 0 ;
19158 char * kwnames
[] = {
19159 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19164 arg1
= wxString_in_helper(obj0
);
19165 if (arg1
== NULL
) SWIG_fail
;
19169 arg2
= wxString_in_helper(obj1
);
19170 if (arg2
== NULL
) SWIG_fail
;
19174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19175 if (!SWIG_IsOK(ecode3
)) {
19176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19178 arg3
= static_cast< int >(val3
);
19181 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19182 if (!SWIG_IsOK(res4
)) {
19183 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19185 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19188 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19189 if (!SWIG_IsOK(ecode5
)) {
19190 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19192 arg5
= static_cast< int >(val5
);
19195 if (!wxPyCheckForApp()) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19224 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
= 0;
19226 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19228 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19229 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19230 bool *arg4
= (bool *) 0 ;
19236 bool temp3
= false ;
19238 int res4
= SWIG_TMPOBJ
;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 PyObject
* obj2
= 0 ;
19242 char * kwnames
[] = {
19243 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19249 if (!SWIG_IsOK(res1
)) {
19250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19252 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19254 if (!SWIG_IsOK(ecode2
)) {
19255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19257 arg2
= static_cast< int >(val2
);
19260 arg3
= wxString_in_helper(obj2
);
19261 if (arg3
== NULL
) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19274 if (SWIG_IsTmpObj(res4
)) {
19275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19277 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19294 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19295 PyObject
*resultobj
= 0;
19296 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19299 PyObject
*swig_obj
[1] ;
19301 if (!args
) SWIG_fail
;
19302 swig_obj
[0] = args
;
19303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19304 if (!SWIG_IsOK(res1
)) {
19305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19307 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= SWIG_Py_Void();
19321 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19323 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19324 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19325 return SWIG_Py_Void();
19328 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19329 return SWIG_Python_InitShadowInstance(args
);
19332 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
= 0;
19334 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19335 int arg2
= (int) 0 ;
19336 wxFindDialogEvent
*result
= 0 ;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 char * kwnames
[] = {
19344 (char *) "commandType",(char *) "id", NULL
19347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19349 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19350 if (!SWIG_IsOK(ecode1
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19353 arg1
= static_cast< wxEventType
>(val1
);
19356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19357 if (!SWIG_IsOK(ecode2
)) {
19358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19360 arg2
= static_cast< int >(val2
);
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19365 wxPyEndAllowThreads(__tstate
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19375 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19376 PyObject
*resultobj
= 0;
19377 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19381 PyObject
*swig_obj
[1] ;
19383 if (!args
) SWIG_fail
;
19384 swig_obj
[0] = args
;
19385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19386 if (!SWIG_IsOK(res1
)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19389 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 result
= (int)(arg1
)->GetFlags();
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= SWIG_From_int(static_cast< int >(result
));
19403 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19404 PyObject
*resultobj
= 0;
19405 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19406 wxString
*result
= 0 ;
19409 PyObject
*swig_obj
[1] ;
19411 if (!args
) SWIG_fail
;
19412 swig_obj
[0] = args
;
19413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19414 if (!SWIG_IsOK(res1
)) {
19415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19417 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 wxString
const &_result_ref
= (arg1
)->GetFindString();
19422 result
= (wxString
*) &_result_ref
;
19424 wxPyEndAllowThreads(__tstate
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19431 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19440 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19441 PyObject
*resultobj
= 0;
19442 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19443 wxString
*result
= 0 ;
19446 PyObject
*swig_obj
[1] ;
19448 if (!args
) SWIG_fail
;
19449 swig_obj
[0] = args
;
19450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19451 if (!SWIG_IsOK(res1
)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19454 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19459 result
= (wxString
*) &_result_ref
;
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19468 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19477 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19478 PyObject
*resultobj
= 0;
19479 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19480 wxFindReplaceDialog
*result
= 0 ;
19483 PyObject
*swig_obj
[1] ;
19485 if (!args
) SWIG_fail
;
19486 swig_obj
[0] = args
;
19487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19488 if (!SWIG_IsOK(res1
)) {
19489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19491 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19505 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
= 0;
19507 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 char * kwnames
[] = {
19516 (char *) "self",(char *) "flags", NULL
19519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19521 if (!SWIG_IsOK(res1
)) {
19522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19524 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19526 if (!SWIG_IsOK(ecode2
)) {
19527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19529 arg2
= static_cast< int >(val2
);
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 (arg1
)->SetFlags(arg2
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_Py_Void();
19543 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
= 0;
19545 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19546 wxString
*arg2
= 0 ;
19549 bool temp2
= false ;
19550 PyObject
* obj0
= 0 ;
19551 PyObject
* obj1
= 0 ;
19552 char * kwnames
[] = {
19553 (char *) "self",(char *) "str", NULL
19556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19558 if (!SWIG_IsOK(res1
)) {
19559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19561 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19563 arg2
= wxString_in_helper(obj1
);
19564 if (arg2
== NULL
) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 (arg1
)->SetFindString((wxString
const &)*arg2
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= SWIG_Py_Void();
19588 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
= 0;
19590 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19591 wxString
*arg2
= 0 ;
19594 bool temp2
= false ;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 char * kwnames
[] = {
19598 (char *) "self",(char *) "str", NULL
19601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19603 if (!SWIG_IsOK(res1
)) {
19604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19606 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19608 arg2
= wxString_in_helper(obj1
);
19609 if (arg2
== NULL
) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= SWIG_Py_Void();
19633 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19636 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19637 return SWIG_Py_Void();
19640 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19641 return SWIG_Python_InitShadowInstance(args
);
19644 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
= 0;
19646 int arg1
= (int) 0 ;
19647 wxFindReplaceData
*result
= 0 ;
19650 PyObject
* obj0
= 0 ;
19651 char * kwnames
[] = {
19652 (char *) "flags", NULL
19655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19657 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19658 if (!SWIG_IsOK(ecode1
)) {
19659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19661 arg1
= static_cast< int >(val1
);
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19676 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19677 PyObject
*resultobj
= 0;
19678 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19681 PyObject
*swig_obj
[1] ;
19683 if (!args
) SWIG_fail
;
19684 swig_obj
[0] = args
;
19685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19686 if (!SWIG_IsOK(res1
)) {
19687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19689 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19697 resultobj
= SWIG_Py_Void();
19704 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19705 PyObject
*resultobj
= 0;
19706 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19707 wxString
*result
= 0 ;
19710 PyObject
*swig_obj
[1] ;
19712 if (!args
) SWIG_fail
;
19713 swig_obj
[0] = args
;
19714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19715 if (!SWIG_IsOK(res1
)) {
19716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19718 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 wxString
const &_result_ref
= (arg1
)->GetFindString();
19723 result
= (wxString
*) &_result_ref
;
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19732 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19741 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19742 PyObject
*resultobj
= 0;
19743 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19744 wxString
*result
= 0 ;
19747 PyObject
*swig_obj
[1] ;
19749 if (!args
) SWIG_fail
;
19750 swig_obj
[0] = args
;
19751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19752 if (!SWIG_IsOK(res1
)) {
19753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19755 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19760 result
= (wxString
*) &_result_ref
;
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19769 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19778 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19779 PyObject
*resultobj
= 0;
19780 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19784 PyObject
*swig_obj
[1] ;
19786 if (!args
) SWIG_fail
;
19787 swig_obj
[0] = args
;
19788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19789 if (!SWIG_IsOK(res1
)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19792 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (int)(arg1
)->GetFlags();
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_From_int(static_cast< int >(result
));
19806 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
= 0;
19808 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19814 PyObject
* obj0
= 0 ;
19815 PyObject
* obj1
= 0 ;
19816 char * kwnames
[] = {
19817 (char *) "self",(char *) "flags", NULL
19820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19822 if (!SWIG_IsOK(res1
)) {
19823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19825 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19827 if (!SWIG_IsOK(ecode2
)) {
19828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19830 arg2
= static_cast< int >(val2
);
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 (arg1
)->SetFlags(arg2
);
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_Py_Void();
19844 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
= 0;
19846 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19847 wxString
*arg2
= 0 ;
19850 bool temp2
= false ;
19851 PyObject
* obj0
= 0 ;
19852 PyObject
* obj1
= 0 ;
19853 char * kwnames
[] = {
19854 (char *) "self",(char *) "str", NULL
19857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19859 if (!SWIG_IsOK(res1
)) {
19860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19862 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19864 arg2
= wxString_in_helper(obj1
);
19865 if (arg2
== NULL
) SWIG_fail
;
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 (arg1
)->SetFindString((wxString
const &)*arg2
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= SWIG_Py_Void();
19889 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
= 0;
19891 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19892 wxString
*arg2
= 0 ;
19895 bool temp2
= false ;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 char * kwnames
[] = {
19899 (char *) "self",(char *) "str", NULL
19902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19904 if (!SWIG_IsOK(res1
)) {
19905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19907 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19909 arg2
= wxString_in_helper(obj1
);
19910 if (arg2
== NULL
) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_Py_Void();
19934 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19937 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19938 return SWIG_Py_Void();
19941 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19942 return SWIG_Python_InitShadowInstance(args
);
19945 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
= 0;
19947 wxWindow
*arg1
= (wxWindow
*) 0 ;
19948 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19949 wxString
*arg3
= 0 ;
19950 int arg4
= (int) 0 ;
19951 wxFindReplaceDialog
*result
= 0 ;
19956 bool temp3
= false ;
19959 PyObject
* obj0
= 0 ;
19960 PyObject
* obj1
= 0 ;
19961 PyObject
* obj2
= 0 ;
19962 PyObject
* obj3
= 0 ;
19963 char * kwnames
[] = {
19964 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19969 if (!SWIG_IsOK(res1
)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19972 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19974 if (!SWIG_IsOK(res2
)) {
19975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19977 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19979 arg3
= wxString_in_helper(obj2
);
19980 if (arg3
== NULL
) SWIG_fail
;
19984 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19985 if (!SWIG_IsOK(ecode4
)) {
19986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19988 arg4
= static_cast< int >(val4
);
19991 if (!wxPyCheckForApp()) SWIG_fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19994 wxPyEndAllowThreads(__tstate
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20012 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20013 PyObject
*resultobj
= 0;
20014 wxFindReplaceDialog
*result
= 0 ;
20016 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20018 if (!wxPyCheckForApp()) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20031 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
= 0;
20033 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20034 wxWindow
*arg2
= (wxWindow
*) 0 ;
20035 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20036 wxString
*arg4
= 0 ;
20037 int arg5
= (int) 0 ;
20045 bool temp4
= false ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 PyObject
* obj2
= 0 ;
20051 PyObject
* obj3
= 0 ;
20052 PyObject
* obj4
= 0 ;
20053 char * kwnames
[] = {
20054 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20059 if (!SWIG_IsOK(res1
)) {
20060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20062 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20064 if (!SWIG_IsOK(res2
)) {
20065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20067 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20068 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20069 if (!SWIG_IsOK(res3
)) {
20070 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20072 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20074 arg4
= wxString_in_helper(obj3
);
20075 if (arg4
== NULL
) SWIG_fail
;
20079 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20080 if (!SWIG_IsOK(ecode5
)) {
20081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20083 arg5
= static_cast< int >(val5
);
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20108 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20109 PyObject
*resultobj
= 0;
20110 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20111 wxFindReplaceData
*result
= 0 ;
20114 PyObject
*swig_obj
[1] ;
20116 if (!args
) SWIG_fail
;
20117 swig_obj
[0] = args
;
20118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20119 if (!SWIG_IsOK(res1
)) {
20120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20122 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20136 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
= 0;
20138 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20139 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 PyObject
* obj1
= 0 ;
20146 char * kwnames
[] = {
20147 (char *) "self",(char *) "data", NULL
20150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20152 if (!SWIG_IsOK(res1
)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20155 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20157 if (!SWIG_IsOK(res2
)) {
20158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20160 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 (arg1
)->SetData(arg2
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= SWIG_Py_Void();
20174 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20177 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20178 return SWIG_Py_Void();
20181 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20182 return SWIG_Python_InitShadowInstance(args
);
20185 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
= 0;
20187 wxWindow
*arg1
= (wxWindow
*) 0 ;
20188 int arg2
= (int) (int)-1 ;
20189 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20191 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20192 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20193 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20194 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20195 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20196 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20197 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20198 wxMDIParentFrame
*result
= 0 ;
20203 bool temp3
= false ;
20208 bool temp7
= false ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 PyObject
* obj2
= 0 ;
20212 PyObject
* obj3
= 0 ;
20213 PyObject
* obj4
= 0 ;
20214 PyObject
* obj5
= 0 ;
20215 PyObject
* obj6
= 0 ;
20216 char * kwnames
[] = {
20217 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20222 if (!SWIG_IsOK(res1
)) {
20223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20228 if (!SWIG_IsOK(ecode2
)) {
20229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20231 arg2
= static_cast< int >(val2
);
20235 arg3
= wxString_in_helper(obj2
);
20236 if (arg3
== NULL
) SWIG_fail
;
20243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20253 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20254 if (!SWIG_IsOK(ecode6
)) {
20255 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20257 arg6
= static_cast< long >(val6
);
20261 arg7
= wxString_in_helper(obj6
);
20262 if (arg7
== NULL
) SWIG_fail
;
20267 if (!wxPyCheckForApp()) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20296 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20297 PyObject
*resultobj
= 0;
20298 wxMDIParentFrame
*result
= 0 ;
20300 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20302 if (!wxPyCheckForApp()) SWIG_fail
;
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20315 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
= 0;
20317 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20318 wxWindow
*arg2
= (wxWindow
*) 0 ;
20319 int arg3
= (int) (int)-1 ;
20320 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20321 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20322 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20323 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20324 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20325 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20326 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20327 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20328 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20336 bool temp4
= false ;
20341 bool temp8
= false ;
20342 PyObject
* obj0
= 0 ;
20343 PyObject
* obj1
= 0 ;
20344 PyObject
* obj2
= 0 ;
20345 PyObject
* obj3
= 0 ;
20346 PyObject
* obj4
= 0 ;
20347 PyObject
* obj5
= 0 ;
20348 PyObject
* obj6
= 0 ;
20349 PyObject
* obj7
= 0 ;
20350 char * kwnames
[] = {
20351 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20356 if (!SWIG_IsOK(res1
)) {
20357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20359 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20361 if (!SWIG_IsOK(res2
)) {
20362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20364 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20367 if (!SWIG_IsOK(ecode3
)) {
20368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20370 arg3
= static_cast< int >(val3
);
20374 arg4
= wxString_in_helper(obj3
);
20375 if (arg4
== NULL
) SWIG_fail
;
20382 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20388 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20392 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20393 if (!SWIG_IsOK(ecode7
)) {
20394 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20396 arg7
= static_cast< long >(val7
);
20400 arg8
= wxString_in_helper(obj7
);
20401 if (arg8
== NULL
) SWIG_fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20436 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20437 PyObject
*resultobj
= 0;
20438 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20441 PyObject
*swig_obj
[1] ;
20443 if (!args
) SWIG_fail
;
20444 swig_obj
[0] = args
;
20445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20446 if (!SWIG_IsOK(res1
)) {
20447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20449 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 (arg1
)->ActivateNext();
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_Py_Void();
20463 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20464 PyObject
*resultobj
= 0;
20465 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20468 PyObject
*swig_obj
[1] ;
20470 if (!args
) SWIG_fail
;
20471 swig_obj
[0] = args
;
20472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20473 if (!SWIG_IsOK(res1
)) {
20474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20476 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20479 (arg1
)->ActivatePrevious();
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= SWIG_Py_Void();
20490 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20491 PyObject
*resultobj
= 0;
20492 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20495 PyObject
*swig_obj
[1] ;
20497 if (!args
) SWIG_fail
;
20498 swig_obj
[0] = args
;
20499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20500 if (!SWIG_IsOK(res1
)) {
20501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20503 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 (arg1
)->ArrangeIcons();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_Py_Void();
20517 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20518 PyObject
*resultobj
= 0;
20519 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20522 PyObject
*swig_obj
[1] ;
20524 if (!args
) SWIG_fail
;
20525 swig_obj
[0] = args
;
20526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20527 if (!SWIG_IsOK(res1
)) {
20528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20530 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= SWIG_Py_Void();
20544 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20545 PyObject
*resultobj
= 0;
20546 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20547 wxMDIChildFrame
*result
= 0 ;
20550 PyObject
*swig_obj
[1] ;
20552 if (!args
) SWIG_fail
;
20553 swig_obj
[0] = args
;
20554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20555 if (!SWIG_IsOK(res1
)) {
20556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20558 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20574 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20575 PyObject
*resultobj
= 0;
20576 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20577 wxMDIClientWindow
*result
= 0 ;
20580 PyObject
*swig_obj
[1] ;
20582 if (!args
) SWIG_fail
;
20583 swig_obj
[0] = args
;
20584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20585 if (!SWIG_IsOK(res1
)) {
20586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20588 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20604 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20605 PyObject
*resultobj
= 0;
20606 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20607 wxWindow
*result
= 0 ;
20610 PyObject
*swig_obj
[1] ;
20612 if (!args
) SWIG_fail
;
20613 swig_obj
[0] = args
;
20614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20615 if (!SWIG_IsOK(res1
)) {
20616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20618 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 result
= (wxWindow
*)(arg1
)->GetToolBar();
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= wxPyMake_wxObject(result
, 0);
20634 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20635 PyObject
*resultobj
= 0;
20636 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20637 wxMenu
*result
= 0 ;
20640 PyObject
*swig_obj
[1] ;
20642 if (!args
) SWIG_fail
;
20643 swig_obj
[0] = args
;
20644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20645 if (!SWIG_IsOK(res1
)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20648 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= wxPyMake_wxObject(result
, 0);
20664 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
= 0;
20666 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20667 wxMenu
*arg2
= (wxMenu
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 PyObject
* obj1
= 0 ;
20674 char * kwnames
[] = {
20675 (char *) "self",(char *) "menu", NULL
20678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20680 if (!SWIG_IsOK(res1
)) {
20681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20683 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
20685 if (!SWIG_IsOK(res2
)) {
20686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20688 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 (arg1
)->SetWindowMenu(arg2
);
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_Py_Void();
20702 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
= 0;
20704 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20705 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20710 PyObject
* obj0
= 0 ;
20711 PyObject
* obj1
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "self",(char *) "orient", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20721 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20724 if (!SWIG_IsOK(ecode2
)) {
20725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20727 arg2
= static_cast< wxOrientation
>(val2
);
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 (arg1
)->Tile(arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= SWIG_Py_Void();
20742 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20745 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20746 return SWIG_Py_Void();
20749 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20750 return SWIG_Python_InitShadowInstance(args
);
20753 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
= 0;
20755 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20756 int arg2
= (int) (int)-1 ;
20757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20763 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20764 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20765 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20766 wxMDIChildFrame
*result
= 0 ;
20771 bool temp3
= false ;
20776 bool temp7
= false ;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 PyObject
* obj2
= 0 ;
20780 PyObject
* obj3
= 0 ;
20781 PyObject
* obj4
= 0 ;
20782 PyObject
* obj5
= 0 ;
20783 PyObject
* obj6
= 0 ;
20784 char * kwnames
[] = {
20785 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20790 if (!SWIG_IsOK(res1
)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20793 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20796 if (!SWIG_IsOK(ecode2
)) {
20797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20799 arg2
= static_cast< int >(val2
);
20803 arg3
= wxString_in_helper(obj2
);
20804 if (arg3
== NULL
) SWIG_fail
;
20811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20817 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20821 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20822 if (!SWIG_IsOK(ecode6
)) {
20823 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20825 arg6
= static_cast< long >(val6
);
20829 arg7
= wxString_in_helper(obj6
);
20830 if (arg7
== NULL
) SWIG_fail
;
20835 if (!wxPyCheckForApp()) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20864 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20865 PyObject
*resultobj
= 0;
20866 wxMDIChildFrame
*result
= 0 ;
20868 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20870 if (!wxPyCheckForApp()) SWIG_fail
;
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20883 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
= 0;
20885 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20886 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20887 int arg3
= (int) (int)-1 ;
20888 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20889 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20890 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20891 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20892 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20893 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20894 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20895 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20896 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20904 bool temp4
= false ;
20909 bool temp8
= false ;
20910 PyObject
* obj0
= 0 ;
20911 PyObject
* obj1
= 0 ;
20912 PyObject
* obj2
= 0 ;
20913 PyObject
* obj3
= 0 ;
20914 PyObject
* obj4
= 0 ;
20915 PyObject
* obj5
= 0 ;
20916 PyObject
* obj6
= 0 ;
20917 PyObject
* obj7
= 0 ;
20918 char * kwnames
[] = {
20919 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20924 if (!SWIG_IsOK(res1
)) {
20925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20927 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20928 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20929 if (!SWIG_IsOK(res2
)) {
20930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20932 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20935 if (!SWIG_IsOK(ecode3
)) {
20936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20938 arg3
= static_cast< int >(val3
);
20942 arg4
= wxString_in_helper(obj3
);
20943 if (arg4
== NULL
) SWIG_fail
;
20950 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20956 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20960 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20961 if (!SWIG_IsOK(ecode7
)) {
20962 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20964 arg7
= static_cast< long >(val7
);
20968 arg8
= wxString_in_helper(obj7
);
20969 if (arg8
== NULL
) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21004 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21005 PyObject
*resultobj
= 0;
21006 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21009 PyObject
*swig_obj
[1] ;
21011 if (!args
) SWIG_fail
;
21012 swig_obj
[0] = args
;
21013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21014 if (!SWIG_IsOK(res1
)) {
21015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21017 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 (arg1
)->Activate();
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= SWIG_Py_Void();
21031 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21034 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21035 return SWIG_Py_Void();
21038 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21039 return SWIG_Python_InitShadowInstance(args
);
21042 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
= 0;
21044 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21045 long arg2
= (long) 0 ;
21046 wxMDIClientWindow
*result
= 0 ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 char * kwnames
[] = {
21054 (char *) "parent",(char *) "style", NULL
21057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21059 if (!SWIG_IsOK(res1
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21062 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21064 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21065 if (!SWIG_IsOK(ecode2
)) {
21066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21068 arg2
= static_cast< long >(val2
);
21071 if (!wxPyCheckForApp()) SWIG_fail
;
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21084 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21085 PyObject
*resultobj
= 0;
21086 wxMDIClientWindow
*result
= 0 ;
21088 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21090 if (!wxPyCheckForApp()) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21103 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
= 0;
21105 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21106 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21107 long arg3
= (long) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 PyObject
* obj1
= 0 ;
21117 PyObject
* obj2
= 0 ;
21118 char * kwnames
[] = {
21119 (char *) "self",(char *) "parent",(char *) "style", NULL
21122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21124 if (!SWIG_IsOK(res1
)) {
21125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21127 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21129 if (!SWIG_IsOK(res2
)) {
21130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21132 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21134 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21135 if (!SWIG_IsOK(ecode3
)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21138 arg3
= static_cast< long >(val3
);
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21155 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21158 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21159 return SWIG_Py_Void();
21162 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21163 return SWIG_Python_InitShadowInstance(args
);
21166 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
= 0;
21168 wxWindow
*arg1
= (wxWindow
*) 0 ;
21169 int arg2
= (int) (int)-1 ;
21170 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21171 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21172 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21173 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21174 long arg5
= (long) 0 ;
21175 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21176 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21177 wxPyWindow
*result
= 0 ;
21186 bool temp6
= false ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 PyObject
* obj2
= 0 ;
21190 PyObject
* obj3
= 0 ;
21191 PyObject
* obj4
= 0 ;
21192 PyObject
* obj5
= 0 ;
21193 char * kwnames
[] = {
21194 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21199 if (!SWIG_IsOK(res1
)) {
21200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21205 if (!SWIG_IsOK(ecode2
)) {
21206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21208 arg2
= static_cast< int >(val2
);
21213 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21219 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21223 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21224 if (!SWIG_IsOK(ecode5
)) {
21225 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21227 arg5
= static_cast< long >(val5
);
21231 arg6
= wxString_in_helper(obj5
);
21232 if (arg6
== NULL
) SWIG_fail
;
21237 if (!wxPyCheckForApp()) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21258 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21259 PyObject
*resultobj
= 0;
21260 wxPyWindow
*result
= 0 ;
21262 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21264 if (!wxPyCheckForApp()) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (wxPyWindow
*)new wxPyWindow();
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21277 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
= 0;
21279 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21280 PyObject
*arg2
= (PyObject
*) 0 ;
21281 PyObject
*arg3
= (PyObject
*) 0 ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 PyObject
* obj2
= 0 ;
21287 char * kwnames
[] = {
21288 (char *) "self",(char *) "self",(char *) "_class", NULL
21291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21293 if (!SWIG_IsOK(res1
)) {
21294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21296 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_Py_Void();
21312 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
= 0;
21314 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 char * kwnames
[] = {
21322 (char *) "self",(char *) "size", NULL
21325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21327 if (!SWIG_IsOK(res1
)) {
21328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21330 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21333 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 resultobj
= SWIG_Py_Void();
21348 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
= 0;
21350 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21351 wxDC
*arg2
= (wxDC
*) 0 ;
21357 PyObject
* obj0
= 0 ;
21358 PyObject
* obj1
= 0 ;
21359 char * kwnames
[] = {
21360 (char *) "self",(char *) "dc", NULL
21363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21365 if (!SWIG_IsOK(res1
)) {
21366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21368 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21370 if (!SWIG_IsOK(res2
)) {
21371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21373 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21389 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
= 0;
21391 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21406 PyObject
* obj0
= 0 ;
21407 PyObject
* obj1
= 0 ;
21408 PyObject
* obj2
= 0 ;
21409 PyObject
* obj3
= 0 ;
21410 PyObject
* obj4
= 0 ;
21411 char * kwnames
[] = {
21412 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21417 if (!SWIG_IsOK(res1
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21420 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21422 if (!SWIG_IsOK(ecode2
)) {
21423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21425 arg2
= static_cast< int >(val2
);
21426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21427 if (!SWIG_IsOK(ecode3
)) {
21428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21430 arg3
= static_cast< int >(val3
);
21431 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21432 if (!SWIG_IsOK(ecode4
)) {
21433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21435 arg4
= static_cast< int >(val4
);
21436 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21437 if (!SWIG_IsOK(ecode5
)) {
21438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21440 arg5
= static_cast< int >(val5
);
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21447 resultobj
= SWIG_Py_Void();
21454 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21455 PyObject
*resultobj
= 0;
21456 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21461 int arg6
= (int) wxSIZE_AUTO
;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj1
= 0 ;
21476 PyObject
* obj2
= 0 ;
21477 PyObject
* obj3
= 0 ;
21478 PyObject
* obj4
= 0 ;
21479 PyObject
* obj5
= 0 ;
21480 char * kwnames
[] = {
21481 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21486 if (!SWIG_IsOK(res1
)) {
21487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21489 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21491 if (!SWIG_IsOK(ecode2
)) {
21492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21494 arg2
= static_cast< int >(val2
);
21495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21496 if (!SWIG_IsOK(ecode3
)) {
21497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21499 arg3
= static_cast< int >(val3
);
21500 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21501 if (!SWIG_IsOK(ecode4
)) {
21502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21504 arg4
= static_cast< int >(val4
);
21505 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21506 if (!SWIG_IsOK(ecode5
)) {
21507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21509 arg5
= static_cast< int >(val5
);
21511 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21512 if (!SWIG_IsOK(ecode6
)) {
21513 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21515 arg6
= static_cast< int >(val6
);
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= SWIG_Py_Void();
21530 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
= 0;
21532 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21541 PyObject
* obj0
= 0 ;
21542 PyObject
* obj1
= 0 ;
21543 PyObject
* obj2
= 0 ;
21544 char * kwnames
[] = {
21545 (char *) "self",(char *) "width",(char *) "height", NULL
21548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21550 if (!SWIG_IsOK(res1
)) {
21551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21553 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21555 if (!SWIG_IsOK(ecode2
)) {
21556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21558 arg2
= static_cast< int >(val2
);
21559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21560 if (!SWIG_IsOK(ecode3
)) {
21561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21563 arg3
= static_cast< int >(val3
);
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 (arg1
)->DoSetClientSize(arg2
,arg3
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= SWIG_Py_Void();
21577 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
= 0;
21579 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 PyObject
* obj1
= 0 ;
21590 PyObject
* obj2
= 0 ;
21591 char * kwnames
[] = {
21592 (char *) "self",(char *) "x",(char *) "y", NULL
21595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21597 if (!SWIG_IsOK(res1
)) {
21598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21600 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21602 if (!SWIG_IsOK(ecode2
)) {
21603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21605 arg2
= static_cast< int >(val2
);
21606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21607 if (!SWIG_IsOK(ecode3
)) {
21608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21610 arg3
= static_cast< int >(val3
);
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= SWIG_Py_Void();
21624 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21625 PyObject
*resultobj
= 0;
21626 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21627 int *arg2
= (int *) 0 ;
21628 int *arg3
= (int *) 0 ;
21632 int res2
= SWIG_TMPOBJ
;
21634 int res3
= SWIG_TMPOBJ
;
21635 PyObject
*swig_obj
[1] ;
21639 if (!args
) SWIG_fail
;
21640 swig_obj
[0] = args
;
21641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21642 if (!SWIG_IsOK(res1
)) {
21643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21645 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 resultobj
= SWIG_Py_Void();
21653 if (SWIG_IsTmpObj(res2
)) {
21654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21656 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21659 if (SWIG_IsTmpObj(res3
)) {
21660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21662 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21671 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21672 PyObject
*resultobj
= 0;
21673 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21674 int *arg2
= (int *) 0 ;
21675 int *arg3
= (int *) 0 ;
21679 int res2
= SWIG_TMPOBJ
;
21681 int res3
= SWIG_TMPOBJ
;
21682 PyObject
*swig_obj
[1] ;
21686 if (!args
) SWIG_fail
;
21687 swig_obj
[0] = args
;
21688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21689 if (!SWIG_IsOK(res1
)) {
21690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21692 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= SWIG_Py_Void();
21700 if (SWIG_IsTmpObj(res2
)) {
21701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21703 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21706 if (SWIG_IsTmpObj(res3
)) {
21707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21709 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21718 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21719 PyObject
*resultobj
= 0;
21720 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21721 int *arg2
= (int *) 0 ;
21722 int *arg3
= (int *) 0 ;
21726 int res2
= SWIG_TMPOBJ
;
21728 int res3
= SWIG_TMPOBJ
;
21729 PyObject
*swig_obj
[1] ;
21733 if (!args
) SWIG_fail
;
21734 swig_obj
[0] = args
;
21735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21736 if (!SWIG_IsOK(res1
)) {
21737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21739 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= SWIG_Py_Void();
21747 if (SWIG_IsTmpObj(res2
)) {
21748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21750 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21753 if (SWIG_IsTmpObj(res3
)) {
21754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21756 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21765 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21766 PyObject
*resultobj
= 0;
21767 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21771 PyObject
*swig_obj
[1] ;
21773 if (!args
) SWIG_fail
;
21774 swig_obj
[0] = args
;
21775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21776 if (!SWIG_IsOK(res1
)) {
21777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21779 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21793 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21794 PyObject
*resultobj
= 0;
21795 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21799 PyObject
*swig_obj
[1] ;
21801 if (!args
) SWIG_fail
;
21802 swig_obj
[0] = args
;
21803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21804 if (!SWIG_IsOK(res1
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21807 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21821 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21822 PyObject
*resultobj
= 0;
21823 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21824 SwigValueWrapper
<wxVisualAttributes
> result
;
21827 PyObject
*swig_obj
[1] ;
21829 if (!args
) SWIG_fail
;
21830 swig_obj
[0] = args
;
21831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21832 if (!SWIG_IsOK(res1
)) {
21833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21835 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 result
= (arg1
)->GetDefaultAttributes();
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21842 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21849 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21850 PyObject
*resultobj
= 0;
21851 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21854 PyObject
*swig_obj
[1] ;
21856 if (!args
) SWIG_fail
;
21857 swig_obj
[0] = args
;
21858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21859 if (!SWIG_IsOK(res1
)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21862 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 (arg1
)->OnInternalIdle();
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21869 resultobj
= SWIG_Py_Void();
21876 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21879 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21880 return SWIG_Py_Void();
21883 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21884 return SWIG_Python_InitShadowInstance(args
);
21887 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
= 0;
21889 wxWindow
*arg1
= (wxWindow
*) 0 ;
21890 int arg2
= (int) (int)-1 ;
21891 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21892 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21893 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21894 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21895 long arg5
= (long) 0 ;
21896 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21897 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21898 wxPyPanel
*result
= 0 ;
21907 bool temp6
= false ;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 PyObject
* obj2
= 0 ;
21911 PyObject
* obj3
= 0 ;
21912 PyObject
* obj4
= 0 ;
21913 PyObject
* obj5
= 0 ;
21914 char * kwnames
[] = {
21915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21920 if (!SWIG_IsOK(res1
)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21923 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21926 if (!SWIG_IsOK(ecode2
)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21929 arg2
= static_cast< int >(val2
);
21934 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21940 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21944 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21945 if (!SWIG_IsOK(ecode5
)) {
21946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21948 arg5
= static_cast< long >(val5
);
21952 arg6
= wxString_in_helper(obj5
);
21953 if (arg6
== NULL
) SWIG_fail
;
21958 if (!wxPyCheckForApp()) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21979 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21980 PyObject
*resultobj
= 0;
21981 wxPyPanel
*result
= 0 ;
21983 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21985 if (!wxPyCheckForApp()) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= (wxPyPanel
*)new wxPyPanel();
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21998 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
= 0;
22000 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22001 PyObject
*arg2
= (PyObject
*) 0 ;
22002 PyObject
*arg3
= (PyObject
*) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 PyObject
* obj1
= 0 ;
22007 PyObject
* obj2
= 0 ;
22008 char * kwnames
[] = {
22009 (char *) "self",(char *) "self",(char *) "_class", NULL
22012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22014 if (!SWIG_IsOK(res1
)) {
22015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22017 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= SWIG_Py_Void();
22033 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
= 0;
22035 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 char * kwnames
[] = {
22043 (char *) "self",(char *) "size", NULL
22046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22048 if (!SWIG_IsOK(res1
)) {
22049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22051 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22054 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= SWIG_Py_Void();
22069 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
= 0;
22071 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22072 wxDC
*arg2
= (wxDC
*) 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char * kwnames
[] = {
22081 (char *) "self",(char *) "dc", NULL
22084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22086 if (!SWIG_IsOK(res1
)) {
22087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22089 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22091 if (!SWIG_IsOK(res2
)) {
22092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22094 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22110 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
= 0;
22112 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 PyObject
* obj2
= 0 ;
22130 PyObject
* obj3
= 0 ;
22131 PyObject
* obj4
= 0 ;
22132 char * kwnames
[] = {
22133 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22138 if (!SWIG_IsOK(res1
)) {
22139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22141 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22143 if (!SWIG_IsOK(ecode2
)) {
22144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22146 arg2
= static_cast< int >(val2
);
22147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22148 if (!SWIG_IsOK(ecode3
)) {
22149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22151 arg3
= static_cast< int >(val3
);
22152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22153 if (!SWIG_IsOK(ecode4
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22156 arg4
= static_cast< int >(val4
);
22157 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22158 if (!SWIG_IsOK(ecode5
)) {
22159 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22161 arg5
= static_cast< int >(val5
);
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= SWIG_Py_Void();
22175 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
= 0;
22177 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22182 int arg6
= (int) wxSIZE_AUTO
;
22195 PyObject
* obj0
= 0 ;
22196 PyObject
* obj1
= 0 ;
22197 PyObject
* obj2
= 0 ;
22198 PyObject
* obj3
= 0 ;
22199 PyObject
* obj4
= 0 ;
22200 PyObject
* obj5
= 0 ;
22201 char * kwnames
[] = {
22202 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22207 if (!SWIG_IsOK(res1
)) {
22208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22210 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22212 if (!SWIG_IsOK(ecode2
)) {
22213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22215 arg2
= static_cast< int >(val2
);
22216 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22217 if (!SWIG_IsOK(ecode3
)) {
22218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22220 arg3
= static_cast< int >(val3
);
22221 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22222 if (!SWIG_IsOK(ecode4
)) {
22223 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22225 arg4
= static_cast< int >(val4
);
22226 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22227 if (!SWIG_IsOK(ecode5
)) {
22228 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22230 arg5
= static_cast< int >(val5
);
22232 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22233 if (!SWIG_IsOK(ecode6
)) {
22234 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22236 arg6
= static_cast< int >(val6
);
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= SWIG_Py_Void();
22251 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
= 0;
22253 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 PyObject
* obj2
= 0 ;
22265 char * kwnames
[] = {
22266 (char *) "self",(char *) "width",(char *) "height", NULL
22269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22271 if (!SWIG_IsOK(res1
)) {
22272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22274 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22276 if (!SWIG_IsOK(ecode2
)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22279 arg2
= static_cast< int >(val2
);
22280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22281 if (!SWIG_IsOK(ecode3
)) {
22282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22284 arg3
= static_cast< int >(val3
);
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 (arg1
)->DoSetClientSize(arg2
,arg3
);
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 resultobj
= SWIG_Py_Void();
22298 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
= 0;
22300 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22309 PyObject
* obj0
= 0 ;
22310 PyObject
* obj1
= 0 ;
22311 PyObject
* obj2
= 0 ;
22312 char * kwnames
[] = {
22313 (char *) "self",(char *) "x",(char *) "y", NULL
22316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22318 if (!SWIG_IsOK(res1
)) {
22319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22321 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22323 if (!SWIG_IsOK(ecode2
)) {
22324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22326 arg2
= static_cast< int >(val2
);
22327 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22328 if (!SWIG_IsOK(ecode3
)) {
22329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22331 arg3
= static_cast< int >(val3
);
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22338 resultobj
= SWIG_Py_Void();
22345 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22346 PyObject
*resultobj
= 0;
22347 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22348 int *arg2
= (int *) 0 ;
22349 int *arg3
= (int *) 0 ;
22353 int res2
= SWIG_TMPOBJ
;
22355 int res3
= SWIG_TMPOBJ
;
22356 PyObject
*swig_obj
[1] ;
22360 if (!args
) SWIG_fail
;
22361 swig_obj
[0] = args
;
22362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22363 if (!SWIG_IsOK(res1
)) {
22364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22366 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= SWIG_Py_Void();
22374 if (SWIG_IsTmpObj(res2
)) {
22375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22377 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22380 if (SWIG_IsTmpObj(res3
)) {
22381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22383 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22392 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22393 PyObject
*resultobj
= 0;
22394 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22395 int *arg2
= (int *) 0 ;
22396 int *arg3
= (int *) 0 ;
22400 int res2
= SWIG_TMPOBJ
;
22402 int res3
= SWIG_TMPOBJ
;
22403 PyObject
*swig_obj
[1] ;
22407 if (!args
) SWIG_fail
;
22408 swig_obj
[0] = args
;
22409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22410 if (!SWIG_IsOK(res1
)) {
22411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22413 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_Py_Void();
22421 if (SWIG_IsTmpObj(res2
)) {
22422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22424 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22427 if (SWIG_IsTmpObj(res3
)) {
22428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22430 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22439 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22440 PyObject
*resultobj
= 0;
22441 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22442 int *arg2
= (int *) 0 ;
22443 int *arg3
= (int *) 0 ;
22447 int res2
= SWIG_TMPOBJ
;
22449 int res3
= SWIG_TMPOBJ
;
22450 PyObject
*swig_obj
[1] ;
22454 if (!args
) SWIG_fail
;
22455 swig_obj
[0] = args
;
22456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22457 if (!SWIG_IsOK(res1
)) {
22458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22460 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= SWIG_Py_Void();
22468 if (SWIG_IsTmpObj(res2
)) {
22469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22471 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22474 if (SWIG_IsTmpObj(res3
)) {
22475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22477 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22486 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22487 PyObject
*resultobj
= 0;
22488 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22492 PyObject
*swig_obj
[1] ;
22494 if (!args
) SWIG_fail
;
22495 swig_obj
[0] = args
;
22496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22497 if (!SWIG_IsOK(res1
)) {
22498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22500 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22507 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22514 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22515 PyObject
*resultobj
= 0;
22516 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22520 PyObject
*swig_obj
[1] ;
22522 if (!args
) SWIG_fail
;
22523 swig_obj
[0] = args
;
22524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22525 if (!SWIG_IsOK(res1
)) {
22526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22528 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22542 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22543 PyObject
*resultobj
= 0;
22544 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22545 SwigValueWrapper
<wxVisualAttributes
> result
;
22548 PyObject
*swig_obj
[1] ;
22550 if (!args
) SWIG_fail
;
22551 swig_obj
[0] = args
;
22552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22553 if (!SWIG_IsOK(res1
)) {
22554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22556 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 result
= (arg1
)->GetDefaultAttributes();
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22570 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22571 PyObject
*resultobj
= 0;
22572 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22575 PyObject
*swig_obj
[1] ;
22577 if (!args
) SWIG_fail
;
22578 swig_obj
[0] = args
;
22579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22580 if (!SWIG_IsOK(res1
)) {
22581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22583 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 (arg1
)->OnInternalIdle();
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 resultobj
= SWIG_Py_Void();
22597 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22600 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22601 return SWIG_Py_Void();
22604 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22605 return SWIG_Python_InitShadowInstance(args
);
22608 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
= 0;
22610 wxWindow
*arg1
= (wxWindow
*) 0 ;
22611 int arg2
= (int) (int)-1 ;
22612 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22613 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22614 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22615 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22616 long arg5
= (long) 0 ;
22617 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22618 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22619 wxPyScrolledWindow
*result
= 0 ;
22628 bool temp6
= false ;
22629 PyObject
* obj0
= 0 ;
22630 PyObject
* obj1
= 0 ;
22631 PyObject
* obj2
= 0 ;
22632 PyObject
* obj3
= 0 ;
22633 PyObject
* obj4
= 0 ;
22634 PyObject
* obj5
= 0 ;
22635 char * kwnames
[] = {
22636 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22641 if (!SWIG_IsOK(res1
)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22644 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22647 if (!SWIG_IsOK(ecode2
)) {
22648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22650 arg2
= static_cast< int >(val2
);
22655 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22661 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22665 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22666 if (!SWIG_IsOK(ecode5
)) {
22667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22669 arg5
= static_cast< long >(val5
);
22673 arg6
= wxString_in_helper(obj5
);
22674 if (arg6
== NULL
) SWIG_fail
;
22679 if (!wxPyCheckForApp()) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22700 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22701 PyObject
*resultobj
= 0;
22702 wxPyScrolledWindow
*result
= 0 ;
22704 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22706 if (!wxPyCheckForApp()) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22719 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
= 0;
22721 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22722 PyObject
*arg2
= (PyObject
*) 0 ;
22723 PyObject
*arg3
= (PyObject
*) 0 ;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 PyObject
* obj2
= 0 ;
22729 char * kwnames
[] = {
22730 (char *) "self",(char *) "self",(char *) "_class", NULL
22733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22735 if (!SWIG_IsOK(res1
)) {
22736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22738 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= SWIG_Py_Void();
22754 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22755 PyObject
*resultobj
= 0;
22756 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char * kwnames
[] = {
22764 (char *) "self",(char *) "size", NULL
22767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22769 if (!SWIG_IsOK(res1
)) {
22770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22772 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= SWIG_Py_Void();
22790 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
= 0;
22792 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22793 wxDC
*arg2
= (wxDC
*) 0 ;
22799 PyObject
* obj0
= 0 ;
22800 PyObject
* obj1
= 0 ;
22801 char * kwnames
[] = {
22802 (char *) "self",(char *) "dc", NULL
22805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22807 if (!SWIG_IsOK(res1
)) {
22808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22810 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22812 if (!SWIG_IsOK(res2
)) {
22813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22815 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22831 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
= 0;
22833 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22848 PyObject
* obj0
= 0 ;
22849 PyObject
* obj1
= 0 ;
22850 PyObject
* obj2
= 0 ;
22851 PyObject
* obj3
= 0 ;
22852 PyObject
* obj4
= 0 ;
22853 char * kwnames
[] = {
22854 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22859 if (!SWIG_IsOK(res1
)) {
22860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22862 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22864 if (!SWIG_IsOK(ecode2
)) {
22865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22867 arg2
= static_cast< int >(val2
);
22868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22869 if (!SWIG_IsOK(ecode3
)) {
22870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22872 arg3
= static_cast< int >(val3
);
22873 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22874 if (!SWIG_IsOK(ecode4
)) {
22875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22877 arg4
= static_cast< int >(val4
);
22878 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22879 if (!SWIG_IsOK(ecode5
)) {
22880 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22882 arg5
= static_cast< int >(val5
);
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= SWIG_Py_Void();
22896 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
= 0;
22898 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22903 int arg6
= (int) wxSIZE_AUTO
;
22916 PyObject
* obj0
= 0 ;
22917 PyObject
* obj1
= 0 ;
22918 PyObject
* obj2
= 0 ;
22919 PyObject
* obj3
= 0 ;
22920 PyObject
* obj4
= 0 ;
22921 PyObject
* obj5
= 0 ;
22922 char * kwnames
[] = {
22923 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22931 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22933 if (!SWIG_IsOK(ecode2
)) {
22934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22936 arg2
= static_cast< int >(val2
);
22937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22938 if (!SWIG_IsOK(ecode3
)) {
22939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22941 arg3
= static_cast< int >(val3
);
22942 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22943 if (!SWIG_IsOK(ecode4
)) {
22944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22946 arg4
= static_cast< int >(val4
);
22947 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22948 if (!SWIG_IsOK(ecode5
)) {
22949 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22951 arg5
= static_cast< int >(val5
);
22953 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22954 if (!SWIG_IsOK(ecode6
)) {
22955 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22957 arg6
= static_cast< int >(val6
);
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= SWIG_Py_Void();
22972 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
= 0;
22974 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 PyObject
* obj2
= 0 ;
22986 char * kwnames
[] = {
22987 (char *) "self",(char *) "width",(char *) "height", NULL
22990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22992 if (!SWIG_IsOK(res1
)) {
22993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22995 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22997 if (!SWIG_IsOK(ecode2
)) {
22998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23000 arg2
= static_cast< int >(val2
);
23001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23002 if (!SWIG_IsOK(ecode3
)) {
23003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23005 arg3
= static_cast< int >(val3
);
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 (arg1
)->DoSetClientSize(arg2
,arg3
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_Py_Void();
23019 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
= 0;
23021 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23030 PyObject
* obj0
= 0 ;
23031 PyObject
* obj1
= 0 ;
23032 PyObject
* obj2
= 0 ;
23033 char * kwnames
[] = {
23034 (char *) "self",(char *) "x",(char *) "y", NULL
23037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23039 if (!SWIG_IsOK(res1
)) {
23040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23042 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23044 if (!SWIG_IsOK(ecode2
)) {
23045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23047 arg2
= static_cast< int >(val2
);
23048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23049 if (!SWIG_IsOK(ecode3
)) {
23050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23052 arg3
= static_cast< int >(val3
);
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= SWIG_Py_Void();
23066 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23067 PyObject
*resultobj
= 0;
23068 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23069 int *arg2
= (int *) 0 ;
23070 int *arg3
= (int *) 0 ;
23074 int res2
= SWIG_TMPOBJ
;
23076 int res3
= SWIG_TMPOBJ
;
23077 PyObject
*swig_obj
[1] ;
23081 if (!args
) SWIG_fail
;
23082 swig_obj
[0] = args
;
23083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23084 if (!SWIG_IsOK(res1
)) {
23085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23087 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 resultobj
= SWIG_Py_Void();
23095 if (SWIG_IsTmpObj(res2
)) {
23096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23098 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23099 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23101 if (SWIG_IsTmpObj(res3
)) {
23102 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23104 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23105 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23113 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23114 PyObject
*resultobj
= 0;
23115 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23116 int *arg2
= (int *) 0 ;
23117 int *arg3
= (int *) 0 ;
23121 int res2
= SWIG_TMPOBJ
;
23123 int res3
= SWIG_TMPOBJ
;
23124 PyObject
*swig_obj
[1] ;
23128 if (!args
) SWIG_fail
;
23129 swig_obj
[0] = args
;
23130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23131 if (!SWIG_IsOK(res1
)) {
23132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23134 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 resultobj
= SWIG_Py_Void();
23142 if (SWIG_IsTmpObj(res2
)) {
23143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23145 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23148 if (SWIG_IsTmpObj(res3
)) {
23149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23151 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23160 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23161 PyObject
*resultobj
= 0;
23162 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23163 int *arg2
= (int *) 0 ;
23164 int *arg3
= (int *) 0 ;
23168 int res2
= SWIG_TMPOBJ
;
23170 int res3
= SWIG_TMPOBJ
;
23171 PyObject
*swig_obj
[1] ;
23175 if (!args
) SWIG_fail
;
23176 swig_obj
[0] = args
;
23177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23178 if (!SWIG_IsOK(res1
)) {
23179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23181 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= SWIG_Py_Void();
23189 if (SWIG_IsTmpObj(res2
)) {
23190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23192 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23195 if (SWIG_IsTmpObj(res3
)) {
23196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23198 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23207 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23208 PyObject
*resultobj
= 0;
23209 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23213 PyObject
*swig_obj
[1] ;
23215 if (!args
) SWIG_fail
;
23216 swig_obj
[0] = args
;
23217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23218 if (!SWIG_IsOK(res1
)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23221 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23235 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23236 PyObject
*resultobj
= 0;
23237 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23241 PyObject
*swig_obj
[1] ;
23243 if (!args
) SWIG_fail
;
23244 swig_obj
[0] = args
;
23245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23246 if (!SWIG_IsOK(res1
)) {
23247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23249 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23263 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23264 PyObject
*resultobj
= 0;
23265 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23266 SwigValueWrapper
<wxVisualAttributes
> result
;
23269 PyObject
*swig_obj
[1] ;
23271 if (!args
) SWIG_fail
;
23272 swig_obj
[0] = args
;
23273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23274 if (!SWIG_IsOK(res1
)) {
23275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23277 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (arg1
)->GetDefaultAttributes();
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23291 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23292 PyObject
*resultobj
= 0;
23293 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23296 PyObject
*swig_obj
[1] ;
23298 if (!args
) SWIG_fail
;
23299 swig_obj
[0] = args
;
23300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23301 if (!SWIG_IsOK(res1
)) {
23302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23304 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 (arg1
)->OnInternalIdle();
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 resultobj
= SWIG_Py_Void();
23318 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23321 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23322 return SWIG_Py_Void();
23325 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23326 return SWIG_Python_InitShadowInstance(args
);
23329 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23330 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23335 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23336 PyObject
*pyobj
= 0;
23340 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23342 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23349 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23350 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23355 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23356 PyObject
*pyobj
= 0;
23360 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23362 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23369 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23370 PyObject
*resultobj
= 0;
23371 wxPrintData
*result
= 0 ;
23373 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= (wxPrintData
*)new wxPrintData();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23387 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23388 PyObject
*resultobj
= 0;
23389 wxPrintData
*arg1
= 0 ;
23390 wxPrintData
*result
= 0 ;
23394 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23396 if (!SWIG_IsOK(res1
)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23402 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23416 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23420 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23423 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23426 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23430 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23435 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23436 PyObject
*resultobj
= 0;
23437 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23440 PyObject
*swig_obj
[1] ;
23442 if (!args
) SWIG_fail
;
23443 swig_obj
[0] = args
;
23444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23445 if (!SWIG_IsOK(res1
)) {
23446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23448 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23456 resultobj
= SWIG_Py_Void();
23463 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23464 PyObject
*resultobj
= 0;
23465 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23469 PyObject
*swig_obj
[1] ;
23471 if (!args
) SWIG_fail
;
23472 swig_obj
[0] = args
;
23473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23474 if (!SWIG_IsOK(res1
)) {
23475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23477 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 result
= (int)(arg1
)->GetNoCopies();
23481 wxPyEndAllowThreads(__tstate
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23484 resultobj
= SWIG_From_int(static_cast< int >(result
));
23491 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23492 PyObject
*resultobj
= 0;
23493 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23497 PyObject
*swig_obj
[1] ;
23499 if (!args
) SWIG_fail
;
23500 swig_obj
[0] = args
;
23501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23502 if (!SWIG_IsOK(res1
)) {
23503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23505 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 result
= (bool)(arg1
)->GetCollate();
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23521 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23522 PyObject
*resultobj
= 0;
23523 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23527 PyObject
*swig_obj
[1] ;
23529 if (!args
) SWIG_fail
;
23530 swig_obj
[0] = args
;
23531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23532 if (!SWIG_IsOK(res1
)) {
23533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23535 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= (int)(arg1
)->GetOrientation();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_From_int(static_cast< int >(result
));
23549 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23550 PyObject
*resultobj
= 0;
23551 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23555 PyObject
*swig_obj
[1] ;
23557 if (!args
) SWIG_fail
;
23558 swig_obj
[0] = args
;
23559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23560 if (!SWIG_IsOK(res1
)) {
23561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23563 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 result
= (bool)(arg1
)->Ok();
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23579 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23580 PyObject
*resultobj
= 0;
23581 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23582 wxString
*result
= 0 ;
23585 PyObject
*swig_obj
[1] ;
23587 if (!args
) SWIG_fail
;
23588 swig_obj
[0] = args
;
23589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23590 if (!SWIG_IsOK(res1
)) {
23591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23593 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23598 result
= (wxString
*) &_result_ref
;
23600 wxPyEndAllowThreads(__tstate
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23605 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23607 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23616 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23617 PyObject
*resultobj
= 0;
23618 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23622 PyObject
*swig_obj
[1] ;
23624 if (!args
) SWIG_fail
;
23625 swig_obj
[0] = args
;
23626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23627 if (!SWIG_IsOK(res1
)) {
23628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23630 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 result
= (bool)(arg1
)->GetColour();
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23646 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23647 PyObject
*resultobj
= 0;
23648 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23649 wxDuplexMode result
;
23652 PyObject
*swig_obj
[1] ;
23654 if (!args
) SWIG_fail
;
23655 swig_obj
[0] = args
;
23656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23657 if (!SWIG_IsOK(res1
)) {
23658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23660 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23667 resultobj
= SWIG_From_int(static_cast< int >(result
));
23674 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23675 PyObject
*resultobj
= 0;
23676 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23677 wxPaperSize result
;
23680 PyObject
*swig_obj
[1] ;
23682 if (!args
) SWIG_fail
;
23683 swig_obj
[0] = args
;
23684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23685 if (!SWIG_IsOK(res1
)) {
23686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23688 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= SWIG_From_int(static_cast< int >(result
));
23702 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23703 PyObject
*resultobj
= 0;
23704 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23705 wxSize
*result
= 0 ;
23708 PyObject
*swig_obj
[1] ;
23710 if (!args
) SWIG_fail
;
23711 swig_obj
[0] = args
;
23712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23713 if (!SWIG_IsOK(res1
)) {
23714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23716 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23721 result
= (wxSize
*) &_result_ref
;
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23733 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23734 PyObject
*resultobj
= 0;
23735 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23739 PyObject
*swig_obj
[1] ;
23741 if (!args
) SWIG_fail
;
23742 swig_obj
[0] = args
;
23743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23744 if (!SWIG_IsOK(res1
)) {
23745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23747 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (int)(arg1
)->GetQuality();
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_From_int(static_cast< int >(result
));
23761 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23762 PyObject
*resultobj
= 0;
23763 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23767 PyObject
*swig_obj
[1] ;
23769 if (!args
) SWIG_fail
;
23770 swig_obj
[0] = args
;
23771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23772 if (!SWIG_IsOK(res1
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23775 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (wxPrintBin
)(arg1
)->GetBin();
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_From_int(static_cast< int >(result
));
23789 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23790 PyObject
*resultobj
= 0;
23791 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23792 wxPrintMode result
;
23795 PyObject
*swig_obj
[1] ;
23797 if (!args
) SWIG_fail
;
23798 swig_obj
[0] = args
;
23799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23800 if (!SWIG_IsOK(res1
)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23803 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_From_int(static_cast< int >(result
));
23817 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23818 PyObject
*resultobj
= 0;
23819 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 PyObject
* obj1
= 0 ;
23827 char * kwnames
[] = {
23828 (char *) "self",(char *) "v", NULL
23831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23836 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23838 if (!SWIG_IsOK(ecode2
)) {
23839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23841 arg2
= static_cast< int >(val2
);
23843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 (arg1
)->SetNoCopies(arg2
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_Py_Void();
23855 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
= 0;
23857 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 PyObject
* obj1
= 0 ;
23865 char * kwnames
[] = {
23866 (char *) "self",(char *) "flag", NULL
23869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23871 if (!SWIG_IsOK(res1
)) {
23872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23874 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23875 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23876 if (!SWIG_IsOK(ecode2
)) {
23877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23879 arg2
= static_cast< bool >(val2
);
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 (arg1
)->SetCollate(arg2
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= SWIG_Py_Void();
23893 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
= 0;
23895 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23901 PyObject
* obj0
= 0 ;
23902 PyObject
* obj1
= 0 ;
23903 char * kwnames
[] = {
23904 (char *) "self",(char *) "orient", NULL
23907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23909 if (!SWIG_IsOK(res1
)) {
23910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23912 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23914 if (!SWIG_IsOK(ecode2
)) {
23915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23917 arg2
= static_cast< int >(val2
);
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 (arg1
)->SetOrientation(arg2
);
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 resultobj
= SWIG_Py_Void();
23931 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
= 0;
23933 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23934 wxString
*arg2
= 0 ;
23937 bool temp2
= false ;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 char * kwnames
[] = {
23941 (char *) "self",(char *) "name", NULL
23944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23946 if (!SWIG_IsOK(res1
)) {
23947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23949 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23951 arg2
= wxString_in_helper(obj1
);
23952 if (arg2
== NULL
) SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= SWIG_Py_Void();
23976 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
= 0;
23978 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23984 PyObject
* obj0
= 0 ;
23985 PyObject
* obj1
= 0 ;
23986 char * kwnames
[] = {
23987 (char *) "self",(char *) "colour", NULL
23990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23992 if (!SWIG_IsOK(res1
)) {
23993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23995 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23996 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23997 if (!SWIG_IsOK(ecode2
)) {
23998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24000 arg2
= static_cast< bool >(val2
);
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 (arg1
)->SetColour(arg2
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= SWIG_Py_Void();
24014 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
= 0;
24016 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24017 wxDuplexMode arg2
;
24022 PyObject
* obj0
= 0 ;
24023 PyObject
* obj1
= 0 ;
24024 char * kwnames
[] = {
24025 (char *) "self",(char *) "duplex", NULL
24028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24030 if (!SWIG_IsOK(res1
)) {
24031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24033 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24035 if (!SWIG_IsOK(ecode2
)) {
24036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24038 arg2
= static_cast< wxDuplexMode
>(val2
);
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 (arg1
)->SetDuplex(arg2
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= SWIG_Py_Void();
24052 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
= 0;
24054 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24060 PyObject
* obj0
= 0 ;
24061 PyObject
* obj1
= 0 ;
24062 char * kwnames
[] = {
24063 (char *) "self",(char *) "sizeId", NULL
24066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24068 if (!SWIG_IsOK(res1
)) {
24069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24071 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24073 if (!SWIG_IsOK(ecode2
)) {
24074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24076 arg2
= static_cast< wxPaperSize
>(val2
);
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 (arg1
)->SetPaperId(arg2
);
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= SWIG_Py_Void();
24090 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
= 0;
24092 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 char * kwnames
[] = {
24100 (char *) "self",(char *) "sz", NULL
24103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24105 if (!SWIG_IsOK(res1
)) {
24106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24108 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24111 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= SWIG_Py_Void();
24126 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
= 0;
24128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 char * kwnames
[] = {
24137 (char *) "self",(char *) "quality", NULL
24140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24142 if (!SWIG_IsOK(res1
)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24145 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24147 if (!SWIG_IsOK(ecode2
)) {
24148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24150 arg2
= static_cast< int >(val2
);
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 (arg1
)->SetQuality(arg2
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24157 resultobj
= SWIG_Py_Void();
24164 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
= 0;
24166 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 char * kwnames
[] = {
24175 (char *) "self",(char *) "bin", NULL
24178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24180 if (!SWIG_IsOK(res1
)) {
24181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24183 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24185 if (!SWIG_IsOK(ecode2
)) {
24186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24188 arg2
= static_cast< wxPrintBin
>(val2
);
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 (arg1
)->SetBin(arg2
);
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_Py_Void();
24202 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
= 0;
24204 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24210 PyObject
* obj0
= 0 ;
24211 PyObject
* obj1
= 0 ;
24212 char * kwnames
[] = {
24213 (char *) "self",(char *) "printMode", NULL
24216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24218 if (!SWIG_IsOK(res1
)) {
24219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24221 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24223 if (!SWIG_IsOK(ecode2
)) {
24224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24226 arg2
= static_cast< wxPrintMode
>(val2
);
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 (arg1
)->SetPrintMode(arg2
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= SWIG_Py_Void();
24240 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24241 PyObject
*resultobj
= 0;
24242 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24246 PyObject
*swig_obj
[1] ;
24248 if (!args
) SWIG_fail
;
24249 swig_obj
[0] = args
;
24250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24251 if (!SWIG_IsOK(res1
)) {
24252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24254 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24274 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
= 0;
24276 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24277 wxString
*arg2
= 0 ;
24280 bool temp2
= false ;
24281 PyObject
* obj0
= 0 ;
24282 PyObject
* obj1
= 0 ;
24283 char * kwnames
[] = {
24284 (char *) "self",(char *) "filename", NULL
24287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24289 if (!SWIG_IsOK(res1
)) {
24290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24292 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24294 arg2
= wxString_in_helper(obj1
);
24295 if (arg2
== NULL
) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 (arg1
)->SetFilename((wxString
const &)*arg2
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= SWIG_Py_Void();
24319 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24320 PyObject
*resultobj
= 0;
24321 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24322 PyObject
*result
= 0 ;
24325 PyObject
*swig_obj
[1] ;
24327 if (!args
) SWIG_fail
;
24328 swig_obj
[0] = args
;
24329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24333 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= result
;
24347 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
= 0;
24349 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24350 PyObject
*arg2
= (PyObject
*) 0 ;
24353 PyObject
* obj0
= 0 ;
24354 PyObject
* obj1
= 0 ;
24355 char * kwnames
[] = {
24356 (char *) "self",(char *) "data", NULL
24359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24361 if (!SWIG_IsOK(res1
)) {
24362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24364 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 wxPrintData_SetPrivData(arg1
,arg2
);
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= SWIG_Py_Void();
24379 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24382 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24383 return SWIG_Py_Void();
24386 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24387 return SWIG_Python_InitShadowInstance(args
);
24390 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24391 PyObject
*resultobj
= 0;
24392 wxPageSetupDialogData
*result
= 0 ;
24394 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24408 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24409 PyObject
*resultobj
= 0;
24410 wxPageSetupDialogData
*arg1
= 0 ;
24411 wxPageSetupDialogData
*result
= 0 ;
24415 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24417 if (!SWIG_IsOK(res1
)) {
24418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24423 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24437 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24438 PyObject
*resultobj
= 0;
24439 wxPrintData
*arg1
= 0 ;
24440 wxPageSetupDialogData
*result
= 0 ;
24444 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24446 if (!SWIG_IsOK(res1
)) {
24447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24452 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24466 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24470 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24473 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24478 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24479 _v
= SWIG_CheckState(res
);
24481 if (!_v
) goto check_2
;
24482 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24487 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24491 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24496 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24497 PyObject
*resultobj
= 0;
24498 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24501 PyObject
*swig_obj
[1] ;
24503 if (!args
) SWIG_fail
;
24504 swig_obj
[0] = args
;
24505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24506 if (!SWIG_IsOK(res1
)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24509 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= SWIG_Py_Void();
24524 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
= 0;
24526 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24532 PyObject
* obj0
= 0 ;
24533 PyObject
* obj1
= 0 ;
24534 char * kwnames
[] = {
24535 (char *) "self",(char *) "flag", NULL
24538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24540 if (!SWIG_IsOK(res1
)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24543 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24544 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24545 if (!SWIG_IsOK(ecode2
)) {
24546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24548 arg2
= static_cast< bool >(val2
);
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 (arg1
)->EnableHelp(arg2
);
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_Py_Void();
24562 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
= 0;
24564 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24570 PyObject
* obj0
= 0 ;
24571 PyObject
* obj1
= 0 ;
24572 char * kwnames
[] = {
24573 (char *) "self",(char *) "flag", NULL
24576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24578 if (!SWIG_IsOK(res1
)) {
24579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24581 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24582 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24583 if (!SWIG_IsOK(ecode2
)) {
24584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24586 arg2
= static_cast< bool >(val2
);
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 (arg1
)->EnableMargins(arg2
);
24590 wxPyEndAllowThreads(__tstate
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24593 resultobj
= SWIG_Py_Void();
24600 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24601 PyObject
*resultobj
= 0;
24602 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24608 PyObject
* obj0
= 0 ;
24609 PyObject
* obj1
= 0 ;
24610 char * kwnames
[] = {
24611 (char *) "self",(char *) "flag", NULL
24614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24616 if (!SWIG_IsOK(res1
)) {
24617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24619 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24620 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24621 if (!SWIG_IsOK(ecode2
)) {
24622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24624 arg2
= static_cast< bool >(val2
);
24626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 (arg1
)->EnableOrientation(arg2
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 resultobj
= SWIG_Py_Void();
24638 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
= 0;
24640 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24646 PyObject
* obj0
= 0 ;
24647 PyObject
* obj1
= 0 ;
24648 char * kwnames
[] = {
24649 (char *) "self",(char *) "flag", NULL
24652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24654 if (!SWIG_IsOK(res1
)) {
24655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24657 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24658 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24659 if (!SWIG_IsOK(ecode2
)) {
24660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24662 arg2
= static_cast< bool >(val2
);
24664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24665 (arg1
)->EnablePaper(arg2
);
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24669 resultobj
= SWIG_Py_Void();
24676 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
= 0;
24678 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24684 PyObject
* obj0
= 0 ;
24685 PyObject
* obj1
= 0 ;
24686 char * kwnames
[] = {
24687 (char *) "self",(char *) "flag", NULL
24690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24692 if (!SWIG_IsOK(res1
)) {
24693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24695 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24696 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24697 if (!SWIG_IsOK(ecode2
)) {
24698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24700 arg2
= static_cast< bool >(val2
);
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 (arg1
)->EnablePrinter(arg2
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= SWIG_Py_Void();
24714 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24715 PyObject
*resultobj
= 0;
24716 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24720 PyObject
*swig_obj
[1] ;
24722 if (!args
) SWIG_fail
;
24723 swig_obj
[0] = args
;
24724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24725 if (!SWIG_IsOK(res1
)) {
24726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24728 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 result
= (bool)(arg1
)->GetDefaultMinMargins();
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24744 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24745 PyObject
*resultobj
= 0;
24746 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24750 PyObject
*swig_obj
[1] ;
24752 if (!args
) SWIG_fail
;
24753 swig_obj
[0] = args
;
24754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24755 if (!SWIG_IsOK(res1
)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24758 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 result
= (bool)(arg1
)->GetEnableMargins();
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24774 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24775 PyObject
*resultobj
= 0;
24776 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24780 PyObject
*swig_obj
[1] ;
24782 if (!args
) SWIG_fail
;
24783 swig_obj
[0] = args
;
24784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24785 if (!SWIG_IsOK(res1
)) {
24786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24788 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (bool)(arg1
)->GetEnableOrientation();
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24804 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24805 PyObject
*resultobj
= 0;
24806 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24810 PyObject
*swig_obj
[1] ;
24812 if (!args
) SWIG_fail
;
24813 swig_obj
[0] = args
;
24814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24815 if (!SWIG_IsOK(res1
)) {
24816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24818 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 result
= (bool)(arg1
)->GetEnablePaper();
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24834 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24835 PyObject
*resultobj
= 0;
24836 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24840 PyObject
*swig_obj
[1] ;
24842 if (!args
) SWIG_fail
;
24843 swig_obj
[0] = args
;
24844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24845 if (!SWIG_IsOK(res1
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24848 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 result
= (bool)(arg1
)->GetEnablePrinter();
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24864 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24865 PyObject
*resultobj
= 0;
24866 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24870 PyObject
*swig_obj
[1] ;
24872 if (!args
) SWIG_fail
;
24873 swig_obj
[0] = args
;
24874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24875 if (!SWIG_IsOK(res1
)) {
24876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24878 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (bool)(arg1
)->GetEnableHelp();
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24894 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24895 PyObject
*resultobj
= 0;
24896 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24900 PyObject
*swig_obj
[1] ;
24902 if (!args
) SWIG_fail
;
24903 swig_obj
[0] = args
;
24904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24905 if (!SWIG_IsOK(res1
)) {
24906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24908 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 result
= (bool)(arg1
)->GetDefaultInfo();
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24924 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24925 PyObject
*resultobj
= 0;
24926 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24930 PyObject
*swig_obj
[1] ;
24932 if (!args
) SWIG_fail
;
24933 swig_obj
[0] = args
;
24934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24935 if (!SWIG_IsOK(res1
)) {
24936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24938 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 result
= (arg1
)->GetMarginTopLeft();
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24952 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24953 PyObject
*resultobj
= 0;
24954 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24958 PyObject
*swig_obj
[1] ;
24960 if (!args
) SWIG_fail
;
24961 swig_obj
[0] = args
;
24962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24963 if (!SWIG_IsOK(res1
)) {
24964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24966 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= (arg1
)->GetMarginBottomRight();
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24980 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24981 PyObject
*resultobj
= 0;
24982 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24986 PyObject
*swig_obj
[1] ;
24988 if (!args
) SWIG_fail
;
24989 swig_obj
[0] = args
;
24990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24991 if (!SWIG_IsOK(res1
)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24994 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (arg1
)->GetMinMarginTopLeft();
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25008 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25009 PyObject
*resultobj
= 0;
25010 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25014 PyObject
*swig_obj
[1] ;
25016 if (!args
) SWIG_fail
;
25017 swig_obj
[0] = args
;
25018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25019 if (!SWIG_IsOK(res1
)) {
25020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25022 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (arg1
)->GetMinMarginBottomRight();
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25036 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25037 PyObject
*resultobj
= 0;
25038 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25039 wxPaperSize result
;
25042 PyObject
*swig_obj
[1] ;
25044 if (!args
) SWIG_fail
;
25045 swig_obj
[0] = args
;
25046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25047 if (!SWIG_IsOK(res1
)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25050 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_From_int(static_cast< int >(result
));
25064 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25065 PyObject
*resultobj
= 0;
25066 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_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25078 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= (arg1
)->GetPaperSize();
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25092 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25093 PyObject
*resultobj
= 0;
25094 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25095 wxPrintData
*result
= 0 ;
25098 PyObject
*swig_obj
[1] ;
25100 if (!args
) SWIG_fail
;
25101 swig_obj
[0] = args
;
25102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25103 if (!SWIG_IsOK(res1
)) {
25104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25106 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25111 result
= (wxPrintData
*) &_result_ref
;
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25123 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25124 PyObject
*resultobj
= 0;
25125 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25129 PyObject
*swig_obj
[1] ;
25131 if (!args
) SWIG_fail
;
25132 swig_obj
[0] = args
;
25133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25134 if (!SWIG_IsOK(res1
)) {
25135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25137 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 result
= (bool)(arg1
)->Ok();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25153 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
= 0;
25155 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25161 PyObject
* obj0
= 0 ;
25162 PyObject
* obj1
= 0 ;
25163 char * kwnames
[] = {
25164 (char *) "self",(char *) "flag", NULL
25167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25169 if (!SWIG_IsOK(res1
)) {
25170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25172 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25173 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25174 if (!SWIG_IsOK(ecode2
)) {
25175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25177 arg2
= static_cast< bool >(val2
);
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 (arg1
)->SetDefaultInfo(arg2
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= SWIG_Py_Void();
25191 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
= 0;
25193 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 PyObject
* obj1
= 0 ;
25201 char * kwnames
[] = {
25202 (char *) "self",(char *) "flag", NULL
25205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25207 if (!SWIG_IsOK(res1
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25210 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25211 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25212 if (!SWIG_IsOK(ecode2
)) {
25213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25215 arg2
= static_cast< bool >(val2
);
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 (arg1
)->SetDefaultMinMargins(arg2
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_Py_Void();
25229 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
= 0;
25231 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25232 wxPoint
*arg2
= 0 ;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 char * kwnames
[] = {
25239 (char *) "self",(char *) "pt", NULL
25242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25244 if (!SWIG_IsOK(res1
)) {
25245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25247 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25250 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= SWIG_Py_Void();
25265 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
= 0;
25267 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25268 wxPoint
*arg2
= 0 ;
25272 PyObject
* obj0
= 0 ;
25273 PyObject
* obj1
= 0 ;
25274 char * kwnames
[] = {
25275 (char *) "self",(char *) "pt", NULL
25278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25280 if (!SWIG_IsOK(res1
)) {
25281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25283 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25286 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 resultobj
= SWIG_Py_Void();
25301 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
= 0;
25303 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25304 wxPoint
*arg2
= 0 ;
25308 PyObject
* obj0
= 0 ;
25309 PyObject
* obj1
= 0 ;
25310 char * kwnames
[] = {
25311 (char *) "self",(char *) "pt", NULL
25314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25316 if (!SWIG_IsOK(res1
)) {
25317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25319 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25322 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= SWIG_Py_Void();
25337 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
= 0;
25339 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25340 wxPoint
*arg2
= 0 ;
25344 PyObject
* obj0
= 0 ;
25345 PyObject
* obj1
= 0 ;
25346 char * kwnames
[] = {
25347 (char *) "self",(char *) "pt", NULL
25350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25352 if (!SWIG_IsOK(res1
)) {
25353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25355 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25358 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= SWIG_Py_Void();
25373 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
= 0;
25375 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25381 PyObject
* obj0
= 0 ;
25382 PyObject
* obj1
= 0 ;
25383 char * kwnames
[] = {
25384 (char *) "self",(char *) "id", NULL
25387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25389 if (!SWIG_IsOK(res1
)) {
25390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25392 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25394 if (!SWIG_IsOK(ecode2
)) {
25395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25397 arg2
= static_cast< wxPaperSize
>(val2
);
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 (arg1
)->SetPaperId(arg2
);
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= SWIG_Py_Void();
25411 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
= 0;
25413 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25418 PyObject
* obj0
= 0 ;
25419 PyObject
* obj1
= 0 ;
25420 char * kwnames
[] = {
25421 (char *) "self",(char *) "size", NULL
25424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25426 if (!SWIG_IsOK(res1
)) {
25427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25429 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25432 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= SWIG_Py_Void();
25447 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
= 0;
25449 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25450 wxPrintData
*arg2
= 0 ;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 char * kwnames
[] = {
25458 (char *) "self",(char *) "printData", NULL
25461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25463 if (!SWIG_IsOK(res1
)) {
25464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25466 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25468 if (!SWIG_IsOK(res2
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25474 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 resultobj
= SWIG_Py_Void();
25488 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25489 PyObject
*resultobj
= 0;
25490 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25493 PyObject
*swig_obj
[1] ;
25495 if (!args
) SWIG_fail
;
25496 swig_obj
[0] = args
;
25497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25498 if (!SWIG_IsOK(res1
)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25501 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25504 (arg1
)->CalculateIdFromPaperSize();
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_Py_Void();
25515 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25516 PyObject
*resultobj
= 0;
25517 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25520 PyObject
*swig_obj
[1] ;
25522 if (!args
) SWIG_fail
;
25523 swig_obj
[0] = args
;
25524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25525 if (!SWIG_IsOK(res1
)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25528 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 (arg1
)->CalculatePaperSizeFromId();
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25535 resultobj
= SWIG_Py_Void();
25542 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25546 return SWIG_Py_Void();
25549 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25550 return SWIG_Python_InitShadowInstance(args
);
25553 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
= 0;
25555 wxWindow
*arg1
= (wxWindow
*) 0 ;
25556 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25557 wxPageSetupDialog
*result
= 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char * kwnames
[] = {
25565 (char *) "parent",(char *) "data", NULL
25568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25570 if (!SWIG_IsOK(res1
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25573 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25576 if (!SWIG_IsOK(res2
)) {
25577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25579 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25582 if (!wxPyCheckForApp()) SWIG_fail
;
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25595 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25596 PyObject
*resultobj
= 0;
25597 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25600 PyObject
*swig_obj
[1] ;
25602 if (!args
) SWIG_fail
;
25603 swig_obj
[0] = args
;
25604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25605 if (!SWIG_IsOK(res1
)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25608 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= SWIG_Py_Void();
25623 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25624 PyObject
*resultobj
= 0;
25625 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25626 wxPageSetupDialogData
*result
= 0 ;
25629 PyObject
*swig_obj
[1] ;
25631 if (!args
) SWIG_fail
;
25632 swig_obj
[0] = args
;
25633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25634 if (!SWIG_IsOK(res1
)) {
25635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25637 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25642 result
= (wxPageSetupDialogData
*) &_result_ref
;
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25654 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25655 PyObject
*resultobj
= 0;
25656 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25657 wxPageSetupDialogData
*result
= 0 ;
25660 PyObject
*swig_obj
[1] ;
25662 if (!args
) SWIG_fail
;
25663 swig_obj
[0] = args
;
25664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25665 if (!SWIG_IsOK(res1
)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25668 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25673 result
= (wxPageSetupDialogData
*) &_result_ref
;
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25685 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25686 PyObject
*resultobj
= 0;
25687 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25691 PyObject
*swig_obj
[1] ;
25693 if (!args
) SWIG_fail
;
25694 swig_obj
[0] = args
;
25695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25696 if (!SWIG_IsOK(res1
)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25699 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 result
= (int)(arg1
)->ShowModal();
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= SWIG_From_int(static_cast< int >(result
));
25713 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25715 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25716 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25717 return SWIG_Py_Void();
25720 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25721 return SWIG_Python_InitShadowInstance(args
);
25724 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25725 PyObject
*resultobj
= 0;
25726 wxPrintDialogData
*result
= 0 ;
25728 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25742 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25743 PyObject
*resultobj
= 0;
25744 wxPrintData
*arg1
= 0 ;
25745 wxPrintDialogData
*result
= 0 ;
25749 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25751 if (!SWIG_IsOK(res1
)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25757 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25771 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25772 PyObject
*resultobj
= 0;
25773 wxPrintDialogData
*arg1
= 0 ;
25774 wxPrintDialogData
*result
= 0 ;
25778 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25780 if (!SWIG_IsOK(res1
)) {
25781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25786 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25800 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25804 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25807 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25812 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25813 _v
= SWIG_CheckState(res
);
25815 if (!_v
) goto check_2
;
25816 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25821 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25825 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25830 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25831 PyObject
*resultobj
= 0;
25832 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25835 PyObject
*swig_obj
[1] ;
25837 if (!args
) SWIG_fail
;
25838 swig_obj
[0] = args
;
25839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25840 if (!SWIG_IsOK(res1
)) {
25841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25843 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 resultobj
= SWIG_Py_Void();
25858 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25859 PyObject
*resultobj
= 0;
25860 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25864 PyObject
*swig_obj
[1] ;
25866 if (!args
) SWIG_fail
;
25867 swig_obj
[0] = args
;
25868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25869 if (!SWIG_IsOK(res1
)) {
25870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25872 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25879 resultobj
= SWIG_From_int(static_cast< int >(result
));
25886 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25887 PyObject
*resultobj
= 0;
25888 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25892 PyObject
*swig_obj
[1] ;
25894 if (!args
) SWIG_fail
;
25895 swig_obj
[0] = args
;
25896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25897 if (!SWIG_IsOK(res1
)) {
25898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25900 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_From_int(static_cast< int >(result
));
25914 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25915 PyObject
*resultobj
= 0;
25916 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25920 PyObject
*swig_obj
[1] ;
25922 if (!args
) SWIG_fail
;
25923 swig_obj
[0] = args
;
25924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25925 if (!SWIG_IsOK(res1
)) {
25926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25928 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_From_int(static_cast< int >(result
));
25942 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25943 PyObject
*resultobj
= 0;
25944 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25948 PyObject
*swig_obj
[1] ;
25950 if (!args
) SWIG_fail
;
25951 swig_obj
[0] = args
;
25952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25953 if (!SWIG_IsOK(res1
)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25956 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= SWIG_From_int(static_cast< int >(result
));
25970 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25971 PyObject
*resultobj
= 0;
25972 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25976 PyObject
*swig_obj
[1] ;
25978 if (!args
) SWIG_fail
;
25979 swig_obj
[0] = args
;
25980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25981 if (!SWIG_IsOK(res1
)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25984 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= SWIG_From_int(static_cast< int >(result
));
25998 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25999 PyObject
*resultobj
= 0;
26000 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26004 PyObject
*swig_obj
[1] ;
26006 if (!args
) SWIG_fail
;
26007 swig_obj
[0] = args
;
26008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26009 if (!SWIG_IsOK(res1
)) {
26010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26012 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26028 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26029 PyObject
*resultobj
= 0;
26030 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26034 PyObject
*swig_obj
[1] ;
26036 if (!args
) SWIG_fail
;
26037 swig_obj
[0] = args
;
26038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26039 if (!SWIG_IsOK(res1
)) {
26040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26042 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26058 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26059 PyObject
*resultobj
= 0;
26060 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26064 PyObject
*swig_obj
[1] ;
26066 if (!args
) SWIG_fail
;
26067 swig_obj
[0] = args
;
26068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26069 if (!SWIG_IsOK(res1
)) {
26070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26072 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26088 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26089 PyObject
*resultobj
= 0;
26090 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26094 PyObject
*swig_obj
[1] ;
26096 if (!args
) SWIG_fail
;
26097 swig_obj
[0] = args
;
26098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26099 if (!SWIG_IsOK(res1
)) {
26100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26102 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26105 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26118 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26119 PyObject
*resultobj
= 0;
26120 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26126 PyObject
* obj0
= 0 ;
26127 PyObject
* obj1
= 0 ;
26128 char * kwnames
[] = {
26129 (char *) "self",(char *) "v", NULL
26132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26134 if (!SWIG_IsOK(res1
)) {
26135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26137 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26139 if (!SWIG_IsOK(ecode2
)) {
26140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26142 arg2
= static_cast< int >(val2
);
26144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26145 (arg1
)->SetFromPage(arg2
);
26146 wxPyEndAllowThreads(__tstate
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= SWIG_Py_Void();
26156 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
= 0;
26158 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26164 PyObject
* obj0
= 0 ;
26165 PyObject
* obj1
= 0 ;
26166 char * kwnames
[] = {
26167 (char *) "self",(char *) "v", NULL
26170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26172 if (!SWIG_IsOK(res1
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26175 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26177 if (!SWIG_IsOK(ecode2
)) {
26178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26180 arg2
= static_cast< int >(val2
);
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 (arg1
)->SetToPage(arg2
);
26184 wxPyEndAllowThreads(__tstate
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= SWIG_Py_Void();
26194 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
= 0;
26196 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26202 PyObject
* obj0
= 0 ;
26203 PyObject
* obj1
= 0 ;
26204 char * kwnames
[] = {
26205 (char *) "self",(char *) "v", NULL
26208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26210 if (!SWIG_IsOK(res1
)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26213 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26215 if (!SWIG_IsOK(ecode2
)) {
26216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26218 arg2
= static_cast< int >(val2
);
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 (arg1
)->SetMinPage(arg2
);
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26225 resultobj
= SWIG_Py_Void();
26232 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26233 PyObject
*resultobj
= 0;
26234 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 PyObject
* obj1
= 0 ;
26242 char * kwnames
[] = {
26243 (char *) "self",(char *) "v", NULL
26246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26248 if (!SWIG_IsOK(res1
)) {
26249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26251 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26253 if (!SWIG_IsOK(ecode2
)) {
26254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26256 arg2
= static_cast< int >(val2
);
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 (arg1
)->SetMaxPage(arg2
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= SWIG_Py_Void();
26270 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
= 0;
26272 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26278 PyObject
* obj0
= 0 ;
26279 PyObject
* obj1
= 0 ;
26280 char * kwnames
[] = {
26281 (char *) "self",(char *) "v", NULL
26284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26286 if (!SWIG_IsOK(res1
)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26289 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26291 if (!SWIG_IsOK(ecode2
)) {
26292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26294 arg2
= static_cast< int >(val2
);
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 (arg1
)->SetNoCopies(arg2
);
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_Py_Void();
26308 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
= 0;
26310 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 char * kwnames
[] = {
26319 (char *) "self",(char *) "flag", NULL
26322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26324 if (!SWIG_IsOK(res1
)) {
26325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26327 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26328 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26329 if (!SWIG_IsOK(ecode2
)) {
26330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26332 arg2
= static_cast< bool >(val2
);
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 (arg1
)->SetAllPages(arg2
);
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26339 resultobj
= SWIG_Py_Void();
26346 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
= 0;
26348 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26354 PyObject
* obj0
= 0 ;
26355 PyObject
* obj1
= 0 ;
26356 char * kwnames
[] = {
26357 (char *) "self",(char *) "flag", NULL
26360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26362 if (!SWIG_IsOK(res1
)) {
26363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26365 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26366 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26367 if (!SWIG_IsOK(ecode2
)) {
26368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26370 arg2
= static_cast< bool >(val2
);
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 (arg1
)->SetSelection(arg2
);
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_Py_Void();
26384 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
= 0;
26386 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26392 PyObject
* obj0
= 0 ;
26393 PyObject
* obj1
= 0 ;
26394 char * kwnames
[] = {
26395 (char *) "self",(char *) "flag", NULL
26398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26400 if (!SWIG_IsOK(res1
)) {
26401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26403 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26404 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26405 if (!SWIG_IsOK(ecode2
)) {
26406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26408 arg2
= static_cast< bool >(val2
);
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 (arg1
)->SetCollate(arg2
);
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26415 resultobj
= SWIG_Py_Void();
26422 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26423 PyObject
*resultobj
= 0;
26424 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26430 PyObject
* obj0
= 0 ;
26431 PyObject
* obj1
= 0 ;
26432 char * kwnames
[] = {
26433 (char *) "self",(char *) "flag", NULL
26436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26438 if (!SWIG_IsOK(res1
)) {
26439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26441 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26442 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26443 if (!SWIG_IsOK(ecode2
)) {
26444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26446 arg2
= static_cast< bool >(val2
);
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 (arg1
)->SetPrintToFile(arg2
);
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= SWIG_Py_Void();
26460 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26461 PyObject
*resultobj
= 0;
26462 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26468 PyObject
* obj0
= 0 ;
26469 PyObject
* obj1
= 0 ;
26470 char * kwnames
[] = {
26471 (char *) "self",(char *) "flag", NULL
26474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26476 if (!SWIG_IsOK(res1
)) {
26477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26479 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26480 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26481 if (!SWIG_IsOK(ecode2
)) {
26482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26484 arg2
= static_cast< bool >(val2
);
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 (arg1
)->EnablePrintToFile(arg2
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 resultobj
= SWIG_Py_Void();
26498 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
= 0;
26500 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26506 PyObject
* obj0
= 0 ;
26507 PyObject
* obj1
= 0 ;
26508 char * kwnames
[] = {
26509 (char *) "self",(char *) "flag", NULL
26512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26514 if (!SWIG_IsOK(res1
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26517 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26518 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26519 if (!SWIG_IsOK(ecode2
)) {
26520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26522 arg2
= static_cast< bool >(val2
);
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26525 (arg1
)->EnableSelection(arg2
);
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26529 resultobj
= SWIG_Py_Void();
26536 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26537 PyObject
*resultobj
= 0;
26538 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26544 PyObject
* obj0
= 0 ;
26545 PyObject
* obj1
= 0 ;
26546 char * kwnames
[] = {
26547 (char *) "self",(char *) "flag", NULL
26550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26552 if (!SWIG_IsOK(res1
)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26555 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26556 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26557 if (!SWIG_IsOK(ecode2
)) {
26558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26560 arg2
= static_cast< bool >(val2
);
26562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26563 (arg1
)->EnablePageNumbers(arg2
);
26564 wxPyEndAllowThreads(__tstate
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26567 resultobj
= SWIG_Py_Void();
26574 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26575 PyObject
*resultobj
= 0;
26576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26582 PyObject
* obj0
= 0 ;
26583 PyObject
* obj1
= 0 ;
26584 char * kwnames
[] = {
26585 (char *) "self",(char *) "flag", NULL
26588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26590 if (!SWIG_IsOK(res1
)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26593 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26594 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26595 if (!SWIG_IsOK(ecode2
)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26598 arg2
= static_cast< bool >(val2
);
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26601 (arg1
)->EnableHelp(arg2
);
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26605 resultobj
= SWIG_Py_Void();
26612 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26613 PyObject
*resultobj
= 0;
26614 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26618 PyObject
*swig_obj
[1] ;
26620 if (!args
) SWIG_fail
;
26621 swig_obj
[0] = args
;
26622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26623 if (!SWIG_IsOK(res1
)) {
26624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26626 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26642 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26643 PyObject
*resultobj
= 0;
26644 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26648 PyObject
*swig_obj
[1] ;
26650 if (!args
) SWIG_fail
;
26651 swig_obj
[0] = args
;
26652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26653 if (!SWIG_IsOK(res1
)) {
26654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26656 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26659 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26660 wxPyEndAllowThreads(__tstate
);
26661 if (PyErr_Occurred()) SWIG_fail
;
26664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26672 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26673 PyObject
*resultobj
= 0;
26674 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26678 PyObject
*swig_obj
[1] ;
26680 if (!args
) SWIG_fail
;
26681 swig_obj
[0] = args
;
26682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26683 if (!SWIG_IsOK(res1
)) {
26684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26686 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26690 wxPyEndAllowThreads(__tstate
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26702 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26703 PyObject
*resultobj
= 0;
26704 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26708 PyObject
*swig_obj
[1] ;
26710 if (!args
) SWIG_fail
;
26711 swig_obj
[0] = args
;
26712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26713 if (!SWIG_IsOK(res1
)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26716 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26720 wxPyEndAllowThreads(__tstate
);
26721 if (PyErr_Occurred()) SWIG_fail
;
26724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26732 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26733 PyObject
*resultobj
= 0;
26734 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26738 PyObject
*swig_obj
[1] ;
26740 if (!args
) SWIG_fail
;
26741 swig_obj
[0] = args
;
26742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26743 if (!SWIG_IsOK(res1
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26746 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26762 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26763 PyObject
*resultobj
= 0;
26764 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26765 wxPrintData
*result
= 0 ;
26768 PyObject
*swig_obj
[1] ;
26770 if (!args
) SWIG_fail
;
26771 swig_obj
[0] = args
;
26772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26773 if (!SWIG_IsOK(res1
)) {
26774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26776 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26781 result
= (wxPrintData
*) &_result_ref
;
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26793 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
= 0;
26795 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26796 wxPrintData
*arg2
= 0 ;
26801 PyObject
* obj0
= 0 ;
26802 PyObject
* obj1
= 0 ;
26803 char * kwnames
[] = {
26804 (char *) "self",(char *) "printData", NULL
26807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26809 if (!SWIG_IsOK(res1
)) {
26810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26812 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26813 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26814 if (!SWIG_IsOK(res2
)) {
26815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26820 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= SWIG_Py_Void();
26834 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26837 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26838 return SWIG_Py_Void();
26841 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26842 return SWIG_Python_InitShadowInstance(args
);
26845 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
= 0;
26847 wxWindow
*arg1
= (wxWindow
*) 0 ;
26848 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26849 wxPrintDialog
*result
= 0 ;
26854 PyObject
* obj0
= 0 ;
26855 PyObject
* obj1
= 0 ;
26856 char * kwnames
[] = {
26857 (char *) "parent",(char *) "data", NULL
26860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26862 if (!SWIG_IsOK(res1
)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26867 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26868 if (!SWIG_IsOK(res2
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26871 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26874 if (!wxPyCheckForApp()) SWIG_fail
;
26875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26876 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26877 wxPyEndAllowThreads(__tstate
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26887 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26888 PyObject
*resultobj
= 0;
26889 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26892 PyObject
*swig_obj
[1] ;
26894 if (!args
) SWIG_fail
;
26895 swig_obj
[0] = args
;
26896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26897 if (!SWIG_IsOK(res1
)) {
26898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26900 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26908 resultobj
= SWIG_Py_Void();
26915 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26916 PyObject
*resultobj
= 0;
26917 wxPrintDialog
*arg1
= (wxPrintDialog
*) 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_wxPrintDialog
, 0 | 0 );
26926 if (!SWIG_IsOK(res1
)) {
26927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26929 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= (int)(arg1
)->ShowModal();
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26936 resultobj
= SWIG_From_int(static_cast< int >(result
));
26943 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26944 PyObject
*resultobj
= 0;
26945 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26946 wxPrintDialogData
*result
= 0 ;
26949 PyObject
*swig_obj
[1] ;
26951 if (!args
) SWIG_fail
;
26952 swig_obj
[0] = args
;
26953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26954 if (!SWIG_IsOK(res1
)) {
26955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26957 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26962 result
= (wxPrintDialogData
*) &_result_ref
;
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26974 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26975 PyObject
*resultobj
= 0;
26976 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26977 wxPrintData
*result
= 0 ;
26980 PyObject
*swig_obj
[1] ;
26982 if (!args
) SWIG_fail
;
26983 swig_obj
[0] = args
;
26984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26985 if (!SWIG_IsOK(res1
)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26988 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26993 result
= (wxPrintData
*) &_result_ref
;
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27005 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27006 PyObject
*resultobj
= 0;
27007 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27011 PyObject
*swig_obj
[1] ;
27013 if (!args
) SWIG_fail
;
27014 swig_obj
[0] = args
;
27015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27016 if (!SWIG_IsOK(res1
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27019 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 result
= (wxDC
*)(arg1
)->GetPrintDC();
27023 wxPyEndAllowThreads(__tstate
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27027 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27035 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27038 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27039 return SWIG_Py_Void();
27042 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27043 return SWIG_Python_InitShadowInstance(args
);
27046 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27047 PyObject
*resultobj
= 0;
27048 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27049 wxPrinter
*result
= 0 ;
27052 PyObject
* obj0
= 0 ;
27053 char * kwnames
[] = {
27054 (char *) "data", NULL
27057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27060 if (!SWIG_IsOK(res1
)) {
27061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27063 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27066 if (!wxPyCheckForApp()) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (wxPrinter
*)new wxPrinter(arg1
);
27069 wxPyEndAllowThreads(__tstate
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27079 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27080 PyObject
*resultobj
= 0;
27081 wxPrinter
*arg1
= (wxPrinter
*) 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_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27089 if (!SWIG_IsOK(res1
)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27092 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 resultobj
= SWIG_Py_Void();
27107 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27108 PyObject
*resultobj
= 0;
27109 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27110 wxWindow
*arg2
= (wxWindow
*) 0 ;
27111 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27112 wxWindow
*result
= 0 ;
27119 PyObject
* obj0
= 0 ;
27120 PyObject
* obj1
= 0 ;
27121 PyObject
* obj2
= 0 ;
27122 char * kwnames
[] = {
27123 (char *) "self",(char *) "parent",(char *) "printout", NULL
27126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27128 if (!SWIG_IsOK(res1
)) {
27129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27131 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27133 if (!SWIG_IsOK(res2
)) {
27134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27136 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27137 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27138 if (!SWIG_IsOK(res3
)) {
27139 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27141 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= wxPyMake_wxObject(result
, 0);
27157 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27158 PyObject
*resultobj
= 0;
27159 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27160 wxWindow
*arg2
= (wxWindow
*) 0 ;
27161 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27162 wxString
*arg4
= 0 ;
27169 bool temp4
= false ;
27170 PyObject
* obj0
= 0 ;
27171 PyObject
* obj1
= 0 ;
27172 PyObject
* obj2
= 0 ;
27173 PyObject
* obj3
= 0 ;
27174 char * kwnames
[] = {
27175 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27180 if (!SWIG_IsOK(res1
)) {
27181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27183 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27185 if (!SWIG_IsOK(res2
)) {
27186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27188 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27189 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27190 if (!SWIG_IsOK(res3
)) {
27191 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27193 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27195 arg4
= wxString_in_helper(obj3
);
27196 if (arg4
== NULL
) SWIG_fail
;
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= SWIG_Py_Void();
27220 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27221 PyObject
*resultobj
= 0;
27222 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27223 wxWindow
*arg2
= (wxWindow
*) 0 ;
27229 PyObject
* obj0
= 0 ;
27230 PyObject
* obj1
= 0 ;
27231 char * kwnames
[] = {
27232 (char *) "self",(char *) "parent", NULL
27235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27237 if (!SWIG_IsOK(res1
)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27240 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27242 if (!SWIG_IsOK(res2
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27245 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 result
= (bool)(arg1
)->Setup(arg2
);
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27261 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
= 0;
27263 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27264 wxWindow
*arg2
= (wxWindow
*) 0 ;
27265 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27266 bool arg4
= (bool) true ;
27276 PyObject
* obj0
= 0 ;
27277 PyObject
* obj1
= 0 ;
27278 PyObject
* obj2
= 0 ;
27279 PyObject
* obj3
= 0 ;
27280 char * kwnames
[] = {
27281 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27286 if (!SWIG_IsOK(res1
)) {
27287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27289 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27291 if (!SWIG_IsOK(res2
)) {
27292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27294 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27295 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27296 if (!SWIG_IsOK(res3
)) {
27297 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27299 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27301 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27302 if (!SWIG_IsOK(ecode4
)) {
27303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27305 arg4
= static_cast< bool >(val4
);
27308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27309 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27322 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
= 0;
27324 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27325 wxWindow
*arg2
= (wxWindow
*) 0 ;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 char * kwnames
[] = {
27334 (char *) "self",(char *) "parent", NULL
27337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27339 if (!SWIG_IsOK(res1
)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27342 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27343 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27344 if (!SWIG_IsOK(res2
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27347 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27355 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27363 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27364 PyObject
*resultobj
= 0;
27365 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27366 wxPrintDialogData
*result
= 0 ;
27369 PyObject
*swig_obj
[1] ;
27371 if (!args
) SWIG_fail
;
27372 swig_obj
[0] = args
;
27373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27374 if (!SWIG_IsOK(res1
)) {
27375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27377 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27381 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27382 result
= (wxPrintDialogData
*) &_result_ref
;
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27394 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27395 PyObject
*resultobj
= 0;
27396 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27400 PyObject
*swig_obj
[1] ;
27402 if (!args
) SWIG_fail
;
27403 swig_obj
[0] = args
;
27404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27405 if (!SWIG_IsOK(res1
)) {
27406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27408 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= (bool)(arg1
)->GetAbort();
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27424 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27425 PyObject
*resultobj
= 0;
27426 wxPrinterError result
;
27428 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 result
= (wxPrinterError
)wxPrinter::GetLastError();
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27435 resultobj
= SWIG_From_int(static_cast< int >(result
));
27442 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27445 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27446 return SWIG_Py_Void();
27449 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27450 return SWIG_Python_InitShadowInstance(args
);
27453 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27454 PyObject
*resultobj
= 0;
27455 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27456 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27457 wxPyPrintout
*result
= 0 ;
27458 bool temp1
= false ;
27459 PyObject
* obj0
= 0 ;
27460 char * kwnames
[] = {
27461 (char *) "title", NULL
27464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27467 arg1
= wxString_in_helper(obj0
);
27468 if (arg1
== NULL
) SWIG_fail
;
27473 if (!wxPyCheckForApp()) SWIG_fail
;
27474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27475 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27494 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27495 PyObject
*resultobj
= 0;
27496 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27499 PyObject
*swig_obj
[1] ;
27501 if (!args
) SWIG_fail
;
27502 swig_obj
[0] = args
;
27503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27504 if (!SWIG_IsOK(res1
)) {
27505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27507 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27512 wxPyEndAllowThreads(__tstate
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27515 resultobj
= SWIG_Py_Void();
27522 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
= 0;
27524 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27525 PyObject
*arg2
= (PyObject
*) 0 ;
27526 PyObject
*arg3
= (PyObject
*) 0 ;
27529 PyObject
* obj0
= 0 ;
27530 PyObject
* obj1
= 0 ;
27531 PyObject
* obj2
= 0 ;
27532 char * kwnames
[] = {
27533 (char *) "self",(char *) "self",(char *) "_class", NULL
27536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27538 if (!SWIG_IsOK(res1
)) {
27539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27541 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 resultobj
= SWIG_Py_Void();
27557 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27558 PyObject
*resultobj
= 0;
27559 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27563 PyObject
*swig_obj
[1] ;
27565 if (!args
) SWIG_fail
;
27566 swig_obj
[0] = args
;
27567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27568 if (!SWIG_IsOK(res1
)) {
27569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27571 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27591 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27592 PyObject
*resultobj
= 0;
27593 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27597 PyObject
*swig_obj
[1] ;
27599 if (!args
) SWIG_fail
;
27600 swig_obj
[0] = args
;
27601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27602 if (!SWIG_IsOK(res1
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27605 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27608 result
= (wxDC
*)(arg1
)->GetDC();
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27613 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27621 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27622 PyObject
*resultobj
= 0;
27623 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27624 wxDC
*arg2
= (wxDC
*) 0 ;
27629 PyObject
* obj0
= 0 ;
27630 PyObject
* obj1
= 0 ;
27631 char * kwnames
[] = {
27632 (char *) "self",(char *) "dc", NULL
27635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27637 if (!SWIG_IsOK(res1
)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27640 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27642 if (!SWIG_IsOK(res2
)) {
27643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27645 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27648 (arg1
)->SetDC(arg2
);
27649 wxPyEndAllowThreads(__tstate
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= SWIG_Py_Void();
27659 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27660 PyObject
*resultobj
= 0;
27661 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27670 PyObject
* obj0
= 0 ;
27671 PyObject
* obj1
= 0 ;
27672 PyObject
* obj2
= 0 ;
27673 char * kwnames
[] = {
27674 (char *) "self",(char *) "w",(char *) "h", NULL
27677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27679 if (!SWIG_IsOK(res1
)) {
27680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27682 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27684 if (!SWIG_IsOK(ecode2
)) {
27685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27687 arg2
= static_cast< int >(val2
);
27688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27689 if (!SWIG_IsOK(ecode3
)) {
27690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27692 arg3
= static_cast< int >(val3
);
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27699 resultobj
= SWIG_Py_Void();
27706 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27707 PyObject
*resultobj
= 0;
27708 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27709 int *arg2
= (int *) 0 ;
27710 int *arg3
= (int *) 0 ;
27714 int res2
= SWIG_TMPOBJ
;
27716 int res3
= SWIG_TMPOBJ
;
27717 PyObject
*swig_obj
[1] ;
27721 if (!args
) SWIG_fail
;
27722 swig_obj
[0] = args
;
27723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27724 if (!SWIG_IsOK(res1
)) {
27725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27727 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= SWIG_Py_Void();
27735 if (SWIG_IsTmpObj(res2
)) {
27736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27738 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27741 if (SWIG_IsTmpObj(res3
)) {
27742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27744 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27753 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
= 0;
27755 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27764 PyObject
* obj0
= 0 ;
27765 PyObject
* obj1
= 0 ;
27766 PyObject
* obj2
= 0 ;
27767 char * kwnames
[] = {
27768 (char *) "self",(char *) "w",(char *) "h", NULL
27771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27773 if (!SWIG_IsOK(res1
)) {
27774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27776 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27778 if (!SWIG_IsOK(ecode2
)) {
27779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27781 arg2
= static_cast< int >(val2
);
27782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27783 if (!SWIG_IsOK(ecode3
)) {
27784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27786 arg3
= static_cast< int >(val3
);
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= SWIG_Py_Void();
27800 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27801 PyObject
*resultobj
= 0;
27802 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27803 int *arg2
= (int *) 0 ;
27804 int *arg3
= (int *) 0 ;
27808 int res2
= SWIG_TMPOBJ
;
27810 int res3
= SWIG_TMPOBJ
;
27811 PyObject
*swig_obj
[1] ;
27815 if (!args
) SWIG_fail
;
27816 swig_obj
[0] = args
;
27817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27818 if (!SWIG_IsOK(res1
)) {
27819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27821 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27828 resultobj
= SWIG_Py_Void();
27829 if (SWIG_IsTmpObj(res2
)) {
27830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27832 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27835 if (SWIG_IsTmpObj(res3
)) {
27836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27838 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27847 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27848 PyObject
*resultobj
= 0;
27849 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27858 PyObject
* obj0
= 0 ;
27859 PyObject
* obj1
= 0 ;
27860 PyObject
* obj2
= 0 ;
27861 char * kwnames
[] = {
27862 (char *) "self",(char *) "x",(char *) "y", NULL
27865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27867 if (!SWIG_IsOK(res1
)) {
27868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27870 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27872 if (!SWIG_IsOK(ecode2
)) {
27873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27875 arg2
= static_cast< int >(val2
);
27876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27877 if (!SWIG_IsOK(ecode3
)) {
27878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27880 arg3
= static_cast< int >(val3
);
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 (arg1
)->SetPPIScreen(arg2
,arg3
);
27884 wxPyEndAllowThreads(__tstate
);
27885 if (PyErr_Occurred()) SWIG_fail
;
27887 resultobj
= SWIG_Py_Void();
27894 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27895 PyObject
*resultobj
= 0;
27896 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27897 int *arg2
= (int *) 0 ;
27898 int *arg3
= (int *) 0 ;
27902 int res2
= SWIG_TMPOBJ
;
27904 int res3
= SWIG_TMPOBJ
;
27905 PyObject
*swig_obj
[1] ;
27909 if (!args
) SWIG_fail
;
27910 swig_obj
[0] = args
;
27911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27912 if (!SWIG_IsOK(res1
)) {
27913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27915 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 (arg1
)->GetPPIScreen(arg2
,arg3
);
27919 wxPyEndAllowThreads(__tstate
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27922 resultobj
= SWIG_Py_Void();
27923 if (SWIG_IsTmpObj(res2
)) {
27924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27926 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27929 if (SWIG_IsTmpObj(res3
)) {
27930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27932 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27941 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27942 PyObject
*resultobj
= 0;
27943 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27952 PyObject
* obj0
= 0 ;
27953 PyObject
* obj1
= 0 ;
27954 PyObject
* obj2
= 0 ;
27955 char * kwnames
[] = {
27956 (char *) "self",(char *) "x",(char *) "y", NULL
27959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27961 if (!SWIG_IsOK(res1
)) {
27962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27964 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27966 if (!SWIG_IsOK(ecode2
)) {
27967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27969 arg2
= static_cast< int >(val2
);
27970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27971 if (!SWIG_IsOK(ecode3
)) {
27972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27974 arg3
= static_cast< int >(val3
);
27976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27977 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 resultobj
= SWIG_Py_Void();
27988 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27989 PyObject
*resultobj
= 0;
27990 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27991 int *arg2
= (int *) 0 ;
27992 int *arg3
= (int *) 0 ;
27996 int res2
= SWIG_TMPOBJ
;
27998 int res3
= SWIG_TMPOBJ
;
27999 PyObject
*swig_obj
[1] ;
28003 if (!args
) SWIG_fail
;
28004 swig_obj
[0] = args
;
28005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28006 if (!SWIG_IsOK(res1
)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28009 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28012 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= SWIG_Py_Void();
28017 if (SWIG_IsTmpObj(res2
)) {
28018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28020 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28023 if (SWIG_IsTmpObj(res3
)) {
28024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28026 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28035 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28036 PyObject
*resultobj
= 0;
28037 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28041 PyObject
*swig_obj
[1] ;
28043 if (!args
) SWIG_fail
;
28044 swig_obj
[0] = args
;
28045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28046 if (!SWIG_IsOK(res1
)) {
28047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28049 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 result
= (bool)(arg1
)->IsPreview();
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28065 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
= 0;
28067 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28073 PyObject
* obj0
= 0 ;
28074 PyObject
* obj1
= 0 ;
28075 char * kwnames
[] = {
28076 (char *) "self",(char *) "p", NULL
28079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28081 if (!SWIG_IsOK(res1
)) {
28082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28084 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28085 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28086 if (!SWIG_IsOK(ecode2
)) {
28087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28089 arg2
= static_cast< bool >(val2
);
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 (arg1
)->SetIsPreview(arg2
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= SWIG_Py_Void();
28103 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
= 0;
28105 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28115 PyObject
* obj0
= 0 ;
28116 PyObject
* obj1
= 0 ;
28117 PyObject
* obj2
= 0 ;
28118 char * kwnames
[] = {
28119 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28124 if (!SWIG_IsOK(res1
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28127 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28129 if (!SWIG_IsOK(ecode2
)) {
28130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28132 arg2
= static_cast< int >(val2
);
28133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28134 if (!SWIG_IsOK(ecode3
)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28137 arg3
= static_cast< int >(val3
);
28139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28153 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28154 PyObject
*resultobj
= 0;
28155 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28158 PyObject
*swig_obj
[1] ;
28160 if (!args
) SWIG_fail
;
28161 swig_obj
[0] = args
;
28162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28163 if (!SWIG_IsOK(res1
)) {
28164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28166 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 (arg1
)->OnEndDocument();
28170 wxPyEndAllowThreads(__tstate
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= SWIG_Py_Void();
28180 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28181 PyObject
*resultobj
= 0;
28182 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28185 PyObject
*swig_obj
[1] ;
28187 if (!args
) SWIG_fail
;
28188 swig_obj
[0] = args
;
28189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28190 if (!SWIG_IsOK(res1
)) {
28191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28193 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28196 (arg1
)->OnBeginPrinting();
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= SWIG_Py_Void();
28207 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28208 PyObject
*resultobj
= 0;
28209 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28212 PyObject
*swig_obj
[1] ;
28214 if (!args
) SWIG_fail
;
28215 swig_obj
[0] = args
;
28216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28217 if (!SWIG_IsOK(res1
)) {
28218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28220 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 (arg1
)->OnEndPrinting();
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= SWIG_Py_Void();
28234 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28235 PyObject
*resultobj
= 0;
28236 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28239 PyObject
*swig_obj
[1] ;
28241 if (!args
) SWIG_fail
;
28242 swig_obj
[0] = args
;
28243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28247 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 (arg1
)->OnPreparePrinting();
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28254 resultobj
= SWIG_Py_Void();
28261 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28262 PyObject
*resultobj
= 0;
28263 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28270 PyObject
* obj0
= 0 ;
28271 PyObject
* obj1
= 0 ;
28272 char * kwnames
[] = {
28273 (char *) "self",(char *) "page", NULL
28276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28278 if (!SWIG_IsOK(res1
)) {
28279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28281 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28283 if (!SWIG_IsOK(ecode2
)) {
28284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28286 arg2
= static_cast< int >(val2
);
28288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28289 result
= (bool)(arg1
)->HasPage(arg2
);
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28302 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28303 PyObject
*resultobj
= 0;
28304 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28305 int *arg2
= (int *) 0 ;
28306 int *arg3
= (int *) 0 ;
28307 int *arg4
= (int *) 0 ;
28308 int *arg5
= (int *) 0 ;
28312 int res2
= SWIG_TMPOBJ
;
28314 int res3
= SWIG_TMPOBJ
;
28316 int res4
= SWIG_TMPOBJ
;
28318 int res5
= SWIG_TMPOBJ
;
28319 PyObject
*swig_obj
[1] ;
28325 if (!args
) SWIG_fail
;
28326 swig_obj
[0] = args
;
28327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28328 if (!SWIG_IsOK(res1
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28331 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28335 wxPyEndAllowThreads(__tstate
);
28336 if (PyErr_Occurred()) SWIG_fail
;
28338 resultobj
= SWIG_Py_Void();
28339 if (SWIG_IsTmpObj(res2
)) {
28340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28342 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28345 if (SWIG_IsTmpObj(res3
)) {
28346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28348 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28351 if (SWIG_IsTmpObj(res4
)) {
28352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28354 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28357 if (SWIG_IsTmpObj(res5
)) {
28358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28360 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28369 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28372 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28373 return SWIG_Py_Void();
28376 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28377 return SWIG_Python_InitShadowInstance(args
);
28380 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
= 0;
28382 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28383 wxWindow
*arg2
= (wxWindow
*) 0 ;
28384 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28385 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28386 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28387 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28388 long arg5
= (long) 0 ;
28389 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28390 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28391 wxPreviewCanvas
*result
= 0 ;
28400 bool temp6
= false ;
28401 PyObject
* obj0
= 0 ;
28402 PyObject
* obj1
= 0 ;
28403 PyObject
* obj2
= 0 ;
28404 PyObject
* obj3
= 0 ;
28405 PyObject
* obj4
= 0 ;
28406 PyObject
* obj5
= 0 ;
28407 char * kwnames
[] = {
28408 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28413 if (!SWIG_IsOK(res1
)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28416 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28418 if (!SWIG_IsOK(res2
)) {
28419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28421 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28425 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28431 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28435 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28436 if (!SWIG_IsOK(ecode5
)) {
28437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28439 arg5
= static_cast< long >(val5
);
28443 arg6
= wxString_in_helper(obj5
);
28444 if (arg6
== NULL
) SWIG_fail
;
28449 if (!wxPyCheckForApp()) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28470 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28473 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28474 return SWIG_Py_Void();
28477 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28478 return SWIG_Python_InitShadowInstance(args
);
28481 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
= 0;
28483 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28484 wxFrame
*arg2
= (wxFrame
*) 0 ;
28485 wxString
*arg3
= 0 ;
28486 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28487 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28488 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28489 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28490 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28491 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28492 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28493 wxPreviewFrame
*result
= 0 ;
28497 bool temp3
= false ;
28502 bool temp7
= false ;
28503 PyObject
* obj0
= 0 ;
28504 PyObject
* obj1
= 0 ;
28505 PyObject
* obj2
= 0 ;
28506 PyObject
* obj3
= 0 ;
28507 PyObject
* obj4
= 0 ;
28508 PyObject
* obj5
= 0 ;
28509 PyObject
* obj6
= 0 ;
28510 char * kwnames
[] = {
28511 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28515 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28516 if (!SWIG_IsOK(res1
)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28520 if (!SWIG_IsOK(res2
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28523 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28525 arg3
= wxString_in_helper(obj2
);
28526 if (arg3
== NULL
) SWIG_fail
;
28532 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28538 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28542 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28543 if (!SWIG_IsOK(ecode6
)) {
28544 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28546 arg6
= static_cast< long >(val6
);
28550 arg7
= wxString_in_helper(obj6
);
28551 if (arg7
== NULL
) SWIG_fail
;
28556 if (!wxPyCheckForApp()) SWIG_fail
;
28557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28558 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28585 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28586 PyObject
*resultobj
= 0;
28587 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28590 PyObject
*swig_obj
[1] ;
28592 if (!args
) SWIG_fail
;
28593 swig_obj
[0] = args
;
28594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28595 if (!SWIG_IsOK(res1
)) {
28596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28598 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 (arg1
)->Initialize();
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28605 resultobj
= SWIG_Py_Void();
28612 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28613 PyObject
*resultobj
= 0;
28614 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28617 PyObject
*swig_obj
[1] ;
28619 if (!args
) SWIG_fail
;
28620 swig_obj
[0] = args
;
28621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28622 if (!SWIG_IsOK(res1
)) {
28623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28625 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 (arg1
)->CreateControlBar();
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= SWIG_Py_Void();
28639 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28640 PyObject
*resultobj
= 0;
28641 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28644 PyObject
*swig_obj
[1] ;
28646 if (!args
) SWIG_fail
;
28647 swig_obj
[0] = args
;
28648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28649 if (!SWIG_IsOK(res1
)) {
28650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28652 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 (arg1
)->CreateCanvas();
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28659 resultobj
= SWIG_Py_Void();
28666 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28667 PyObject
*resultobj
= 0;
28668 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28669 wxPreviewControlBar
*result
= 0 ;
28672 PyObject
*swig_obj
[1] ;
28674 if (!args
) SWIG_fail
;
28675 swig_obj
[0] = args
;
28676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28677 if (!SWIG_IsOK(res1
)) {
28678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28680 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28684 wxPyEndAllowThreads(__tstate
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28694 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28697 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28698 return SWIG_Py_Void();
28701 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28702 return SWIG_Python_InitShadowInstance(args
);
28705 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
= 0;
28707 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28709 wxWindow
*arg3
= (wxWindow
*) 0 ;
28710 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28711 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28712 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28713 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28714 long arg6
= (long) wxTAB_TRAVERSAL
;
28715 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28716 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28717 wxPreviewControlBar
*result
= 0 ;
28728 bool temp7
= false ;
28729 PyObject
* obj0
= 0 ;
28730 PyObject
* obj1
= 0 ;
28731 PyObject
* obj2
= 0 ;
28732 PyObject
* obj3
= 0 ;
28733 PyObject
* obj4
= 0 ;
28734 PyObject
* obj5
= 0 ;
28735 PyObject
* obj6
= 0 ;
28736 char * kwnames
[] = {
28737 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28742 if (!SWIG_IsOK(res1
)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28745 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28746 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28747 if (!SWIG_IsOK(ecode2
)) {
28748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28750 arg2
= static_cast< long >(val2
);
28751 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28752 if (!SWIG_IsOK(res3
)) {
28753 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28755 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28759 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28765 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28769 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28770 if (!SWIG_IsOK(ecode6
)) {
28771 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28773 arg6
= static_cast< long >(val6
);
28777 arg7
= wxString_in_helper(obj6
);
28778 if (arg7
== NULL
) SWIG_fail
;
28783 if (!wxPyCheckForApp()) SWIG_fail
;
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28804 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28805 PyObject
*resultobj
= 0;
28806 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28810 PyObject
*swig_obj
[1] ;
28812 if (!args
) SWIG_fail
;
28813 swig_obj
[0] = args
;
28814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28815 if (!SWIG_IsOK(res1
)) {
28816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28818 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= (int)(arg1
)->GetZoomControl();
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 resultobj
= SWIG_From_int(static_cast< int >(result
));
28832 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
= 0;
28834 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28840 PyObject
* obj0
= 0 ;
28841 PyObject
* obj1
= 0 ;
28842 char * kwnames
[] = {
28843 (char *) "self",(char *) "zoom", NULL
28846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28848 if (!SWIG_IsOK(res1
)) {
28849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28851 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28853 if (!SWIG_IsOK(ecode2
)) {
28854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28856 arg2
= static_cast< int >(val2
);
28858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28859 (arg1
)->SetZoomControl(arg2
);
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28863 resultobj
= SWIG_Py_Void();
28870 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28871 PyObject
*resultobj
= 0;
28872 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28873 wxPrintPreview
*result
= 0 ;
28876 PyObject
*swig_obj
[1] ;
28878 if (!args
) SWIG_fail
;
28879 swig_obj
[0] = args
;
28880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28881 if (!SWIG_IsOK(res1
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28884 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28898 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28899 PyObject
*resultobj
= 0;
28900 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28903 PyObject
*swig_obj
[1] ;
28905 if (!args
) SWIG_fail
;
28906 swig_obj
[0] = args
;
28907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28908 if (!SWIG_IsOK(res1
)) {
28909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28911 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 resultobj
= SWIG_Py_Void();
28925 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28926 PyObject
*resultobj
= 0;
28927 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28930 PyObject
*swig_obj
[1] ;
28932 if (!args
) SWIG_fail
;
28933 swig_obj
[0] = args
;
28934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28935 if (!SWIG_IsOK(res1
)) {
28936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28938 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28941 (arg1
)->OnPrevious();
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 resultobj
= SWIG_Py_Void();
28952 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28953 PyObject
*resultobj
= 0;
28954 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28957 PyObject
*swig_obj
[1] ;
28959 if (!args
) SWIG_fail
;
28960 swig_obj
[0] = args
;
28961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28962 if (!SWIG_IsOK(res1
)) {
28963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28965 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= SWIG_Py_Void();
28979 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28980 PyObject
*resultobj
= 0;
28981 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28984 PyObject
*swig_obj
[1] ;
28986 if (!args
) SWIG_fail
;
28987 swig_obj
[0] = args
;
28988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28989 if (!SWIG_IsOK(res1
)) {
28990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28992 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 resultobj
= SWIG_Py_Void();
29006 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29007 PyObject
*resultobj
= 0;
29008 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29011 PyObject
*swig_obj
[1] ;
29013 if (!args
) SWIG_fail
;
29014 swig_obj
[0] = args
;
29015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29016 if (!SWIG_IsOK(res1
)) {
29017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29019 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= SWIG_Py_Void();
29033 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29036 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29037 return SWIG_Py_Void();
29040 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29041 return SWIG_Python_InitShadowInstance(args
);
29044 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29045 PyObject
*resultobj
= 0;
29046 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29047 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29048 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29049 wxPrintPreview
*result
= 0 ;
29055 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29056 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29057 if (!SWIG_IsOK(res1
)) {
29058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29060 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29061 if (!SWIG_IsOK(res2
)) {
29062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29065 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29066 if (!SWIG_IsOK(res3
)) {
29067 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29069 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29072 if (!wxPyCheckForApp()) SWIG_fail
;
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29085 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29086 PyObject
*resultobj
= 0;
29087 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29088 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29089 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29090 wxPrintPreview
*result
= 0 ;
29096 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29097 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29098 if (!SWIG_IsOK(res1
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29101 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29102 if (!SWIG_IsOK(res2
)) {
29103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29105 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29106 if (!SWIG_IsOK(res3
)) {
29107 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29109 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29111 if (!wxPyCheckForApp()) SWIG_fail
;
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29113 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29124 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29128 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29130 if ((argc
>= 2) && (argc
<= 3)) {
29135 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29136 _v
= SWIG_CheckState(res
);
29138 if (!_v
) goto check_1
;
29140 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29145 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29149 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29154 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29155 PyObject
*resultobj
= 0;
29156 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29159 PyObject
*swig_obj
[1] ;
29161 if (!args
) SWIG_fail
;
29162 swig_obj
[0] = args
;
29163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29164 if (!SWIG_IsOK(res1
)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29167 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 wxPyEndAllowThreads(__tstate
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29175 resultobj
= SWIG_Py_Void();
29182 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29183 PyObject
*resultobj
= 0;
29184 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29191 PyObject
* obj0
= 0 ;
29192 PyObject
* obj1
= 0 ;
29193 char * kwnames
[] = {
29194 (char *) "self",(char *) "pageNum", NULL
29197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29199 if (!SWIG_IsOK(res1
)) {
29200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29202 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29204 if (!SWIG_IsOK(ecode2
)) {
29205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29207 arg2
= static_cast< int >(val2
);
29209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29210 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29211 wxPyEndAllowThreads(__tstate
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29223 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29224 PyObject
*resultobj
= 0;
29225 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29229 PyObject
*swig_obj
[1] ;
29231 if (!args
) SWIG_fail
;
29232 swig_obj
[0] = args
;
29233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29234 if (!SWIG_IsOK(res1
)) {
29235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29237 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 result
= (int)(arg1
)->GetCurrentPage();
29241 wxPyEndAllowThreads(__tstate
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29244 resultobj
= SWIG_From_int(static_cast< int >(result
));
29251 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29252 PyObject
*resultobj
= 0;
29253 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29254 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29258 PyObject
* obj0
= 0 ;
29259 PyObject
* obj1
= 0 ;
29260 char * kwnames
[] = {
29261 (char *) "self",(char *) "printout", NULL
29264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29266 if (!SWIG_IsOK(res1
)) {
29267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29269 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29270 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29271 if (!SWIG_IsOK(res2
)) {
29272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 (arg1
)->SetPrintout(arg2
);
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29280 resultobj
= SWIG_Py_Void();
29287 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29288 PyObject
*resultobj
= 0;
29289 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29290 wxPyPrintout
*result
= 0 ;
29293 PyObject
*swig_obj
[1] ;
29295 if (!args
) SWIG_fail
;
29296 swig_obj
[0] = args
;
29297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29298 if (!SWIG_IsOK(res1
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29301 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= wxPyMake_wxObject(result
, 0);
29317 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29318 PyObject
*resultobj
= 0;
29319 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29320 wxPyPrintout
*result
= 0 ;
29323 PyObject
*swig_obj
[1] ;
29325 if (!args
) SWIG_fail
;
29326 swig_obj
[0] = args
;
29327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29328 if (!SWIG_IsOK(res1
)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29331 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29339 resultobj
= wxPyMake_wxObject(result
, 0);
29347 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29348 PyObject
*resultobj
= 0;
29349 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29350 wxFrame
*arg2
= (wxFrame
*) 0 ;
29355 PyObject
* obj0
= 0 ;
29356 PyObject
* obj1
= 0 ;
29357 char * kwnames
[] = {
29358 (char *) "self",(char *) "frame", NULL
29361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29363 if (!SWIG_IsOK(res1
)) {
29364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29366 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29367 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29368 if (!SWIG_IsOK(res2
)) {
29369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29371 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 (arg1
)->SetFrame(arg2
);
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= SWIG_Py_Void();
29385 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
= 0;
29387 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29388 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29393 PyObject
* obj0
= 0 ;
29394 PyObject
* obj1
= 0 ;
29395 char * kwnames
[] = {
29396 (char *) "self",(char *) "canvas", NULL
29399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29401 if (!SWIG_IsOK(res1
)) {
29402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29404 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29406 if (!SWIG_IsOK(res2
)) {
29407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29409 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29412 (arg1
)->SetCanvas(arg2
);
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= SWIG_Py_Void();
29423 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29424 PyObject
*resultobj
= 0;
29425 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29426 wxFrame
*result
= 0 ;
29429 PyObject
*swig_obj
[1] ;
29431 if (!args
) SWIG_fail
;
29432 swig_obj
[0] = args
;
29433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29434 if (!SWIG_IsOK(res1
)) {
29435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29437 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 result
= (wxFrame
*)(arg1
)->GetFrame();
29441 wxPyEndAllowThreads(__tstate
);
29442 if (PyErr_Occurred()) SWIG_fail
;
29445 resultobj
= wxPyMake_wxObject(result
, 0);
29453 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29454 PyObject
*resultobj
= 0;
29455 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29456 wxPreviewCanvas
*result
= 0 ;
29459 PyObject
*swig_obj
[1] ;
29461 if (!args
) SWIG_fail
;
29462 swig_obj
[0] = args
;
29463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29464 if (!SWIG_IsOK(res1
)) {
29465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29467 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29471 wxPyEndAllowThreads(__tstate
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29481 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
= 0;
29483 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29484 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29493 PyObject
* obj0
= 0 ;
29494 PyObject
* obj1
= 0 ;
29495 PyObject
* obj2
= 0 ;
29496 char * kwnames
[] = {
29497 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29502 if (!SWIG_IsOK(res1
)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29505 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29507 if (!SWIG_IsOK(res2
)) {
29508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29510 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29511 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29512 if (!SWIG_IsOK(res3
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29518 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29534 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
= 0;
29536 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29537 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29546 PyObject
* obj0
= 0 ;
29547 PyObject
* obj1
= 0 ;
29548 PyObject
* obj2
= 0 ;
29549 char * kwnames
[] = {
29550 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29555 if (!SWIG_IsOK(res1
)) {
29556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29558 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29559 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29560 if (!SWIG_IsOK(res2
)) {
29561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29563 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29564 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29565 if (!SWIG_IsOK(res3
)) {
29566 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29571 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29574 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29587 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
= 0;
29589 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29596 PyObject
* obj0
= 0 ;
29597 PyObject
* obj1
= 0 ;
29598 char * kwnames
[] = {
29599 (char *) "self",(char *) "pageNum", NULL
29602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29604 if (!SWIG_IsOK(res1
)) {
29605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29607 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29609 if (!SWIG_IsOK(ecode2
)) {
29610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29612 arg2
= static_cast< int >(val2
);
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 result
= (bool)(arg1
)->RenderPage(arg2
);
29616 wxPyEndAllowThreads(__tstate
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29628 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
= 0;
29630 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29631 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29636 PyObject
* obj0
= 0 ;
29637 PyObject
* obj1
= 0 ;
29638 char * kwnames
[] = {
29639 (char *) "self",(char *) "canvas", NULL
29642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29644 if (!SWIG_IsOK(res1
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29647 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29649 if (!SWIG_IsOK(res2
)) {
29650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29652 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29655 (arg1
)->AdjustScrollbars(arg2
);
29656 wxPyEndAllowThreads(__tstate
);
29657 if (PyErr_Occurred()) SWIG_fail
;
29659 resultobj
= SWIG_Py_Void();
29666 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29667 PyObject
*resultobj
= 0;
29668 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29669 wxPrintDialogData
*result
= 0 ;
29672 PyObject
*swig_obj
[1] ;
29674 if (!args
) SWIG_fail
;
29675 swig_obj
[0] = args
;
29676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29677 if (!SWIG_IsOK(res1
)) {
29678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29680 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29685 result
= (wxPrintDialogData
*) &_result_ref
;
29687 wxPyEndAllowThreads(__tstate
);
29688 if (PyErr_Occurred()) SWIG_fail
;
29690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29697 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
= 0;
29699 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29705 PyObject
* obj0
= 0 ;
29706 PyObject
* obj1
= 0 ;
29707 char * kwnames
[] = {
29708 (char *) "self",(char *) "percent", NULL
29711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29713 if (!SWIG_IsOK(res1
)) {
29714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29716 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29718 if (!SWIG_IsOK(ecode2
)) {
29719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29721 arg2
= static_cast< int >(val2
);
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 (arg1
)->SetZoom(arg2
);
29725 wxPyEndAllowThreads(__tstate
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29728 resultobj
= SWIG_Py_Void();
29735 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29736 PyObject
*resultobj
= 0;
29737 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29741 PyObject
*swig_obj
[1] ;
29743 if (!args
) SWIG_fail
;
29744 swig_obj
[0] = args
;
29745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29746 if (!SWIG_IsOK(res1
)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29749 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 result
= (int)(arg1
)->GetZoom();
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= SWIG_From_int(static_cast< int >(result
));
29763 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29764 PyObject
*resultobj
= 0;
29765 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29769 PyObject
*swig_obj
[1] ;
29771 if (!args
) SWIG_fail
;
29772 swig_obj
[0] = args
;
29773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29774 if (!SWIG_IsOK(res1
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29777 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= (int)(arg1
)->GetMaxPage();
29781 wxPyEndAllowThreads(__tstate
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29784 resultobj
= SWIG_From_int(static_cast< int >(result
));
29791 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29792 PyObject
*resultobj
= 0;
29793 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29797 PyObject
*swig_obj
[1] ;
29799 if (!args
) SWIG_fail
;
29800 swig_obj
[0] = args
;
29801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29802 if (!SWIG_IsOK(res1
)) {
29803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29805 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29808 result
= (int)(arg1
)->GetMinPage();
29809 wxPyEndAllowThreads(__tstate
);
29810 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= SWIG_From_int(static_cast< int >(result
));
29819 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29820 PyObject
*resultobj
= 0;
29821 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29825 PyObject
*swig_obj
[1] ;
29827 if (!args
) SWIG_fail
;
29828 swig_obj
[0] = args
;
29829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29833 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 result
= (bool)(arg1
)->Ok();
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29849 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29850 PyObject
*resultobj
= 0;
29851 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29857 PyObject
* obj0
= 0 ;
29858 PyObject
* obj1
= 0 ;
29859 char * kwnames
[] = {
29860 (char *) "self",(char *) "ok", NULL
29863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29865 if (!SWIG_IsOK(res1
)) {
29866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29868 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29869 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29870 if (!SWIG_IsOK(ecode2
)) {
29871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29873 arg2
= static_cast< bool >(val2
);
29875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29876 (arg1
)->SetOk(arg2
);
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= SWIG_Py_Void();
29887 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29888 PyObject
*resultobj
= 0;
29889 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29896 PyObject
* obj0
= 0 ;
29897 PyObject
* obj1
= 0 ;
29898 char * kwnames
[] = {
29899 (char *) "self",(char *) "interactive", NULL
29902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29904 if (!SWIG_IsOK(res1
)) {
29905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29907 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29908 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29909 if (!SWIG_IsOK(ecode2
)) {
29910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29912 arg2
= static_cast< bool >(val2
);
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 result
= (bool)(arg1
)->Print(arg2
);
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29928 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29929 PyObject
*resultobj
= 0;
29930 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29933 PyObject
*swig_obj
[1] ;
29935 if (!args
) SWIG_fail
;
29936 swig_obj
[0] = args
;
29937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29938 if (!SWIG_IsOK(res1
)) {
29939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29941 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29944 (arg1
)->DetermineScaling();
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= SWIG_Py_Void();
29955 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29958 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29959 return SWIG_Py_Void();
29962 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29963 return SWIG_Python_InitShadowInstance(args
);
29966 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29967 PyObject
*resultobj
= 0;
29968 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29969 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29970 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29971 wxPyPrintPreview
*result
= 0 ;
29977 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29978 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29979 if (!SWIG_IsOK(res1
)) {
29980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29982 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29983 if (!SWIG_IsOK(res2
)) {
29984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29987 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29988 if (!SWIG_IsOK(res3
)) {
29989 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29991 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29994 if (!wxPyCheckForApp()) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30007 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30008 PyObject
*resultobj
= 0;
30009 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30010 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30011 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30012 wxPyPrintPreview
*result
= 0 ;
30018 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30019 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30020 if (!SWIG_IsOK(res1
)) {
30021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30023 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30024 if (!SWIG_IsOK(res2
)) {
30025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30027 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30028 if (!SWIG_IsOK(res3
)) {
30029 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30031 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30033 if (!wxPyCheckForApp()) SWIG_fail
;
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30036 wxPyEndAllowThreads(__tstate
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30046 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30050 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30052 if ((argc
>= 2) && (argc
<= 3)) {
30057 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30058 _v
= SWIG_CheckState(res
);
30060 if (!_v
) goto check_1
;
30062 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30067 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30071 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30076 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30077 PyObject
*resultobj
= 0;
30078 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30079 PyObject
*arg2
= (PyObject
*) 0 ;
30080 PyObject
*arg3
= (PyObject
*) 0 ;
30083 PyObject
* obj0
= 0 ;
30084 PyObject
* obj1
= 0 ;
30085 PyObject
* obj2
= 0 ;
30086 char * kwnames
[] = {
30087 (char *) "self",(char *) "self",(char *) "_class", NULL
30090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30092 if (!SWIG_IsOK(res1
)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30095 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30104 resultobj
= SWIG_Py_Void();
30111 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30114 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30115 return SWIG_Py_Void();
30118 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30119 return SWIG_Python_InitShadowInstance(args
);
30122 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
= 0;
30124 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30125 wxFrame
*arg2
= (wxFrame
*) 0 ;
30126 wxString
*arg3
= 0 ;
30127 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30128 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30129 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30130 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30131 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30132 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30133 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30134 wxPyPreviewFrame
*result
= 0 ;
30139 bool temp3
= false ;
30144 bool temp7
= false ;
30145 PyObject
* obj0
= 0 ;
30146 PyObject
* obj1
= 0 ;
30147 PyObject
* obj2
= 0 ;
30148 PyObject
* obj3
= 0 ;
30149 PyObject
* obj4
= 0 ;
30150 PyObject
* obj5
= 0 ;
30151 PyObject
* obj6
= 0 ;
30152 char * kwnames
[] = {
30153 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30161 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30162 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30163 if (!SWIG_IsOK(res2
)) {
30164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30166 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30168 arg3
= wxString_in_helper(obj2
);
30169 if (arg3
== NULL
) SWIG_fail
;
30175 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30181 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30185 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30186 if (!SWIG_IsOK(ecode6
)) {
30187 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30189 arg6
= static_cast< long >(val6
);
30193 arg7
= wxString_in_helper(obj6
);
30194 if (arg7
== NULL
) SWIG_fail
;
30199 if (!wxPyCheckForApp()) SWIG_fail
;
30200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30201 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30228 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30229 PyObject
*resultobj
= 0;
30230 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30231 PyObject
*arg2
= (PyObject
*) 0 ;
30232 PyObject
*arg3
= (PyObject
*) 0 ;
30235 PyObject
* obj0
= 0 ;
30236 PyObject
* obj1
= 0 ;
30237 PyObject
* obj2
= 0 ;
30238 char * kwnames
[] = {
30239 (char *) "self",(char *) "self",(char *) "_class", NULL
30242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30244 if (!SWIG_IsOK(res1
)) {
30245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30247 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30253 wxPyEndAllowThreads(__tstate
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30256 resultobj
= SWIG_Py_Void();
30263 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
= 0;
30265 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30266 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30271 PyObject
* obj0
= 0 ;
30272 PyObject
* obj1
= 0 ;
30273 char * kwnames
[] = {
30274 (char *) "self",(char *) "canvas", NULL
30277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30279 if (!SWIG_IsOK(res1
)) {
30280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30282 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30284 if (!SWIG_IsOK(res2
)) {
30285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30287 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30290 (arg1
)->SetPreviewCanvas(arg2
);
30291 wxPyEndAllowThreads(__tstate
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30294 resultobj
= SWIG_Py_Void();
30301 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
= 0;
30303 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30304 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30309 PyObject
* obj0
= 0 ;
30310 PyObject
* obj1
= 0 ;
30311 char * kwnames
[] = {
30312 (char *) "self",(char *) "bar", NULL
30315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30317 if (!SWIG_IsOK(res1
)) {
30318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30320 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30321 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30322 if (!SWIG_IsOK(res2
)) {
30323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30325 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 (arg1
)->SetControlBar(arg2
);
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30332 resultobj
= SWIG_Py_Void();
30339 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30340 PyObject
*resultobj
= 0;
30341 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30344 PyObject
*swig_obj
[1] ;
30346 if (!args
) SWIG_fail
;
30347 swig_obj
[0] = args
;
30348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30349 if (!SWIG_IsOK(res1
)) {
30350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30352 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 (arg1
)->Initialize();
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= SWIG_Py_Void();
30366 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30367 PyObject
*resultobj
= 0;
30368 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30371 PyObject
*swig_obj
[1] ;
30373 if (!args
) SWIG_fail
;
30374 swig_obj
[0] = args
;
30375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30376 if (!SWIG_IsOK(res1
)) {
30377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30379 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30382 (arg1
)->CreateCanvas();
30383 wxPyEndAllowThreads(__tstate
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30386 resultobj
= SWIG_Py_Void();
30393 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30394 PyObject
*resultobj
= 0;
30395 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30398 PyObject
*swig_obj
[1] ;
30400 if (!args
) SWIG_fail
;
30401 swig_obj
[0] = args
;
30402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30403 if (!SWIG_IsOK(res1
)) {
30404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30406 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 (arg1
)->CreateControlBar();
30410 wxPyEndAllowThreads(__tstate
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30413 resultobj
= SWIG_Py_Void();
30420 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30423 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30424 return SWIG_Py_Void();
30427 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30428 return SWIG_Python_InitShadowInstance(args
);
30431 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
= 0;
30433 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30435 wxWindow
*arg3
= (wxWindow
*) 0 ;
30436 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30437 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30438 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30439 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30440 long arg6
= (long) 0 ;
30441 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30442 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30443 wxPyPreviewControlBar
*result
= 0 ;
30454 bool temp7
= false ;
30455 PyObject
* obj0
= 0 ;
30456 PyObject
* obj1
= 0 ;
30457 PyObject
* obj2
= 0 ;
30458 PyObject
* obj3
= 0 ;
30459 PyObject
* obj4
= 0 ;
30460 PyObject
* obj5
= 0 ;
30461 PyObject
* obj6
= 0 ;
30462 char * kwnames
[] = {
30463 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30468 if (!SWIG_IsOK(res1
)) {
30469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30471 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30472 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30473 if (!SWIG_IsOK(ecode2
)) {
30474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30476 arg2
= static_cast< long >(val2
);
30477 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30478 if (!SWIG_IsOK(res3
)) {
30479 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30481 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30485 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30491 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30495 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30496 if (!SWIG_IsOK(ecode6
)) {
30497 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30499 arg6
= static_cast< long >(val6
);
30503 arg7
= wxString_in_helper(obj6
);
30504 if (arg7
== NULL
) SWIG_fail
;
30509 if (!wxPyCheckForApp()) SWIG_fail
;
30510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30511 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30512 wxPyEndAllowThreads(__tstate
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30530 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
= 0;
30532 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30533 PyObject
*arg2
= (PyObject
*) 0 ;
30534 PyObject
*arg3
= (PyObject
*) 0 ;
30537 PyObject
* obj0
= 0 ;
30538 PyObject
* obj1
= 0 ;
30539 PyObject
* obj2
= 0 ;
30540 char * kwnames
[] = {
30541 (char *) "self",(char *) "self",(char *) "_class", NULL
30544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30546 if (!SWIG_IsOK(res1
)) {
30547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30549 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30554 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 resultobj
= SWIG_Py_Void();
30565 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
= 0;
30567 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30568 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30573 PyObject
* obj0
= 0 ;
30574 PyObject
* obj1
= 0 ;
30575 char * kwnames
[] = {
30576 (char *) "self",(char *) "preview", NULL
30579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30581 if (!SWIG_IsOK(res1
)) {
30582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30584 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30586 if (!SWIG_IsOK(res2
)) {
30587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30589 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30592 (arg1
)->SetPrintPreview(arg2
);
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= SWIG_Py_Void();
30603 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30604 PyObject
*resultobj
= 0;
30605 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30608 PyObject
*swig_obj
[1] ;
30610 if (!args
) SWIG_fail
;
30611 swig_obj
[0] = args
;
30612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30613 if (!SWIG_IsOK(res1
)) {
30614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30616 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 (arg1
)->CreateButtons();
30620 wxPyEndAllowThreads(__tstate
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30623 resultobj
= SWIG_Py_Void();
30630 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30631 PyObject
*resultobj
= 0;
30632 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30638 PyObject
* obj0
= 0 ;
30639 PyObject
* obj1
= 0 ;
30640 char * kwnames
[] = {
30641 (char *) "self",(char *) "zoom", NULL
30644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30646 if (!SWIG_IsOK(res1
)) {
30647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30649 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30651 if (!SWIG_IsOK(ecode2
)) {
30652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30654 arg2
= static_cast< int >(val2
);
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 (arg1
)->SetZoomControl(arg2
);
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= SWIG_Py_Void();
30668 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30671 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30672 return SWIG_Py_Void();
30675 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30676 return SWIG_Python_InitShadowInstance(args
);
30679 static PyMethodDef SwigMethods
[] = {
30680 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30682 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30683 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30684 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30685 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30686 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30687 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30689 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30692 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30693 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30695 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30696 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30697 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30698 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30699 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30700 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30701 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30702 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30703 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30704 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30705 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30707 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30709 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30712 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30713 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30715 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30717 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30718 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30719 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30720 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30724 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30726 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30729 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30731 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30733 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30735 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30737 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30739 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30741 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30742 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30745 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30749 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30751 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30755 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30756 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30757 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30759 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30762 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30763 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30764 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30766 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30770 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30771 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30774 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30775 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30777 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30778 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30779 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30780 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30782 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30783 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30784 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30785 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30787 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30788 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30789 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30790 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30791 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30792 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30793 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30795 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30796 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30805 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30806 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30808 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30809 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30811 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30813 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30814 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30816 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30818 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30819 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30822 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30823 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30826 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30827 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30829 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30831 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30833 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30835 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30837 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30839 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30840 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30843 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30844 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30845 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30846 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30847 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30848 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30850 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30858 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30860 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30863 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30864 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30866 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30867 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30868 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30870 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30871 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30872 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30875 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30877 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30879 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30880 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30881 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30884 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30886 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30888 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30890 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30892 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30893 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30894 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30897 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30899 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30900 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30901 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30903 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30905 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30906 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30910 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30911 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30912 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30913 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30917 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30918 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30920 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30923 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30924 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30926 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30929 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30930 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30931 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30934 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30935 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30936 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30938 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30947 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30948 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30949 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30950 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30952 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30953 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30956 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30957 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30959 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30962 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30963 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30964 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30967 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30968 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30970 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30971 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30973 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30977 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30978 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30979 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30985 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30986 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30988 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30992 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30994 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30995 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30996 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30997 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30999 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31000 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31001 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31003 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31005 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31006 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31008 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31009 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31010 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31011 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31012 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31013 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31018 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31019 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31021 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31022 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31023 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31026 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31027 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31030 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31031 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31039 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31040 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31041 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31042 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31043 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31044 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31045 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31046 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31047 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31048 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31051 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31052 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31053 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31055 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31056 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31058 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31059 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31061 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31063 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31064 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31066 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31067 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31068 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31069 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31071 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31072 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31073 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31074 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31075 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31076 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31083 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31084 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31086 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31087 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31088 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31091 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31092 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31095 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31096 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31097 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31099 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31100 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31101 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31102 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31106 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31107 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31109 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31110 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31111 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31112 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31116 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31117 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31119 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31121 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31123 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31124 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31126 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31128 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31129 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31130 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31131 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31132 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31133 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31134 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
31135 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31138 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31139 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31141 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31143 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31144 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31145 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31147 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31149 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31150 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31152 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31160 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31161 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31162 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31163 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31164 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31165 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31166 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31167 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31168 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31170 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31178 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31179 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31180 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31181 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31182 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31183 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31184 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31185 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31186 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31188 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31196 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31197 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31198 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31199 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31200 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31201 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31202 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31203 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31204 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31205 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31206 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31207 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31208 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31209 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31210 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31211 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31212 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31213 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31214 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31215 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31216 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31217 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31218 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31230 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31232 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31234 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31235 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31236 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31237 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31243 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31244 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31245 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31246 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31247 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31248 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31249 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31250 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31251 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31252 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31253 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31254 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31255 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31256 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31257 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31267 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31268 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31269 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31270 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31272 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31273 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31274 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31275 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31276 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31277 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31278 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31279 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31280 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31281 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31282 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31283 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31284 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31285 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31286 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31287 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31288 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31302 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31303 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31304 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31305 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31306 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31307 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31309 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31310 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31312 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31313 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31314 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31315 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31316 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31317 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31318 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31320 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31326 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31327 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31328 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31329 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31330 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31332 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31334 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31335 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31338 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31340 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31342 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31344 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31345 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31348 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31349 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31350 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31351 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31353 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31354 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31355 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31357 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31358 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31360 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31361 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31362 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31363 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31364 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31365 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31367 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31369 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31370 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31371 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31372 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31373 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31374 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31375 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31376 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31377 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31378 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31380 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31382 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31383 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31386 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31387 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31392 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31394 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31395 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31396 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31397 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31400 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31401 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31402 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31403 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31405 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31406 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31411 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31412 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31413 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31414 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31415 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31419 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31421 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31422 { NULL
, NULL
, 0, NULL
}
31426 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31428 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31429 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31431 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31432 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31434 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31435 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31437 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31438 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31440 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31441 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31443 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31444 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31446 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31447 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31449 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31450 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31452 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31453 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31455 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31456 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31458 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31461 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31462 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31464 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31465 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31467 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31468 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31470 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31471 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31473 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31474 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31476 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31477 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31479 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31480 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31482 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31483 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31485 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31486 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31488 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31489 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31491 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31492 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31494 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31495 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31497 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31498 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31500 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31501 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31503 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31504 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31506 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31507 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31509 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31510 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31512 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31513 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31515 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31516 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31518 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31519 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31521 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31522 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31524 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31525 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31527 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31528 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31530 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31531 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31533 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31534 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31536 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31537 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31539 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31540 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31542 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31543 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31545 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31546 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31548 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31549 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31551 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31552 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31554 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31555 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31557 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31558 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31560 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31561 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31563 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31564 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31566 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31569 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31572 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31575 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31576 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31578 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31579 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31581 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31582 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31584 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31585 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31587 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31590 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31593 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31596 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31599 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31602 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31605 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31608 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31611 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31612 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31614 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31615 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31617 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31620 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31621 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31623 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31626 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31627 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31629 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31632 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31633 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31635 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31636 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31638 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31639 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31641 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31642 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31644 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31647 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31648 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31650 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31651 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31653 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31656 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31657 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31659 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31662 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31665 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31668 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31669 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31671 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31674 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31675 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31677 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31680 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31683 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31686 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31689 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31692 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31693 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31695 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31698 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31701 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31704 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31707 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31710 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31713 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31714 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31716 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31717 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31719 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31720 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31722 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31723 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31725 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31726 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31728 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31729 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31731 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31732 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31734 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31735 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31737 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31738 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31740 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31741 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31743 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31746 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31749 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31750 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31752 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31753 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31755 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31756 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31758 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31759 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31761 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31762 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31764 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31765 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31767 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31768 return (void *)((wxObject
*) ((wxSizer
*) x
));
31770 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31771 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31773 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31776 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31779 static void *_p_wxEventTo_p_wxObject(void *x
) {
31780 return (void *)((wxObject
*) ((wxEvent
*) x
));
31782 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31783 return (void *)((wxObject
*) ((wxFontData
*) x
));
31785 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31786 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31788 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31789 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31791 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31792 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31794 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31795 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31797 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31798 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31800 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31801 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31803 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31804 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31806 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31809 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31810 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31812 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31813 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31815 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31816 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31818 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31819 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31821 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31822 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31824 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31825 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31827 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31830 static void *_p_wxControlTo_p_wxObject(void *x
) {
31831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31833 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31834 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31836 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31839 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31840 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31842 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31843 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31845 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31846 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31848 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31851 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31852 return (void *)((wxObject
*) ((wxColourData
*) x
));
31854 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31855 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31857 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31858 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31860 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31863 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31866 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31869 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31872 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31875 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31878 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31881 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31884 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31887 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31890 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31891 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31893 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31894 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31896 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31897 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31899 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31902 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31903 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31905 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31906 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31908 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31909 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31911 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31912 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31914 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31915 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31917 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31918 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31920 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31921 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31923 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31924 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31926 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31927 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31929 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31930 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31932 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31933 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31935 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31936 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31938 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31939 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31941 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31942 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31944 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31945 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31947 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31948 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31950 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31951 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31953 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31954 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31956 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31957 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31959 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31960 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31962 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31963 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31965 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31966 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31968 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31969 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31971 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31974 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31977 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31978 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31980 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31981 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31983 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31986 static void *_p_wxImageTo_p_wxObject(void *x
) {
31987 return (void *)((wxObject
*) ((wxImage
*) x
));
31989 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31992 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31993 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31995 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31996 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31998 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31999 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32001 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32002 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32004 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32007 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32008 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32010 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32011 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32013 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32014 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32016 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32017 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32019 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32020 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32022 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32025 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32028 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32031 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32034 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32037 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32040 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32043 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32046 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32049 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32052 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32055 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32058 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32061 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32064 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32065 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32067 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32068 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32070 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32073 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32076 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32079 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32082 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32085 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32086 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32088 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32089 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32091 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32092 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32094 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32095 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32097 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32098 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32100 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32101 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32103 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32104 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32106 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32107 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32109 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32110 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32112 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32115 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32116 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32118 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32121 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32124 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32125 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32127 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32128 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32130 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32133 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32136 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32137 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32139 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32140 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32142 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32145 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32146 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32148 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32149 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32151 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32152 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32154 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32155 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32157 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32158 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32160 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32161 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32163 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32164 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32166 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32167 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32169 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32170 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32172 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32173 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32175 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32176 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32178 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32179 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32181 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32182 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32184 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32185 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32187 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32188 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32190 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32191 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32193 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32194 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32196 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32197 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32199 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32200 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32202 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32203 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32205 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32206 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32208 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32209 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32211 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32212 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32214 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32215 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32217 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32218 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32220 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32221 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32223 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32224 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32226 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32227 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32229 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32230 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32232 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32233 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32235 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32236 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32238 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32239 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32241 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32242 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32244 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32245 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32247 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32248 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32250 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32251 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32253 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32254 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32256 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32257 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32259 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32260 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32262 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32263 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32265 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32266 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32268 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32269 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32271 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32272 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32274 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32275 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32277 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32278 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32280 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32281 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32283 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32284 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32286 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32287 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32289 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32290 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32292 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32293 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32295 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32296 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32298 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32299 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32301 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32302 return (void *)((wxWindow
*) ((wxControl
*) x
));
32304 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32305 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32307 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32308 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32310 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32311 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32313 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32314 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32316 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32317 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32319 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32320 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32322 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32323 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32325 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32326 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32328 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32329 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32331 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32332 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32334 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32335 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32337 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32338 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32340 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32341 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32343 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32344 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32346 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32347 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32349 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32350 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32352 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32353 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32355 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32356 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32358 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32359 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32361 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32362 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32364 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32365 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32367 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32368 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32370 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32371 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32373 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32374 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32376 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32377 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32379 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32380 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32382 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32383 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32385 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32386 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32388 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32389 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32391 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32392 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32394 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32395 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32397 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32398 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32400 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32401 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32403 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32404 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32406 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32407 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32409 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32410 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32412 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32413 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32415 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32416 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32418 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32419 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32421 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32422 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32424 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32425 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32427 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32428 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32430 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32431 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32433 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32434 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32436 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32437 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32439 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32440 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32442 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32443 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32445 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32446 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32448 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32449 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32451 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32452 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32454 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32455 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32457 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32458 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32460 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32461 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32462 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};
32463 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32464 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32465 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32466 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32471 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32472 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32473 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32474 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32475 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32476 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32477 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32478 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32479 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32480 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32481 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32482 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32483 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32484 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32485 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32486 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32487 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32488 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32489 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32490 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32491 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32492 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32493 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32494 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32495 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32496 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32497 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32498 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32499 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32500 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32501 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32502 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32503 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32504 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32505 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32506 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32507 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32508 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32509 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32510 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32511 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32512 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32513 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32514 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32515 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32516 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32517 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32518 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32519 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32520 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32521 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32522 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32523 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32524 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32525 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32526 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32527 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32528 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32529 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32530 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32531 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32532 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32533 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32534 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32535 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32536 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32537 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32538 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32539 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32540 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32541 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32542 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32543 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32544 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32545 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32546 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32547 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32548 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32549 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32550 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32551 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32552 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32553 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32554 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32555 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32556 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32557 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32558 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32559 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32560 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32561 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32562 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32563 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32564 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32565 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32566 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32567 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32568 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32569 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32570 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32571 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32572 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32573 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32574 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32575 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32576 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32577 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32578 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32579 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32580 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32581 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32582 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32583 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32584 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32585 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32586 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32587 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32588 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32589 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32590 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32591 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32592 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32593 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32594 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32595 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32596 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32597 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32598 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32599 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32600 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32601 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32602 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32603 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32604 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32605 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32606 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32607 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32608 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32609 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32610 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32611 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32612 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32613 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32619 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32620 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32621 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32624 static swig_type_info
*swig_type_initial
[] = {
32627 &_swigt__p_form_ops_t
,
32629 &_swigt__p_unsigned_char
,
32630 &_swigt__p_unsigned_int
,
32631 &_swigt__p_unsigned_long
,
32632 &_swigt__p_wxANIHandler
,
32633 &_swigt__p_wxAcceleratorTable
,
32634 &_swigt__p_wxActivateEvent
,
32635 &_swigt__p_wxArrayInt
,
32636 &_swigt__p_wxBMPHandler
,
32637 &_swigt__p_wxBitmap
,
32638 &_swigt__p_wxBoxSizer
,
32639 &_swigt__p_wxCURHandler
,
32640 &_swigt__p_wxCalculateLayoutEvent
,
32641 &_swigt__p_wxChildFocusEvent
,
32642 &_swigt__p_wxClipboardTextEvent
,
32643 &_swigt__p_wxCloseEvent
,
32644 &_swigt__p_wxColour
,
32645 &_swigt__p_wxColourData
,
32646 &_swigt__p_wxColourDialog
,
32647 &_swigt__p_wxCommandEvent
,
32648 &_swigt__p_wxContextMenuEvent
,
32649 &_swigt__p_wxControl
,
32650 &_swigt__p_wxControlWithItems
,
32652 &_swigt__p_wxDateEvent
,
32653 &_swigt__p_wxDialog
,
32654 &_swigt__p_wxDirDialog
,
32655 &_swigt__p_wxDisplayChangedEvent
,
32656 &_swigt__p_wxDropFilesEvent
,
32657 &_swigt__p_wxDuplexMode
,
32658 &_swigt__p_wxEraseEvent
,
32659 &_swigt__p_wxEvent
,
32660 &_swigt__p_wxEvtHandler
,
32661 &_swigt__p_wxFSFile
,
32662 &_swigt__p_wxFileDialog
,
32663 &_swigt__p_wxFileSystem
,
32664 &_swigt__p_wxFindDialogEvent
,
32665 &_swigt__p_wxFindReplaceData
,
32666 &_swigt__p_wxFindReplaceDialog
,
32667 &_swigt__p_wxFlexGridSizer
,
32668 &_swigt__p_wxFocusEvent
,
32670 &_swigt__p_wxFontData
,
32671 &_swigt__p_wxFontDialog
,
32672 &_swigt__p_wxFrame
,
32673 &_swigt__p_wxGBSizerItem
,
32674 &_swigt__p_wxGIFHandler
,
32675 &_swigt__p_wxGridBagSizer
,
32676 &_swigt__p_wxGridSizer
,
32677 &_swigt__p_wxHtmlLinkInfo
,
32678 &_swigt__p_wxICOHandler
,
32680 &_swigt__p_wxIconBundle
,
32681 &_swigt__p_wxIconizeEvent
,
32682 &_swigt__p_wxIdleEvent
,
32683 &_swigt__p_wxImage
,
32684 &_swigt__p_wxImageHandler
,
32685 &_swigt__p_wxIndividualLayoutConstraint
,
32686 &_swigt__p_wxInitDialogEvent
,
32687 &_swigt__p_wxJPEGHandler
,
32688 &_swigt__p_wxKeyEvent
,
32689 &_swigt__p_wxLayoutAlgorithm
,
32690 &_swigt__p_wxLayoutConstraints
,
32691 &_swigt__p_wxMDIChildFrame
,
32692 &_swigt__p_wxMDIClientWindow
,
32693 &_swigt__p_wxMDIParentFrame
,
32694 &_swigt__p_wxMaximizeEvent
,
32696 &_swigt__p_wxMenuBar
,
32697 &_swigt__p_wxMenuEvent
,
32698 &_swigt__p_wxMenuItem
,
32699 &_swigt__p_wxMessageDialog
,
32700 &_swigt__p_wxMiniFrame
,
32701 &_swigt__p_wxMouseCaptureChangedEvent
,
32702 &_swigt__p_wxMouseEvent
,
32703 &_swigt__p_wxMoveEvent
,
32704 &_swigt__p_wxMultiChoiceDialog
,
32705 &_swigt__p_wxNavigationKeyEvent
,
32706 &_swigt__p_wxNcPaintEvent
,
32707 &_swigt__p_wxNotifyEvent
,
32708 &_swigt__p_wxObject
,
32709 &_swigt__p_wxPCXHandler
,
32710 &_swigt__p_wxPNGHandler
,
32711 &_swigt__p_wxPNMHandler
,
32712 &_swigt__p_wxPageSetupDialog
,
32713 &_swigt__p_wxPageSetupDialogData
,
32714 &_swigt__p_wxPaintEvent
,
32715 &_swigt__p_wxPaletteChangedEvent
,
32716 &_swigt__p_wxPanel
,
32717 &_swigt__p_wxPaperSize
,
32718 &_swigt__p_wxPasswordEntryDialog
,
32719 &_swigt__p_wxPoint
,
32720 &_swigt__p_wxPopupWindow
,
32721 &_swigt__p_wxPreviewCanvas
,
32722 &_swigt__p_wxPreviewControlBar
,
32723 &_swigt__p_wxPreviewFrame
,
32724 &_swigt__p_wxPrintData
,
32725 &_swigt__p_wxPrintDialog
,
32726 &_swigt__p_wxPrintDialogData
,
32727 &_swigt__p_wxPrintPreview
,
32728 &_swigt__p_wxPrinter
,
32729 &_swigt__p_wxProgressDialog
,
32730 &_swigt__p_wxPyApp
,
32731 &_swigt__p_wxPyCommandEvent
,
32732 &_swigt__p_wxPyEvent
,
32733 &_swigt__p_wxPyHtmlListBox
,
32734 &_swigt__p_wxPyImageHandler
,
32735 &_swigt__p_wxPyPanel
,
32736 &_swigt__p_wxPyPopupTransientWindow
,
32737 &_swigt__p_wxPyPreviewControlBar
,
32738 &_swigt__p_wxPyPreviewFrame
,
32739 &_swigt__p_wxPyPrintPreview
,
32740 &_swigt__p_wxPyPrintout
,
32741 &_swigt__p_wxPyScrolledWindow
,
32742 &_swigt__p_wxPySizer
,
32743 &_swigt__p_wxPyTaskBarIcon
,
32744 &_swigt__p_wxPyVListBox
,
32745 &_swigt__p_wxPyVScrolledWindow
,
32746 &_swigt__p_wxPyValidator
,
32747 &_swigt__p_wxPyWindow
,
32748 &_swigt__p_wxQueryLayoutInfoEvent
,
32749 &_swigt__p_wxQueryNewPaletteEvent
,
32751 &_swigt__p_wxRegion
,
32752 &_swigt__p_wxSashEvent
,
32753 &_swigt__p_wxSashLayoutWindow
,
32754 &_swigt__p_wxSashWindow
,
32755 &_swigt__p_wxScrollEvent
,
32756 &_swigt__p_wxScrollWinEvent
,
32757 &_swigt__p_wxScrolledWindow
,
32758 &_swigt__p_wxSetCursorEvent
,
32759 &_swigt__p_wxShowEvent
,
32760 &_swigt__p_wxSingleChoiceDialog
,
32762 &_swigt__p_wxSizeEvent
,
32763 &_swigt__p_wxSizer
,
32764 &_swigt__p_wxSizerItem
,
32765 &_swigt__p_wxSplashScreen
,
32766 &_swigt__p_wxSplashScreenWindow
,
32767 &_swigt__p_wxSplitterEvent
,
32768 &_swigt__p_wxSplitterWindow
,
32769 &_swigt__p_wxStaticBoxSizer
,
32770 &_swigt__p_wxStatusBar
,
32771 &_swigt__p_wxStdDialogButtonSizer
,
32772 &_swigt__p_wxString
,
32773 &_swigt__p_wxSysColourChangedEvent
,
32774 &_swigt__p_wxTIFFHandler
,
32775 &_swigt__p_wxTaskBarIcon
,
32776 &_swigt__p_wxTaskBarIconEvent
,
32777 &_swigt__p_wxTextEntryDialog
,
32778 &_swigt__p_wxTipWindow
,
32779 &_swigt__p_wxToolBar
,
32780 &_swigt__p_wxTopLevelWindow
,
32781 &_swigt__p_wxUpdateUIEvent
,
32782 &_swigt__p_wxValidator
,
32783 &_swigt__p_wxVisualAttributes
,
32784 &_swigt__p_wxWindow
,
32785 &_swigt__p_wxWindowCreateEvent
,
32786 &_swigt__p_wxWindowDestroyEvent
,
32787 &_swigt__p_wxXPMHandler
,
32790 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32791 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32793 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32794 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32795 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32798 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32799 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32800 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32803 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32804 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32808 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32809 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32813 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32814 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}};
32815 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32816 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32817 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32818 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32819 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32820 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32821 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32822 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32823 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32824 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32825 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32826 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32827 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32828 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32829 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32830 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32831 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32832 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32833 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32834 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32836 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32837 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32838 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32841 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32842 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
32843 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32844 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32845 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32846 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32847 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32848 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_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_wxTipWindow
, _p_wxTipWindowTo_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_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_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}};
32849 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32850 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32851 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32852 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32853 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32854 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32855 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32856 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32857 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_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}};
32858 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32859 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32860 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32861 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32862 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32863 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32864 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32865 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32866 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32867 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32868 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32869 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32870 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}};
32871 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32872 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32873 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32874 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32875 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32876 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32877 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32878 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32879 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32880 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32881 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32882 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32883 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32884 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32885 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32886 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32887 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32888 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32889 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32890 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32891 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32892 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32893 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32894 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32895 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32896 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32897 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32898 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32899 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxTipWindow
, _p_wxTipWindowTo_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}};
32900 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32901 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32902 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}};
32903 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32904 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32905 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32906 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
32907 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32908 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}};
32909 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}};
32910 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32911 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32912 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32913 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}};
32914 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32915 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32916 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32917 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32918 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
32919 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32920 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32921 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32922 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32923 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32924 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32925 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}};
32926 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}};
32927 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32928 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32929 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32930 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32931 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32932 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32933 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}};
32934 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32935 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}};
32936 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32940 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32941 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32943 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32944 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32947 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}};
32948 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32949 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32950 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_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_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}};
32951 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32952 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_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_wxTipWindow
, _p_wxTipWindowTo_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}};
32954 static swig_cast_info
*swig_cast_initial
[] = {
32957 _swigc__p_form_ops_t
,
32959 _swigc__p_unsigned_char
,
32960 _swigc__p_unsigned_int
,
32961 _swigc__p_unsigned_long
,
32962 _swigc__p_wxANIHandler
,
32963 _swigc__p_wxAcceleratorTable
,
32964 _swigc__p_wxActivateEvent
,
32965 _swigc__p_wxArrayInt
,
32966 _swigc__p_wxBMPHandler
,
32967 _swigc__p_wxBitmap
,
32968 _swigc__p_wxBoxSizer
,
32969 _swigc__p_wxCURHandler
,
32970 _swigc__p_wxCalculateLayoutEvent
,
32971 _swigc__p_wxChildFocusEvent
,
32972 _swigc__p_wxClipboardTextEvent
,
32973 _swigc__p_wxCloseEvent
,
32974 _swigc__p_wxColour
,
32975 _swigc__p_wxColourData
,
32976 _swigc__p_wxColourDialog
,
32977 _swigc__p_wxCommandEvent
,
32978 _swigc__p_wxContextMenuEvent
,
32979 _swigc__p_wxControl
,
32980 _swigc__p_wxControlWithItems
,
32982 _swigc__p_wxDateEvent
,
32983 _swigc__p_wxDialog
,
32984 _swigc__p_wxDirDialog
,
32985 _swigc__p_wxDisplayChangedEvent
,
32986 _swigc__p_wxDropFilesEvent
,
32987 _swigc__p_wxDuplexMode
,
32988 _swigc__p_wxEraseEvent
,
32990 _swigc__p_wxEvtHandler
,
32991 _swigc__p_wxFSFile
,
32992 _swigc__p_wxFileDialog
,
32993 _swigc__p_wxFileSystem
,
32994 _swigc__p_wxFindDialogEvent
,
32995 _swigc__p_wxFindReplaceData
,
32996 _swigc__p_wxFindReplaceDialog
,
32997 _swigc__p_wxFlexGridSizer
,
32998 _swigc__p_wxFocusEvent
,
33000 _swigc__p_wxFontData
,
33001 _swigc__p_wxFontDialog
,
33003 _swigc__p_wxGBSizerItem
,
33004 _swigc__p_wxGIFHandler
,
33005 _swigc__p_wxGridBagSizer
,
33006 _swigc__p_wxGridSizer
,
33007 _swigc__p_wxHtmlLinkInfo
,
33008 _swigc__p_wxICOHandler
,
33010 _swigc__p_wxIconBundle
,
33011 _swigc__p_wxIconizeEvent
,
33012 _swigc__p_wxIdleEvent
,
33014 _swigc__p_wxImageHandler
,
33015 _swigc__p_wxIndividualLayoutConstraint
,
33016 _swigc__p_wxInitDialogEvent
,
33017 _swigc__p_wxJPEGHandler
,
33018 _swigc__p_wxKeyEvent
,
33019 _swigc__p_wxLayoutAlgorithm
,
33020 _swigc__p_wxLayoutConstraints
,
33021 _swigc__p_wxMDIChildFrame
,
33022 _swigc__p_wxMDIClientWindow
,
33023 _swigc__p_wxMDIParentFrame
,
33024 _swigc__p_wxMaximizeEvent
,
33026 _swigc__p_wxMenuBar
,
33027 _swigc__p_wxMenuEvent
,
33028 _swigc__p_wxMenuItem
,
33029 _swigc__p_wxMessageDialog
,
33030 _swigc__p_wxMiniFrame
,
33031 _swigc__p_wxMouseCaptureChangedEvent
,
33032 _swigc__p_wxMouseEvent
,
33033 _swigc__p_wxMoveEvent
,
33034 _swigc__p_wxMultiChoiceDialog
,
33035 _swigc__p_wxNavigationKeyEvent
,
33036 _swigc__p_wxNcPaintEvent
,
33037 _swigc__p_wxNotifyEvent
,
33038 _swigc__p_wxObject
,
33039 _swigc__p_wxPCXHandler
,
33040 _swigc__p_wxPNGHandler
,
33041 _swigc__p_wxPNMHandler
,
33042 _swigc__p_wxPageSetupDialog
,
33043 _swigc__p_wxPageSetupDialogData
,
33044 _swigc__p_wxPaintEvent
,
33045 _swigc__p_wxPaletteChangedEvent
,
33047 _swigc__p_wxPaperSize
,
33048 _swigc__p_wxPasswordEntryDialog
,
33050 _swigc__p_wxPopupWindow
,
33051 _swigc__p_wxPreviewCanvas
,
33052 _swigc__p_wxPreviewControlBar
,
33053 _swigc__p_wxPreviewFrame
,
33054 _swigc__p_wxPrintData
,
33055 _swigc__p_wxPrintDialog
,
33056 _swigc__p_wxPrintDialogData
,
33057 _swigc__p_wxPrintPreview
,
33058 _swigc__p_wxPrinter
,
33059 _swigc__p_wxProgressDialog
,
33061 _swigc__p_wxPyCommandEvent
,
33062 _swigc__p_wxPyEvent
,
33063 _swigc__p_wxPyHtmlListBox
,
33064 _swigc__p_wxPyImageHandler
,
33065 _swigc__p_wxPyPanel
,
33066 _swigc__p_wxPyPopupTransientWindow
,
33067 _swigc__p_wxPyPreviewControlBar
,
33068 _swigc__p_wxPyPreviewFrame
,
33069 _swigc__p_wxPyPrintPreview
,
33070 _swigc__p_wxPyPrintout
,
33071 _swigc__p_wxPyScrolledWindow
,
33072 _swigc__p_wxPySizer
,
33073 _swigc__p_wxPyTaskBarIcon
,
33074 _swigc__p_wxPyVListBox
,
33075 _swigc__p_wxPyVScrolledWindow
,
33076 _swigc__p_wxPyValidator
,
33077 _swigc__p_wxPyWindow
,
33078 _swigc__p_wxQueryLayoutInfoEvent
,
33079 _swigc__p_wxQueryNewPaletteEvent
,
33081 _swigc__p_wxRegion
,
33082 _swigc__p_wxSashEvent
,
33083 _swigc__p_wxSashLayoutWindow
,
33084 _swigc__p_wxSashWindow
,
33085 _swigc__p_wxScrollEvent
,
33086 _swigc__p_wxScrollWinEvent
,
33087 _swigc__p_wxScrolledWindow
,
33088 _swigc__p_wxSetCursorEvent
,
33089 _swigc__p_wxShowEvent
,
33090 _swigc__p_wxSingleChoiceDialog
,
33092 _swigc__p_wxSizeEvent
,
33094 _swigc__p_wxSizerItem
,
33095 _swigc__p_wxSplashScreen
,
33096 _swigc__p_wxSplashScreenWindow
,
33097 _swigc__p_wxSplitterEvent
,
33098 _swigc__p_wxSplitterWindow
,
33099 _swigc__p_wxStaticBoxSizer
,
33100 _swigc__p_wxStatusBar
,
33101 _swigc__p_wxStdDialogButtonSizer
,
33102 _swigc__p_wxString
,
33103 _swigc__p_wxSysColourChangedEvent
,
33104 _swigc__p_wxTIFFHandler
,
33105 _swigc__p_wxTaskBarIcon
,
33106 _swigc__p_wxTaskBarIconEvent
,
33107 _swigc__p_wxTextEntryDialog
,
33108 _swigc__p_wxTipWindow
,
33109 _swigc__p_wxToolBar
,
33110 _swigc__p_wxTopLevelWindow
,
33111 _swigc__p_wxUpdateUIEvent
,
33112 _swigc__p_wxValidator
,
33113 _swigc__p_wxVisualAttributes
,
33114 _swigc__p_wxWindow
,
33115 _swigc__p_wxWindowCreateEvent
,
33116 _swigc__p_wxWindowDestroyEvent
,
33117 _swigc__p_wxXPMHandler
,
33121 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33123 static swig_const_info swig_const_table
[] = {
33124 {0, 0, 0, 0.0, 0, 0}};
33129 /* -----------------------------------------------------------------------------
33130 * Type initialization:
33131 * This problem is tough by the requirement that no dynamic
33132 * memory is used. Also, since swig_type_info structures store pointers to
33133 * swig_cast_info structures and swig_cast_info structures store pointers back
33134 * to swig_type_info structures, we need some lookup code at initialization.
33135 * The idea is that swig generates all the structures that are needed.
33136 * The runtime then collects these partially filled structures.
33137 * The SWIG_InitializeModule function takes these initial arrays out of
33138 * swig_module, and does all the lookup, filling in the swig_module.types
33139 * array with the correct data and linking the correct swig_cast_info
33140 * structures together.
33142 * The generated swig_type_info structures are assigned staticly to an initial
33143 * array. We just loop though that array, and handle each type individually.
33144 * First we lookup if this type has been already loaded, and if so, use the
33145 * loaded structure instead of the generated one. Then we have to fill in the
33146 * cast linked list. The cast data is initially stored in something like a
33147 * two-dimensional array. Each row corresponds to a type (there are the same
33148 * number of rows as there are in the swig_type_initial array). Each entry in
33149 * a column is one of the swig_cast_info structures for that type.
33150 * The cast_initial array is actually an array of arrays, because each row has
33151 * a variable number of columns. So to actually build the cast linked list,
33152 * we find the array of casts associated with the type, and loop through it
33153 * adding the casts to the list. The one last trick we need to do is making
33154 * sure the type pointer in the swig_cast_info struct is correct.
33156 * First off, we lookup the cast->type name to see if it is already loaded.
33157 * There are three cases to handle:
33158 * 1) If the cast->type has already been loaded AND the type we are adding
33159 * casting info to has not been loaded (it is in this module), THEN we
33160 * replace the cast->type pointer with the type pointer that has already
33162 * 2) If BOTH types (the one we are adding casting info to, and the
33163 * cast->type) are loaded, THEN the cast info has already been loaded by
33164 * the previous module so we just ignore it.
33165 * 3) Finally, if cast->type has not already been loaded, then we add that
33166 * swig_cast_info to the linked list (because the cast->type) pointer will
33168 * ----------------------------------------------------------------------------- */
33178 #define SWIGRUNTIME_DEBUG
33182 SWIG_InitializeModule(void *clientdata
) {
33184 swig_module_info
*module_head
;
33185 static int init_run
= 0;
33187 clientdata
= clientdata
;
33189 if (init_run
) return;
33192 /* Initialize the swig_module */
33193 swig_module
.type_initial
= swig_type_initial
;
33194 swig_module
.cast_initial
= swig_cast_initial
;
33196 /* Try and load any already created modules */
33197 module_head
= SWIG_GetModule(clientdata
);
33199 swig_module
.next
= module_head
->next
;
33200 module_head
->next
= &swig_module
;
33202 /* This is the first module loaded */
33203 swig_module
.next
= &swig_module
;
33204 SWIG_SetModule(clientdata
, &swig_module
);
33207 /* Now work on filling in swig_module.types */
33208 #ifdef SWIGRUNTIME_DEBUG
33209 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33211 for (i
= 0; i
< swig_module
.size
; ++i
) {
33212 swig_type_info
*type
= 0;
33213 swig_type_info
*ret
;
33214 swig_cast_info
*cast
;
33216 #ifdef SWIGRUNTIME_DEBUG
33217 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33220 /* if there is another module already loaded */
33221 if (swig_module
.next
!= &swig_module
) {
33222 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33225 /* Overwrite clientdata field */
33226 #ifdef SWIGRUNTIME_DEBUG
33227 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33229 if (swig_module
.type_initial
[i
]->clientdata
) {
33230 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33231 #ifdef SWIGRUNTIME_DEBUG
33232 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33236 type
= swig_module
.type_initial
[i
];
33239 /* Insert casting types */
33240 cast
= swig_module
.cast_initial
[i
];
33241 while (cast
->type
) {
33242 /* Don't need to add information already in the list */
33244 #ifdef SWIGRUNTIME_DEBUG
33245 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33247 if (swig_module
.next
!= &swig_module
) {
33248 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33249 #ifdef SWIGRUNTIME_DEBUG
33250 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33254 if (type
== swig_module
.type_initial
[i
]) {
33255 #ifdef SWIGRUNTIME_DEBUG
33256 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33261 /* Check for casting already in the list */
33262 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33263 #ifdef SWIGRUNTIME_DEBUG
33264 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33266 if (!ocast
) ret
= 0;
33271 #ifdef SWIGRUNTIME_DEBUG
33272 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33275 type
->cast
->prev
= cast
;
33276 cast
->next
= type
->cast
;
33282 /* Set entry in modules->types array equal to the type */
33283 swig_module
.types
[i
] = type
;
33285 swig_module
.types
[i
] = 0;
33287 #ifdef SWIGRUNTIME_DEBUG
33288 printf("**** SWIG_InitializeModule: Cast List ******\n");
33289 for (i
= 0; i
< swig_module
.size
; ++i
) {
33291 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33292 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33293 while (cast
->type
) {
33294 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33298 printf("---- Total casts: %d\n",j
);
33300 printf("**** SWIG_InitializeModule: Cast List ******\n");
33304 /* This function will propagate the clientdata field of type to
33305 * any new swig_type_info structures that have been added into the list
33306 * of equivalent types. It is like calling
33307 * SWIG_TypeClientData(type, clientdata) a second time.
33310 SWIG_PropagateClientData(void) {
33312 swig_cast_info
*equiv
;
33313 static int init_run
= 0;
33315 if (init_run
) return;
33318 for (i
= 0; i
< swig_module
.size
; i
++) {
33319 if (swig_module
.types
[i
]->clientdata
) {
33320 equiv
= swig_module
.types
[i
]->cast
;
33322 if (!equiv
->converter
) {
33323 if (equiv
->type
&& !equiv
->type
->clientdata
)
33324 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33326 equiv
= equiv
->next
;
33346 /* Python-specific SWIG API */
33347 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33348 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33349 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33351 /* -----------------------------------------------------------------------------
33352 * global variable support code.
33353 * ----------------------------------------------------------------------------- */
33355 typedef struct swig_globalvar
{
33356 char *name
; /* Name of global variable */
33357 PyObject
*(*get_attr
)(void); /* Return the current value */
33358 int (*set_attr
)(PyObject
*); /* Set the value */
33359 struct swig_globalvar
*next
;
33362 typedef struct swig_varlinkobject
{
33364 swig_globalvar
*vars
;
33365 } swig_varlinkobject
;
33367 SWIGINTERN PyObject
*
33368 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33369 return PyString_FromString("<Swig global variables>");
33372 SWIGINTERN PyObject
*
33373 swig_varlink_str(swig_varlinkobject
*v
) {
33374 PyObject
*str
= PyString_FromString("(");
33375 swig_globalvar
*var
;
33376 for (var
= v
->vars
; var
; var
=var
->next
) {
33377 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33378 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33380 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33385 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33386 PyObject
*str
= swig_varlink_str(v
);
33387 fprintf(fp
,"Swig global variables ");
33388 fprintf(fp
,"%s\n", PyString_AsString(str
));
33394 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33395 swig_globalvar
*var
= v
->vars
;
33397 swig_globalvar
*n
= var
->next
;
33404 SWIGINTERN PyObject
*
33405 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33406 PyObject
*res
= NULL
;
33407 swig_globalvar
*var
= v
->vars
;
33409 if (strcmp(var
->name
,n
) == 0) {
33410 res
= (*var
->get_attr
)();
33415 if (res
== NULL
&& !PyErr_Occurred()) {
33416 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33422 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33424 swig_globalvar
*var
= v
->vars
;
33426 if (strcmp(var
->name
,n
) == 0) {
33427 res
= (*var
->set_attr
)(p
);
33432 if (res
== 1 && !PyErr_Occurred()) {
33433 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33438 SWIGINTERN PyTypeObject
*
33439 swig_varlink_type(void) {
33440 static char varlink__doc__
[] = "Swig var link object";
33441 static PyTypeObject varlink_type
;
33442 static int type_init
= 0;
33444 const PyTypeObject tmp
33446 PyObject_HEAD_INIT(NULL
)
33447 0, /* Number of items in variable part (ob_size) */
33448 (char *)"swigvarlink", /* Type name (tp_name) */
33449 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33450 0, /* Itemsize (tp_itemsize) */
33451 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33452 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33453 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33454 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33455 0, /* tp_compare */
33456 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33457 0, /* tp_as_number */
33458 0, /* tp_as_sequence */
33459 0, /* tp_as_mapping */
33462 (reprfunc
)swig_varlink_str
, /* tp_str */
33463 0, /* tp_getattro */
33464 0, /* tp_setattro */
33465 0, /* tp_as_buffer */
33467 varlink__doc__
, /* tp_doc */
33468 0, /* tp_traverse */
33470 0, /* tp_richcompare */
33471 0, /* tp_weaklistoffset */
33472 #if PY_VERSION_HEX >= 0x02020000
33473 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33475 #if PY_VERSION_HEX >= 0x02030000
33478 #ifdef COUNT_ALLOCS
33479 0,0,0,0 /* tp_alloc -> tp_next */
33482 varlink_type
= tmp
;
33483 varlink_type
.ob_type
= &PyType_Type
;
33486 return &varlink_type
;
33489 /* Create a variable linking object for use later */
33490 SWIGINTERN PyObject
*
33491 SWIG_Python_newvarlink(void) {
33492 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33496 return ((PyObject
*) result
);
33500 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33501 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33502 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33504 size_t size
= strlen(name
)+1;
33505 gv
->name
= (char *)malloc(size
);
33507 strncpy(gv
->name
,name
,size
);
33508 gv
->get_attr
= get_attr
;
33509 gv
->set_attr
= set_attr
;
33510 gv
->next
= v
->vars
;
33516 SWIGINTERN PyObject
*
33518 static PyObject
*_SWIG_globals
= 0;
33519 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33520 return _SWIG_globals
;
33523 /* -----------------------------------------------------------------------------
33524 * constants/methods manipulation
33525 * ----------------------------------------------------------------------------- */
33527 /* Install Constants */
33529 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33532 for (i
= 0; constants
[i
].type
; ++i
) {
33533 switch(constants
[i
].type
) {
33534 case SWIG_PY_POINTER
:
33535 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33537 case SWIG_PY_BINARY
:
33538 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33545 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33551 /* -----------------------------------------------------------------------------*/
33552 /* Fix SwigMethods to carry the callback ptrs when needed */
33553 /* -----------------------------------------------------------------------------*/
33556 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33557 swig_const_info
*const_table
,
33558 swig_type_info
**types
,
33559 swig_type_info
**types_initial
) {
33561 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33562 const char *c
= methods
[i
].ml_doc
;
33563 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33565 swig_const_info
*ci
= 0;
33566 const char *name
= c
+ 10;
33567 for (j
= 0; const_table
[j
].type
; ++j
) {
33568 if (strncmp(const_table
[j
].name
, name
,
33569 strlen(const_table
[j
].name
)) == 0) {
33570 ci
= &(const_table
[j
]);
33575 size_t shift
= (ci
->ptype
) - types
;
33576 swig_type_info
*ty
= types_initial
[shift
];
33577 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33578 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33579 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33582 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33584 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33586 strncpy(buff
, "swig_ptr: ", 10);
33588 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33589 methods
[i
].ml_doc
= ndoc
;
33601 /* -----------------------------------------------------------------------------*
33602 * Partial Init method
33603 * -----------------------------------------------------------------------------*/
33608 SWIGEXPORT
void SWIG_init(void) {
33611 /* Fix SwigMethods to carry the callback ptrs when needed */
33612 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33614 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33615 d
= PyModule_GetDict(m
);
33617 SWIG_InitializeModule(0);
33618 SWIG_InstallConstants(d
,swig_const_table
);
33621 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33622 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33623 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33624 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33625 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33626 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33627 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33628 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33629 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33630 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33631 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33632 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33633 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33634 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33635 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33636 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33637 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33638 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33639 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33640 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33641 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33642 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33643 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33644 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33645 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33646 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33647 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33648 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33649 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33650 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33651 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33652 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33653 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33654 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33655 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33656 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33657 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33658 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33659 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33660 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33661 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33662 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33663 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33664 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33665 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33666 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33667 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33668 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33669 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33670 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33671 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33672 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33673 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33674 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33675 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33676 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33677 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33678 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33679 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33680 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33681 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33682 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33683 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33684 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33685 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33686 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33687 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33688 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33689 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33690 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33691 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33692 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33693 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33694 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33695 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33696 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33697 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33698 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33699 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33700 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33701 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33702 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33703 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33704 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33705 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33706 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33707 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33708 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33709 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33710 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33711 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33712 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33713 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33714 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33715 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33716 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33717 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33718 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33719 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33720 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33721 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33722 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33724 // Map renamed classes back to their common name for OOR
33725 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33726 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33727 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33729 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33730 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33731 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33732 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33733 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33734 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33735 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33736 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33737 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33738 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33739 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33740 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33741 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33742 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33743 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33744 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33745 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33746 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33747 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33748 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33749 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33750 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33751 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33752 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33753 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33754 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33755 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33756 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33757 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33758 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33759 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33760 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33761 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33762 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33763 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33764 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33765 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33766 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33767 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33768 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33769 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33770 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33771 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33772 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33773 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33774 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33775 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33776 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33777 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33778 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33779 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33780 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33781 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33782 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33783 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33784 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33785 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33786 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33787 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33788 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33789 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33790 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33791 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33792 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33793 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33794 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33795 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33796 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33797 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33798 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33799 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33800 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33801 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33802 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33803 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33804 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33805 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33806 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33807 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33808 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33809 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33810 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33811 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33812 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33813 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33814 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33815 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33816 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33817 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33818 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33819 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33820 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33821 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33822 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33823 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33825 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");