1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info
*swig_types
[166];
2632 static swig_module_info swig_module
= {swig_types
, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2658 #define SWIG_name "_windows_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2735 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2766 int res
= SWIG_AsVal_long (obj
, &v
);
2767 if (SWIG_IsOK(res
)) {
2768 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2769 return SWIG_OverflowError
;
2771 if (val
) *val
= static_cast< int >(v
);
2779 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2781 if (obj
== Py_True
) {
2782 if (val
) *val
= true;
2784 } else if (obj
== Py_False
) {
2785 if (val
) *val
= false;
2789 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2790 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2796 #define SWIG_From_long PyInt_FromLong
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_int (int value
)
2802 return SWIG_From_long (value
);
2807 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2809 if (PyNumber_Check(obj
)) {
2810 if (val
) *val
= PyFloat_AsDouble(obj
);
2813 return SWIG_TypeError
;
2817 #define SWIG_From_double PyFloat_FromDouble
2819 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2820 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2821 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2822 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2823 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2827 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2829 self
->GetFieldRect(i
, r
);
2832 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2836 #include <wx/popupwin.h>
2839 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2842 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2843 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2844 : wxPopupTransientWindow(parent
, style
) {}
2846 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2847 DEC_PYCALLBACK__(OnDismiss
);
2848 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2853 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2854 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2855 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2858 #include <wx/tipwin.h>
2860 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2861 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2864 #include <wx/tipwin.h>
2867 #include <wx/vscroll.h>
2870 class wxPyVScrolledWindow
: public wxVScrolledWindow
2872 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2874 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2876 wxPyVScrolledWindow(wxWindow
*parent
,
2877 wxWindowID id
= wxID_ANY
,
2878 const wxPoint
& pos
= wxDefaultPosition
,
2879 const wxSize
& size
= wxDefaultSize
,
2881 const wxString
& name
= wxPyPanelNameStr
)
2882 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2885 // Overridable virtuals
2887 // this function must be overridden in the derived class and it should
2888 // return the height of the given line in pixels
2889 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2892 // this function doesn't have to be overridden but it may be useful to do
2893 // it if calculating the lines heights is a relatively expensive operation
2894 // as it gives the user code a possibility to calculate several of them at
2897 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2898 // shouldn't rely on the latter being called for all lines in the interval
2899 // specified here. It is also possible that OnGetLineHeight() will be
2900 // called for the lines outside of this interval, so this is really just a
2901 // hint, not a promise.
2903 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2905 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2908 // when the number of lines changes, we try to estimate the total height
2909 // of all lines which is a rather expensive operation in terms of lines
2910 // access, so if the user code may estimate the average height
2911 // better/faster than we do, it should override this function to implement
2914 // this function should return the best guess for the total height it may
2916 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2919 // Also expose some other interesting protected methods
2922 // find the index of the line we need to show at the top of the window such
2923 // that the last (fully or partially) visible line is the given one
2924 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2925 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2927 // get the total height of the lines between lineMin (inclusive) and
2928 // lineMax (exclusive)
2929 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2930 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2932 // update the thumb size shown by the scrollbar
2933 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2935 // remove the scrollbar completely because we don't need it
2936 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2941 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2943 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2944 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2945 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2949 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2952 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2953 return SWIG_TypeError
;
2956 *val
= (unsigned long)v
;
2961 SWIGINTERNINLINE
int
2962 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2965 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2966 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2971 SWIGINTERNINLINE PyObject
*
2972 SWIG_From_unsigned_SS_long (unsigned long value
)
2974 return (value
> LONG_MAX
) ?
2975 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2979 SWIGINTERNINLINE PyObject
*
2980 SWIG_From_size_t (size_t value
)
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2986 #include <wx/vlbox.h>
2988 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2990 class wxPyVListBox
: public wxVListBox
2992 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2994 wxPyVListBox() : wxVListBox() {}
2996 wxPyVListBox(wxWindow
*parent
,
2997 wxWindowID id
= wxID_ANY
,
2998 const wxPoint
& pos
= wxDefaultPosition
,
2999 const wxSize
& size
= wxDefaultSize
,
3001 const wxString
& name
= wxPyVListBoxNameStr
)
3002 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3005 // Overridable virtuals
3007 // the derived class must implement this function to actually draw the item
3008 // with the given index on the provided DC
3009 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3010 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3013 // the derived class must implement this method to return the height of the
3015 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3016 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3019 // this method may be used to draw separators between the lines; note that
3020 // the rectangle may be modified, typically to deflate it a bit before
3021 // passing to OnDrawItem()
3023 // the base class version doesn't do anything
3024 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3025 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3028 // this method is used to draw the items background and, maybe, a border
3031 // the base class version implements a reasonable default behaviour which
3032 // consists in drawing the selected item with the standard background
3033 // colour and drawing a border around the item if it is either selected or
3035 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3036 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3044 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3045 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3046 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3047 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3050 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3051 unsigned long cookie
= 0;
3052 int selected
= self
->GetFirstSelected(cookie
);
3053 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3054 PyObject
* tup
= PyTuple_New(2);
3055 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3056 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3057 wxPyEndBlockThreads(blocked
);
3060 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3061 int selected
= self
->GetNextSelected(cookie
);
3062 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3063 PyObject
* tup
= PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3065 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3066 wxPyEndBlockThreads(blocked
);
3070 #include <wx/htmllbox.h>
3073 class wxPyHtmlListBox
: public wxHtmlListBox
3075 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3077 wxPyHtmlListBox() : wxHtmlListBox() {}
3079 wxPyHtmlListBox(wxWindow
*parent
,
3080 wxWindowID id
= wxID_ANY
,
3081 const wxPoint
& pos
= wxDefaultPosition
,
3082 const wxSize
& size
= wxDefaultSize
,
3084 const wxString
& name
= wxPyVListBoxNameStr
)
3085 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3088 // Overridable virtuals
3090 // this method must be implemented in the derived class and should return
3091 // the body (i.e. without <html>) of the HTML for the given item
3092 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3094 // this function may be overridden to decorate HTML returned by OnGetItem()
3095 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3097 // These are from wxVListBox
3098 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3099 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3102 // // this method allows to customize the selection appearance: it may be used
3103 // // to specify the colour of the text which normally has the given colour
3104 // // colFg when it is inside the selection
3106 // // by default, the original colour is not used at all and all text has the
3107 // // same (default for this system) colour inside selection
3108 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3110 // // this is the same as GetSelectedTextColour() but allows to customize the
3111 // // background colour -- this is even more rarely used as you can change it
3112 // // globally using SetSelectionBackground()
3113 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3116 // This method may be overriden to handle clicking on a link in
3117 // the listbox. By default, clicking links is ignored.
3118 virtual void OnLinkClicked(size_t n
,
3119 const wxHtmlLinkInfo
& link
);
3125 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3127 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3128 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3129 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3130 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3133 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3134 const wxHtmlLinkInfo
& link
) {
3136 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3137 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3138 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3139 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3142 wxPyEndBlockThreads(blocked
);
3144 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3151 #ifndef wxHAS_TASK_BAR_ICON
3152 // implement dummy classes for platforms that don't have it
3154 class wxTaskBarIcon
: public wxEvtHandler
3157 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3161 class wxTaskBarIconEvent
: public wxEvent
3164 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3165 { wxPyRaiseNotImplemented(); }
3166 virtual wxEvent
* Clone() const { return NULL
; }
3167 bool IsOk() const { return false; }
3168 bool IsIconInstalled() const { return false; }
3169 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3170 bool RemoveIcon() { return false; }
3171 bool PopupMenu(wxMenu
*menu
) { return false; }
3175 wxEVT_TASKBAR_MOVE
= 0,
3176 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3177 wxEVT_TASKBAR_LEFT_UP
= 0,
3178 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3179 wxEVT_TASKBAR_RIGHT_UP
= 0,
3180 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3181 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3186 // Otherwise make a class that can virtualize CreatePopupMenu
3187 class wxPyTaskBarIcon
: public wxTaskBarIcon
3189 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3191 wxPyTaskBarIcon() : wxTaskBarIcon()
3194 wxMenu
* CreatePopupMenu() {
3195 wxMenu
*rval
= NULL
;
3197 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3198 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3201 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3203 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3208 wxPyEndBlockThreads(blocked
);
3210 rval
= wxTaskBarIcon::CreatePopupMenu();
3217 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3221 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3225 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3226 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3227 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3228 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3229 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3230 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3232 // for compatibility only
3233 #define wxHIDE_READONLY 0
3235 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3237 self
->GetFilenames(arr
);
3238 return wxArrayString2PyList_helper(arr
);
3240 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3242 self
->GetPaths(arr
);
3243 return wxArrayString2PyList_helper(arr
);
3245 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3246 return wxArrayInt2PyList_helper(self
->GetSelections());
3248 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
){
3249 return new wxSingleChoiceDialog(parent
, message
, caption
,
3250 choices
, choices_array
, NULL
, style
, pos
);
3252 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3254 SWIGINTERNINLINE PyObject
*
3255 SWIG_From_bool (bool value
)
3257 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxWindow
3264 class wxPyWindow
: public wxWindow
3266 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3268 wxPyWindow() : wxWindow() {}
3269 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxString
& name
= wxPyPanelNameStr
)
3274 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3276 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel
: public wxPanel
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3362 const wxPoint
& pos
= wxDefaultPosition
,
3363 const wxSize
& size
= wxDefaultSize
,
3365 const wxString
& name
= wxPyPanelNameStr
)
3366 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3368 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3369 bool DoEraseBackground(wxDC
* dc
) {
3371 return wxWindow::DoEraseBackground(dc
->GetHDC());
3373 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3392 DEC_PYCALLBACK__(InitDialog
);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3395 DEC_PYCALLBACK_BOOL_(Validate
);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3428 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3440 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3443 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3445 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3447 // C++ version of Python aware wxScrolledWindow
3448 class wxPyScrolledWindow
: public wxScrolledWindow
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3454 const wxPoint
& pos
= wxDefaultPosition
,
3455 const wxSize
& size
= wxDefaultSize
,
3457 const wxString
& name
= wxPyPanelNameStr
)
3458 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3460 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3461 bool DoEraseBackground(wxDC
* dc
) {
3463 return wxWindow::DoEraseBackground(dc
->GetHDC());
3465 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3472 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3483 DEC_PYCALLBACK__(InitDialog
);
3484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3486 DEC_PYCALLBACK_BOOL_(Validate
);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3490 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3500 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3519 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3539 #include "wx/wxPython/printfw.h"
3542 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3543 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3544 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3546 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3547 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3548 self
->GetPrivDataLen());
3549 wxPyEndBlockThreads(blocked
);
3552 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3553 if (! PyString_Check(data
)) {
3554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3555 "Expected string object"));
3559 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3560 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3561 wxPyEndBlockThreads(blocked
);
3565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3567 // Since this one would be tough and ugly to do with the Macros...
3568 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3569 bool hadErr
= false;
3572 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3573 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3574 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3575 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3578 val
= PyTuple_GetItem(result
, 0);
3579 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3582 val
= PyTuple_GetItem(result
, 1);
3583 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3586 val
= PyTuple_GetItem(result
, 2);
3587 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3590 val
= PyTuple_GetItem(result
, 3);
3591 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3598 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3603 wxPyEndBlockThreads(blocked
);
3605 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3610 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3615 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3616 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3622 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3626 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3632 PyObject* win = wxPyMake_wxObject(a,false); \
3633 PyObject* dc = wxPyMake_wxObject(&b,false); \
3634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3638 wxPyEndBlockThreads(blocked); \
3640 rval = PCLASS::CBNAME(a, b); \
3647 class wxPyPrintPreview
: public wxPrintPreview
3649 DECLARE_CLASS(wxPyPrintPreview
)
3651 wxPyPrintPreview(wxPyPrintout
* printout
,
3652 wxPyPrintout
* printoutForPrinting
,
3653 wxPrintDialogData
* data
=NULL
)
3654 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3656 wxPyPrintPreview(wxPyPrintout
* printout
,
3657 wxPyPrintout
* printoutForPrinting
,
3659 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3665 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3666 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3667 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3668 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3673 // Stupid renamed classes... Fix this in 2.5...
3674 #if defined(__WXMSW__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3676 #elif defined(__WXMAC__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3679 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3691 class wxPyPreviewFrame
: public wxPreviewFrame
3693 DECLARE_CLASS(wxPyPreviewFrame
)
3695 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3696 const wxString
& title
,
3697 const wxPoint
& pos
= wxDefaultPosition
,
3698 const wxSize
& size
= wxDefaultSize
,
3699 long style
= wxDEFAULT_FRAME_STYLE
,
3700 const wxString
& name
= wxPyFrameNameStr
)
3701 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3704 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3705 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3707 DEC_PYCALLBACK_VOID_(Initialize
);
3708 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3709 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3714 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3721 class wxPyPreviewControlBar
: public wxPreviewControlBar
3723 DECLARE_CLASS(wxPyPreviewControlBar
)
3725 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3728 const wxPoint
& pos
= wxDefaultPosition
,
3729 const wxSize
& size
= wxDefaultSize
,
3731 const wxString
& name
= wxPyPanelNameStr
)
3732 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3735 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3737 DEC_PYCALLBACK_VOID_(CreateButtons
);
3738 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3743 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3750 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
= 0;
3752 wxWindow
*arg1
= (wxWindow
*) 0 ;
3753 int arg2
= (int) (int)-1 ;
3754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3758 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3759 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3760 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3761 wxPanel
*result
= 0 ;
3770 bool temp6
= false ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3774 PyObject
* obj3
= 0 ;
3775 PyObject
* obj4
= 0 ;
3776 PyObject
* obj5
= 0 ;
3777 char * kwnames
[] = {
3778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3783 if (!SWIG_IsOK(res1
)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3789 if (!SWIG_IsOK(ecode2
)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3792 arg2
= static_cast< int >(val2
);
3797 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3803 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3807 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3808 if (!SWIG_IsOK(ecode5
)) {
3809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3811 arg5
= static_cast< long >(val5
);
3815 arg6
= wxString_in_helper(obj5
);
3816 if (arg6
== NULL
) SWIG_fail
;
3821 if (!wxPyCheckForApp()) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3842 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3843 PyObject
*resultobj
= 0;
3844 wxPanel
*result
= 0 ;
3846 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3848 if (!wxPyCheckForApp()) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (wxPanel
*)new wxPanel();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3861 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
= 0;
3863 wxPanel
*arg1
= (wxPanel
*) 0 ;
3864 wxWindow
*arg2
= (wxWindow
*) 0 ;
3865 int arg3
= (int) (int)-1 ;
3866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3870 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3871 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3884 bool temp7
= false ;
3885 PyObject
* obj0
= 0 ;
3886 PyObject
* obj1
= 0 ;
3887 PyObject
* obj2
= 0 ;
3888 PyObject
* obj3
= 0 ;
3889 PyObject
* obj4
= 0 ;
3890 PyObject
* obj5
= 0 ;
3891 PyObject
* obj6
= 0 ;
3892 char * kwnames
[] = {
3893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3898 if (!SWIG_IsOK(res1
)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3901 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3903 if (!SWIG_IsOK(res2
)) {
3904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3906 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3909 if (!SWIG_IsOK(ecode3
)) {
3910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3912 arg3
= static_cast< int >(val3
);
3917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3923 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3927 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3928 if (!SWIG_IsOK(ecode6
)) {
3929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3931 arg6
= static_cast< long >(val6
);
3935 arg7
= wxString_in_helper(obj6
);
3936 if (arg7
== NULL
) SWIG_fail
;
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3963 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3964 PyObject
*resultobj
= 0;
3965 wxPanel
*arg1
= (wxPanel
*) 0 ;
3968 PyObject
*swig_obj
[1] ;
3970 if (!args
) SWIG_fail
;
3972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3973 if (!SWIG_IsOK(res1
)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3976 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 (arg1
)->SetFocusIgnoringChildren();
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= SWIG_Py_Void();
3990 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
= 0;
3992 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3993 SwigValueWrapper
<wxVisualAttributes
> result
;
3996 PyObject
* obj0
= 0 ;
3997 char * kwnames
[] = {
3998 (char *) "variant", NULL
4001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4004 if (!SWIG_IsOK(ecode1
)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4007 arg1
= static_cast< wxWindowVariant
>(val1
);
4010 if (!wxPyCheckForApp()) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4023 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4027 return SWIG_Py_Void();
4030 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4031 return SWIG_Python_InitShadowInstance(args
);
4034 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
= 0;
4036 wxWindow
*arg1
= (wxWindow
*) 0 ;
4037 int arg2
= (int) (int)-1 ;
4038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4042 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4043 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4044 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4045 wxScrolledWindow
*result
= 0 ;
4054 bool temp6
= false ;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4057 PyObject
* obj2
= 0 ;
4058 PyObject
* obj3
= 0 ;
4059 PyObject
* obj4
= 0 ;
4060 PyObject
* obj5
= 0 ;
4061 char * kwnames
[] = {
4062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4067 if (!SWIG_IsOK(res1
)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4073 if (!SWIG_IsOK(ecode2
)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4076 arg2
= static_cast< int >(val2
);
4081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4087 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4091 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4092 if (!SWIG_IsOK(ecode5
)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4095 arg5
= static_cast< long >(val5
);
4099 arg6
= wxString_in_helper(obj5
);
4100 if (arg6
== NULL
) SWIG_fail
;
4105 if (!wxPyCheckForApp()) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4126 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4127 PyObject
*resultobj
= 0;
4128 wxScrolledWindow
*result
= 0 ;
4130 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4132 if (!wxPyCheckForApp()) SWIG_fail
;
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4145 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
= 0;
4147 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4148 wxWindow
*arg2
= (wxWindow
*) 0 ;
4149 int arg3
= (int) (int)-1 ;
4150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4154 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4155 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4168 bool temp7
= false ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4171 PyObject
* obj2
= 0 ;
4172 PyObject
* obj3
= 0 ;
4173 PyObject
* obj4
= 0 ;
4174 PyObject
* obj5
= 0 ;
4175 PyObject
* obj6
= 0 ;
4176 char * kwnames
[] = {
4177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4182 if (!SWIG_IsOK(res1
)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4185 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4187 if (!SWIG_IsOK(res2
)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4190 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4192 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4193 if (!SWIG_IsOK(ecode3
)) {
4194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4196 arg3
= static_cast< int >(val3
);
4201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4211 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4212 if (!SWIG_IsOK(ecode6
)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4215 arg6
= static_cast< long >(val6
);
4219 arg7
= wxString_in_helper(obj6
);
4220 if (arg7
== NULL
) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4247 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
= 0;
4249 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4254 int arg6
= (int) 0 ;
4255 int arg7
= (int) 0 ;
4256 bool arg8
= (bool) false ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4275 PyObject
* obj2
= 0 ;
4276 PyObject
* obj3
= 0 ;
4277 PyObject
* obj4
= 0 ;
4278 PyObject
* obj5
= 0 ;
4279 PyObject
* obj6
= 0 ;
4280 PyObject
* obj7
= 0 ;
4281 char * kwnames
[] = {
4282 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4287 if (!SWIG_IsOK(res1
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4290 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4292 if (!SWIG_IsOK(ecode2
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4295 arg2
= static_cast< int >(val2
);
4296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4297 if (!SWIG_IsOK(ecode3
)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4300 arg3
= static_cast< int >(val3
);
4301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4302 if (!SWIG_IsOK(ecode4
)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4305 arg4
= static_cast< int >(val4
);
4306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4307 if (!SWIG_IsOK(ecode5
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4310 arg5
= static_cast< int >(val5
);
4312 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4313 if (!SWIG_IsOK(ecode6
)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4316 arg6
= static_cast< int >(val6
);
4319 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4320 if (!SWIG_IsOK(ecode7
)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4323 arg7
= static_cast< int >(val7
);
4326 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4327 if (!SWIG_IsOK(ecode8
)) {
4328 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4330 arg8
= static_cast< bool >(val8
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_Py_Void();
4345 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 PyObject
* obj2
= 0 ;
4359 char * kwnames
[] = {
4360 (char *) "self",(char *) "x",(char *) "y", NULL
4363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4368 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4370 if (!SWIG_IsOK(ecode2
)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4373 arg2
= static_cast< int >(val2
);
4374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4375 if (!SWIG_IsOK(ecode3
)) {
4376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4378 arg3
= static_cast< int >(val3
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 (arg1
)->Scroll(arg2
,arg3
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_Py_Void();
4392 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
= 0;
4394 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 char * kwnames
[] = {
4404 (char *) "self",(char *) "orient", NULL
4407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4412 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4414 if (!SWIG_IsOK(ecode2
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4417 arg2
= static_cast< int >(val2
);
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_From_int(static_cast< int >(result
));
4431 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= 0;
4433 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 char * kwnames
[] = {
4446 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4456 if (!SWIG_IsOK(ecode2
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4459 arg2
= static_cast< int >(val2
);
4460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4461 if (!SWIG_IsOK(ecode3
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4464 arg3
= static_cast< int >(val3
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_Py_Void();
4478 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4489 PyObject
* obj0
= 0 ;
4490 PyObject
* obj1
= 0 ;
4491 PyObject
* obj2
= 0 ;
4492 char * kwnames
[] = {
4493 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4498 if (!SWIG_IsOK(res1
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4501 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4503 if (!SWIG_IsOK(ecode2
)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4506 arg2
= static_cast< int >(val2
);
4507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4508 if (!SWIG_IsOK(ecode3
)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4511 arg3
= static_cast< int >(val3
);
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 (arg1
)->SetScrollRate(arg2
,arg3
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_Py_Void();
4525 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4526 PyObject
*resultobj
= 0;
4527 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4528 int *arg2
= (int *) 0 ;
4529 int *arg3
= (int *) 0 ;
4533 int res2
= SWIG_TMPOBJ
;
4535 int res3
= SWIG_TMPOBJ
;
4536 PyObject
*swig_obj
[1] ;
4540 if (!args
) SWIG_fail
;
4542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4543 if (!SWIG_IsOK(res1
)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4546 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4550 wxPyEndAllowThreads(__tstate
);
4551 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= SWIG_Py_Void();
4554 if (SWIG_IsTmpObj(res2
)) {
4555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4557 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4560 if (SWIG_IsTmpObj(res3
)) {
4561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4563 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4572 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
= 0;
4574 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4585 PyObject
* obj2
= 0 ;
4586 char * kwnames
[] = {
4587 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4592 if (!SWIG_IsOK(res1
)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4595 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4596 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4597 if (!SWIG_IsOK(ecode2
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4600 arg2
= static_cast< bool >(val2
);
4601 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4602 if (!SWIG_IsOK(ecode3
)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4605 arg3
= static_cast< bool >(val3
);
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 (arg1
)->EnableScrolling(arg2
,arg3
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 resultobj
= SWIG_Py_Void();
4619 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 PyObject
*resultobj
= 0;
4621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4622 int *arg2
= (int *) 0 ;
4623 int *arg3
= (int *) 0 ;
4627 int res2
= SWIG_TMPOBJ
;
4629 int res3
= SWIG_TMPOBJ
;
4630 PyObject
*swig_obj
[1] ;
4634 if (!args
) SWIG_fail
;
4636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4637 if (!SWIG_IsOK(res1
)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4640 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_Py_Void();
4648 if (SWIG_IsTmpObj(res2
)) {
4649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4651 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4654 if (SWIG_IsTmpObj(res3
)) {
4655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4657 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4666 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= 0;
4668 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 PyObject
* obj2
= 0 ;
4680 char * kwnames
[] = {
4681 (char *) "self",(char *) "xs",(char *) "ys", NULL
4684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4686 if (!SWIG_IsOK(res1
)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4689 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4690 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4691 if (!SWIG_IsOK(ecode2
)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4694 arg2
= static_cast< double >(val2
);
4695 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4696 if (!SWIG_IsOK(ecode3
)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4699 arg3
= static_cast< double >(val3
);
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 (arg1
)->SetScale(arg2
,arg3
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_Py_Void();
4713 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4714 PyObject
*resultobj
= 0;
4715 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4719 PyObject
*swig_obj
[1] ;
4721 if (!args
) SWIG_fail
;
4723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4724 if (!SWIG_IsOK(res1
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_From_double(static_cast< double >(result
));
4741 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4742 PyObject
*resultobj
= 0;
4743 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4747 PyObject
*swig_obj
[1] ;
4749 if (!args
) SWIG_fail
;
4751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4752 if (!SWIG_IsOK(res1
)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4755 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= SWIG_From_double(static_cast< double >(result
));
4769 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4770 PyObject
*resultobj
= 0;
4771 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4778 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4780 if (!SWIG_IsOK(res1
)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4783 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4786 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4801 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4802 PyObject
*resultobj
= 0;
4803 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4806 int *arg4
= (int *) 0 ;
4807 int *arg5
= (int *) 0 ;
4815 int res4
= SWIG_TMPOBJ
;
4817 int res5
= SWIG_TMPOBJ
;
4821 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4823 if (!SWIG_IsOK(res1
)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4826 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4827 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4828 if (!SWIG_IsOK(ecode2
)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4831 arg2
= static_cast< int >(val2
);
4832 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4833 if (!SWIG_IsOK(ecode3
)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4836 arg3
= static_cast< int >(val3
);
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= SWIG_Py_Void();
4844 if (SWIG_IsTmpObj(res4
)) {
4845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4847 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4850 if (SWIG_IsTmpObj(res5
)) {
4851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4853 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4862 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4866 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4869 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4872 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4876 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4881 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4882 PyObject
*resultobj
= 0;
4883 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4890 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4892 if (!SWIG_IsOK(res1
)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4895 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4898 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4913 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4914 PyObject
*resultobj
= 0;
4915 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4918 int *arg4
= (int *) 0 ;
4919 int *arg5
= (int *) 0 ;
4927 int res4
= SWIG_TMPOBJ
;
4929 int res5
= SWIG_TMPOBJ
;
4933 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4935 if (!SWIG_IsOK(res1
)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4938 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4939 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4940 if (!SWIG_IsOK(ecode2
)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4943 arg2
= static_cast< int >(val2
);
4944 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4945 if (!SWIG_IsOK(ecode3
)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4948 arg3
= static_cast< int >(val3
);
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= SWIG_Py_Void();
4956 if (SWIG_IsTmpObj(res4
)) {
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4959 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4962 if (SWIG_IsTmpObj(res5
)) {
4963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4965 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4974 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4978 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4981 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4984 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4988 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4993 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4994 PyObject
*resultobj
= 0;
4995 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4998 PyObject
*swig_obj
[1] ;
5000 if (!args
) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5006 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 (arg1
)->AdjustScrollbars();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_Py_Void();
5020 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
= 0;
5022 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5023 wxScrollWinEvent
*arg2
= 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "self",(char *) "event", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5037 if (!SWIG_IsOK(res1
)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5040 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5042 if (!SWIG_IsOK(res2
)) {
5043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_From_int(static_cast< int >(result
));
5062 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5065 wxWindow
*arg2
= (wxWindow
*) 0 ;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5072 char * kwnames
[] = {
5073 (char *) "self",(char *) "target", NULL
5076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5078 if (!SWIG_IsOK(res1
)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5081 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5083 if (!SWIG_IsOK(res2
)) {
5084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5086 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetTargetWindow(arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_Py_Void();
5100 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5101 PyObject
*resultobj
= 0;
5102 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5103 wxWindow
*result
= 0 ;
5106 PyObject
*swig_obj
[1] ;
5108 if (!args
) SWIG_fail
;
5110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5111 if (!SWIG_IsOK(res1
)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5114 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= wxPyMake_wxObject(result
, 0);
5130 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
= 0;
5132 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5139 char * kwnames
[] = {
5140 (char *) "self",(char *) "rect", NULL
5143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5145 if (!SWIG_IsOK(res1
)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5148 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5151 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_Py_Void();
5166 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5167 PyObject
*resultobj
= 0;
5168 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5172 PyObject
*swig_obj
[1] ;
5174 if (!args
) SWIG_fail
;
5176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5177 if (!SWIG_IsOK(res1
)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5180 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5194 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
= 0;
5196 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5204 char * kwnames
[] = {
5205 (char *) "self",(char *) "dc", NULL
5208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5210 if (!SWIG_IsOK(res1
)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5213 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5215 if (!SWIG_IsOK(res2
)) {
5216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5221 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->DoPrepareDC(*arg2
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_Py_Void();
5235 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
= 0;
5237 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5238 SwigValueWrapper
<wxVisualAttributes
> result
;
5241 PyObject
* obj0
= 0 ;
5242 char * kwnames
[] = {
5243 (char *) "variant", NULL
5246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5248 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5249 if (!SWIG_IsOK(ecode1
)) {
5250 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5252 arg1
= static_cast< wxWindowVariant
>(val1
);
5255 if (!wxPyCheckForApp()) SWIG_fail
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5268 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5271 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5272 return SWIG_Py_Void();
5275 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5276 return SWIG_Python_InitShadowInstance(args
);
5279 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5280 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5285 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5286 PyObject
*pyobj
= 0;
5290 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5292 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5299 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5300 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5305 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5306 PyObject
*pyobj
= 0;
5310 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5312 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5319 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5320 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5325 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5326 PyObject
*pyobj
= 0;
5330 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5332 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5339 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5340 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5345 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5346 PyObject
*pyobj
= 0;
5350 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5352 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5359 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
= 0;
5361 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5362 bool arg2
= (bool) true ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5369 char * kwnames
[] = {
5370 (char *) "self",(char *) "maximize", NULL
5373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5378 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5380 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5381 if (!SWIG_IsOK(ecode2
)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5384 arg2
= static_cast< bool >(val2
);
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 (arg1
)->Maximize(arg2
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= SWIG_Py_Void();
5399 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5400 PyObject
*resultobj
= 0;
5401 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5404 PyObject
*swig_obj
[1] ;
5406 if (!args
) SWIG_fail
;
5408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5409 if (!SWIG_IsOK(res1
)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5412 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= SWIG_Py_Void();
5426 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
= 0;
5428 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5429 bool arg2
= (bool) true ;
5434 PyObject
* obj0
= 0 ;
5435 PyObject
* obj1
= 0 ;
5436 char * kwnames
[] = {
5437 (char *) "self",(char *) "iconize", NULL
5440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5442 if (!SWIG_IsOK(res1
)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5445 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5447 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5448 if (!SWIG_IsOK(ecode2
)) {
5449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5451 arg2
= static_cast< bool >(val2
);
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 (arg1
)->Iconize(arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= SWIG_Py_Void();
5466 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5467 PyObject
*resultobj
= 0;
5468 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5472 PyObject
*swig_obj
[1] ;
5474 if (!args
) SWIG_fail
;
5476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5477 if (!SWIG_IsOK(res1
)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5480 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5496 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5497 PyObject
*resultobj
= 0;
5498 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5502 PyObject
*swig_obj
[1] ;
5504 if (!args
) SWIG_fail
;
5506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5507 if (!SWIG_IsOK(res1
)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5510 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5526 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5527 PyObject
*resultobj
= 0;
5528 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5532 PyObject
*swig_obj
[1] ;
5534 if (!args
) SWIG_fail
;
5536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5537 if (!SWIG_IsOK(res1
)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5540 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5556 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5557 PyObject
*resultobj
= 0;
5558 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5562 PyObject
*swig_obj
[1] ;
5564 if (!args
) SWIG_fail
;
5566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5567 if (!SWIG_IsOK(res1
)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5570 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5584 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
= 0;
5586 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5594 char * kwnames
[] = {
5595 (char *) "self",(char *) "icon", NULL
5598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5600 if (!SWIG_IsOK(res1
)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5603 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5605 if (!SWIG_IsOK(res2
)) {
5606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5611 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_Py_Void();
5625 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
= 0;
5627 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5628 wxIconBundle
*arg2
= 0 ;
5633 PyObject
* obj0
= 0 ;
5634 PyObject
* obj1
= 0 ;
5635 char * kwnames
[] = {
5636 (char *) "self",(char *) "icons", NULL
5639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5641 if (!SWIG_IsOK(res1
)) {
5642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5644 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5646 if (!SWIG_IsOK(res2
)) {
5647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5652 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_Py_Void();
5666 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
= 0;
5668 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5670 long arg3
= (long) wxFULLSCREEN_ALL
;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5680 PyObject
* obj2
= 0 ;
5681 char * kwnames
[] = {
5682 (char *) "self",(char *) "show",(char *) "style", NULL
5685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5687 if (!SWIG_IsOK(res1
)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5690 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5691 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5692 if (!SWIG_IsOK(ecode2
)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5695 arg2
= static_cast< bool >(val2
);
5697 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5698 if (!SWIG_IsOK(ecode3
)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5701 arg3
= static_cast< long >(val3
);
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5718 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5719 PyObject
*resultobj
= 0;
5720 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5724 PyObject
*swig_obj
[1] ;
5726 if (!args
) SWIG_fail
;
5728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5729 if (!SWIG_IsOK(res1
)) {
5730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5732 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5748 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
= 0;
5750 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5751 wxString
*arg2
= 0 ;
5754 bool temp2
= false ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5757 char * kwnames
[] = {
5758 (char *) "self",(char *) "title", NULL
5761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5763 if (!SWIG_IsOK(res1
)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5766 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5768 arg2
= wxString_in_helper(obj1
);
5769 if (arg2
== NULL
) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 (arg1
)->SetTitle((wxString
const &)*arg2
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 resultobj
= SWIG_Py_Void();
5793 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5794 PyObject
*resultobj
= 0;
5795 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5799 PyObject
*swig_obj
[1] ;
5801 if (!args
) SWIG_fail
;
5803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5804 if (!SWIG_IsOK(res1
)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5807 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5827 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
= 0;
5829 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5830 wxRegion
*arg2
= 0 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5838 char * kwnames
[] = {
5839 (char *) "self",(char *) "region", NULL
5842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5844 if (!SWIG_IsOK(res1
)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5847 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5849 if (!SWIG_IsOK(res2
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5855 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5871 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
*resultobj
= 0;
5873 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5874 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 char * kwnames
[] = {
5882 (char *) "self",(char *) "flags", NULL
5885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5890 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5893 if (!SWIG_IsOK(ecode2
)) {
5894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5896 arg2
= static_cast< int >(val2
);
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->RequestUserAttention(arg2
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_Py_Void();
5911 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5912 PyObject
*resultobj
= 0;
5913 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5917 PyObject
*swig_obj
[1] ;
5919 if (!args
) SWIG_fail
;
5921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5922 if (!SWIG_IsOK(res1
)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5925 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (bool)(arg1
)->IsActive();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5941 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
= 0;
5943 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5950 PyObject
* obj1
= 0 ;
5951 char * kwnames
[] = {
5952 (char *) "self",(char *) "on", NULL
5955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5957 if (!SWIG_IsOK(res1
)) {
5958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5960 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5961 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5962 if (!SWIG_IsOK(ecode2
)) {
5963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5965 arg2
= static_cast< bool >(val2
);
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_Py_Void();
5979 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5980 PyObject
*resultobj
= 0;
5981 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5985 PyObject
*swig_obj
[1] ;
5987 if (!args
) SWIG_fail
;
5989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5990 if (!SWIG_IsOK(res1
)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5993 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6009 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
= 0;
6011 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6012 int arg2
= (int) wxBOTH
;
6017 PyObject
* obj0
= 0 ;
6018 PyObject
* obj1
= 0 ;
6019 char * kwnames
[] = {
6020 (char *) "self",(char *) "dir", NULL
6023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6025 if (!SWIG_IsOK(res1
)) {
6026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6028 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6031 if (!SWIG_IsOK(ecode2
)) {
6032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6034 arg2
= static_cast< int >(val2
);
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 (arg1
)->CenterOnScreen(arg2
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= SWIG_Py_Void();
6049 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
= 0;
6051 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6052 bool arg2
= (bool) true ;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 char * kwnames
[] = {
6061 (char *) "self",(char *) "enable", NULL
6064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6066 if (!SWIG_IsOK(res1
)) {
6067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6069 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6071 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6072 if (!SWIG_IsOK(ecode2
)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6075 arg2
= static_cast< bool >(val2
);
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6092 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6093 PyObject
*resultobj
= 0;
6094 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6095 wxWindow
*result
= 0 ;
6098 PyObject
*swig_obj
[1] ;
6100 if (!args
) SWIG_fail
;
6102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6103 if (!SWIG_IsOK(res1
)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6106 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= wxPyMake_wxObject(result
, 0);
6122 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
= 0;
6124 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6125 wxWindow
*arg2
= (wxWindow
*) 0 ;
6126 wxWindow
*result
= 0 ;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6133 char * kwnames
[] = {
6134 (char *) "self",(char *) "child", NULL
6137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6139 if (!SWIG_IsOK(res1
)) {
6140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6142 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6144 if (!SWIG_IsOK(res2
)) {
6145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6147 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= wxPyMake_wxObject(result
, 0);
6163 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
= 0;
6165 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6166 wxWindow
*arg2
= (wxWindow
*) 0 ;
6171 PyObject
* obj0
= 0 ;
6172 PyObject
* obj1
= 0 ;
6173 char * kwnames
[] = {
6174 (char *) "self",(char *) "win", NULL
6177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6179 if (!SWIG_IsOK(res1
)) {
6180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6182 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6184 if (!SWIG_IsOK(res2
)) {
6185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6187 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 (arg1
)->SetTmpDefaultItem(arg2
);
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= SWIG_Py_Void();
6201 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6202 PyObject
*resultobj
= 0;
6203 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6204 wxWindow
*result
= 0 ;
6207 PyObject
*swig_obj
[1] ;
6209 if (!args
) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6215 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= wxPyMake_wxObject(result
, 0);
6231 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6234 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6235 return SWIG_Py_Void();
6238 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
= 0;
6240 wxWindow
*arg1
= (wxWindow
*) 0 ;
6241 int arg2
= (int) (int)-1 ;
6242 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6243 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6244 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6245 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6246 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6247 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6248 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6249 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6250 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6251 wxFrame
*result
= 0 ;
6256 bool temp3
= false ;
6261 bool temp7
= false ;
6262 PyObject
* obj0
= 0 ;
6263 PyObject
* obj1
= 0 ;
6264 PyObject
* obj2
= 0 ;
6265 PyObject
* obj3
= 0 ;
6266 PyObject
* obj4
= 0 ;
6267 PyObject
* obj5
= 0 ;
6268 PyObject
* obj6
= 0 ;
6269 char * kwnames
[] = {
6270 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6275 if (!SWIG_IsOK(res1
)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6278 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6281 if (!SWIG_IsOK(ecode2
)) {
6282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6284 arg2
= static_cast< int >(val2
);
6288 arg3
= wxString_in_helper(obj2
);
6289 if (arg3
== NULL
) SWIG_fail
;
6296 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6302 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6306 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6307 if (!SWIG_IsOK(ecode6
)) {
6308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6310 arg6
= static_cast< long >(val6
);
6314 arg7
= wxString_in_helper(obj6
);
6315 if (arg7
== NULL
) SWIG_fail
;
6320 if (!wxPyCheckForApp()) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6349 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6350 PyObject
*resultobj
= 0;
6351 wxFrame
*result
= 0 ;
6353 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6355 if (!wxPyCheckForApp()) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (wxFrame
*)new wxFrame();
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6368 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
= 0;
6370 wxFrame
*arg1
= (wxFrame
*) 0 ;
6371 wxWindow
*arg2
= (wxWindow
*) 0 ;
6372 int arg3
= (int) (int)-1 ;
6373 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6374 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6375 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6376 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6377 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6378 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6379 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6380 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6389 bool temp4
= false ;
6394 bool temp8
= false ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6398 PyObject
* obj3
= 0 ;
6399 PyObject
* obj4
= 0 ;
6400 PyObject
* obj5
= 0 ;
6401 PyObject
* obj6
= 0 ;
6402 PyObject
* obj7
= 0 ;
6403 char * kwnames
[] = {
6404 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6409 if (!SWIG_IsOK(res1
)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6412 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6414 if (!SWIG_IsOK(res2
)) {
6415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6417 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6420 if (!SWIG_IsOK(ecode3
)) {
6421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6423 arg3
= static_cast< int >(val3
);
6427 arg4
= wxString_in_helper(obj3
);
6428 if (arg4
== NULL
) SWIG_fail
;
6435 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6441 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6445 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6446 if (!SWIG_IsOK(ecode7
)) {
6447 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6449 arg7
= static_cast< long >(val7
);
6453 arg8
= wxString_in_helper(obj7
);
6454 if (arg8
== NULL
) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6489 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6490 PyObject
*resultobj
= 0;
6491 wxFrame
*arg1
= (wxFrame
*) 0 ;
6494 PyObject
*swig_obj
[1] ;
6496 if (!args
) SWIG_fail
;
6498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6499 if (!SWIG_IsOK(res1
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6502 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 (arg1
)->SendSizeEvent();
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= SWIG_Py_Void();
6516 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
= 0;
6518 wxFrame
*arg1
= (wxFrame
*) 0 ;
6519 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6524 PyObject
* obj0
= 0 ;
6525 PyObject
* obj1
= 0 ;
6526 char * kwnames
[] = {
6527 (char *) "self",(char *) "menubar", NULL
6530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6532 if (!SWIG_IsOK(res1
)) {
6533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6535 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6537 if (!SWIG_IsOK(res2
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6540 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 (arg1
)->SetMenuBar(arg2
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_Py_Void();
6554 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6555 PyObject
*resultobj
= 0;
6556 wxFrame
*arg1
= (wxFrame
*) 0 ;
6557 wxMenuBar
*result
= 0 ;
6560 PyObject
*swig_obj
[1] ;
6562 if (!args
) SWIG_fail
;
6564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6565 if (!SWIG_IsOK(res1
)) {
6566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6568 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= wxPyMake_wxObject(result
, 0);
6584 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
= 0;
6586 wxFrame
*arg1
= (wxFrame
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6595 char * kwnames
[] = {
6596 (char *) "self",(char *) "winid", NULL
6599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6601 if (!SWIG_IsOK(res1
)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6604 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6606 if (!SWIG_IsOK(ecode2
)) {
6607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6609 arg2
= static_cast< int >(val2
);
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6625 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
= 0;
6627 wxFrame
*arg1
= (wxFrame
*) 0 ;
6628 int arg2
= (int) 1 ;
6629 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6630 int arg4
= (int) 0 ;
6631 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6632 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6633 wxStatusBar
*result
= 0 ;
6642 bool temp5
= false ;
6643 PyObject
* obj0
= 0 ;
6644 PyObject
* obj1
= 0 ;
6645 PyObject
* obj2
= 0 ;
6646 PyObject
* obj3
= 0 ;
6647 PyObject
* obj4
= 0 ;
6648 char * kwnames
[] = {
6649 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6654 if (!SWIG_IsOK(res1
)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6657 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6660 if (!SWIG_IsOK(ecode2
)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6663 arg2
= static_cast< int >(val2
);
6666 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6667 if (!SWIG_IsOK(ecode3
)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6670 arg3
= static_cast< long >(val3
);
6673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6674 if (!SWIG_IsOK(ecode4
)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6677 arg4
= static_cast< int >(val4
);
6681 arg5
= wxString_in_helper(obj4
);
6682 if (arg5
== NULL
) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6709 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6710 PyObject
*resultobj
= 0;
6711 wxFrame
*arg1
= (wxFrame
*) 0 ;
6712 wxStatusBar
*result
= 0 ;
6715 PyObject
*swig_obj
[1] ;
6717 if (!args
) SWIG_fail
;
6719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6720 if (!SWIG_IsOK(res1
)) {
6721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6723 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6731 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6739 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
*resultobj
= 0;
6741 wxFrame
*arg1
= (wxFrame
*) 0 ;
6742 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6747 PyObject
* obj0
= 0 ;
6748 PyObject
* obj1
= 0 ;
6749 char * kwnames
[] = {
6750 (char *) "self",(char *) "statBar", NULL
6753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6755 if (!SWIG_IsOK(res1
)) {
6756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6758 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6759 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6760 if (!SWIG_IsOK(res2
)) {
6761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6763 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->SetStatusBar(arg2
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= SWIG_Py_Void();
6777 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
= 0;
6779 wxFrame
*arg1
= (wxFrame
*) 0 ;
6780 wxString
*arg2
= 0 ;
6781 int arg3
= (int) 0 ;
6784 bool temp2
= false ;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6789 PyObject
* obj2
= 0 ;
6790 char * kwnames
[] = {
6791 (char *) "self",(char *) "text",(char *) "number", NULL
6794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6796 if (!SWIG_IsOK(res1
)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6799 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6801 arg2
= wxString_in_helper(obj1
);
6802 if (arg2
== NULL
) SWIG_fail
;
6806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6807 if (!SWIG_IsOK(ecode3
)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6810 arg3
= static_cast< int >(val3
);
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= SWIG_Py_Void();
6833 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
= 0;
6835 wxFrame
*arg1
= (wxFrame
*) 0 ;
6837 int *arg3
= (int *) 0 ;
6840 PyObject
* obj0
= 0 ;
6841 PyObject
* obj1
= 0 ;
6842 char * kwnames
[] = {
6843 (char *) "self",(char *) "widths", NULL
6846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6848 if (!SWIG_IsOK(res1
)) {
6849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6851 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6853 arg2
= PyList_Size(obj1
);
6854 arg3
= int_LIST_helper(obj1
);
6855 if (arg3
== NULL
) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 resultobj
= SWIG_Py_Void();
6865 if (arg3
) delete [] arg3
;
6870 if (arg3
) delete [] arg3
;
6876 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
= 0;
6878 wxFrame
*arg1
= (wxFrame
*) 0 ;
6879 wxString
*arg2
= 0 ;
6880 int arg3
= (int) 0 ;
6883 bool temp2
= false ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6888 PyObject
* obj2
= 0 ;
6889 char * kwnames
[] = {
6890 (char *) "self",(char *) "text",(char *) "number", NULL
6893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6895 if (!SWIG_IsOK(res1
)) {
6896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6898 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6900 arg2
= wxString_in_helper(obj1
);
6901 if (arg2
== NULL
) SWIG_fail
;
6905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6906 if (!SWIG_IsOK(ecode3
)) {
6907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6909 arg3
= static_cast< int >(val3
);
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_Py_Void();
6932 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxFrame
*arg1
= (wxFrame
*) 0 ;
6935 int arg2
= (int) 0 ;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 char * kwnames
[] = {
6943 (char *) "self",(char *) "number", NULL
6946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6948 if (!SWIG_IsOK(res1
)) {
6949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6951 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6954 if (!SWIG_IsOK(ecode2
)) {
6955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6957 arg2
= static_cast< int >(val2
);
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 (arg1
)->PopStatusText(arg2
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_Py_Void();
6972 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
= 0;
6974 wxFrame
*arg1
= (wxFrame
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6982 char * kwnames
[] = {
6983 (char *) "self",(char *) "n", NULL
6986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6988 if (!SWIG_IsOK(res1
)) {
6989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6991 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6993 if (!SWIG_IsOK(ecode2
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6996 arg2
= static_cast< int >(val2
);
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 (arg1
)->SetStatusBarPane(arg2
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_Py_Void();
7010 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7011 PyObject
*resultobj
= 0;
7012 wxFrame
*arg1
= (wxFrame
*) 0 ;
7016 PyObject
*swig_obj
[1] ;
7018 if (!args
) SWIG_fail
;
7020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7021 if (!SWIG_IsOK(res1
)) {
7022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7024 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_From_int(static_cast< int >(result
));
7038 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7040 wxFrame
*arg1
= (wxFrame
*) 0 ;
7041 long arg2
= (long) -1 ;
7042 int arg3
= (int) -1 ;
7043 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7044 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7045 wxToolBar
*result
= 0 ;
7052 bool temp4
= false ;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7055 PyObject
* obj2
= 0 ;
7056 PyObject
* obj3
= 0 ;
7057 char * kwnames
[] = {
7058 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7063 if (!SWIG_IsOK(res1
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7066 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7068 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7069 if (!SWIG_IsOK(ecode2
)) {
7070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7072 arg2
= static_cast< long >(val2
);
7075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7076 if (!SWIG_IsOK(ecode3
)) {
7077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7079 arg3
= static_cast< int >(val3
);
7083 arg4
= wxString_in_helper(obj3
);
7084 if (arg4
== NULL
) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7111 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7112 PyObject
*resultobj
= 0;
7113 wxFrame
*arg1
= (wxFrame
*) 0 ;
7114 wxToolBar
*result
= 0 ;
7117 PyObject
*swig_obj
[1] ;
7119 if (!args
) SWIG_fail
;
7121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7122 if (!SWIG_IsOK(res1
)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7125 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7133 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7141 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
= 0;
7143 wxFrame
*arg1
= (wxFrame
*) 0 ;
7144 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7151 char * kwnames
[] = {
7152 (char *) "self",(char *) "toolbar", NULL
7155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7157 if (!SWIG_IsOK(res1
)) {
7158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7160 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7161 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7162 if (!SWIG_IsOK(res2
)) {
7163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7165 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 (arg1
)->SetToolBar(arg2
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= SWIG_Py_Void();
7179 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
= 0;
7181 wxFrame
*arg1
= (wxFrame
*) 0 ;
7182 wxString
*arg2
= 0 ;
7186 bool temp2
= false ;
7189 PyObject
* obj0
= 0 ;
7190 PyObject
* obj1
= 0 ;
7191 PyObject
* obj2
= 0 ;
7192 char * kwnames
[] = {
7193 (char *) "self",(char *) "text",(char *) "show", NULL
7196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7198 if (!SWIG_IsOK(res1
)) {
7199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7201 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7203 arg2
= wxString_in_helper(obj1
);
7204 if (arg2
== NULL
) SWIG_fail
;
7207 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7208 if (!SWIG_IsOK(ecode3
)) {
7209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7211 arg3
= static_cast< bool >(val3
);
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= SWIG_Py_Void();
7233 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
= 0;
7235 wxFrame
*arg1
= (wxFrame
*) 0 ;
7236 wxMenu
*arg2
= (wxMenu
*) NULL
;
7241 PyObject
* obj0
= 0 ;
7242 PyObject
* obj1
= 0 ;
7243 char * kwnames
[] = {
7244 (char *) "self",(char *) "menu", NULL
7247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7249 if (!SWIG_IsOK(res1
)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7252 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7255 if (!SWIG_IsOK(res2
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7258 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 (arg1
)->DoMenuUpdates(arg2
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_Py_Void();
7273 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
= 0;
7275 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7276 SwigValueWrapper
<wxVisualAttributes
> result
;
7279 PyObject
* obj0
= 0 ;
7280 char * kwnames
[] = {
7281 (char *) "variant", NULL
7284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7286 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7287 if (!SWIG_IsOK(ecode1
)) {
7288 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7290 arg1
= static_cast< wxWindowVariant
>(val1
);
7293 if (!wxPyCheckForApp()) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7306 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7309 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7310 return SWIG_Py_Void();
7313 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7314 return SWIG_Python_InitShadowInstance(args
);
7317 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
= 0;
7319 wxWindow
*arg1
= (wxWindow
*) 0 ;
7320 int arg2
= (int) (int)-1 ;
7321 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7322 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7323 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7324 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7325 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7326 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7327 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7328 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7329 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7330 wxDialog
*result
= 0 ;
7335 bool temp3
= false ;
7340 bool temp7
= false ;
7341 PyObject
* obj0
= 0 ;
7342 PyObject
* obj1
= 0 ;
7343 PyObject
* obj2
= 0 ;
7344 PyObject
* obj3
= 0 ;
7345 PyObject
* obj4
= 0 ;
7346 PyObject
* obj5
= 0 ;
7347 PyObject
* obj6
= 0 ;
7348 char * kwnames
[] = {
7349 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7354 if (!SWIG_IsOK(res1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7360 if (!SWIG_IsOK(ecode2
)) {
7361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7363 arg2
= static_cast< int >(val2
);
7367 arg3
= wxString_in_helper(obj2
);
7368 if (arg3
== NULL
) SWIG_fail
;
7375 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7381 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7385 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7386 if (!SWIG_IsOK(ecode6
)) {
7387 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7389 arg6
= static_cast< long >(val6
);
7393 arg7
= wxString_in_helper(obj6
);
7394 if (arg7
== NULL
) SWIG_fail
;
7399 if (!wxPyCheckForApp()) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7428 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7429 PyObject
*resultobj
= 0;
7430 wxDialog
*result
= 0 ;
7432 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7434 if (!wxPyCheckForApp()) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (wxDialog
*)new wxDialog();
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7447 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
= 0;
7449 wxDialog
*arg1
= (wxDialog
*) 0 ;
7450 wxWindow
*arg2
= (wxWindow
*) 0 ;
7451 int arg3
= (int) (int)-1 ;
7452 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7453 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7454 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7455 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7456 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7457 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7458 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7459 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7460 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7468 bool temp4
= false ;
7473 bool temp8
= false ;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7476 PyObject
* obj2
= 0 ;
7477 PyObject
* obj3
= 0 ;
7478 PyObject
* obj4
= 0 ;
7479 PyObject
* obj5
= 0 ;
7480 PyObject
* obj6
= 0 ;
7481 PyObject
* obj7
= 0 ;
7482 char * kwnames
[] = {
7483 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7488 if (!SWIG_IsOK(res1
)) {
7489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7491 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7493 if (!SWIG_IsOK(res2
)) {
7494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7496 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7499 if (!SWIG_IsOK(ecode3
)) {
7500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7502 arg3
= static_cast< int >(val3
);
7506 arg4
= wxString_in_helper(obj3
);
7507 if (arg4
== NULL
) SWIG_fail
;
7514 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7520 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7524 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7525 if (!SWIG_IsOK(ecode7
)) {
7526 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7528 arg7
= static_cast< long >(val7
);
7532 arg8
= wxString_in_helper(obj7
);
7533 if (arg8
== NULL
) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7568 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
= 0;
7570 wxDialog
*arg1
= (wxDialog
*) 0 ;
7576 PyObject
* obj0
= 0 ;
7577 PyObject
* obj1
= 0 ;
7578 char * kwnames
[] = {
7579 (char *) "self",(char *) "returnCode", NULL
7582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7584 if (!SWIG_IsOK(res1
)) {
7585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7587 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7589 if (!SWIG_IsOK(ecode2
)) {
7590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7592 arg2
= static_cast< int >(val2
);
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 (arg1
)->SetReturnCode(arg2
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_Py_Void();
7606 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7607 PyObject
*resultobj
= 0;
7608 wxDialog
*arg1
= (wxDialog
*) 0 ;
7612 PyObject
*swig_obj
[1] ;
7614 if (!args
) SWIG_fail
;
7616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7617 if (!SWIG_IsOK(res1
)) {
7618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7620 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= SWIG_From_int(static_cast< int >(result
));
7634 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
= 0;
7636 wxDialog
*arg1
= (wxDialog
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7644 char * kwnames
[] = {
7645 (char *) "self",(char *) "affirmativeId", NULL
7648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7650 if (!SWIG_IsOK(res1
)) {
7651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7653 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7655 if (!SWIG_IsOK(ecode2
)) {
7656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7658 arg2
= static_cast< int >(val2
);
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 (arg1
)->SetAffirmativeId(arg2
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= SWIG_Py_Void();
7672 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7673 PyObject
*resultobj
= 0;
7674 wxDialog
*arg1
= (wxDialog
*) 0 ;
7678 PyObject
*swig_obj
[1] ;
7680 if (!args
) SWIG_fail
;
7682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7683 if (!SWIG_IsOK(res1
)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7686 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_From_int(static_cast< int >(result
));
7700 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
*resultobj
= 0;
7702 wxDialog
*arg1
= (wxDialog
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7710 char * kwnames
[] = {
7711 (char *) "self",(char *) "escapeId", NULL
7714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7719 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7721 if (!SWIG_IsOK(ecode2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7724 arg2
= static_cast< int >(val2
);
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 (arg1
)->SetEscapeId(arg2
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_Py_Void();
7738 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7739 PyObject
*resultobj
= 0;
7740 wxDialog
*arg1
= (wxDialog
*) 0 ;
7744 PyObject
*swig_obj
[1] ;
7746 if (!args
) SWIG_fail
;
7748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7749 if (!SWIG_IsOK(res1
)) {
7750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7752 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= SWIG_From_int(static_cast< int >(result
));
7766 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
= 0;
7768 wxDialog
*arg1
= (wxDialog
*) 0 ;
7769 wxString
*arg2
= 0 ;
7770 wxSizer
*result
= 0 ;
7773 bool temp2
= false ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7776 char * kwnames
[] = {
7777 (char *) "self",(char *) "message", NULL
7780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7782 if (!SWIG_IsOK(res1
)) {
7783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7785 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7787 arg2
= wxString_in_helper(obj1
);
7788 if (arg2
== NULL
) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7814 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
= 0;
7816 wxDialog
*arg1
= (wxDialog
*) 0 ;
7818 bool arg3
= (bool) false ;
7819 int arg4
= (int) 0 ;
7820 wxSizer
*result
= 0 ;
7829 PyObject
* obj0
= 0 ;
7830 PyObject
* obj1
= 0 ;
7831 PyObject
* obj2
= 0 ;
7832 PyObject
* obj3
= 0 ;
7833 char * kwnames
[] = {
7834 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7839 if (!SWIG_IsOK(res1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7842 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7843 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7844 if (!SWIG_IsOK(ecode2
)) {
7845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7847 arg2
= static_cast< long >(val2
);
7849 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7850 if (!SWIG_IsOK(ecode3
)) {
7851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7853 arg3
= static_cast< bool >(val3
);
7856 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7857 if (!SWIG_IsOK(ecode4
)) {
7858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7860 arg4
= static_cast< int >(val4
);
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7877 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
= 0;
7879 wxDialog
*arg1
= (wxDialog
*) 0 ;
7881 wxStdDialogButtonSizer
*result
= 0 ;
7886 PyObject
* obj0
= 0 ;
7887 PyObject
* obj1
= 0 ;
7888 char * kwnames
[] = {
7889 (char *) "self",(char *) "flags", NULL
7892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7894 if (!SWIG_IsOK(res1
)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7897 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7898 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7899 if (!SWIG_IsOK(ecode2
)) {
7900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7902 arg2
= static_cast< long >(val2
);
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7916 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7917 PyObject
*resultobj
= 0;
7918 wxDialog
*arg1
= (wxDialog
*) 0 ;
7922 PyObject
*swig_obj
[1] ;
7924 if (!args
) SWIG_fail
;
7926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7927 if (!SWIG_IsOK(res1
)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7930 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7946 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7947 PyObject
*resultobj
= 0;
7948 wxDialog
*arg1
= (wxDialog
*) 0 ;
7952 PyObject
*swig_obj
[1] ;
7954 if (!args
) SWIG_fail
;
7956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7957 if (!SWIG_IsOK(res1
)) {
7958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7960 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (int)(arg1
)->ShowModal();
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_From_int(static_cast< int >(result
));
7974 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
= 0;
7976 wxDialog
*arg1
= (wxDialog
*) 0 ;
7982 PyObject
* obj0
= 0 ;
7983 PyObject
* obj1
= 0 ;
7984 char * kwnames
[] = {
7985 (char *) "self",(char *) "retCode", NULL
7988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7990 if (!SWIG_IsOK(res1
)) {
7991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7993 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7995 if (!SWIG_IsOK(ecode2
)) {
7996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7998 arg2
= static_cast< int >(val2
);
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 (arg1
)->EndModal(arg2
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= SWIG_Py_Void();
8012 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
= 0;
8014 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8015 SwigValueWrapper
<wxVisualAttributes
> result
;
8018 PyObject
* obj0
= 0 ;
8019 char * kwnames
[] = {
8020 (char *) "variant", NULL
8023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8025 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8026 if (!SWIG_IsOK(ecode1
)) {
8027 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8029 arg1
= static_cast< wxWindowVariant
>(val1
);
8032 if (!wxPyCheckForApp()) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8045 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8048 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8049 return SWIG_Py_Void();
8052 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8053 return SWIG_Python_InitShadowInstance(args
);
8056 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
= 0;
8058 wxWindow
*arg1
= (wxWindow
*) 0 ;
8059 int arg2
= (int) (int)-1 ;
8060 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8061 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8062 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8063 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8064 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8065 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8066 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8067 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8068 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8069 wxMiniFrame
*result
= 0 ;
8074 bool temp3
= false ;
8079 bool temp7
= false ;
8080 PyObject
* obj0
= 0 ;
8081 PyObject
* obj1
= 0 ;
8082 PyObject
* obj2
= 0 ;
8083 PyObject
* obj3
= 0 ;
8084 PyObject
* obj4
= 0 ;
8085 PyObject
* obj5
= 0 ;
8086 PyObject
* obj6
= 0 ;
8087 char * kwnames
[] = {
8088 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8093 if (!SWIG_IsOK(res1
)) {
8094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8096 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8099 if (!SWIG_IsOK(ecode2
)) {
8100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8102 arg2
= static_cast< int >(val2
);
8106 arg3
= wxString_in_helper(obj2
);
8107 if (arg3
== NULL
) SWIG_fail
;
8114 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8120 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8124 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8125 if (!SWIG_IsOK(ecode6
)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8128 arg6
= static_cast< long >(val6
);
8132 arg7
= wxString_in_helper(obj6
);
8133 if (arg7
== NULL
) SWIG_fail
;
8138 if (!wxPyCheckForApp()) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8141 wxPyEndAllowThreads(__tstate
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8167 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8168 PyObject
*resultobj
= 0;
8169 wxMiniFrame
*result
= 0 ;
8171 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8173 if (!wxPyCheckForApp()) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 result
= (wxMiniFrame
*)new wxMiniFrame();
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8186 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
= 0;
8188 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8189 wxWindow
*arg2
= (wxWindow
*) 0 ;
8190 int arg3
= (int) (int)-1 ;
8191 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8192 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8193 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8194 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8195 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8196 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8197 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8198 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8199 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8207 bool temp4
= false ;
8212 bool temp8
= false ;
8213 PyObject
* obj0
= 0 ;
8214 PyObject
* obj1
= 0 ;
8215 PyObject
* obj2
= 0 ;
8216 PyObject
* obj3
= 0 ;
8217 PyObject
* obj4
= 0 ;
8218 PyObject
* obj5
= 0 ;
8219 PyObject
* obj6
= 0 ;
8220 PyObject
* obj7
= 0 ;
8221 char * kwnames
[] = {
8222 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8227 if (!SWIG_IsOK(res1
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8230 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8232 if (!SWIG_IsOK(res2
)) {
8233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8235 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8238 if (!SWIG_IsOK(ecode3
)) {
8239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8241 arg3
= static_cast< int >(val3
);
8245 arg4
= wxString_in_helper(obj3
);
8246 if (arg4
== NULL
) SWIG_fail
;
8253 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8259 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8263 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8264 if (!SWIG_IsOK(ecode7
)) {
8265 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8267 arg7
= static_cast< long >(val7
);
8271 arg8
= wxString_in_helper(obj7
);
8272 if (arg8
== NULL
) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8307 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8310 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8311 return SWIG_Py_Void();
8314 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8315 return SWIG_Python_InitShadowInstance(args
);
8318 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
= 0;
8320 wxBitmap
*arg1
= 0 ;
8321 wxWindow
*arg2
= (wxWindow
*) 0 ;
8323 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8324 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8325 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8326 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8327 long arg6
= (long) wxNO_BORDER
;
8328 wxSplashScreenWindow
*result
= 0 ;
8339 PyObject
* obj0
= 0 ;
8340 PyObject
* obj1
= 0 ;
8341 PyObject
* obj2
= 0 ;
8342 PyObject
* obj3
= 0 ;
8343 PyObject
* obj4
= 0 ;
8344 PyObject
* obj5
= 0 ;
8345 char * kwnames
[] = {
8346 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8350 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8351 if (!SWIG_IsOK(res1
)) {
8352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8357 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8359 if (!SWIG_IsOK(res2
)) {
8360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8362 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8364 if (!SWIG_IsOK(ecode3
)) {
8365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8367 arg3
= static_cast< int >(val3
);
8371 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8377 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8381 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8382 if (!SWIG_IsOK(ecode6
)) {
8383 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8385 arg6
= static_cast< long >(val6
);
8388 if (!wxPyCheckForApp()) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8401 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
= 0;
8403 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8404 wxBitmap
*arg2
= 0 ;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8411 char * kwnames
[] = {
8412 (char *) "self",(char *) "bitmap", NULL
8415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8417 if (!SWIG_IsOK(res1
)) {
8418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8420 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8422 if (!SWIG_IsOK(res2
)) {
8423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8428 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= SWIG_Py_Void();
8442 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8443 PyObject
*resultobj
= 0;
8444 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8445 wxBitmap
*result
= 0 ;
8448 PyObject
*swig_obj
[1] ;
8450 if (!args
) SWIG_fail
;
8452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8453 if (!SWIG_IsOK(res1
)) {
8454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8456 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8461 result
= (wxBitmap
*) &_result_ref
;
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8467 wxBitmap
* resultptr
= new wxBitmap(*result
);
8468 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8476 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8479 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8480 return SWIG_Py_Void();
8483 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8484 return SWIG_Python_InitShadowInstance(args
);
8487 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
= 0;
8489 wxBitmap
*arg1
= 0 ;
8492 wxWindow
*arg4
= (wxWindow
*) 0 ;
8493 int arg5
= (int) -1 ;
8494 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8495 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8496 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8497 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8498 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8499 wxSplashScreen
*result
= 0 ;
8514 PyObject
* obj0
= 0 ;
8515 PyObject
* obj1
= 0 ;
8516 PyObject
* obj2
= 0 ;
8517 PyObject
* obj3
= 0 ;
8518 PyObject
* obj4
= 0 ;
8519 PyObject
* obj5
= 0 ;
8520 PyObject
* obj6
= 0 ;
8521 PyObject
* obj7
= 0 ;
8522 char * kwnames
[] = {
8523 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8527 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8528 if (!SWIG_IsOK(res1
)) {
8529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8534 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8535 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8536 if (!SWIG_IsOK(ecode2
)) {
8537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8539 arg2
= static_cast< long >(val2
);
8540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8541 if (!SWIG_IsOK(ecode3
)) {
8542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8544 arg3
= static_cast< int >(val3
);
8545 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8546 if (!SWIG_IsOK(res4
)) {
8547 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8549 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8551 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8552 if (!SWIG_IsOK(ecode5
)) {
8553 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8555 arg5
= static_cast< int >(val5
);
8560 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8566 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8570 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8571 if (!SWIG_IsOK(ecode8
)) {
8572 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8574 arg8
= static_cast< long >(val8
);
8577 if (!wxPyCheckForApp()) SWIG_fail
;
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8590 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8591 PyObject
*resultobj
= 0;
8592 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8596 PyObject
*swig_obj
[1] ;
8598 if (!args
) SWIG_fail
;
8600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8601 if (!SWIG_IsOK(res1
)) {
8602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8604 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= SWIG_From_long(static_cast< long >(result
));
8618 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8619 PyObject
*resultobj
= 0;
8620 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8621 wxSplashScreenWindow
*result
= 0 ;
8624 PyObject
*swig_obj
[1] ;
8626 if (!args
) SWIG_fail
;
8628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8629 if (!SWIG_IsOK(res1
)) {
8630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8632 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8646 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8647 PyObject
*resultobj
= 0;
8648 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8652 PyObject
*swig_obj
[1] ;
8654 if (!args
) SWIG_fail
;
8656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8657 if (!SWIG_IsOK(res1
)) {
8658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8660 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= SWIG_From_int(static_cast< int >(result
));
8674 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8677 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8678 return SWIG_Py_Void();
8681 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8682 return SWIG_Python_InitShadowInstance(args
);
8685 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
= 0;
8687 wxWindow
*arg1
= (wxWindow
*) 0 ;
8688 int arg2
= (int) -1 ;
8689 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8690 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8691 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8692 wxStatusBar
*result
= 0 ;
8699 bool temp4
= false ;
8700 PyObject
* obj0
= 0 ;
8701 PyObject
* obj1
= 0 ;
8702 PyObject
* obj2
= 0 ;
8703 PyObject
* obj3
= 0 ;
8704 char * kwnames
[] = {
8705 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8710 if (!SWIG_IsOK(res1
)) {
8711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8713 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8716 if (!SWIG_IsOK(ecode2
)) {
8717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8719 arg2
= static_cast< int >(val2
);
8722 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8723 if (!SWIG_IsOK(ecode3
)) {
8724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8726 arg3
= static_cast< long >(val3
);
8730 arg4
= wxString_in_helper(obj3
);
8731 if (arg4
== NULL
) SWIG_fail
;
8736 if (!wxPyCheckForApp()) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8757 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8758 PyObject
*resultobj
= 0;
8759 wxStatusBar
*result
= 0 ;
8761 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8763 if (!wxPyCheckForApp()) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 result
= (wxStatusBar
*)new wxStatusBar();
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8776 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
= 0;
8778 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8779 wxWindow
*arg2
= (wxWindow
*) 0 ;
8780 int arg3
= (int) -1 ;
8781 long arg4
= (long) wxST_SIZEGRIP
;
8782 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8783 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8793 bool temp5
= false ;
8794 PyObject
* obj0
= 0 ;
8795 PyObject
* obj1
= 0 ;
8796 PyObject
* obj2
= 0 ;
8797 PyObject
* obj3
= 0 ;
8798 PyObject
* obj4
= 0 ;
8799 char * kwnames
[] = {
8800 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8805 if (!SWIG_IsOK(res1
)) {
8806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8808 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8810 if (!SWIG_IsOK(res2
)) {
8811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8813 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8816 if (!SWIG_IsOK(ecode3
)) {
8817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8819 arg3
= static_cast< int >(val3
);
8822 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8823 if (!SWIG_IsOK(ecode4
)) {
8824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8826 arg4
= static_cast< long >(val4
);
8830 arg5
= wxString_in_helper(obj4
);
8831 if (arg5
== NULL
) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8858 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
= 0;
8860 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8861 int arg2
= (int) 1 ;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8868 char * kwnames
[] = {
8869 (char *) "self",(char *) "number", NULL
8872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8874 if (!SWIG_IsOK(res1
)) {
8875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8877 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8880 if (!SWIG_IsOK(ecode2
)) {
8881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8883 arg2
= static_cast< int >(val2
);
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 (arg1
)->SetFieldsCount(arg2
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 resultobj
= SWIG_Py_Void();
8898 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8899 PyObject
*resultobj
= 0;
8900 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8904 PyObject
*swig_obj
[1] ;
8906 if (!args
) SWIG_fail
;
8908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8909 if (!SWIG_IsOK(res1
)) {
8910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8912 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= SWIG_From_int(static_cast< int >(result
));
8926 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
*resultobj
= 0;
8928 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8929 wxString
*arg2
= 0 ;
8930 int arg3
= (int) 0 ;
8933 bool temp2
= false ;
8936 PyObject
* obj0
= 0 ;
8937 PyObject
* obj1
= 0 ;
8938 PyObject
* obj2
= 0 ;
8939 char * kwnames
[] = {
8940 (char *) "self",(char *) "text",(char *) "number", NULL
8943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8945 if (!SWIG_IsOK(res1
)) {
8946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8948 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8950 arg2
= wxString_in_helper(obj1
);
8951 if (arg2
== NULL
) SWIG_fail
;
8955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8956 if (!SWIG_IsOK(ecode3
)) {
8957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8959 arg3
= static_cast< int >(val3
);
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 resultobj
= SWIG_Py_Void();
8982 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
= 0;
8984 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8985 int arg2
= (int) 0 ;
8991 PyObject
* obj0
= 0 ;
8992 PyObject
* obj1
= 0 ;
8993 char * kwnames
[] = {
8994 (char *) "self",(char *) "number", NULL
8997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8999 if (!SWIG_IsOK(res1
)) {
9000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9002 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9005 if (!SWIG_IsOK(ecode2
)) {
9006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9008 arg2
= static_cast< int >(val2
);
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9029 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
= 0;
9031 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9032 wxString
*arg2
= 0 ;
9033 int arg3
= (int) 0 ;
9036 bool temp2
= false ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9041 PyObject
* obj2
= 0 ;
9042 char * kwnames
[] = {
9043 (char *) "self",(char *) "text",(char *) "number", NULL
9046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9048 if (!SWIG_IsOK(res1
)) {
9049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9051 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9053 arg2
= wxString_in_helper(obj1
);
9054 if (arg2
== NULL
) SWIG_fail
;
9058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9059 if (!SWIG_IsOK(ecode3
)) {
9060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9062 arg3
= static_cast< int >(val3
);
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_Py_Void();
9085 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
= 0;
9087 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9088 int arg2
= (int) 0 ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 char * kwnames
[] = {
9096 (char *) "self",(char *) "number", NULL
9099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9101 if (!SWIG_IsOK(res1
)) {
9102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9104 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9107 if (!SWIG_IsOK(ecode2
)) {
9108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9110 arg2
= static_cast< int >(val2
);
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 (arg1
)->PopStatusText(arg2
);
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= SWIG_Py_Void();
9125 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
= 0;
9127 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9129 int *arg3
= (int *) 0 ;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj1
= 0 ;
9134 char * kwnames
[] = {
9135 (char *) "self",(char *) "widths", NULL
9138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9140 if (!SWIG_IsOK(res1
)) {
9141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9143 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9145 arg2
= PyList_Size(obj1
);
9146 arg3
= int_LIST_helper(obj1
);
9147 if (arg3
== NULL
) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_Py_Void();
9157 if (arg3
) delete [] arg3
;
9162 if (arg3
) delete [] arg3
;
9168 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
= 0;
9170 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9172 int *arg3
= (int *) 0 ;
9175 PyObject
* obj0
= 0 ;
9176 PyObject
* obj1
= 0 ;
9177 char * kwnames
[] = {
9178 (char *) "self",(char *) "styles", NULL
9181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9183 if (!SWIG_IsOK(res1
)) {
9184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9186 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9188 arg2
= PyList_Size(obj1
);
9189 arg3
= int_LIST_helper(obj1
);
9190 if (arg3
== NULL
) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= SWIG_Py_Void();
9200 if (arg3
) delete [] arg3
;
9205 if (arg3
) delete [] arg3
;
9211 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
= 0;
9213 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 char * kwnames
[] = {
9223 (char *) "self",(char *) "i", NULL
9226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9231 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9233 if (!SWIG_IsOK(ecode2
)) {
9234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9236 arg2
= static_cast< int >(val2
);
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9250 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
= 0;
9252 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9260 char * kwnames
[] = {
9261 (char *) "self",(char *) "height", NULL
9264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9266 if (!SWIG_IsOK(res1
)) {
9267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9269 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9271 if (!SWIG_IsOK(ecode2
)) {
9272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9274 arg2
= static_cast< int >(val2
);
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 (arg1
)->SetMinHeight(arg2
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= SWIG_Py_Void();
9288 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9289 PyObject
*resultobj
= 0;
9290 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9294 PyObject
*swig_obj
[1] ;
9296 if (!args
) SWIG_fail
;
9298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9299 if (!SWIG_IsOK(res1
)) {
9300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9302 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= SWIG_From_int(static_cast< int >(result
));
9316 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9317 PyObject
*resultobj
= 0;
9318 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9322 PyObject
*swig_obj
[1] ;
9324 if (!args
) SWIG_fail
;
9326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9327 if (!SWIG_IsOK(res1
)) {
9328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9330 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= SWIG_From_int(static_cast< int >(result
));
9344 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
*resultobj
= 0;
9346 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9347 SwigValueWrapper
<wxVisualAttributes
> result
;
9350 PyObject
* obj0
= 0 ;
9351 char * kwnames
[] = {
9352 (char *) "variant", NULL
9355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9357 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9358 if (!SWIG_IsOK(ecode1
)) {
9359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9361 arg1
= static_cast< wxWindowVariant
>(val1
);
9364 if (!wxPyCheckForApp()) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9377 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9380 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9381 return SWIG_Py_Void();
9384 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9385 return SWIG_Python_InitShadowInstance(args
);
9388 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9389 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9394 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9395 PyObject
*pyobj
= 0;
9399 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9401 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9408 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
= 0;
9410 wxWindow
*arg1
= (wxWindow
*) 0 ;
9411 int arg2
= (int) -1 ;
9412 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9413 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9414 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9415 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9416 long arg5
= (long) wxSP_3D
;
9417 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9418 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9419 wxSplitterWindow
*result
= 0 ;
9428 bool temp6
= false ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9431 PyObject
* obj2
= 0 ;
9432 PyObject
* obj3
= 0 ;
9433 PyObject
* obj4
= 0 ;
9434 PyObject
* obj5
= 0 ;
9435 char * kwnames
[] = {
9436 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9441 if (!SWIG_IsOK(res1
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9444 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9447 if (!SWIG_IsOK(ecode2
)) {
9448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9450 arg2
= static_cast< int >(val2
);
9455 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9461 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9465 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9466 if (!SWIG_IsOK(ecode5
)) {
9467 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9469 arg5
= static_cast< long >(val5
);
9473 arg6
= wxString_in_helper(obj5
);
9474 if (arg6
== NULL
) SWIG_fail
;
9479 if (!wxPyCheckForApp()) SWIG_fail
;
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9500 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9501 PyObject
*resultobj
= 0;
9502 wxSplitterWindow
*result
= 0 ;
9504 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9506 if (!wxPyCheckForApp()) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9519 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
= 0;
9521 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9522 wxWindow
*arg2
= (wxWindow
*) 0 ;
9523 int arg3
= (int) -1 ;
9524 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9525 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9526 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9527 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9528 long arg6
= (long) wxSP_3D
;
9529 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9530 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9542 bool temp7
= false ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 PyObject
* obj2
= 0 ;
9546 PyObject
* obj3
= 0 ;
9547 PyObject
* obj4
= 0 ;
9548 PyObject
* obj5
= 0 ;
9549 PyObject
* obj6
= 0 ;
9550 char * kwnames
[] = {
9551 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9556 if (!SWIG_IsOK(res1
)) {
9557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9559 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9560 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9561 if (!SWIG_IsOK(res2
)) {
9562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9564 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9567 if (!SWIG_IsOK(ecode3
)) {
9568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9570 arg3
= static_cast< int >(val3
);
9575 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9581 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9585 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9586 if (!SWIG_IsOK(ecode6
)) {
9587 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9589 arg6
= static_cast< long >(val6
);
9593 arg7
= wxString_in_helper(obj6
);
9594 if (arg7
== NULL
) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9621 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9622 PyObject
*resultobj
= 0;
9623 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9624 wxWindow
*result
= 0 ;
9627 PyObject
*swig_obj
[1] ;
9629 if (!args
) SWIG_fail
;
9631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9632 if (!SWIG_IsOK(res1
)) {
9633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9635 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= wxPyMake_wxObject(result
, 0);
9651 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9652 PyObject
*resultobj
= 0;
9653 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9654 wxWindow
*result
= 0 ;
9657 PyObject
*swig_obj
[1] ;
9659 if (!args
) SWIG_fail
;
9661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9662 if (!SWIG_IsOK(res1
)) {
9663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9665 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= wxPyMake_wxObject(result
, 0);
9681 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
= 0;
9683 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 char * kwnames
[] = {
9692 (char *) "self",(char *) "mode", NULL
9695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9697 if (!SWIG_IsOK(res1
)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9700 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9702 if (!SWIG_IsOK(ecode2
)) {
9703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9705 arg2
= static_cast< int >(val2
);
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 (arg1
)->SetSplitMode(arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_Py_Void();
9719 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9720 PyObject
*resultobj
= 0;
9721 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9725 PyObject
*swig_obj
[1] ;
9727 if (!args
) SWIG_fail
;
9729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9730 if (!SWIG_IsOK(res1
)) {
9731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9733 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_From_int(static_cast< int >(result
));
9747 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
= 0;
9749 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9750 wxWindow
*arg2
= (wxWindow
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9757 char * kwnames
[] = {
9758 (char *) "self",(char *) "window", NULL
9761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9766 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9768 if (!SWIG_IsOK(res2
)) {
9769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9771 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 (arg1
)->Initialize(arg2
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= SWIG_Py_Void();
9785 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
= 0;
9787 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9788 wxWindow
*arg2
= (wxWindow
*) 0 ;
9789 wxWindow
*arg3
= (wxWindow
*) 0 ;
9790 int arg4
= (int) 0 ;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9802 PyObject
* obj2
= 0 ;
9803 PyObject
* obj3
= 0 ;
9804 char * kwnames
[] = {
9805 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9810 if (!SWIG_IsOK(res1
)) {
9811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9813 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9814 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9815 if (!SWIG_IsOK(res2
)) {
9816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9818 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9819 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9820 if (!SWIG_IsOK(res3
)) {
9821 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9823 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9825 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9826 if (!SWIG_IsOK(ecode4
)) {
9827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9829 arg4
= static_cast< int >(val4
);
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9846 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
= 0;
9848 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9849 wxWindow
*arg2
= (wxWindow
*) 0 ;
9850 wxWindow
*arg3
= (wxWindow
*) 0 ;
9851 int arg4
= (int) 0 ;
9861 PyObject
* obj0
= 0 ;
9862 PyObject
* obj1
= 0 ;
9863 PyObject
* obj2
= 0 ;
9864 PyObject
* obj3
= 0 ;
9865 char * kwnames
[] = {
9866 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9871 if (!SWIG_IsOK(res1
)) {
9872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9874 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9876 if (!SWIG_IsOK(res2
)) {
9877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9879 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9880 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9881 if (!SWIG_IsOK(res3
)) {
9882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9884 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9887 if (!SWIG_IsOK(ecode4
)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9890 arg4
= static_cast< int >(val4
);
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9907 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= 0;
9909 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9910 wxWindow
*arg2
= (wxWindow
*) NULL
;
9916 PyObject
* obj0
= 0 ;
9917 PyObject
* obj1
= 0 ;
9918 char * kwnames
[] = {
9919 (char *) "self",(char *) "toRemove", NULL
9922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9927 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9930 if (!SWIG_IsOK(res2
)) {
9931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9933 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= (bool)(arg1
)->Unsplit(arg2
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9950 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
= 0;
9952 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9953 wxWindow
*arg2
= (wxWindow
*) 0 ;
9954 wxWindow
*arg3
= (wxWindow
*) 0 ;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9964 PyObject
* obj2
= 0 ;
9965 char * kwnames
[] = {
9966 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9971 if (!SWIG_IsOK(res1
)) {
9972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9974 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9976 if (!SWIG_IsOK(res2
)) {
9977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9979 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9980 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9981 if (!SWIG_IsOK(res3
)) {
9982 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9984 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10000 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10001 PyObject
*resultobj
= 0;
10002 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10005 PyObject
*swig_obj
[1] ;
10007 if (!args
) SWIG_fail
;
10008 swig_obj
[0] = args
;
10009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10010 if (!SWIG_IsOK(res1
)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10013 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 (arg1
)->UpdateSize();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= SWIG_Py_Void();
10027 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10028 PyObject
*resultobj
= 0;
10029 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10033 PyObject
*swig_obj
[1] ;
10035 if (!args
) SWIG_fail
;
10036 swig_obj
[0] = args
;
10037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10038 if (!SWIG_IsOK(res1
)) {
10039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10041 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10057 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
= 0;
10059 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 char * kwnames
[] = {
10068 (char *) "self",(char *) "width", NULL
10071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10073 if (!SWIG_IsOK(res1
)) {
10074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10076 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10078 if (!SWIG_IsOK(ecode2
)) {
10079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10081 arg2
= static_cast< int >(val2
);
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 (arg1
)->SetSashSize(arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= SWIG_Py_Void();
10095 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
= 0;
10097 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10103 PyObject
* obj0
= 0 ;
10104 PyObject
* obj1
= 0 ;
10105 char * kwnames
[] = {
10106 (char *) "self",(char *) "width", NULL
10109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10111 if (!SWIG_IsOK(res1
)) {
10112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10114 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10116 if (!SWIG_IsOK(ecode2
)) {
10117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10119 arg2
= static_cast< int >(val2
);
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 (arg1
)->SetBorderSize(arg2
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= SWIG_Py_Void();
10133 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10134 PyObject
*resultobj
= 0;
10135 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10139 PyObject
*swig_obj
[1] ;
10141 if (!args
) SWIG_fail
;
10142 swig_obj
[0] = args
;
10143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10144 if (!SWIG_IsOK(res1
)) {
10145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10147 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= SWIG_From_int(static_cast< int >(result
));
10161 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10162 PyObject
*resultobj
= 0;
10163 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10167 PyObject
*swig_obj
[1] ;
10169 if (!args
) SWIG_fail
;
10170 swig_obj
[0] = args
;
10171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10172 if (!SWIG_IsOK(res1
)) {
10173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10175 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_From_int(static_cast< int >(result
));
10189 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
= 0;
10191 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10193 bool arg3
= (bool) true ;
10200 PyObject
* obj0
= 0 ;
10201 PyObject
* obj1
= 0 ;
10202 PyObject
* obj2
= 0 ;
10203 char * kwnames
[] = {
10204 (char *) "self",(char *) "position",(char *) "redraw", NULL
10207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10209 if (!SWIG_IsOK(res1
)) {
10210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10212 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10214 if (!SWIG_IsOK(ecode2
)) {
10215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10217 arg2
= static_cast< int >(val2
);
10219 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10220 if (!SWIG_IsOK(ecode3
)) {
10221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10223 arg3
= static_cast< bool >(val3
);
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 (arg1
)->SetSashPosition(arg2
,arg3
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_Py_Void();
10238 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10239 PyObject
*resultobj
= 0;
10240 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10244 PyObject
*swig_obj
[1] ;
10246 if (!args
) SWIG_fail
;
10247 swig_obj
[0] = args
;
10248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10249 if (!SWIG_IsOK(res1
)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10252 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= SWIG_From_int(static_cast< int >(result
));
10266 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
= 0;
10268 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 char * kwnames
[] = {
10277 (char *) "self",(char *) "gravity", NULL
10280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10282 if (!SWIG_IsOK(res1
)) {
10283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10285 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10286 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10287 if (!SWIG_IsOK(ecode2
)) {
10288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10290 arg2
= static_cast< double >(val2
);
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 (arg1
)->SetSashGravity(arg2
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= SWIG_Py_Void();
10304 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10305 PyObject
*resultobj
= 0;
10306 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10310 PyObject
*swig_obj
[1] ;
10312 if (!args
) SWIG_fail
;
10313 swig_obj
[0] = args
;
10314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10315 if (!SWIG_IsOK(res1
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10318 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_From_double(static_cast< double >(result
));
10332 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
= 0;
10334 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10340 PyObject
* obj0
= 0 ;
10341 PyObject
* obj1
= 0 ;
10342 char * kwnames
[] = {
10343 (char *) "self",(char *) "min", NULL
10346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10348 if (!SWIG_IsOK(res1
)) {
10349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10351 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10353 if (!SWIG_IsOK(ecode2
)) {
10354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10356 arg2
= static_cast< int >(val2
);
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 (arg1
)->SetMinimumPaneSize(arg2
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 resultobj
= SWIG_Py_Void();
10370 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10371 PyObject
*resultobj
= 0;
10372 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10376 PyObject
*swig_obj
[1] ;
10378 if (!args
) SWIG_fail
;
10379 swig_obj
[0] = args
;
10380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10381 if (!SWIG_IsOK(res1
)) {
10382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10384 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= SWIG_From_int(static_cast< int >(result
));
10398 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
= 0;
10400 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10403 int arg4
= (int) 5 ;
10413 PyObject
* obj0
= 0 ;
10414 PyObject
* obj1
= 0 ;
10415 PyObject
* obj2
= 0 ;
10416 PyObject
* obj3
= 0 ;
10417 char * kwnames
[] = {
10418 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10423 if (!SWIG_IsOK(res1
)) {
10424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10426 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10428 if (!SWIG_IsOK(ecode2
)) {
10429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10431 arg2
= static_cast< int >(val2
);
10432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10433 if (!SWIG_IsOK(ecode3
)) {
10434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10436 arg3
= static_cast< int >(val3
);
10438 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10439 if (!SWIG_IsOK(ecode4
)) {
10440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10442 arg4
= static_cast< int >(val4
);
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10459 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10460 PyObject
*resultobj
= 0;
10461 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10464 PyObject
*swig_obj
[1] ;
10466 if (!args
) SWIG_fail
;
10467 swig_obj
[0] = args
;
10468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10469 if (!SWIG_IsOK(res1
)) {
10470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10472 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 (arg1
)->SizeWindows();
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_Py_Void();
10486 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
= 0;
10488 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 char * kwnames
[] = {
10497 (char *) "self",(char *) "needUpdating", NULL
10500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10505 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10506 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10507 if (!SWIG_IsOK(ecode2
)) {
10508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10510 arg2
= static_cast< bool >(val2
);
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 (arg1
)->SetNeedUpdating(arg2
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_Py_Void();
10524 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10525 PyObject
*resultobj
= 0;
10526 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10530 PyObject
*swig_obj
[1] ;
10532 if (!args
) SWIG_fail
;
10533 swig_obj
[0] = args
;
10534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10535 if (!SWIG_IsOK(res1
)) {
10536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10538 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10554 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
= 0;
10556 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10557 SwigValueWrapper
<wxVisualAttributes
> result
;
10560 PyObject
* obj0
= 0 ;
10561 char * kwnames
[] = {
10562 (char *) "variant", NULL
10565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10567 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10568 if (!SWIG_IsOK(ecode1
)) {
10569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10571 arg1
= static_cast< wxWindowVariant
>(val1
);
10574 if (!wxPyCheckForApp()) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10587 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10590 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10591 return SWIG_Py_Void();
10594 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10595 return SWIG_Python_InitShadowInstance(args
);
10598 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
= 0;
10600 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10601 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10602 wxSplitterEvent
*result
= 0 ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char * kwnames
[] = {
10610 (char *) "type",(char *) "splitter", NULL
10613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10615 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10616 if (!SWIG_IsOK(ecode1
)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10619 arg1
= static_cast< wxEventType
>(val1
);
10622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10623 if (!SWIG_IsOK(res2
)) {
10624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10626 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10641 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
= 0;
10643 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 char * kwnames
[] = {
10652 (char *) "self",(char *) "pos", NULL
10655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10657 if (!SWIG_IsOK(res1
)) {
10658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10660 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10662 if (!SWIG_IsOK(ecode2
)) {
10663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10665 arg2
= static_cast< int >(val2
);
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 (arg1
)->SetSashPosition(arg2
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= SWIG_Py_Void();
10679 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10680 PyObject
*resultobj
= 0;
10681 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10685 PyObject
*swig_obj
[1] ;
10687 if (!args
) SWIG_fail
;
10688 swig_obj
[0] = args
;
10689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10690 if (!SWIG_IsOK(res1
)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10693 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_From_int(static_cast< int >(result
));
10707 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10708 PyObject
*resultobj
= 0;
10709 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10710 wxWindow
*result
= 0 ;
10713 PyObject
*swig_obj
[1] ;
10715 if (!args
) SWIG_fail
;
10716 swig_obj
[0] = args
;
10717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10718 if (!SWIG_IsOK(res1
)) {
10719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10721 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= wxPyMake_wxObject(result
, 0);
10737 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10738 PyObject
*resultobj
= 0;
10739 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10743 PyObject
*swig_obj
[1] ;
10745 if (!args
) SWIG_fail
;
10746 swig_obj
[0] = args
;
10747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10748 if (!SWIG_IsOK(res1
)) {
10749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10751 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_From_int(static_cast< int >(result
));
10765 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10766 PyObject
*resultobj
= 0;
10767 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10771 PyObject
*swig_obj
[1] ;
10773 if (!args
) SWIG_fail
;
10774 swig_obj
[0] = args
;
10775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10776 if (!SWIG_IsOK(res1
)) {
10777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10779 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 resultobj
= SWIG_From_int(static_cast< int >(result
));
10793 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10796 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10797 return SWIG_Py_Void();
10800 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10801 return SWIG_Python_InitShadowInstance(args
);
10804 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10805 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10810 SWIGINTERN PyObject
*SashNameStr_get(void) {
10811 PyObject
*pyobj
= 0;
10815 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10817 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10824 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10825 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10830 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10831 PyObject
*pyobj
= 0;
10835 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10837 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10844 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
= 0;
10846 wxWindow
*arg1
= (wxWindow
*) 0 ;
10847 int arg2
= (int) -1 ;
10848 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10849 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10850 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10851 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10852 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10853 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10854 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10855 wxSashWindow
*result
= 0 ;
10864 bool temp6
= false ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 PyObject
* obj2
= 0 ;
10868 PyObject
* obj3
= 0 ;
10869 PyObject
* obj4
= 0 ;
10870 PyObject
* obj5
= 0 ;
10871 char * kwnames
[] = {
10872 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10877 if (!SWIG_IsOK(res1
)) {
10878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10880 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10883 if (!SWIG_IsOK(ecode2
)) {
10884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10886 arg2
= static_cast< int >(val2
);
10891 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10897 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10901 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10902 if (!SWIG_IsOK(ecode5
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10905 arg5
= static_cast< long >(val5
);
10909 arg6
= wxString_in_helper(obj5
);
10910 if (arg6
== NULL
) SWIG_fail
;
10915 if (!wxPyCheckForApp()) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10936 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10937 PyObject
*resultobj
= 0;
10938 wxSashWindow
*result
= 0 ;
10940 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10942 if (!wxPyCheckForApp()) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= (wxSashWindow
*)new wxSashWindow();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10955 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
= 0;
10957 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10958 wxWindow
*arg2
= (wxWindow
*) 0 ;
10959 int arg3
= (int) -1 ;
10960 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10961 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10962 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10963 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10964 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10965 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10966 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10978 bool temp7
= false ;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 PyObject
* obj2
= 0 ;
10982 PyObject
* obj3
= 0 ;
10983 PyObject
* obj4
= 0 ;
10984 PyObject
* obj5
= 0 ;
10985 PyObject
* obj6
= 0 ;
10986 char * kwnames
[] = {
10987 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10992 if (!SWIG_IsOK(res1
)) {
10993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10995 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10997 if (!SWIG_IsOK(res2
)) {
10998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11000 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11003 if (!SWIG_IsOK(ecode3
)) {
11004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11006 arg3
= static_cast< int >(val3
);
11011 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11017 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11021 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11022 if (!SWIG_IsOK(ecode6
)) {
11023 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11025 arg6
= static_cast< long >(val6
);
11029 arg7
= wxString_in_helper(obj6
);
11030 if (arg7
== NULL
) SWIG_fail
;
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11057 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
= 0;
11059 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11060 wxSashEdgePosition arg2
;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 PyObject
* obj2
= 0 ;
11071 char * kwnames
[] = {
11072 (char *) "self",(char *) "edge",(char *) "sash", NULL
11075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11077 if (!SWIG_IsOK(res1
)) {
11078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11080 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11082 if (!SWIG_IsOK(ecode2
)) {
11083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11085 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11086 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11087 if (!SWIG_IsOK(ecode3
)) {
11088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11090 arg3
= static_cast< bool >(val3
);
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 (arg1
)->SetSashVisible(arg2
,arg3
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= SWIG_Py_Void();
11104 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
= 0;
11106 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11107 wxSashEdgePosition arg2
;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 char * kwnames
[] = {
11116 (char *) "self",(char *) "edge", NULL
11119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11121 if (!SWIG_IsOK(res1
)) {
11122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11124 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11126 if (!SWIG_IsOK(ecode2
)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11129 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11145 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
= 0;
11147 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11148 wxSashEdgePosition arg2
;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 PyObject
* obj2
= 0 ;
11159 char * kwnames
[] = {
11160 (char *) "self",(char *) "edge",(char *) "border", NULL
11163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11165 if (!SWIG_IsOK(res1
)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11168 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11170 if (!SWIG_IsOK(ecode2
)) {
11171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11173 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11174 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11175 if (!SWIG_IsOK(ecode3
)) {
11176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11178 arg3
= static_cast< bool >(val3
);
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 (arg1
)->SetSashBorder(arg2
,arg3
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 resultobj
= SWIG_Py_Void();
11192 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
= 0;
11194 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11195 wxSashEdgePosition arg2
;
11201 PyObject
* obj0
= 0 ;
11202 PyObject
* obj1
= 0 ;
11203 char * kwnames
[] = {
11204 (char *) "self",(char *) "edge", NULL
11207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11209 if (!SWIG_IsOK(res1
)) {
11210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11212 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11214 if (!SWIG_IsOK(ecode2
)) {
11215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11217 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11233 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
= 0;
11235 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11236 wxSashEdgePosition arg2
;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 char * kwnames
[] = {
11245 (char *) "self",(char *) "edge", NULL
11248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11250 if (!SWIG_IsOK(res1
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11253 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11255 if (!SWIG_IsOK(ecode2
)) {
11256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11258 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= SWIG_From_int(static_cast< int >(result
));
11272 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
= 0;
11274 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 char * kwnames
[] = {
11283 (char *) "self",(char *) "width", NULL
11286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11288 if (!SWIG_IsOK(res1
)) {
11289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11291 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11293 if (!SWIG_IsOK(ecode2
)) {
11294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11296 arg2
= static_cast< int >(val2
);
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 (arg1
)->SetDefaultBorderSize(arg2
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 resultobj
= SWIG_Py_Void();
11310 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11311 PyObject
*resultobj
= 0;
11312 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11316 PyObject
*swig_obj
[1] ;
11318 if (!args
) SWIG_fail
;
11319 swig_obj
[0] = args
;
11320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11321 if (!SWIG_IsOK(res1
)) {
11322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11324 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_From_int(static_cast< int >(result
));
11338 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
= 0;
11340 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11346 PyObject
* obj0
= 0 ;
11347 PyObject
* obj1
= 0 ;
11348 char * kwnames
[] = {
11349 (char *) "self",(char *) "width", NULL
11352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11354 if (!SWIG_IsOK(res1
)) {
11355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11357 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11359 if (!SWIG_IsOK(ecode2
)) {
11360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11362 arg2
= static_cast< int >(val2
);
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 (arg1
)->SetExtraBorderSize(arg2
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= SWIG_Py_Void();
11376 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11377 PyObject
*resultobj
= 0;
11378 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11382 PyObject
*swig_obj
[1] ;
11384 if (!args
) SWIG_fail
;
11385 swig_obj
[0] = args
;
11386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11387 if (!SWIG_IsOK(res1
)) {
11388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11390 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_From_int(static_cast< int >(result
));
11404 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
= 0;
11406 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 char * kwnames
[] = {
11415 (char *) "self",(char *) "min", NULL
11418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11420 if (!SWIG_IsOK(res1
)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11423 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11425 if (!SWIG_IsOK(ecode2
)) {
11426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11428 arg2
= static_cast< int >(val2
);
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 (arg1
)->SetMinimumSizeX(arg2
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= SWIG_Py_Void();
11442 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
= 0;
11444 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 char * kwnames
[] = {
11453 (char *) "self",(char *) "min", NULL
11456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11458 if (!SWIG_IsOK(res1
)) {
11459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11461 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11463 if (!SWIG_IsOK(ecode2
)) {
11464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11466 arg2
= static_cast< int >(val2
);
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 (arg1
)->SetMinimumSizeY(arg2
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= SWIG_Py_Void();
11480 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11481 PyObject
*resultobj
= 0;
11482 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11486 PyObject
*swig_obj
[1] ;
11488 if (!args
) SWIG_fail
;
11489 swig_obj
[0] = args
;
11490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11491 if (!SWIG_IsOK(res1
)) {
11492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11494 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11498 wxPyEndAllowThreads(__tstate
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 resultobj
= SWIG_From_int(static_cast< int >(result
));
11508 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11509 PyObject
*resultobj
= 0;
11510 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11514 PyObject
*swig_obj
[1] ;
11516 if (!args
) SWIG_fail
;
11517 swig_obj
[0] = args
;
11518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11519 if (!SWIG_IsOK(res1
)) {
11520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11522 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11529 resultobj
= SWIG_From_int(static_cast< int >(result
));
11536 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
*resultobj
= 0;
11538 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 char * kwnames
[] = {
11547 (char *) "self",(char *) "max", NULL
11550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11552 if (!SWIG_IsOK(res1
)) {
11553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11555 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11557 if (!SWIG_IsOK(ecode2
)) {
11558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11560 arg2
= static_cast< int >(val2
);
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 (arg1
)->SetMaximumSizeX(arg2
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= SWIG_Py_Void();
11574 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
= 0;
11576 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11582 PyObject
* obj0
= 0 ;
11583 PyObject
* obj1
= 0 ;
11584 char * kwnames
[] = {
11585 (char *) "self",(char *) "max", NULL
11588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11590 if (!SWIG_IsOK(res1
)) {
11591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11593 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11595 if (!SWIG_IsOK(ecode2
)) {
11596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11598 arg2
= static_cast< int >(val2
);
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 (arg1
)->SetMaximumSizeY(arg2
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= SWIG_Py_Void();
11612 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11613 PyObject
*resultobj
= 0;
11614 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11618 PyObject
*swig_obj
[1] ;
11620 if (!args
) SWIG_fail
;
11621 swig_obj
[0] = args
;
11622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11623 if (!SWIG_IsOK(res1
)) {
11624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11626 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= SWIG_From_int(static_cast< int >(result
));
11640 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11641 PyObject
*resultobj
= 0;
11642 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11646 PyObject
*swig_obj
[1] ;
11648 if (!args
) SWIG_fail
;
11649 swig_obj
[0] = args
;
11650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11651 if (!SWIG_IsOK(res1
)) {
11652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11654 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= SWIG_From_int(static_cast< int >(result
));
11668 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
= 0;
11670 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11673 int arg4
= (int) 2 ;
11674 wxSashEdgePosition result
;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 PyObject
* obj2
= 0 ;
11686 PyObject
* obj3
= 0 ;
11687 char * kwnames
[] = {
11688 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11693 if (!SWIG_IsOK(res1
)) {
11694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11696 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11698 if (!SWIG_IsOK(ecode2
)) {
11699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11701 arg2
= static_cast< int >(val2
);
11702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11703 if (!SWIG_IsOK(ecode3
)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11706 arg3
= static_cast< int >(val3
);
11708 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11709 if (!SWIG_IsOK(ecode4
)) {
11710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11712 arg4
= static_cast< int >(val4
);
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= SWIG_From_int(static_cast< int >(result
));
11727 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11728 PyObject
*resultobj
= 0;
11729 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11732 PyObject
*swig_obj
[1] ;
11734 if (!args
) SWIG_fail
;
11735 swig_obj
[0] = args
;
11736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11737 if (!SWIG_IsOK(res1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11740 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 (arg1
)->SizeWindows();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_Py_Void();
11754 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11757 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11758 return SWIG_Py_Void();
11761 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11762 return SWIG_Python_InitShadowInstance(args
);
11765 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
= 0;
11767 int arg1
= (int) 0 ;
11768 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11769 wxSashEvent
*result
= 0 ;
11774 PyObject
* obj0
= 0 ;
11775 PyObject
* obj1
= 0 ;
11776 char * kwnames
[] = {
11777 (char *) "id",(char *) "edge", NULL
11780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11782 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11783 if (!SWIG_IsOK(ecode1
)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11786 arg1
= static_cast< int >(val1
);
11789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11790 if (!SWIG_IsOK(ecode2
)) {
11791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11793 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11808 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
= 0;
11810 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11811 wxSashEdgePosition arg2
;
11816 PyObject
* obj0
= 0 ;
11817 PyObject
* obj1
= 0 ;
11818 char * kwnames
[] = {
11819 (char *) "self",(char *) "edge", NULL
11822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11824 if (!SWIG_IsOK(res1
)) {
11825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11827 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11829 if (!SWIG_IsOK(ecode2
)) {
11830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11832 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 (arg1
)->SetEdge(arg2
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= SWIG_Py_Void();
11846 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11847 PyObject
*resultobj
= 0;
11848 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11849 wxSashEdgePosition result
;
11852 PyObject
*swig_obj
[1] ;
11854 if (!args
) SWIG_fail
;
11855 swig_obj
[0] = args
;
11856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11857 if (!SWIG_IsOK(res1
)) {
11858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11860 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_From_int(static_cast< int >(result
));
11874 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
= 0;
11876 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 char * kwnames
[] = {
11884 (char *) "self",(char *) "rect", NULL
11887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11889 if (!SWIG_IsOK(res1
)) {
11890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11892 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11895 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= SWIG_Py_Void();
11910 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11911 PyObject
*resultobj
= 0;
11912 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11916 PyObject
*swig_obj
[1] ;
11918 if (!args
) SWIG_fail
;
11919 swig_obj
[0] = args
;
11920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11921 if (!SWIG_IsOK(res1
)) {
11922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11924 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11938 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
= 0;
11940 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11941 wxSashDragStatus arg2
;
11946 PyObject
* obj0
= 0 ;
11947 PyObject
* obj1
= 0 ;
11948 char * kwnames
[] = {
11949 (char *) "self",(char *) "status", NULL
11952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11954 if (!SWIG_IsOK(res1
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11957 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11959 if (!SWIG_IsOK(ecode2
)) {
11960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11962 arg2
= static_cast< wxSashDragStatus
>(val2
);
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 (arg1
)->SetDragStatus(arg2
);
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_Py_Void();
11976 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11977 PyObject
*resultobj
= 0;
11978 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11979 wxSashDragStatus result
;
11982 PyObject
*swig_obj
[1] ;
11984 if (!args
) SWIG_fail
;
11985 swig_obj
[0] = args
;
11986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11987 if (!SWIG_IsOK(res1
)) {
11988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11990 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= SWIG_From_int(static_cast< int >(result
));
12004 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12007 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12008 return SWIG_Py_Void();
12011 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12012 return SWIG_Python_InitShadowInstance(args
);
12015 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
= 0;
12017 int arg1
= (int) 0 ;
12018 wxQueryLayoutInfoEvent
*result
= 0 ;
12021 PyObject
* obj0
= 0 ;
12022 char * kwnames
[] = {
12023 (char *) "id", NULL
12026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12028 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12029 if (!SWIG_IsOK(ecode1
)) {
12030 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12032 arg1
= static_cast< int >(val1
);
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12047 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
= 0;
12049 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 char * kwnames
[] = {
12058 (char *) "self",(char *) "length", NULL
12061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12063 if (!SWIG_IsOK(res1
)) {
12064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12066 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12068 if (!SWIG_IsOK(ecode2
)) {
12069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12071 arg2
= static_cast< int >(val2
);
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 (arg1
)->SetRequestedLength(arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= SWIG_Py_Void();
12085 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12086 PyObject
*resultobj
= 0;
12087 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12091 PyObject
*swig_obj
[1] ;
12093 if (!args
) SWIG_fail
;
12094 swig_obj
[0] = args
;
12095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12096 if (!SWIG_IsOK(res1
)) {
12097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12099 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_From_int(static_cast< int >(result
));
12113 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
= 0;
12115 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12121 PyObject
* obj0
= 0 ;
12122 PyObject
* obj1
= 0 ;
12123 char * kwnames
[] = {
12124 (char *) "self",(char *) "flags", NULL
12127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12129 if (!SWIG_IsOK(res1
)) {
12130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12132 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12134 if (!SWIG_IsOK(ecode2
)) {
12135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12137 arg2
= static_cast< int >(val2
);
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 (arg1
)->SetFlags(arg2
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_Py_Void();
12151 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12152 PyObject
*resultobj
= 0;
12153 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12157 PyObject
*swig_obj
[1] ;
12159 if (!args
) SWIG_fail
;
12160 swig_obj
[0] = args
;
12161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12162 if (!SWIG_IsOK(res1
)) {
12163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12165 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= SWIG_From_int(static_cast< int >(result
));
12179 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
= 0;
12181 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12186 PyObject
* obj0
= 0 ;
12187 PyObject
* obj1
= 0 ;
12188 char * kwnames
[] = {
12189 (char *) "self",(char *) "size", NULL
12192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12194 if (!SWIG_IsOK(res1
)) {
12195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12197 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12200 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 (arg1
)->SetSize((wxSize
const &)*arg2
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= SWIG_Py_Void();
12215 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12216 PyObject
*resultobj
= 0;
12217 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12221 PyObject
*swig_obj
[1] ;
12223 if (!args
) SWIG_fail
;
12224 swig_obj
[0] = args
;
12225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12226 if (!SWIG_IsOK(res1
)) {
12227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12229 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12243 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
= 0;
12245 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12246 wxLayoutOrientation arg2
;
12251 PyObject
* obj0
= 0 ;
12252 PyObject
* obj1
= 0 ;
12253 char * kwnames
[] = {
12254 (char *) "self",(char *) "orient", NULL
12257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12259 if (!SWIG_IsOK(res1
)) {
12260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12262 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12264 if (!SWIG_IsOK(ecode2
)) {
12265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12267 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 (arg1
)->SetOrientation(arg2
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= SWIG_Py_Void();
12281 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12282 PyObject
*resultobj
= 0;
12283 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12284 wxLayoutOrientation result
;
12287 PyObject
*swig_obj
[1] ;
12289 if (!args
) SWIG_fail
;
12290 swig_obj
[0] = args
;
12291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12292 if (!SWIG_IsOK(res1
)) {
12293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12295 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= SWIG_From_int(static_cast< int >(result
));
12309 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
= 0;
12311 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12312 wxLayoutAlignment arg2
;
12317 PyObject
* obj0
= 0 ;
12318 PyObject
* obj1
= 0 ;
12319 char * kwnames
[] = {
12320 (char *) "self",(char *) "align", NULL
12323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12325 if (!SWIG_IsOK(res1
)) {
12326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12328 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12330 if (!SWIG_IsOK(ecode2
)) {
12331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12333 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 (arg1
)->SetAlignment(arg2
);
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= SWIG_Py_Void();
12347 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12348 PyObject
*resultobj
= 0;
12349 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12350 wxLayoutAlignment result
;
12353 PyObject
*swig_obj
[1] ;
12355 if (!args
) SWIG_fail
;
12356 swig_obj
[0] = args
;
12357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12358 if (!SWIG_IsOK(res1
)) {
12359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12361 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_From_int(static_cast< int >(result
));
12375 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12378 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12379 return SWIG_Py_Void();
12382 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12383 return SWIG_Python_InitShadowInstance(args
);
12386 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
= 0;
12388 int arg1
= (int) 0 ;
12389 wxCalculateLayoutEvent
*result
= 0 ;
12392 PyObject
* obj0
= 0 ;
12393 char * kwnames
[] = {
12394 (char *) "id", NULL
12397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12399 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12400 if (!SWIG_IsOK(ecode1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12403 arg1
= static_cast< int >(val1
);
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12418 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
= 0;
12420 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 PyObject
* obj1
= 0 ;
12428 char * kwnames
[] = {
12429 (char *) "self",(char *) "flags", NULL
12432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12434 if (!SWIG_IsOK(res1
)) {
12435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12437 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12439 if (!SWIG_IsOK(ecode2
)) {
12440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12442 arg2
= static_cast< int >(val2
);
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 (arg1
)->SetFlags(arg2
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= SWIG_Py_Void();
12456 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12457 PyObject
*resultobj
= 0;
12458 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12462 PyObject
*swig_obj
[1] ;
12464 if (!args
) SWIG_fail
;
12465 swig_obj
[0] = args
;
12466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12467 if (!SWIG_IsOK(res1
)) {
12468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12470 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_From_int(static_cast< int >(result
));
12484 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
= 0;
12486 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12491 PyObject
* obj0
= 0 ;
12492 PyObject
* obj1
= 0 ;
12493 char * kwnames
[] = {
12494 (char *) "self",(char *) "rect", NULL
12497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12499 if (!SWIG_IsOK(res1
)) {
12500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12502 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12505 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 (arg1
)->SetRect((wxRect
const &)*arg2
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= SWIG_Py_Void();
12520 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12521 PyObject
*resultobj
= 0;
12522 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12526 PyObject
*swig_obj
[1] ;
12528 if (!args
) SWIG_fail
;
12529 swig_obj
[0] = args
;
12530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12531 if (!SWIG_IsOK(res1
)) {
12532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12534 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12548 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12551 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12552 return SWIG_Py_Void();
12555 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12556 return SWIG_Python_InitShadowInstance(args
);
12559 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
= 0;
12561 wxWindow
*arg1
= (wxWindow
*) 0 ;
12562 int arg2
= (int) -1 ;
12563 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12564 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12565 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12566 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12567 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12568 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12569 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12570 wxSashLayoutWindow
*result
= 0 ;
12579 bool temp6
= false ;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 PyObject
* obj2
= 0 ;
12583 PyObject
* obj3
= 0 ;
12584 PyObject
* obj4
= 0 ;
12585 PyObject
* obj5
= 0 ;
12586 char * kwnames
[] = {
12587 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12592 if (!SWIG_IsOK(res1
)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12595 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12598 if (!SWIG_IsOK(ecode2
)) {
12599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12601 arg2
= static_cast< int >(val2
);
12606 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12612 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12616 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12617 if (!SWIG_IsOK(ecode5
)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12620 arg5
= static_cast< long >(val5
);
12624 arg6
= wxString_in_helper(obj5
);
12625 if (arg6
== NULL
) SWIG_fail
;
12630 if (!wxPyCheckForApp()) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12651 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12652 PyObject
*resultobj
= 0;
12653 wxSashLayoutWindow
*result
= 0 ;
12655 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12657 if (!wxPyCheckForApp()) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12670 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
= 0;
12672 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12673 wxWindow
*arg2
= (wxWindow
*) 0 ;
12674 int arg3
= (int) -1 ;
12675 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12676 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12677 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12678 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12679 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12680 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12681 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12693 bool temp7
= false ;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 PyObject
* obj3
= 0 ;
12698 PyObject
* obj4
= 0 ;
12699 PyObject
* obj5
= 0 ;
12700 PyObject
* obj6
= 0 ;
12701 char * kwnames
[] = {
12702 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12707 if (!SWIG_IsOK(res1
)) {
12708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12710 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12712 if (!SWIG_IsOK(res2
)) {
12713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12715 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12718 if (!SWIG_IsOK(ecode3
)) {
12719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12721 arg3
= static_cast< int >(val3
);
12726 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12732 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12736 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12737 if (!SWIG_IsOK(ecode6
)) {
12738 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12740 arg6
= static_cast< long >(val6
);
12744 arg7
= wxString_in_helper(obj6
);
12745 if (arg7
== NULL
) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12772 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12773 PyObject
*resultobj
= 0;
12774 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12775 wxLayoutAlignment result
;
12778 PyObject
*swig_obj
[1] ;
12780 if (!args
) SWIG_fail
;
12781 swig_obj
[0] = args
;
12782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12783 if (!SWIG_IsOK(res1
)) {
12784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12786 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= SWIG_From_int(static_cast< int >(result
));
12800 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12801 PyObject
*resultobj
= 0;
12802 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12803 wxLayoutOrientation result
;
12806 PyObject
*swig_obj
[1] ;
12808 if (!args
) SWIG_fail
;
12809 swig_obj
[0] = args
;
12810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12811 if (!SWIG_IsOK(res1
)) {
12812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12814 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_From_int(static_cast< int >(result
));
12828 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
= 0;
12830 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12831 wxLayoutAlignment arg2
;
12836 PyObject
* obj0
= 0 ;
12837 PyObject
* obj1
= 0 ;
12838 char * kwnames
[] = {
12839 (char *) "self",(char *) "alignment", NULL
12842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12844 if (!SWIG_IsOK(res1
)) {
12845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12847 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12849 if (!SWIG_IsOK(ecode2
)) {
12850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12852 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 (arg1
)->SetAlignment(arg2
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= SWIG_Py_Void();
12866 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
= 0;
12868 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 char * kwnames
[] = {
12876 (char *) "self",(char *) "size", NULL
12879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12881 if (!SWIG_IsOK(res1
)) {
12882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12884 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12887 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 resultobj
= SWIG_Py_Void();
12902 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
= 0;
12904 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12905 wxLayoutOrientation arg2
;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 char * kwnames
[] = {
12913 (char *) "self",(char *) "orientation", NULL
12916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12918 if (!SWIG_IsOK(res1
)) {
12919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12921 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12923 if (!SWIG_IsOK(ecode2
)) {
12924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12926 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 (arg1
)->SetOrientation(arg2
);
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= SWIG_Py_Void();
12940 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12943 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12944 return SWIG_Py_Void();
12947 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12948 return SWIG_Python_InitShadowInstance(args
);
12951 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12952 PyObject
*resultobj
= 0;
12953 wxLayoutAlgorithm
*result
= 0 ;
12955 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12969 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12970 PyObject
*resultobj
= 0;
12971 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12974 PyObject
*swig_obj
[1] ;
12976 if (!args
) SWIG_fail
;
12977 swig_obj
[0] = args
;
12978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12979 if (!SWIG_IsOK(res1
)) {
12980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12982 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= SWIG_Py_Void();
12997 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
= 0;
12999 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13000 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13001 wxRect
*arg3
= (wxRect
*) NULL
;
13009 PyObject
* obj0
= 0 ;
13010 PyObject
* obj1
= 0 ;
13011 PyObject
* obj2
= 0 ;
13012 char * kwnames
[] = {
13013 (char *) "self",(char *) "frame",(char *) "rect", NULL
13016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13018 if (!SWIG_IsOK(res1
)) {
13019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13021 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13023 if (!SWIG_IsOK(res2
)) {
13024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13026 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13028 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13029 if (!SWIG_IsOK(res3
)) {
13030 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13032 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13036 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13049 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
= 0;
13051 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13052 wxFrame
*arg2
= (wxFrame
*) 0 ;
13053 wxWindow
*arg3
= (wxWindow
*) NULL
;
13061 PyObject
* obj0
= 0 ;
13062 PyObject
* obj1
= 0 ;
13063 PyObject
* obj2
= 0 ;
13064 char * kwnames
[] = {
13065 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13070 if (!SWIG_IsOK(res1
)) {
13071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13073 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13074 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13075 if (!SWIG_IsOK(res2
)) {
13076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13078 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13080 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13081 if (!SWIG_IsOK(res3
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13084 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13101 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
= 0;
13103 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13104 wxWindow
*arg2
= (wxWindow
*) 0 ;
13105 wxWindow
*arg3
= (wxWindow
*) NULL
;
13113 PyObject
* obj0
= 0 ;
13114 PyObject
* obj1
= 0 ;
13115 PyObject
* obj2
= 0 ;
13116 char * kwnames
[] = {
13117 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13122 if (!SWIG_IsOK(res1
)) {
13123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13125 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13127 if (!SWIG_IsOK(res2
)) {
13128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13130 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13132 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13133 if (!SWIG_IsOK(res3
)) {
13134 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13136 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13153 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13156 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13157 return SWIG_Py_Void();
13160 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13161 return SWIG_Python_InitShadowInstance(args
);
13164 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13165 PyObject
*resultobj
= 0;
13166 wxWindow
*arg1
= (wxWindow
*) 0 ;
13167 int arg2
= (int) wxBORDER_NONE
;
13168 wxPopupWindow
*result
= 0 ;
13173 PyObject
* obj0
= 0 ;
13174 PyObject
* obj1
= 0 ;
13175 char * kwnames
[] = {
13176 (char *) "parent",(char *) "flags", NULL
13179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13181 if (!SWIG_IsOK(res1
)) {
13182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13184 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13187 if (!SWIG_IsOK(ecode2
)) {
13188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13190 arg2
= static_cast< int >(val2
);
13193 if (!wxPyCheckForApp()) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13206 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13207 PyObject
*resultobj
= 0;
13208 wxPopupWindow
*result
= 0 ;
13210 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13212 if (!wxPyCheckForApp()) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (wxPopupWindow
*)new wxPopupWindow();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13225 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
= 0;
13227 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13228 wxWindow
*arg2
= (wxWindow
*) 0 ;
13229 int arg3
= (int) wxBORDER_NONE
;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 PyObject
* obj2
= 0 ;
13240 char * kwnames
[] = {
13241 (char *) "self",(char *) "parent",(char *) "flags", NULL
13244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13246 if (!SWIG_IsOK(res1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13249 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13251 if (!SWIG_IsOK(res2
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13254 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13257 if (!SWIG_IsOK(ecode3
)) {
13258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13260 arg3
= static_cast< int >(val3
);
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13277 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
= 0;
13279 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13280 wxPoint
*arg2
= 0 ;
13286 PyObject
* obj0
= 0 ;
13287 PyObject
* obj1
= 0 ;
13288 PyObject
* obj2
= 0 ;
13289 char * kwnames
[] = {
13290 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13295 if (!SWIG_IsOK(res1
)) {
13296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13298 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13305 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_Py_Void();
13320 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13323 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13324 return SWIG_Py_Void();
13327 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13328 return SWIG_Python_InitShadowInstance(args
);
13331 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
= 0;
13333 wxWindow
*arg1
= (wxWindow
*) 0 ;
13334 int arg2
= (int) wxBORDER_NONE
;
13335 wxPyPopupTransientWindow
*result
= 0 ;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 char * kwnames
[] = {
13343 (char *) "parent",(char *) "style", NULL
13346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13348 if (!SWIG_IsOK(res1
)) {
13349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13351 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13354 if (!SWIG_IsOK(ecode2
)) {
13355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13357 arg2
= static_cast< int >(val2
);
13360 if (!wxPyCheckForApp()) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13373 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13374 PyObject
*resultobj
= 0;
13375 wxPyPopupTransientWindow
*result
= 0 ;
13377 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13379 if (!wxPyCheckForApp()) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13392 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
= 0;
13394 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13395 PyObject
*arg2
= (PyObject
*) 0 ;
13396 PyObject
*arg3
= (PyObject
*) 0 ;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 PyObject
* obj2
= 0 ;
13402 char * kwnames
[] = {
13403 (char *) "self",(char *) "self",(char *) "_class", NULL
13406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13408 if (!SWIG_IsOK(res1
)) {
13409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13411 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= SWIG_Py_Void();
13427 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
= 0;
13429 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13430 wxWindow
*arg2
= (wxWindow
*) NULL
;
13435 PyObject
* obj0
= 0 ;
13436 PyObject
* obj1
= 0 ;
13437 char * kwnames
[] = {
13438 (char *) "self",(char *) "focus", NULL
13441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13443 if (!SWIG_IsOK(res1
)) {
13444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13446 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13449 if (!SWIG_IsOK(res2
)) {
13450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13452 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 (arg1
)->Popup(arg2
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_Py_Void();
13467 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13468 PyObject
*resultobj
= 0;
13469 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13472 PyObject
*swig_obj
[1] ;
13474 if (!args
) SWIG_fail
;
13475 swig_obj
[0] = args
;
13476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13477 if (!SWIG_IsOK(res1
)) {
13478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13480 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= SWIG_Py_Void();
13494 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13497 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13498 return SWIG_Py_Void();
13501 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13502 return SWIG_Python_InitShadowInstance(args
);
13505 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
= 0;
13507 wxWindow
*arg1
= (wxWindow
*) 0 ;
13508 wxString
*arg2
= 0 ;
13509 int arg3
= (int) 100 ;
13510 wxRect
*arg4
= (wxRect
*) NULL
;
13511 wxTipWindow
*result
= 0 ;
13514 bool temp2
= false ;
13519 PyObject
* obj0
= 0 ;
13520 PyObject
* obj1
= 0 ;
13521 PyObject
* obj2
= 0 ;
13522 PyObject
* obj3
= 0 ;
13523 char * kwnames
[] = {
13524 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13529 if (!SWIG_IsOK(res1
)) {
13530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13532 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13534 arg2
= wxString_in_helper(obj1
);
13535 if (arg2
== NULL
) SWIG_fail
;
13539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13540 if (!SWIG_IsOK(ecode3
)) {
13541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13543 arg3
= static_cast< int >(val3
);
13546 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13547 if (!SWIG_IsOK(res4
)) {
13548 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13550 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13553 if (!wxPyCheckForApp()) SWIG_fail
;
13554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13555 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13574 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
= 0;
13576 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 char * kwnames
[] = {
13584 (char *) "self",(char *) "rectBound", NULL
13587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13589 if (!SWIG_IsOK(res1
)) {
13590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13592 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13595 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_Py_Void();
13610 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13611 PyObject
*resultobj
= 0;
13612 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13615 PyObject
*swig_obj
[1] ;
13617 if (!args
) SWIG_fail
;
13618 swig_obj
[0] = args
;
13619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13620 if (!SWIG_IsOK(res1
)) {
13621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13623 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= SWIG_Py_Void();
13637 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13640 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13641 return SWIG_Py_Void();
13644 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13645 return SWIG_Python_InitShadowInstance(args
);
13648 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
= 0;
13650 wxWindow
*arg1
= (wxWindow
*) 0 ;
13651 int arg2
= (int) wxID_ANY
;
13652 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13653 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13654 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13655 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13656 long arg5
= (long) 0 ;
13657 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13658 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13659 wxPyVScrolledWindow
*result
= 0 ;
13668 bool temp6
= false ;
13669 PyObject
* obj0
= 0 ;
13670 PyObject
* obj1
= 0 ;
13671 PyObject
* obj2
= 0 ;
13672 PyObject
* obj3
= 0 ;
13673 PyObject
* obj4
= 0 ;
13674 PyObject
* obj5
= 0 ;
13675 char * kwnames
[] = {
13676 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13681 if (!SWIG_IsOK(res1
)) {
13682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13684 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13687 if (!SWIG_IsOK(ecode2
)) {
13688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13690 arg2
= static_cast< int >(val2
);
13695 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13701 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13705 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13706 if (!SWIG_IsOK(ecode5
)) {
13707 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13709 arg5
= static_cast< long >(val5
);
13713 arg6
= wxString_in_helper(obj5
);
13714 if (arg6
== NULL
) SWIG_fail
;
13719 if (!wxPyCheckForApp()) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13740 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13741 PyObject
*resultobj
= 0;
13742 wxPyVScrolledWindow
*result
= 0 ;
13744 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13746 if (!wxPyCheckForApp()) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13759 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
= 0;
13761 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13762 PyObject
*arg2
= (PyObject
*) 0 ;
13763 PyObject
*arg3
= (PyObject
*) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 PyObject
* obj1
= 0 ;
13768 PyObject
* obj2
= 0 ;
13769 char * kwnames
[] = {
13770 (char *) "self",(char *) "self",(char *) "_class", NULL
13773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13775 if (!SWIG_IsOK(res1
)) {
13776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13778 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= SWIG_Py_Void();
13794 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
= 0;
13796 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13797 wxWindow
*arg2
= (wxWindow
*) 0 ;
13798 int arg3
= (int) wxID_ANY
;
13799 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13800 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13801 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13802 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13803 long arg6
= (long) 0 ;
13804 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13805 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13817 bool temp7
= false ;
13818 PyObject
* obj0
= 0 ;
13819 PyObject
* obj1
= 0 ;
13820 PyObject
* obj2
= 0 ;
13821 PyObject
* obj3
= 0 ;
13822 PyObject
* obj4
= 0 ;
13823 PyObject
* obj5
= 0 ;
13824 PyObject
* obj6
= 0 ;
13825 char * kwnames
[] = {
13826 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13831 if (!SWIG_IsOK(res1
)) {
13832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13834 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13836 if (!SWIG_IsOK(res2
)) {
13837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13839 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13842 if (!SWIG_IsOK(ecode3
)) {
13843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13845 arg3
= static_cast< int >(val3
);
13850 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13856 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13860 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13861 if (!SWIG_IsOK(ecode6
)) {
13862 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13864 arg6
= static_cast< long >(val6
);
13868 arg7
= wxString_in_helper(obj6
);
13869 if (arg7
== NULL
) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13896 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
= 0;
13898 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 char * kwnames
[] = {
13907 (char *) "self",(char *) "count", NULL
13910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13912 if (!SWIG_IsOK(res1
)) {
13913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13915 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13916 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13917 if (!SWIG_IsOK(ecode2
)) {
13918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13920 arg2
= static_cast< size_t >(val2
);
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 (arg1
)->SetLineCount(arg2
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_Py_Void();
13934 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
= 0;
13936 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13943 PyObject
* obj0
= 0 ;
13944 PyObject
* obj1
= 0 ;
13945 char * kwnames
[] = {
13946 (char *) "self",(char *) "line", NULL
13949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13951 if (!SWIG_IsOK(res1
)) {
13952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13954 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13955 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13956 if (!SWIG_IsOK(ecode2
)) {
13957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13959 arg2
= static_cast< size_t >(val2
);
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13975 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
= 0;
13977 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13983 PyObject
* obj0
= 0 ;
13984 PyObject
* obj1
= 0 ;
13985 char * kwnames
[] = {
13986 (char *) "self",(char *) "line", NULL
13989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13991 if (!SWIG_IsOK(res1
)) {
13992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13994 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13995 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13996 if (!SWIG_IsOK(ecode2
)) {
13997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13999 arg2
= static_cast< size_t >(val2
);
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 (arg1
)->RefreshLine(arg2
);
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= SWIG_Py_Void();
14013 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
= 0;
14015 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14024 PyObject
* obj0
= 0 ;
14025 PyObject
* obj1
= 0 ;
14026 PyObject
* obj2
= 0 ;
14027 char * kwnames
[] = {
14028 (char *) "self",(char *) "from",(char *) "to", NULL
14031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14033 if (!SWIG_IsOK(res1
)) {
14034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14036 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14037 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14038 if (!SWIG_IsOK(ecode2
)) {
14039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14041 arg2
= static_cast< size_t >(val2
);
14042 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14043 if (!SWIG_IsOK(ecode3
)) {
14044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14046 arg3
= static_cast< size_t >(val3
);
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 (arg1
)->RefreshLines(arg2
,arg3
);
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= SWIG_Py_Void();
14060 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
= 0;
14062 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj1
= 0 ;
14074 PyObject
* obj2
= 0 ;
14075 char * kwnames
[] = {
14076 (char *) "self",(char *) "x",(char *) "y", NULL
14079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14081 if (!SWIG_IsOK(res1
)) {
14082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14084 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14086 if (!SWIG_IsOK(ecode2
)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14089 arg2
= static_cast< int >(val2
);
14090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14091 if (!SWIG_IsOK(ecode3
)) {
14092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14094 arg3
= static_cast< int >(val3
);
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= SWIG_From_int(static_cast< int >(result
));
14108 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
= 0;
14110 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14111 wxPoint
*arg2
= 0 ;
14116 PyObject
* obj0
= 0 ;
14117 PyObject
* obj1
= 0 ;
14118 char * kwnames
[] = {
14119 (char *) "self",(char *) "pt", NULL
14122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14124 if (!SWIG_IsOK(res1
)) {
14125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14127 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= SWIG_From_int(static_cast< int >(result
));
14145 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14146 PyObject
*resultobj
= 0;
14147 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14150 PyObject
*swig_obj
[1] ;
14152 if (!args
) SWIG_fail
;
14153 swig_obj
[0] = args
;
14154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14155 if (!SWIG_IsOK(res1
)) {
14156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14158 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 (arg1
)->RefreshAll();
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= SWIG_Py_Void();
14172 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14173 PyObject
*resultobj
= 0;
14174 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14178 PyObject
*swig_obj
[1] ;
14180 if (!args
) SWIG_fail
;
14181 swig_obj
[0] = args
;
14182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14183 if (!SWIG_IsOK(res1
)) {
14184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14186 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14200 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14201 PyObject
*resultobj
= 0;
14202 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14206 PyObject
*swig_obj
[1] ;
14208 if (!args
) SWIG_fail
;
14209 swig_obj
[0] = args
;
14210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14211 if (!SWIG_IsOK(res1
)) {
14212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14214 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14228 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14229 PyObject
*resultobj
= 0;
14230 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14234 PyObject
*swig_obj
[1] ;
14236 if (!args
) SWIG_fail
;
14237 swig_obj
[0] = args
;
14238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14239 if (!SWIG_IsOK(res1
)) {
14240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14242 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14256 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
= 0;
14258 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14265 PyObject
* obj0
= 0 ;
14266 PyObject
* obj1
= 0 ;
14267 char * kwnames
[] = {
14268 (char *) "self",(char *) "line", NULL
14271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14273 if (!SWIG_IsOK(res1
)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14276 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14277 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14278 if (!SWIG_IsOK(ecode2
)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14281 arg2
= static_cast< size_t >(val2
);
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14297 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14298 PyObject
*resultobj
= 0;
14299 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14303 PyObject
*swig_obj
[1] ;
14305 if (!args
) SWIG_fail
;
14306 swig_obj
[0] = args
;
14307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14308 if (!SWIG_IsOK(res1
)) {
14309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14311 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14325 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14326 PyObject
*resultobj
= 0;
14327 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14331 PyObject
*swig_obj
[1] ;
14333 if (!args
) SWIG_fail
;
14334 swig_obj
[0] = args
;
14335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14336 if (!SWIG_IsOK(res1
)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14339 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14353 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
= 0;
14355 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14357 bool arg3
= (bool) false ;
14365 PyObject
* obj0
= 0 ;
14366 PyObject
* obj1
= 0 ;
14367 PyObject
* obj2
= 0 ;
14368 char * kwnames
[] = {
14369 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14374 if (!SWIG_IsOK(res1
)) {
14375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14377 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14378 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14379 if (!SWIG_IsOK(ecode2
)) {
14380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14382 arg2
= static_cast< size_t >(val2
);
14384 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14385 if (!SWIG_IsOK(ecode3
)) {
14386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14388 arg3
= static_cast< bool >(val3
);
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14403 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
= 0;
14405 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14415 PyObject
* obj0
= 0 ;
14416 PyObject
* obj1
= 0 ;
14417 PyObject
* obj2
= 0 ;
14418 char * kwnames
[] = {
14419 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14424 if (!SWIG_IsOK(res1
)) {
14425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14427 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14428 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14429 if (!SWIG_IsOK(ecode2
)) {
14430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14432 arg2
= static_cast< size_t >(val2
);
14433 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14434 if (!SWIG_IsOK(ecode3
)) {
14435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14437 arg3
= static_cast< size_t >(val3
);
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 resultobj
= SWIG_From_int(static_cast< int >(result
));
14451 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14454 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14455 return SWIG_Py_Void();
14458 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14459 return SWIG_Python_InitShadowInstance(args
);
14462 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14463 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14468 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14469 PyObject
*pyobj
= 0;
14473 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14475 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14482 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
= 0;
14484 wxWindow
*arg1
= (wxWindow
*) 0 ;
14485 int arg2
= (int) wxID_ANY
;
14486 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14487 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14488 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14489 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14490 long arg5
= (long) 0 ;
14491 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14492 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14493 wxPyVListBox
*result
= 0 ;
14502 bool temp6
= false ;
14503 PyObject
* obj0
= 0 ;
14504 PyObject
* obj1
= 0 ;
14505 PyObject
* obj2
= 0 ;
14506 PyObject
* obj3
= 0 ;
14507 PyObject
* obj4
= 0 ;
14508 PyObject
* obj5
= 0 ;
14509 char * kwnames
[] = {
14510 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14515 if (!SWIG_IsOK(res1
)) {
14516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14518 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14521 if (!SWIG_IsOK(ecode2
)) {
14522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14524 arg2
= static_cast< int >(val2
);
14529 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14535 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14539 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14540 if (!SWIG_IsOK(ecode5
)) {
14541 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14543 arg5
= static_cast< long >(val5
);
14547 arg6
= wxString_in_helper(obj5
);
14548 if (arg6
== NULL
) SWIG_fail
;
14553 if (!wxPyCheckForApp()) SWIG_fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14574 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14575 PyObject
*resultobj
= 0;
14576 wxPyVListBox
*result
= 0 ;
14578 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14580 if (!wxPyCheckForApp()) SWIG_fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= (wxPyVListBox
*)new wxPyVListBox();
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14593 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
= 0;
14595 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14596 PyObject
*arg2
= (PyObject
*) 0 ;
14597 PyObject
*arg3
= (PyObject
*) 0 ;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 PyObject
* obj2
= 0 ;
14603 char * kwnames
[] = {
14604 (char *) "self",(char *) "self",(char *) "_class", NULL
14607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14609 if (!SWIG_IsOK(res1
)) {
14610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14612 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_Py_Void();
14628 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14629 PyObject
*resultobj
= 0;
14630 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14631 wxWindow
*arg2
= (wxWindow
*) 0 ;
14632 int arg3
= (int) wxID_ANY
;
14633 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14634 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14635 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14636 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14637 long arg6
= (long) 0 ;
14638 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14639 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14651 bool temp7
= false ;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 PyObject
* obj2
= 0 ;
14655 PyObject
* obj3
= 0 ;
14656 PyObject
* obj4
= 0 ;
14657 PyObject
* obj5
= 0 ;
14658 PyObject
* obj6
= 0 ;
14659 char * kwnames
[] = {
14660 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14665 if (!SWIG_IsOK(res1
)) {
14666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14668 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14670 if (!SWIG_IsOK(res2
)) {
14671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14673 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14676 if (!SWIG_IsOK(ecode3
)) {
14677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14679 arg3
= static_cast< int >(val3
);
14684 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14690 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14694 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14695 if (!SWIG_IsOK(ecode6
)) {
14696 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14698 arg6
= static_cast< long >(val6
);
14702 arg7
= wxString_in_helper(obj6
);
14703 if (arg7
== NULL
) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14730 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14731 PyObject
*resultobj
= 0;
14732 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14736 PyObject
*swig_obj
[1] ;
14738 if (!args
) SWIG_fail
;
14739 swig_obj
[0] = args
;
14740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14741 if (!SWIG_IsOK(res1
)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14744 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14758 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14759 PyObject
*resultobj
= 0;
14760 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14764 PyObject
*swig_obj
[1] ;
14766 if (!args
) SWIG_fail
;
14767 swig_obj
[0] = args
;
14768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14769 if (!SWIG_IsOK(res1
)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14772 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14788 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14789 PyObject
*resultobj
= 0;
14790 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14794 PyObject
*swig_obj
[1] ;
14796 if (!args
) SWIG_fail
;
14797 swig_obj
[0] = args
;
14798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14799 if (!SWIG_IsOK(res1
)) {
14800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14802 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= SWIG_From_int(static_cast< int >(result
));
14816 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
= 0;
14818 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 PyObject
* obj1
= 0 ;
14827 char * kwnames
[] = {
14828 (char *) "self",(char *) "item", NULL
14831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14833 if (!SWIG_IsOK(res1
)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14836 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14837 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14838 if (!SWIG_IsOK(ecode2
)) {
14839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14841 arg2
= static_cast< size_t >(val2
);
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14845 wxPyEndAllowThreads(__tstate
);
14846 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14857 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
= 0;
14859 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 PyObject
* obj1
= 0 ;
14868 char * kwnames
[] = {
14869 (char *) "self",(char *) "item", NULL
14872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14874 if (!SWIG_IsOK(res1
)) {
14875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14877 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14878 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14879 if (!SWIG_IsOK(ecode2
)) {
14880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14882 arg2
= static_cast< size_t >(val2
);
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14898 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14899 PyObject
*resultobj
= 0;
14900 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14904 PyObject
*swig_obj
[1] ;
14906 if (!args
) SWIG_fail
;
14907 swig_obj
[0] = args
;
14908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14909 if (!SWIG_IsOK(res1
)) {
14910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14912 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14926 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14927 PyObject
*resultobj
= 0;
14928 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14929 PyObject
*result
= 0 ;
14932 PyObject
*swig_obj
[1] ;
14934 if (!args
) SWIG_fail
;
14935 swig_obj
[0] = args
;
14936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14937 if (!SWIG_IsOK(res1
)) {
14938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14940 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= result
;
14954 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
= 0;
14956 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14957 unsigned long arg2
;
14958 PyObject
*result
= 0 ;
14961 unsigned long val2
;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 char * kwnames
[] = {
14966 (char *) "self",(char *) "cookie", NULL
14969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14971 if (!SWIG_IsOK(res1
)) {
14972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14974 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14975 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14976 if (!SWIG_IsOK(ecode2
)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14979 arg2
= static_cast< unsigned long >(val2
);
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= result
;
14993 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14994 PyObject
*resultobj
= 0;
14995 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14999 PyObject
*swig_obj
[1] ;
15001 if (!args
) SWIG_fail
;
15002 swig_obj
[0] = args
;
15003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15004 if (!SWIG_IsOK(res1
)) {
15005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15007 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15021 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15022 PyObject
*resultobj
= 0;
15023 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15024 wxColour
*result
= 0 ;
15027 PyObject
*swig_obj
[1] ;
15029 if (!args
) SWIG_fail
;
15030 swig_obj
[0] = args
;
15031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15032 if (!SWIG_IsOK(res1
)) {
15033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15035 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15040 result
= (wxColour
*) &_result_ref
;
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15052 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
= 0;
15054 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 PyObject
* obj1
= 0 ;
15062 char * kwnames
[] = {
15063 (char *) "self",(char *) "count", NULL
15066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15068 if (!SWIG_IsOK(res1
)) {
15069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15071 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15072 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15073 if (!SWIG_IsOK(ecode2
)) {
15074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15076 arg2
= static_cast< size_t >(val2
);
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 (arg1
)->SetItemCount(arg2
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= SWIG_Py_Void();
15090 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15091 PyObject
*resultobj
= 0;
15092 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15095 PyObject
*swig_obj
[1] ;
15097 if (!args
) SWIG_fail
;
15098 swig_obj
[0] = args
;
15099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15100 if (!SWIG_IsOK(res1
)) {
15101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15103 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_Py_Void();
15117 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
= 0;
15119 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 char * kwnames
[] = {
15128 (char *) "self",(char *) "selection", NULL
15131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15133 if (!SWIG_IsOK(res1
)) {
15134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15136 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15138 if (!SWIG_IsOK(ecode2
)) {
15139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15141 arg2
= static_cast< int >(val2
);
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 (arg1
)->SetSelection(arg2
);
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= SWIG_Py_Void();
15155 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
= 0;
15157 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15159 bool arg3
= (bool) true ;
15167 PyObject
* obj0
= 0 ;
15168 PyObject
* obj1
= 0 ;
15169 PyObject
* obj2
= 0 ;
15170 char * kwnames
[] = {
15171 (char *) "self",(char *) "item",(char *) "select", NULL
15174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15176 if (!SWIG_IsOK(res1
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15179 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15180 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15181 if (!SWIG_IsOK(ecode2
)) {
15182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15184 arg2
= static_cast< size_t >(val2
);
15186 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15187 if (!SWIG_IsOK(ecode3
)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15190 arg3
= static_cast< bool >(val3
);
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15207 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
= 0;
15209 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 PyObject
* obj2
= 0 ;
15222 char * kwnames
[] = {
15223 (char *) "self",(char *) "from",(char *) "to", NULL
15226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15228 if (!SWIG_IsOK(res1
)) {
15229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15231 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15232 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15233 if (!SWIG_IsOK(ecode2
)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15236 arg2
= static_cast< size_t >(val2
);
15237 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15238 if (!SWIG_IsOK(ecode3
)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15241 arg3
= static_cast< size_t >(val3
);
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15257 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
= 0;
15259 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15265 PyObject
* obj0
= 0 ;
15266 PyObject
* obj1
= 0 ;
15267 char * kwnames
[] = {
15268 (char *) "self",(char *) "item", NULL
15271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15273 if (!SWIG_IsOK(res1
)) {
15274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15276 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15277 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15278 if (!SWIG_IsOK(ecode2
)) {
15279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15281 arg2
= static_cast< size_t >(val2
);
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 (arg1
)->Toggle(arg2
);
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= SWIG_Py_Void();
15295 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15296 PyObject
*resultobj
= 0;
15297 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15301 PyObject
*swig_obj
[1] ;
15303 if (!args
) SWIG_fail
;
15304 swig_obj
[0] = args
;
15305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15306 if (!SWIG_IsOK(res1
)) {
15307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15309 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (bool)(arg1
)->SelectAll();
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15325 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15326 PyObject
*resultobj
= 0;
15327 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15331 PyObject
*swig_obj
[1] ;
15333 if (!args
) SWIG_fail
;
15334 swig_obj
[0] = args
;
15335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15336 if (!SWIG_IsOK(res1
)) {
15337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15339 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (bool)(arg1
)->DeselectAll();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15355 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15356 PyObject
*resultobj
= 0;
15357 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15358 wxPoint
*arg2
= 0 ;
15362 PyObject
* obj0
= 0 ;
15363 PyObject
* obj1
= 0 ;
15364 char * kwnames
[] = {
15365 (char *) "self",(char *) "pt", NULL
15368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15370 if (!SWIG_IsOK(res1
)) {
15371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15373 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= SWIG_Py_Void();
15391 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15392 PyObject
*resultobj
= 0;
15393 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 PyObject
* obj2
= 0 ;
15405 char * kwnames
[] = {
15406 (char *) "self",(char *) "x",(char *) "y", NULL
15409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15411 if (!SWIG_IsOK(res1
)) {
15412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15414 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15416 if (!SWIG_IsOK(ecode2
)) {
15417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15419 arg2
= static_cast< int >(val2
);
15420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15421 if (!SWIG_IsOK(ecode3
)) {
15422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15424 arg3
= static_cast< int >(val3
);
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 (arg1
)->SetMargins(arg2
,arg3
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= SWIG_Py_Void();
15438 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
= 0;
15440 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15441 wxColour
*arg2
= 0 ;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 char * kwnames
[] = {
15448 (char *) "self",(char *) "col", NULL
15451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15453 if (!SWIG_IsOK(res1
)) {
15454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15456 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= SWIG_Py_Void();
15474 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
= 0;
15476 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15487 PyObject
* obj0
= 0 ;
15488 PyObject
* obj1
= 0 ;
15489 PyObject
* obj2
= 0 ;
15490 PyObject
* obj3
= 0 ;
15491 char * kwnames
[] = {
15492 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15497 if (!SWIG_IsOK(res1
)) {
15498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15500 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15501 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15502 if (!SWIG_IsOK(res2
)) {
15503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15508 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15511 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15513 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15514 if (!SWIG_IsOK(ecode4
)) {
15515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15517 arg4
= static_cast< size_t >(val4
);
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_Py_Void();
15531 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
= 0;
15533 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 PyObject
* obj2
= 0 ;
15547 PyObject
* obj3
= 0 ;
15548 char * kwnames
[] = {
15549 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15554 if (!SWIG_IsOK(res1
)) {
15555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15557 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15559 if (!SWIG_IsOK(res2
)) {
15560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15565 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15568 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15570 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15571 if (!SWIG_IsOK(ecode4
)) {
15572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15574 arg4
= static_cast< size_t >(val4
);
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= SWIG_Py_Void();
15588 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15591 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15592 return SWIG_Py_Void();
15595 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15596 return SWIG_Python_InitShadowInstance(args
);
15599 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
= 0;
15601 wxWindow
*arg1
= (wxWindow
*) 0 ;
15602 int arg2
= (int) wxID_ANY
;
15603 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15604 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15605 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15606 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15607 long arg5
= (long) 0 ;
15608 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15609 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15610 wxPyHtmlListBox
*result
= 0 ;
15619 bool temp6
= false ;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 PyObject
* obj2
= 0 ;
15623 PyObject
* obj3
= 0 ;
15624 PyObject
* obj4
= 0 ;
15625 PyObject
* obj5
= 0 ;
15626 char * kwnames
[] = {
15627 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15632 if (!SWIG_IsOK(res1
)) {
15633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15635 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15638 if (!SWIG_IsOK(ecode2
)) {
15639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15641 arg2
= static_cast< int >(val2
);
15646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15652 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15656 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15657 if (!SWIG_IsOK(ecode5
)) {
15658 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15660 arg5
= static_cast< long >(val5
);
15664 arg6
= wxString_in_helper(obj5
);
15665 if (arg6
== NULL
) SWIG_fail
;
15670 if (!wxPyCheckForApp()) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15691 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15692 PyObject
*resultobj
= 0;
15693 wxPyHtmlListBox
*result
= 0 ;
15695 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15697 if (!wxPyCheckForApp()) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15710 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
= 0;
15712 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15713 PyObject
*arg2
= (PyObject
*) 0 ;
15714 PyObject
*arg3
= (PyObject
*) 0 ;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 PyObject
* obj2
= 0 ;
15720 char * kwnames
[] = {
15721 (char *) "self",(char *) "self",(char *) "_class", NULL
15724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15726 if (!SWIG_IsOK(res1
)) {
15727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15729 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 resultobj
= SWIG_Py_Void();
15745 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
= 0;
15747 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15748 wxWindow
*arg2
= (wxWindow
*) 0 ;
15749 int arg3
= (int) wxID_ANY
;
15750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15754 long arg6
= (long) 0 ;
15755 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15756 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15768 bool temp7
= false ;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 PyObject
* obj2
= 0 ;
15772 PyObject
* obj3
= 0 ;
15773 PyObject
* obj4
= 0 ;
15774 PyObject
* obj5
= 0 ;
15775 PyObject
* obj6
= 0 ;
15776 char * kwnames
[] = {
15777 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15782 if (!SWIG_IsOK(res1
)) {
15783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15785 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15787 if (!SWIG_IsOK(res2
)) {
15788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15790 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15793 if (!SWIG_IsOK(ecode3
)) {
15794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15796 arg3
= static_cast< int >(val3
);
15801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15811 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15812 if (!SWIG_IsOK(ecode6
)) {
15813 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15815 arg6
= static_cast< long >(val6
);
15819 arg7
= wxString_in_helper(obj6
);
15820 if (arg7
== NULL
) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15847 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
= 0;
15849 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15855 PyObject
* obj0
= 0 ;
15856 PyObject
* obj1
= 0 ;
15857 char * kwnames
[] = {
15858 (char *) "self",(char *) "count", NULL
15861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15863 if (!SWIG_IsOK(res1
)) {
15864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15866 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15867 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15868 if (!SWIG_IsOK(ecode2
)) {
15869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15871 arg2
= static_cast< size_t >(val2
);
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 (arg1
)->SetItemCount(arg2
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= SWIG_Py_Void();
15885 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15886 PyObject
*resultobj
= 0;
15887 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15888 wxFileSystem
*result
= 0 ;
15891 PyObject
*swig_obj
[1] ;
15893 if (!args
) SWIG_fail
;
15894 swig_obj
[0] = args
;
15895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15896 if (!SWIG_IsOK(res1
)) {
15897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15899 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15904 result
= (wxFileSystem
*) &_result_ref
;
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15916 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
= 0;
15918 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15920 wxHtmlLinkInfo
*arg3
= 0 ;
15927 PyObject
* obj0
= 0 ;
15928 PyObject
* obj1
= 0 ;
15929 PyObject
* obj2
= 0 ;
15930 char * kwnames
[] = {
15931 (char *) "self",(char *) "n",(char *) "link", NULL
15934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15936 if (!SWIG_IsOK(res1
)) {
15937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15939 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15940 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15941 if (!SWIG_IsOK(ecode2
)) {
15942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15944 arg2
= static_cast< size_t >(val2
);
15945 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15946 if (!SWIG_IsOK(res3
)) {
15947 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15952 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= SWIG_Py_Void();
15966 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15969 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15970 return SWIG_Py_Void();
15973 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15974 return SWIG_Python_InitShadowInstance(args
);
15977 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15978 PyObject
*resultobj
= 0;
15979 wxPyTaskBarIcon
*result
= 0 ;
15981 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15983 if (!wxPyCheckForApp()) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15996 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15997 PyObject
*resultobj
= 0;
15998 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16001 PyObject
*swig_obj
[1] ;
16003 if (!args
) SWIG_fail
;
16004 swig_obj
[0] = args
;
16005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16006 if (!SWIG_IsOK(res1
)) {
16007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16009 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= SWIG_Py_Void();
16024 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
= 0;
16026 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16027 PyObject
*arg2
= (PyObject
*) 0 ;
16028 PyObject
*arg3
= (PyObject
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 PyObject
* obj1
= 0 ;
16036 PyObject
* obj2
= 0 ;
16037 PyObject
* obj3
= 0 ;
16038 char * kwnames
[] = {
16039 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16044 if (!SWIG_IsOK(res1
)) {
16045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16047 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16050 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16051 if (!SWIG_IsOK(ecode4
)) {
16052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16054 arg4
= static_cast< int >(val4
);
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= SWIG_Py_Void();
16068 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16069 PyObject
*resultobj
= 0;
16070 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16073 PyObject
*swig_obj
[1] ;
16075 if (!args
) SWIG_fail
;
16076 swig_obj
[0] = args
;
16077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16078 if (!SWIG_IsOK(res1
)) {
16079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16081 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 wxPyTaskBarIcon_Destroy(arg1
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= SWIG_Py_Void();
16095 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16096 PyObject
*resultobj
= 0;
16097 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16101 PyObject
*swig_obj
[1] ;
16103 if (!args
) SWIG_fail
;
16104 swig_obj
[0] = args
;
16105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16106 if (!SWIG_IsOK(res1
)) {
16107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16109 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16125 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16126 PyObject
*resultobj
= 0;
16127 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16131 PyObject
*swig_obj
[1] ;
16133 if (!args
) SWIG_fail
;
16134 swig_obj
[0] = args
;
16135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16136 if (!SWIG_IsOK(res1
)) {
16137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16139 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16155 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
= 0;
16157 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16159 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16160 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16166 bool temp3
= false ;
16167 PyObject
* obj0
= 0 ;
16168 PyObject
* obj1
= 0 ;
16169 PyObject
* obj2
= 0 ;
16170 char * kwnames
[] = {
16171 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16176 if (!SWIG_IsOK(res1
)) {
16177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16179 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16181 if (!SWIG_IsOK(res2
)) {
16182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16187 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16190 arg3
= wxString_in_helper(obj2
);
16191 if (arg3
== NULL
) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16218 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16219 PyObject
*resultobj
= 0;
16220 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16224 PyObject
*swig_obj
[1] ;
16226 if (!args
) SWIG_fail
;
16227 swig_obj
[0] = args
;
16228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16229 if (!SWIG_IsOK(res1
)) {
16230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16232 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= (bool)(arg1
)->RemoveIcon();
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16248 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
= 0;
16250 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16251 wxMenu
*arg2
= (wxMenu
*) 0 ;
16257 PyObject
* obj0
= 0 ;
16258 PyObject
* obj1
= 0 ;
16259 char * kwnames
[] = {
16260 (char *) "self",(char *) "menu", NULL
16263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16265 if (!SWIG_IsOK(res1
)) {
16266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16268 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16270 if (!SWIG_IsOK(res2
)) {
16271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16273 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= (bool)(arg1
)->PopupMenu(arg2
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16289 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16292 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16293 return SWIG_Py_Void();
16296 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16297 return SWIG_Python_InitShadowInstance(args
);
16300 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
= 0;
16303 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16304 wxTaskBarIconEvent
*result
= 0 ;
16309 PyObject
* obj0
= 0 ;
16310 PyObject
* obj1
= 0 ;
16311 char * kwnames
[] = {
16312 (char *) "evtType",(char *) "tbIcon", NULL
16315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16317 if (!SWIG_IsOK(ecode1
)) {
16318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16320 arg1
= static_cast< wxEventType
>(val1
);
16321 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16322 if (!SWIG_IsOK(res2
)) {
16323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16325 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16339 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16342 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16343 return SWIG_Py_Void();
16346 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16347 return SWIG_Python_InitShadowInstance(args
);
16350 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16351 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16356 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16357 PyObject
*pyobj
= 0;
16361 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16363 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16370 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16371 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16376 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16377 PyObject
*pyobj
= 0;
16381 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16383 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16390 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16391 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16396 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16397 PyObject
*pyobj
= 0;
16401 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16403 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16410 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16411 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16416 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16417 PyObject
*pyobj
= 0;
16421 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16423 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16430 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16431 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16436 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16437 PyObject
*pyobj
= 0;
16441 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16443 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16450 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16451 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16456 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16457 PyObject
*pyobj
= 0;
16461 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16463 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16470 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16471 PyObject
*resultobj
= 0;
16472 wxColourData
*result
= 0 ;
16474 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (wxColourData
*)new wxColourData();
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16488 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16489 PyObject
*resultobj
= 0;
16490 wxColourData
*arg1
= (wxColourData
*) 0 ;
16493 PyObject
*swig_obj
[1] ;
16495 if (!args
) SWIG_fail
;
16496 swig_obj
[0] = args
;
16497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16498 if (!SWIG_IsOK(res1
)) {
16499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16501 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= SWIG_Py_Void();
16516 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16517 PyObject
*resultobj
= 0;
16518 wxColourData
*arg1
= (wxColourData
*) 0 ;
16522 PyObject
*swig_obj
[1] ;
16524 if (!args
) SWIG_fail
;
16525 swig_obj
[0] = args
;
16526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16527 if (!SWIG_IsOK(res1
)) {
16528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16530 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 result
= (bool)(arg1
)->GetChooseFull();
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16546 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16547 PyObject
*resultobj
= 0;
16548 wxColourData
*arg1
= (wxColourData
*) 0 ;
16552 PyObject
*swig_obj
[1] ;
16554 if (!args
) SWIG_fail
;
16555 swig_obj
[0] = args
;
16556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16557 if (!SWIG_IsOK(res1
)) {
16558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16560 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 result
= (arg1
)->GetColour();
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16574 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
= 0;
16576 wxColourData
*arg1
= (wxColourData
*) 0 ;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 char * kwnames
[] = {
16586 (char *) "self",(char *) "i", NULL
16589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16591 if (!SWIG_IsOK(res1
)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16594 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16596 if (!SWIG_IsOK(ecode2
)) {
16597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16599 arg2
= static_cast< int >(val2
);
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (arg1
)->GetCustomColour(arg2
);
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16613 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16614 PyObject
*resultobj
= 0;
16615 wxColourData
*arg1
= (wxColourData
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char * kwnames
[] = {
16624 (char *) "self",(char *) "flag", NULL
16627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16629 if (!SWIG_IsOK(res1
)) {
16630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16632 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16634 if (!SWIG_IsOK(ecode2
)) {
16635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16637 arg2
= static_cast< int >(val2
);
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 (arg1
)->SetChooseFull(arg2
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= SWIG_Py_Void();
16651 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
= 0;
16653 wxColourData
*arg1
= (wxColourData
*) 0 ;
16654 wxColour
*arg2
= 0 ;
16658 PyObject
* obj0
= 0 ;
16659 PyObject
* obj1
= 0 ;
16660 char * kwnames
[] = {
16661 (char *) "self",(char *) "colour", NULL
16664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16666 if (!SWIG_IsOK(res1
)) {
16667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16669 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16672 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 (arg1
)->SetColour((wxColour
const &)*arg2
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_Py_Void();
16687 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
= 0;
16689 wxColourData
*arg1
= (wxColourData
*) 0 ;
16691 wxColour
*arg3
= 0 ;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 PyObject
* obj2
= 0 ;
16700 char * kwnames
[] = {
16701 (char *) "self",(char *) "i",(char *) "colour", NULL
16704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16706 if (!SWIG_IsOK(res1
)) {
16707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16709 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16711 if (!SWIG_IsOK(ecode2
)) {
16712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16714 arg2
= static_cast< int >(val2
);
16717 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_Py_Void();
16732 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16735 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16736 return SWIG_Py_Void();
16739 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16740 return SWIG_Python_InitShadowInstance(args
);
16743 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
= 0;
16745 wxWindow
*arg1
= (wxWindow
*) 0 ;
16746 wxColourData
*arg2
= (wxColourData
*) NULL
;
16747 wxColourDialog
*result
= 0 ;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 char * kwnames
[] = {
16755 (char *) "parent",(char *) "data", NULL
16758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16760 if (!SWIG_IsOK(res1
)) {
16761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16763 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16766 if (!SWIG_IsOK(res2
)) {
16767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16769 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16772 if (!wxPyCheckForApp()) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16785 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16786 PyObject
*resultobj
= 0;
16787 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16788 wxColourData
*result
= 0 ;
16791 PyObject
*swig_obj
[1] ;
16793 if (!args
) SWIG_fail
;
16794 swig_obj
[0] = args
;
16795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16796 if (!SWIG_IsOK(res1
)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16799 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16804 result
= (wxColourData
*) &_result_ref
;
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16816 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16819 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16820 return SWIG_Py_Void();
16823 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16824 return SWIG_Python_InitShadowInstance(args
);
16827 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
= 0;
16829 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16830 wxColour
const &arg2_defvalue
= wxNullColour
;
16831 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16832 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16833 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16838 bool temp3
= false ;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 PyObject
* obj2
= 0 ;
16842 char * kwnames
[] = {
16843 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16849 if (!SWIG_IsOK(res1
)) {
16850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16852 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16857 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16862 arg3
= wxString_in_helper(obj2
);
16863 if (arg3
== NULL
) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16888 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
= 0;
16890 wxWindow
*arg1
= (wxWindow
*) 0 ;
16891 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16892 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16893 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16894 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16895 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16900 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16901 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16902 wxDirDialog
*result
= 0 ;
16905 bool temp2
= false ;
16906 bool temp3
= false ;
16911 bool temp7
= false ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 PyObject
* obj2
= 0 ;
16915 PyObject
* obj3
= 0 ;
16916 PyObject
* obj4
= 0 ;
16917 PyObject
* obj5
= 0 ;
16918 PyObject
* obj6
= 0 ;
16919 char * kwnames
[] = {
16920 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16925 if (!SWIG_IsOK(res1
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16931 arg2
= wxString_in_helper(obj1
);
16932 if (arg2
== NULL
) SWIG_fail
;
16938 arg3
= wxString_in_helper(obj2
);
16939 if (arg3
== NULL
) SWIG_fail
;
16944 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16945 if (!SWIG_IsOK(ecode4
)) {
16946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16948 arg4
= static_cast< long >(val4
);
16953 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16959 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16964 arg7
= wxString_in_helper(obj6
);
16965 if (arg7
== NULL
) SWIG_fail
;
16970 if (!wxPyCheckForApp()) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17007 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17008 PyObject
*resultobj
= 0;
17009 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17013 PyObject
*swig_obj
[1] ;
17015 if (!args
) SWIG_fail
;
17016 swig_obj
[0] = args
;
17017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17018 if (!SWIG_IsOK(res1
)) {
17019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17021 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 result
= (arg1
)->GetPath();
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17041 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17042 PyObject
*resultobj
= 0;
17043 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17047 PyObject
*swig_obj
[1] ;
17049 if (!args
) SWIG_fail
;
17050 swig_obj
[0] = args
;
17051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17052 if (!SWIG_IsOK(res1
)) {
17053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17055 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (arg1
)->GetMessage();
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17075 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
= 0;
17077 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17078 wxString
*arg2
= 0 ;
17081 bool temp2
= false ;
17082 PyObject
* obj0
= 0 ;
17083 PyObject
* obj1
= 0 ;
17084 char * kwnames
[] = {
17085 (char *) "self",(char *) "message", NULL
17088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17090 if (!SWIG_IsOK(res1
)) {
17091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17093 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17095 arg2
= wxString_in_helper(obj1
);
17096 if (arg2
== NULL
) SWIG_fail
;
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 (arg1
)->SetMessage((wxString
const &)*arg2
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= SWIG_Py_Void();
17120 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
= 0;
17122 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17123 wxString
*arg2
= 0 ;
17126 bool temp2
= false ;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 char * kwnames
[] = {
17130 (char *) "self",(char *) "path", NULL
17133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17135 if (!SWIG_IsOK(res1
)) {
17136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17138 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17140 arg2
= wxString_in_helper(obj1
);
17141 if (arg2
== NULL
) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 (arg1
)->SetPath((wxString
const &)*arg2
);
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= SWIG_Py_Void();
17165 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17167 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17168 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17169 return SWIG_Py_Void();
17172 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17173 return SWIG_Python_InitShadowInstance(args
);
17176 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
= 0;
17178 wxWindow
*arg1
= (wxWindow
*) 0 ;
17179 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17180 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17181 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17182 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17183 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17184 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17185 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17186 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17187 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17188 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17189 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17190 wxFileDialog
*result
= 0 ;
17193 bool temp2
= false ;
17194 bool temp3
= false ;
17195 bool temp4
= false ;
17196 bool temp5
= false ;
17200 PyObject
* obj0
= 0 ;
17201 PyObject
* obj1
= 0 ;
17202 PyObject
* obj2
= 0 ;
17203 PyObject
* obj3
= 0 ;
17204 PyObject
* obj4
= 0 ;
17205 PyObject
* obj5
= 0 ;
17206 PyObject
* obj6
= 0 ;
17207 char * kwnames
[] = {
17208 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17213 if (!SWIG_IsOK(res1
)) {
17214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17216 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17219 arg2
= wxString_in_helper(obj1
);
17220 if (arg2
== NULL
) SWIG_fail
;
17226 arg3
= wxString_in_helper(obj2
);
17227 if (arg3
== NULL
) SWIG_fail
;
17233 arg4
= wxString_in_helper(obj3
);
17234 if (arg4
== NULL
) SWIG_fail
;
17240 arg5
= wxString_in_helper(obj4
);
17241 if (arg5
== NULL
) SWIG_fail
;
17246 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17247 if (!SWIG_IsOK(ecode6
)) {
17248 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17250 arg6
= static_cast< long >(val6
);
17255 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17259 if (!wxPyCheckForApp()) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17304 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
= 0;
17306 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17307 wxString
*arg2
= 0 ;
17310 bool temp2
= false ;
17311 PyObject
* obj0
= 0 ;
17312 PyObject
* obj1
= 0 ;
17313 char * kwnames
[] = {
17314 (char *) "self",(char *) "message", NULL
17317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17319 if (!SWIG_IsOK(res1
)) {
17320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17322 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17324 arg2
= wxString_in_helper(obj1
);
17325 if (arg2
== NULL
) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 (arg1
)->SetMessage((wxString
const &)*arg2
);
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= SWIG_Py_Void();
17349 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
= 0;
17351 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17352 wxString
*arg2
= 0 ;
17355 bool temp2
= false ;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 char * kwnames
[] = {
17359 (char *) "self",(char *) "path", NULL
17362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17364 if (!SWIG_IsOK(res1
)) {
17365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17367 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17369 arg2
= wxString_in_helper(obj1
);
17370 if (arg2
== NULL
) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 (arg1
)->SetPath((wxString
const &)*arg2
);
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 resultobj
= SWIG_Py_Void();
17394 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
= 0;
17396 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17397 wxString
*arg2
= 0 ;
17400 bool temp2
= false ;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 char * kwnames
[] = {
17404 (char *) "self",(char *) "dir", NULL
17407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17409 if (!SWIG_IsOK(res1
)) {
17410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17412 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17414 arg2
= wxString_in_helper(obj1
);
17415 if (arg2
== NULL
) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= SWIG_Py_Void();
17439 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
= 0;
17441 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17442 wxString
*arg2
= 0 ;
17445 bool temp2
= false ;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 char * kwnames
[] = {
17449 (char *) "self",(char *) "name", NULL
17452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17454 if (!SWIG_IsOK(res1
)) {
17455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17457 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17459 arg2
= wxString_in_helper(obj1
);
17460 if (arg2
== NULL
) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 (arg1
)->SetFilename((wxString
const &)*arg2
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 resultobj
= SWIG_Py_Void();
17484 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
= 0;
17486 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17487 wxString
*arg2
= 0 ;
17490 bool temp2
= false ;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 char * kwnames
[] = {
17494 (char *) "self",(char *) "wildCard", NULL
17497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17499 if (!SWIG_IsOK(res1
)) {
17500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17502 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17504 arg2
= wxString_in_helper(obj1
);
17505 if (arg2
== NULL
) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= SWIG_Py_Void();
17529 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
= 0;
17531 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 char * kwnames
[] = {
17540 (char *) "self",(char *) "filterIndex", NULL
17543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17545 if (!SWIG_IsOK(res1
)) {
17546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17548 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17550 if (!SWIG_IsOK(ecode2
)) {
17551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17553 arg2
= static_cast< int >(val2
);
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->SetFilterIndex(arg2
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= SWIG_Py_Void();
17567 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17568 PyObject
*resultobj
= 0;
17569 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17573 PyObject
*swig_obj
[1] ;
17575 if (!args
) SWIG_fail
;
17576 swig_obj
[0] = args
;
17577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17578 if (!SWIG_IsOK(res1
)) {
17579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17581 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17601 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17602 PyObject
*resultobj
= 0;
17603 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17607 PyObject
*swig_obj
[1] ;
17609 if (!args
) SWIG_fail
;
17610 swig_obj
[0] = args
;
17611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17612 if (!SWIG_IsOK(res1
)) {
17613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17615 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17635 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17636 PyObject
*resultobj
= 0;
17637 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17641 PyObject
*swig_obj
[1] ;
17643 if (!args
) SWIG_fail
;
17644 swig_obj
[0] = args
;
17645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17646 if (!SWIG_IsOK(res1
)) {
17647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17649 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17669 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17670 PyObject
*resultobj
= 0;
17671 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17675 PyObject
*swig_obj
[1] ;
17677 if (!args
) SWIG_fail
;
17678 swig_obj
[0] = args
;
17679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17680 if (!SWIG_IsOK(res1
)) {
17681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17683 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17703 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17704 PyObject
*resultobj
= 0;
17705 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17709 PyObject
*swig_obj
[1] ;
17711 if (!args
) SWIG_fail
;
17712 swig_obj
[0] = args
;
17713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17714 if (!SWIG_IsOK(res1
)) {
17715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17717 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17737 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17738 PyObject
*resultobj
= 0;
17739 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17743 PyObject
*swig_obj
[1] ;
17745 if (!args
) SWIG_fail
;
17746 swig_obj
[0] = args
;
17747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17748 if (!SWIG_IsOK(res1
)) {
17749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17751 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= SWIG_From_int(static_cast< int >(result
));
17765 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17766 PyObject
*resultobj
= 0;
17767 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17768 PyObject
*result
= 0 ;
17771 PyObject
*swig_obj
[1] ;
17773 if (!args
) SWIG_fail
;
17774 swig_obj
[0] = args
;
17775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17776 if (!SWIG_IsOK(res1
)) {
17777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17779 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= result
;
17793 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17794 PyObject
*resultobj
= 0;
17795 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17796 PyObject
*result
= 0 ;
17799 PyObject
*swig_obj
[1] ;
17801 if (!args
) SWIG_fail
;
17802 swig_obj
[0] = args
;
17803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17804 if (!SWIG_IsOK(res1
)) {
17805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17807 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17814 resultobj
= result
;
17821 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17824 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17825 return SWIG_Py_Void();
17828 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17829 return SWIG_Python_InitShadowInstance(args
);
17832 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
= 0;
17834 wxWindow
*arg1
= (wxWindow
*) 0 ;
17835 wxString
*arg2
= 0 ;
17836 wxString
*arg3
= 0 ;
17837 int arg4
= (int) 0 ;
17838 wxString
*arg5
= (wxString
*) NULL
;
17839 long arg6
= (long) wxCHOICEDLG_STYLE
;
17840 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17841 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17842 wxMultiChoiceDialog
*result
= 0 ;
17845 bool temp2
= false ;
17846 bool temp3
= false ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 PyObject
* obj2
= 0 ;
17853 PyObject
* obj3
= 0 ;
17854 PyObject
* obj4
= 0 ;
17855 PyObject
* obj5
= 0 ;
17856 char * kwnames
[] = {
17857 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17862 if (!SWIG_IsOK(res1
)) {
17863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17867 arg2
= wxString_in_helper(obj1
);
17868 if (arg2
== NULL
) SWIG_fail
;
17872 arg3
= wxString_in_helper(obj2
);
17873 if (arg3
== NULL
) SWIG_fail
;
17878 arg4
= PyList_Size(obj3
);
17879 arg5
= wxString_LIST_helper(obj3
);
17880 if (arg5
== NULL
) SWIG_fail
;
17884 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17885 if (!SWIG_IsOK(ecode6
)) {
17886 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17888 arg6
= static_cast< long >(val6
);
17893 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17897 if (!wxPyCheckForApp()) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17913 if (arg5
) delete [] arg5
;
17926 if (arg5
) delete [] arg5
;
17932 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
= 0;
17934 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17935 wxArrayInt
*arg2
= 0 ;
17938 bool temp2
= false ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 char * kwnames
[] = {
17942 (char *) "self",(char *) "selections", NULL
17945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17947 if (!SWIG_IsOK(res1
)) {
17948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17950 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17952 if (! PySequence_Check(obj1
)) {
17953 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17956 arg2
= new wxArrayInt
;
17958 int i
, len
=PySequence_Length(obj1
);
17959 for (i
=0; i
<len
; i
++) {
17960 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17961 PyObject
* number
= PyNumber_Int(item
);
17962 arg2
->Add(PyInt_AS_LONG(number
));
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= SWIG_Py_Void();
17975 if (temp2
) delete arg2
;
17980 if (temp2
) delete arg2
;
17986 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17987 PyObject
*resultobj
= 0;
17988 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17989 PyObject
*result
= 0 ;
17992 PyObject
*swig_obj
[1] ;
17994 if (!args
) SWIG_fail
;
17995 swig_obj
[0] = args
;
17996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17997 if (!SWIG_IsOK(res1
)) {
17998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18000 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= result
;
18014 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18017 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18018 return SWIG_Py_Void();
18021 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18022 return SWIG_Python_InitShadowInstance(args
);
18025 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
= 0;
18027 wxWindow
*arg1
= (wxWindow
*) 0 ;
18028 wxString
*arg2
= 0 ;
18029 wxString
*arg3
= 0 ;
18031 wxString
*arg5
= (wxString
*) 0 ;
18032 long arg6
= (long) wxCHOICEDLG_STYLE
;
18033 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18034 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18035 wxSingleChoiceDialog
*result
= 0 ;
18038 bool temp2
= false ;
18039 bool temp3
= false ;
18043 PyObject
* obj0
= 0 ;
18044 PyObject
* obj1
= 0 ;
18045 PyObject
* obj2
= 0 ;
18046 PyObject
* obj3
= 0 ;
18047 PyObject
* obj4
= 0 ;
18048 PyObject
* obj5
= 0 ;
18049 char * kwnames
[] = {
18050 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18055 if (!SWIG_IsOK(res1
)) {
18056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18058 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18060 arg2
= wxString_in_helper(obj1
);
18061 if (arg2
== NULL
) SWIG_fail
;
18065 arg3
= wxString_in_helper(obj2
);
18066 if (arg3
== NULL
) SWIG_fail
;
18070 arg4
= PyList_Size(obj3
);
18071 arg5
= wxString_LIST_helper(obj3
);
18072 if (arg5
== NULL
) SWIG_fail
;
18075 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18076 if (!SWIG_IsOK(ecode6
)) {
18077 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18079 arg6
= static_cast< long >(val6
);
18084 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18088 if (!wxPyCheckForApp()) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18104 if (arg5
) delete [] arg5
;
18117 if (arg5
) delete [] arg5
;
18123 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18124 PyObject
*resultobj
= 0;
18125 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18129 PyObject
*swig_obj
[1] ;
18131 if (!args
) SWIG_fail
;
18132 swig_obj
[0] = args
;
18133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18134 if (!SWIG_IsOK(res1
)) {
18135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18137 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 result
= (int)(arg1
)->GetSelection();
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18144 resultobj
= SWIG_From_int(static_cast< int >(result
));
18151 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18152 PyObject
*resultobj
= 0;
18153 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18157 PyObject
*swig_obj
[1] ;
18159 if (!args
) SWIG_fail
;
18160 swig_obj
[0] = args
;
18161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18162 if (!SWIG_IsOK(res1
)) {
18163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18165 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18168 result
= (arg1
)->GetStringSelection();
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18185 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
= 0;
18187 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 PyObject
* obj1
= 0 ;
18195 char * kwnames
[] = {
18196 (char *) "self",(char *) "sel", NULL
18199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18201 if (!SWIG_IsOK(res1
)) {
18202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18204 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18206 if (!SWIG_IsOK(ecode2
)) {
18207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18209 arg2
= static_cast< int >(val2
);
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 (arg1
)->SetSelection(arg2
);
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_Py_Void();
18223 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18226 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18227 return SWIG_Py_Void();
18230 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18231 return SWIG_Python_InitShadowInstance(args
);
18234 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
= 0;
18236 wxWindow
*arg1
= (wxWindow
*) 0 ;
18237 wxString
*arg2
= 0 ;
18238 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18239 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18240 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18241 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18242 long arg5
= (long) wxTextEntryDialogStyle
;
18243 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18244 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18245 wxTextEntryDialog
*result
= 0 ;
18248 bool temp2
= false ;
18249 bool temp3
= false ;
18250 bool temp4
= false ;
18254 PyObject
* obj0
= 0 ;
18255 PyObject
* obj1
= 0 ;
18256 PyObject
* obj2
= 0 ;
18257 PyObject
* obj3
= 0 ;
18258 PyObject
* obj4
= 0 ;
18259 PyObject
* obj5
= 0 ;
18260 char * kwnames
[] = {
18261 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18266 if (!SWIG_IsOK(res1
)) {
18267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18269 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18271 arg2
= wxString_in_helper(obj1
);
18272 if (arg2
== NULL
) SWIG_fail
;
18277 arg3
= wxString_in_helper(obj2
);
18278 if (arg3
== NULL
) SWIG_fail
;
18284 arg4
= wxString_in_helper(obj3
);
18285 if (arg4
== NULL
) SWIG_fail
;
18290 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18291 if (!SWIG_IsOK(ecode5
)) {
18292 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18294 arg5
= static_cast< long >(val5
);
18299 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18303 if (!wxPyCheckForApp()) SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18340 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18341 PyObject
*resultobj
= 0;
18342 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18346 PyObject
*swig_obj
[1] ;
18348 if (!args
) SWIG_fail
;
18349 swig_obj
[0] = args
;
18350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18351 if (!SWIG_IsOK(res1
)) {
18352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18354 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 result
= (arg1
)->GetValue();
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18374 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
= 0;
18376 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18377 wxString
*arg2
= 0 ;
18380 bool temp2
= false ;
18381 PyObject
* obj0
= 0 ;
18382 PyObject
* obj1
= 0 ;
18383 char * kwnames
[] = {
18384 (char *) "self",(char *) "value", NULL
18387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18389 if (!SWIG_IsOK(res1
)) {
18390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18392 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18394 arg2
= wxString_in_helper(obj1
);
18395 if (arg2
== NULL
) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 (arg1
)->SetValue((wxString
const &)*arg2
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= SWIG_Py_Void();
18419 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18422 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18423 return SWIG_Py_Void();
18426 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18427 return SWIG_Python_InitShadowInstance(args
);
18430 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18431 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18436 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18437 PyObject
*pyobj
= 0;
18441 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18443 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18450 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
= 0;
18452 wxWindow
*arg1
= (wxWindow
*) 0 ;
18453 wxString
*arg2
= 0 ;
18454 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18455 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18456 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18457 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18458 long arg5
= (long) wxTextEntryDialogStyle
;
18459 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18460 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18461 wxPasswordEntryDialog
*result
= 0 ;
18464 bool temp2
= false ;
18465 bool temp3
= false ;
18466 bool temp4
= false ;
18470 PyObject
* obj0
= 0 ;
18471 PyObject
* obj1
= 0 ;
18472 PyObject
* obj2
= 0 ;
18473 PyObject
* obj3
= 0 ;
18474 PyObject
* obj4
= 0 ;
18475 PyObject
* obj5
= 0 ;
18476 char * kwnames
[] = {
18477 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18482 if (!SWIG_IsOK(res1
)) {
18483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18485 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18487 arg2
= wxString_in_helper(obj1
);
18488 if (arg2
== NULL
) SWIG_fail
;
18493 arg3
= wxString_in_helper(obj2
);
18494 if (arg3
== NULL
) SWIG_fail
;
18500 arg4
= wxString_in_helper(obj3
);
18501 if (arg4
== NULL
) SWIG_fail
;
18506 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18507 if (!SWIG_IsOK(ecode5
)) {
18508 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18510 arg5
= static_cast< long >(val5
);
18515 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18520 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18521 wxPyEndAllowThreads(__tstate
);
18522 if (PyErr_Occurred()) SWIG_fail
;
18524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18555 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18558 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18559 return SWIG_Py_Void();
18562 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18563 return SWIG_Python_InitShadowInstance(args
);
18566 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
= 0;
18568 wxWindow
*arg1
= (wxWindow
*) 0 ;
18569 wxString
*arg2
= 0 ;
18570 wxString
*arg3
= 0 ;
18571 wxString
*arg4
= 0 ;
18575 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18576 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18577 wxNumberEntryDialog
*result
= 0 ;
18580 bool temp2
= false ;
18581 bool temp3
= false ;
18582 bool temp4
= false ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 PyObject
* obj2
= 0 ;
18593 PyObject
* obj3
= 0 ;
18594 PyObject
* obj4
= 0 ;
18595 PyObject
* obj5
= 0 ;
18596 PyObject
* obj6
= 0 ;
18597 PyObject
* obj7
= 0 ;
18598 char * kwnames
[] = {
18599 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18604 if (!SWIG_IsOK(res1
)) {
18605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18607 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18609 arg2
= wxString_in_helper(obj1
);
18610 if (arg2
== NULL
) SWIG_fail
;
18614 arg3
= wxString_in_helper(obj2
);
18615 if (arg3
== NULL
) SWIG_fail
;
18619 arg4
= wxString_in_helper(obj3
);
18620 if (arg4
== NULL
) SWIG_fail
;
18623 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18624 if (!SWIG_IsOK(ecode5
)) {
18625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18627 arg5
= static_cast< long >(val5
);
18628 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18629 if (!SWIG_IsOK(ecode6
)) {
18630 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18632 arg6
= static_cast< long >(val6
);
18633 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18634 if (!SWIG_IsOK(ecode7
)) {
18635 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18637 arg7
= static_cast< long >(val7
);
18641 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18645 if (!wxPyCheckForApp()) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18682 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18683 PyObject
*resultobj
= 0;
18684 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18688 PyObject
*swig_obj
[1] ;
18690 if (!args
) SWIG_fail
;
18691 swig_obj
[0] = args
;
18692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18693 if (!SWIG_IsOK(res1
)) {
18694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18696 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 result
= (long)(arg1
)->GetValue();
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= SWIG_From_long(static_cast< long >(result
));
18710 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18713 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18714 return SWIG_Py_Void();
18717 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18718 return SWIG_Python_InitShadowInstance(args
);
18721 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18722 PyObject
*resultobj
= 0;
18723 wxFontData
*result
= 0 ;
18725 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 result
= (wxFontData
*)new wxFontData();
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18739 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18740 PyObject
*resultobj
= 0;
18741 wxFontData
*arg1
= (wxFontData
*) 0 ;
18744 PyObject
*swig_obj
[1] ;
18746 if (!args
) SWIG_fail
;
18747 swig_obj
[0] = args
;
18748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18749 if (!SWIG_IsOK(res1
)) {
18750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18752 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 resultobj
= SWIG_Py_Void();
18767 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
= 0;
18769 wxFontData
*arg1
= (wxFontData
*) 0 ;
18775 PyObject
* obj0
= 0 ;
18776 PyObject
* obj1
= 0 ;
18777 char * kwnames
[] = {
18778 (char *) "self",(char *) "enable", NULL
18781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18783 if (!SWIG_IsOK(res1
)) {
18784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18786 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18787 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18788 if (!SWIG_IsOK(ecode2
)) {
18789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18791 arg2
= static_cast< bool >(val2
);
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 (arg1
)->EnableEffects(arg2
);
18795 wxPyEndAllowThreads(__tstate
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= SWIG_Py_Void();
18805 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18806 PyObject
*resultobj
= 0;
18807 wxFontData
*arg1
= (wxFontData
*) 0 ;
18811 PyObject
*swig_obj
[1] ;
18813 if (!args
) SWIG_fail
;
18814 swig_obj
[0] = args
;
18815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18816 if (!SWIG_IsOK(res1
)) {
18817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18819 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 result
= (bool)(arg1
)->GetAllowSymbols();
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18835 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18836 PyObject
*resultobj
= 0;
18837 wxFontData
*arg1
= (wxFontData
*) 0 ;
18841 PyObject
*swig_obj
[1] ;
18843 if (!args
) SWIG_fail
;
18844 swig_obj
[0] = args
;
18845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18846 if (!SWIG_IsOK(res1
)) {
18847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18849 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (arg1
)->GetColour();
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18863 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18864 PyObject
*resultobj
= 0;
18865 wxFontData
*arg1
= (wxFontData
*) 0 ;
18869 PyObject
*swig_obj
[1] ;
18871 if (!args
) SWIG_fail
;
18872 swig_obj
[0] = args
;
18873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18874 if (!SWIG_IsOK(res1
)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18877 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= (arg1
)->GetChosenFont();
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18891 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18892 PyObject
*resultobj
= 0;
18893 wxFontData
*arg1
= (wxFontData
*) 0 ;
18897 PyObject
*swig_obj
[1] ;
18899 if (!args
) SWIG_fail
;
18900 swig_obj
[0] = args
;
18901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18902 if (!SWIG_IsOK(res1
)) {
18903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18905 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 result
= (bool)(arg1
)->GetEnableEffects();
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18921 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18922 PyObject
*resultobj
= 0;
18923 wxFontData
*arg1
= (wxFontData
*) 0 ;
18927 PyObject
*swig_obj
[1] ;
18929 if (!args
) SWIG_fail
;
18930 swig_obj
[0] = args
;
18931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18935 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 result
= (arg1
)->GetInitialFont();
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18949 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18950 PyObject
*resultobj
= 0;
18951 wxFontData
*arg1
= (wxFontData
*) 0 ;
18955 PyObject
*swig_obj
[1] ;
18957 if (!args
) SWIG_fail
;
18958 swig_obj
[0] = args
;
18959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18960 if (!SWIG_IsOK(res1
)) {
18961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18963 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 result
= (bool)(arg1
)->GetShowHelp();
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18979 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
= 0;
18981 wxFontData
*arg1
= (wxFontData
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 PyObject
* obj1
= 0 ;
18989 char * kwnames
[] = {
18990 (char *) "self",(char *) "allowSymbols", NULL
18993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18995 if (!SWIG_IsOK(res1
)) {
18996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18998 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18999 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19000 if (!SWIG_IsOK(ecode2
)) {
19001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19003 arg2
= static_cast< bool >(val2
);
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 (arg1
)->SetAllowSymbols(arg2
);
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19010 resultobj
= SWIG_Py_Void();
19017 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
= 0;
19019 wxFontData
*arg1
= (wxFontData
*) 0 ;
19025 PyObject
* obj0
= 0 ;
19026 PyObject
* obj1
= 0 ;
19027 char * kwnames
[] = {
19028 (char *) "self",(char *) "font", NULL
19031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19033 if (!SWIG_IsOK(res1
)) {
19034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19036 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19038 if (!SWIG_IsOK(res2
)) {
19039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19044 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 resultobj
= SWIG_Py_Void();
19058 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
= 0;
19060 wxFontData
*arg1
= (wxFontData
*) 0 ;
19061 wxColour
*arg2
= 0 ;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 char * kwnames
[] = {
19068 (char *) "self",(char *) "colour", NULL
19071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19073 if (!SWIG_IsOK(res1
)) {
19074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19076 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19079 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 (arg1
)->SetColour((wxColour
const &)*arg2
);
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 resultobj
= SWIG_Py_Void();
19094 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
= 0;
19096 wxFontData
*arg1
= (wxFontData
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 char * kwnames
[] = {
19105 (char *) "self",(char *) "font", NULL
19108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19110 if (!SWIG_IsOK(res1
)) {
19111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19113 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19115 if (!SWIG_IsOK(res2
)) {
19116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19121 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_Py_Void();
19135 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
= 0;
19137 wxFontData
*arg1
= (wxFontData
*) 0 ;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 PyObject
* obj2
= 0 ;
19149 char * kwnames
[] = {
19150 (char *) "self",(char *) "min",(char *) "max", NULL
19153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19155 if (!SWIG_IsOK(res1
)) {
19156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19158 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19160 if (!SWIG_IsOK(ecode2
)) {
19161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19163 arg2
= static_cast< int >(val2
);
19164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19165 if (!SWIG_IsOK(ecode3
)) {
19166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19168 arg3
= static_cast< int >(val3
);
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 (arg1
)->SetRange(arg2
,arg3
);
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 resultobj
= SWIG_Py_Void();
19182 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
= 0;
19184 wxFontData
*arg1
= (wxFontData
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char * kwnames
[] = {
19193 (char *) "self",(char *) "showHelp", NULL
19196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19198 if (!SWIG_IsOK(res1
)) {
19199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19201 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19202 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19203 if (!SWIG_IsOK(ecode2
)) {
19204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19206 arg2
= static_cast< bool >(val2
);
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 (arg1
)->SetShowHelp(arg2
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= SWIG_Py_Void();
19220 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19223 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19224 return SWIG_Py_Void();
19227 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19228 return SWIG_Python_InitShadowInstance(args
);
19231 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19232 PyObject
*resultobj
= 0;
19233 wxWindow
*arg1
= (wxWindow
*) 0 ;
19234 wxFontData
*arg2
= 0 ;
19235 wxFontDialog
*result
= 0 ;
19240 PyObject
* obj0
= 0 ;
19241 PyObject
* obj1
= 0 ;
19242 char * kwnames
[] = {
19243 (char *) "parent",(char *) "data", NULL
19246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19248 if (!SWIG_IsOK(res1
)) {
19249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19251 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19253 if (!SWIG_IsOK(res2
)) {
19254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19259 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19261 if (!wxPyCheckForApp()) SWIG_fail
;
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19274 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19275 PyObject
*resultobj
= 0;
19276 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19277 wxFontData
*result
= 0 ;
19280 PyObject
*swig_obj
[1] ;
19282 if (!args
) SWIG_fail
;
19283 swig_obj
[0] = args
;
19284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19285 if (!SWIG_IsOK(res1
)) {
19286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19288 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19293 result
= (wxFontData
*) &_result_ref
;
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19305 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19308 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19309 return SWIG_Py_Void();
19312 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19313 return SWIG_Python_InitShadowInstance(args
);
19316 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
= 0;
19318 wxWindow
*arg1
= (wxWindow
*) NULL
;
19319 wxFont
const &arg2_defvalue
= wxNullFont
;
19320 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19321 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19322 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19328 bool temp3
= false ;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 PyObject
* obj2
= 0 ;
19332 char * kwnames
[] = {
19333 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19339 if (!SWIG_IsOK(res1
)) {
19340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19342 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19345 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19346 if (!SWIG_IsOK(res2
)) {
19347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19352 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19356 arg3
= wxString_in_helper(obj2
);
19357 if (arg3
== NULL
) SWIG_fail
;
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19382 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
= 0;
19384 wxWindow
*arg1
= (wxWindow
*) 0 ;
19385 wxString
*arg2
= 0 ;
19386 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19387 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19388 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19389 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19390 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19391 wxMessageDialog
*result
= 0 ;
19394 bool temp2
= false ;
19395 bool temp3
= false ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 PyObject
* obj2
= 0 ;
19402 PyObject
* obj3
= 0 ;
19403 PyObject
* obj4
= 0 ;
19404 char * kwnames
[] = {
19405 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19410 if (!SWIG_IsOK(res1
)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19415 arg2
= wxString_in_helper(obj1
);
19416 if (arg2
== NULL
) SWIG_fail
;
19421 arg3
= wxString_in_helper(obj2
);
19422 if (arg3
== NULL
) SWIG_fail
;
19427 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19428 if (!SWIG_IsOK(ecode4
)) {
19429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19431 arg4
= static_cast< long >(val4
);
19436 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19440 if (!wxPyCheckForApp()) SWIG_fail
;
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19469 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19472 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19473 return SWIG_Py_Void();
19476 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19477 return SWIG_Python_InitShadowInstance(args
);
19480 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
= 0;
19482 wxString
*arg1
= 0 ;
19483 wxString
*arg2
= 0 ;
19484 int arg3
= (int) 100 ;
19485 wxWindow
*arg4
= (wxWindow
*) NULL
;
19486 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19487 wxProgressDialog
*result
= 0 ;
19488 bool temp1
= false ;
19489 bool temp2
= false ;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 PyObject
* obj2
= 0 ;
19499 PyObject
* obj3
= 0 ;
19500 PyObject
* obj4
= 0 ;
19501 char * kwnames
[] = {
19502 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19507 arg1
= wxString_in_helper(obj0
);
19508 if (arg1
== NULL
) SWIG_fail
;
19512 arg2
= wxString_in_helper(obj1
);
19513 if (arg2
== NULL
) SWIG_fail
;
19517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19518 if (!SWIG_IsOK(ecode3
)) {
19519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19521 arg3
= static_cast< int >(val3
);
19524 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19525 if (!SWIG_IsOK(res4
)) {
19526 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19528 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19531 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19532 if (!SWIG_IsOK(ecode5
)) {
19533 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19535 arg5
= static_cast< int >(val5
);
19538 if (!wxPyCheckForApp()) SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19567 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
= 0;
19569 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19571 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19572 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19573 bool *arg4
= (bool *) 0 ;
19579 bool temp3
= false ;
19581 int res4
= SWIG_TMPOBJ
;
19582 PyObject
* obj0
= 0 ;
19583 PyObject
* obj1
= 0 ;
19584 PyObject
* obj2
= 0 ;
19585 char * kwnames
[] = {
19586 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19592 if (!SWIG_IsOK(res1
)) {
19593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19595 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19597 if (!SWIG_IsOK(ecode2
)) {
19598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19600 arg2
= static_cast< int >(val2
);
19603 arg3
= wxString_in_helper(obj2
);
19604 if (arg3
== NULL
) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19611 wxPyEndAllowThreads(__tstate
);
19612 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19617 if (SWIG_IsTmpObj(res4
)) {
19618 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19620 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19621 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19637 SWIGINTERN PyObject
*_wrap_ProgressDialog_UpdatePulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
= 0;
19639 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19640 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19641 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19642 bool *arg3
= (bool *) 0 ;
19646 bool temp2
= false ;
19648 int res3
= SWIG_TMPOBJ
;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 char * kwnames
[] = {
19652 (char *) "self",(char *) "newmsg", NULL
19656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19658 if (!SWIG_IsOK(res1
)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19661 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19664 arg2
= wxString_in_helper(obj1
);
19665 if (arg2
== NULL
) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 result
= (bool)(arg1
)->UpdatePulse((wxString
const &)*arg2
,arg3
);
19672 wxPyEndAllowThreads(__tstate
);
19673 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19678 if (SWIG_IsTmpObj(res3
)) {
19679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19681 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19698 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19699 PyObject
*resultobj
= 0;
19700 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19703 PyObject
*swig_obj
[1] ;
19705 if (!args
) SWIG_fail
;
19706 swig_obj
[0] = args
;
19707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19708 if (!SWIG_IsOK(res1
)) {
19709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19711 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= SWIG_Py_Void();
19725 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19728 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19729 return SWIG_Py_Void();
19732 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19733 return SWIG_Python_InitShadowInstance(args
);
19736 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
= 0;
19738 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19739 int arg2
= (int) 0 ;
19740 wxFindDialogEvent
*result
= 0 ;
19745 PyObject
* obj0
= 0 ;
19746 PyObject
* obj1
= 0 ;
19747 char * kwnames
[] = {
19748 (char *) "commandType",(char *) "id", NULL
19751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19753 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19754 if (!SWIG_IsOK(ecode1
)) {
19755 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19757 arg1
= static_cast< wxEventType
>(val1
);
19760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19761 if (!SWIG_IsOK(ecode2
)) {
19762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19764 arg2
= static_cast< int >(val2
);
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19779 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19780 PyObject
*resultobj
= 0;
19781 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19785 PyObject
*swig_obj
[1] ;
19787 if (!args
) SWIG_fail
;
19788 swig_obj
[0] = args
;
19789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19793 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (int)(arg1
)->GetFlags();
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= SWIG_From_int(static_cast< int >(result
));
19807 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19808 PyObject
*resultobj
= 0;
19809 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19810 wxString
*result
= 0 ;
19813 PyObject
*swig_obj
[1] ;
19815 if (!args
) SWIG_fail
;
19816 swig_obj
[0] = args
;
19817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19818 if (!SWIG_IsOK(res1
)) {
19819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19821 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 wxString
const &_result_ref
= (arg1
)->GetFindString();
19826 result
= (wxString
*) &_result_ref
;
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19835 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19844 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19845 PyObject
*resultobj
= 0;
19846 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19847 wxString
*result
= 0 ;
19850 PyObject
*swig_obj
[1] ;
19852 if (!args
) SWIG_fail
;
19853 swig_obj
[0] = args
;
19854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19855 if (!SWIG_IsOK(res1
)) {
19856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19858 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19863 result
= (wxString
*) &_result_ref
;
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19872 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19881 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19882 PyObject
*resultobj
= 0;
19883 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19884 wxFindReplaceDialog
*result
= 0 ;
19887 PyObject
*swig_obj
[1] ;
19889 if (!args
) SWIG_fail
;
19890 swig_obj
[0] = args
;
19891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19892 if (!SWIG_IsOK(res1
)) {
19893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19895 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19909 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
= 0;
19911 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 char * kwnames
[] = {
19920 (char *) "self",(char *) "flags", NULL
19923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19925 if (!SWIG_IsOK(res1
)) {
19926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19928 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19930 if (!SWIG_IsOK(ecode2
)) {
19931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19933 arg2
= static_cast< int >(val2
);
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 (arg1
)->SetFlags(arg2
);
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19940 resultobj
= SWIG_Py_Void();
19947 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
= 0;
19949 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19950 wxString
*arg2
= 0 ;
19953 bool temp2
= false ;
19954 PyObject
* obj0
= 0 ;
19955 PyObject
* obj1
= 0 ;
19956 char * kwnames
[] = {
19957 (char *) "self",(char *) "str", NULL
19960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19962 if (!SWIG_IsOK(res1
)) {
19963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19965 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19967 arg2
= wxString_in_helper(obj1
);
19968 if (arg2
== NULL
) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 (arg1
)->SetFindString((wxString
const &)*arg2
);
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= SWIG_Py_Void();
19992 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
= 0;
19994 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19995 wxString
*arg2
= 0 ;
19998 bool temp2
= false ;
19999 PyObject
* obj0
= 0 ;
20000 PyObject
* obj1
= 0 ;
20001 char * kwnames
[] = {
20002 (char *) "self",(char *) "str", NULL
20005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20007 if (!SWIG_IsOK(res1
)) {
20008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20010 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20012 arg2
= wxString_in_helper(obj1
);
20013 if (arg2
== NULL
) SWIG_fail
;
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_Py_Void();
20037 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20040 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20041 return SWIG_Py_Void();
20044 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20045 return SWIG_Python_InitShadowInstance(args
);
20048 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
= 0;
20050 int arg1
= (int) 0 ;
20051 wxFindReplaceData
*result
= 0 ;
20054 PyObject
* obj0
= 0 ;
20055 char * kwnames
[] = {
20056 (char *) "flags", NULL
20059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20061 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20062 if (!SWIG_IsOK(ecode1
)) {
20063 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20065 arg1
= static_cast< int >(val1
);
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20080 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20081 PyObject
*resultobj
= 0;
20082 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20085 PyObject
*swig_obj
[1] ;
20087 if (!args
) SWIG_fail
;
20088 swig_obj
[0] = args
;
20089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20090 if (!SWIG_IsOK(res1
)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20093 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_Py_Void();
20108 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20109 PyObject
*resultobj
= 0;
20110 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20111 wxString
*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_wxFindReplaceData
, 0 | 0 );
20119 if (!SWIG_IsOK(res1
)) {
20120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20122 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 wxString
const &_result_ref
= (arg1
)->GetFindString();
20127 result
= (wxString
*) &_result_ref
;
20129 wxPyEndAllowThreads(__tstate
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20134 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20136 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20145 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20146 PyObject
*resultobj
= 0;
20147 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20148 wxString
*result
= 0 ;
20151 PyObject
*swig_obj
[1] ;
20153 if (!args
) SWIG_fail
;
20154 swig_obj
[0] = args
;
20155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20156 if (!SWIG_IsOK(res1
)) {
20157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20159 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20164 result
= (wxString
*) &_result_ref
;
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20173 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20182 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20183 PyObject
*resultobj
= 0;
20184 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20188 PyObject
*swig_obj
[1] ;
20190 if (!args
) SWIG_fail
;
20191 swig_obj
[0] = args
;
20192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20193 if (!SWIG_IsOK(res1
)) {
20194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20196 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 result
= (int)(arg1
)->GetFlags();
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 resultobj
= SWIG_From_int(static_cast< int >(result
));
20210 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
= 0;
20212 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20218 PyObject
* obj0
= 0 ;
20219 PyObject
* obj1
= 0 ;
20220 char * kwnames
[] = {
20221 (char *) "self",(char *) "flags", NULL
20224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20226 if (!SWIG_IsOK(res1
)) {
20227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20229 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20231 if (!SWIG_IsOK(ecode2
)) {
20232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20234 arg2
= static_cast< int >(val2
);
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 (arg1
)->SetFlags(arg2
);
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 resultobj
= SWIG_Py_Void();
20248 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
= 0;
20250 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20251 wxString
*arg2
= 0 ;
20254 bool temp2
= false ;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20257 char * kwnames
[] = {
20258 (char *) "self",(char *) "str", NULL
20261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20263 if (!SWIG_IsOK(res1
)) {
20264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20266 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20268 arg2
= wxString_in_helper(obj1
);
20269 if (arg2
== NULL
) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 (arg1
)->SetFindString((wxString
const &)*arg2
);
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20278 resultobj
= SWIG_Py_Void();
20293 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
= 0;
20295 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20296 wxString
*arg2
= 0 ;
20299 bool temp2
= false ;
20300 PyObject
* obj0
= 0 ;
20301 PyObject
* obj1
= 0 ;
20302 char * kwnames
[] = {
20303 (char *) "self",(char *) "str", NULL
20306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20308 if (!SWIG_IsOK(res1
)) {
20309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20311 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20313 arg2
= wxString_in_helper(obj1
);
20314 if (arg2
== NULL
) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= SWIG_Py_Void();
20338 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20341 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20342 return SWIG_Py_Void();
20345 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20346 return SWIG_Python_InitShadowInstance(args
);
20349 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
= 0;
20351 wxWindow
*arg1
= (wxWindow
*) 0 ;
20352 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20353 wxString
*arg3
= 0 ;
20354 int arg4
= (int) 0 ;
20355 wxFindReplaceDialog
*result
= 0 ;
20360 bool temp3
= false ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 PyObject
* obj2
= 0 ;
20366 PyObject
* obj3
= 0 ;
20367 char * kwnames
[] = {
20368 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20373 if (!SWIG_IsOK(res1
)) {
20374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20378 if (!SWIG_IsOK(res2
)) {
20379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20381 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20383 arg3
= wxString_in_helper(obj2
);
20384 if (arg3
== NULL
) SWIG_fail
;
20388 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20389 if (!SWIG_IsOK(ecode4
)) {
20390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20392 arg4
= static_cast< int >(val4
);
20395 if (!wxPyCheckForApp()) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20416 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20417 PyObject
*resultobj
= 0;
20418 wxFindReplaceDialog
*result
= 0 ;
20420 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20422 if (!wxPyCheckForApp()) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20435 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
= 0;
20437 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20438 wxWindow
*arg2
= (wxWindow
*) 0 ;
20439 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20440 wxString
*arg4
= 0 ;
20441 int arg5
= (int) 0 ;
20449 bool temp4
= false ;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 PyObject
* obj2
= 0 ;
20455 PyObject
* obj3
= 0 ;
20456 PyObject
* obj4
= 0 ;
20457 char * kwnames
[] = {
20458 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20463 if (!SWIG_IsOK(res1
)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20466 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20468 if (!SWIG_IsOK(res2
)) {
20469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20471 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20472 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20473 if (!SWIG_IsOK(res3
)) {
20474 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20476 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20478 arg4
= wxString_in_helper(obj3
);
20479 if (arg4
== NULL
) SWIG_fail
;
20483 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20484 if (!SWIG_IsOK(ecode5
)) {
20485 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20487 arg5
= static_cast< int >(val5
);
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20512 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20513 PyObject
*resultobj
= 0;
20514 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20515 wxFindReplaceData
*result
= 0 ;
20518 PyObject
*swig_obj
[1] ;
20520 if (!args
) SWIG_fail
;
20521 swig_obj
[0] = args
;
20522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20523 if (!SWIG_IsOK(res1
)) {
20524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20526 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20540 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
= 0;
20542 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20543 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20548 PyObject
* obj0
= 0 ;
20549 PyObject
* obj1
= 0 ;
20550 char * kwnames
[] = {
20551 (char *) "self",(char *) "data", NULL
20554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20556 if (!SWIG_IsOK(res1
)) {
20557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20559 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20560 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20561 if (!SWIG_IsOK(res2
)) {
20562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20564 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 (arg1
)->SetData(arg2
);
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= SWIG_Py_Void();
20578 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20581 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20582 return SWIG_Py_Void();
20585 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20586 return SWIG_Python_InitShadowInstance(args
);
20589 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
= 0;
20591 wxWindow
*arg1
= (wxWindow
*) 0 ;
20592 int arg2
= (int) (int)-1 ;
20593 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20594 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20595 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20596 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20597 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20598 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20599 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20600 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20601 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20602 wxMDIParentFrame
*result
= 0 ;
20607 bool temp3
= false ;
20612 bool temp7
= false ;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20615 PyObject
* obj2
= 0 ;
20616 PyObject
* obj3
= 0 ;
20617 PyObject
* obj4
= 0 ;
20618 PyObject
* obj5
= 0 ;
20619 PyObject
* obj6
= 0 ;
20620 char * kwnames
[] = {
20621 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20626 if (!SWIG_IsOK(res1
)) {
20627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20629 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20632 if (!SWIG_IsOK(ecode2
)) {
20633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20635 arg2
= static_cast< int >(val2
);
20639 arg3
= wxString_in_helper(obj2
);
20640 if (arg3
== NULL
) SWIG_fail
;
20647 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20653 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20657 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20658 if (!SWIG_IsOK(ecode6
)) {
20659 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20661 arg6
= static_cast< long >(val6
);
20665 arg7
= wxString_in_helper(obj6
);
20666 if (arg7
== NULL
) SWIG_fail
;
20671 if (!wxPyCheckForApp()) SWIG_fail
;
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20700 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20701 PyObject
*resultobj
= 0;
20702 wxMDIParentFrame
*result
= 0 ;
20704 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20706 if (!wxPyCheckForApp()) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20719 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
= 0;
20721 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20722 wxWindow
*arg2
= (wxWindow
*) 0 ;
20723 int arg3
= (int) (int)-1 ;
20724 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20725 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20726 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20727 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20728 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20729 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20730 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20731 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20732 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20740 bool temp4
= false ;
20745 bool temp8
= false ;
20746 PyObject
* obj0
= 0 ;
20747 PyObject
* obj1
= 0 ;
20748 PyObject
* obj2
= 0 ;
20749 PyObject
* obj3
= 0 ;
20750 PyObject
* obj4
= 0 ;
20751 PyObject
* obj5
= 0 ;
20752 PyObject
* obj6
= 0 ;
20753 PyObject
* obj7
= 0 ;
20754 char * kwnames
[] = {
20755 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20760 if (!SWIG_IsOK(res1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20763 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20765 if (!SWIG_IsOK(res2
)) {
20766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20768 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20771 if (!SWIG_IsOK(ecode3
)) {
20772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20774 arg3
= static_cast< int >(val3
);
20778 arg4
= wxString_in_helper(obj3
);
20779 if (arg4
== NULL
) SWIG_fail
;
20786 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20792 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20796 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20797 if (!SWIG_IsOK(ecode7
)) {
20798 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20800 arg7
= static_cast< long >(val7
);
20804 arg8
= wxString_in_helper(obj7
);
20805 if (arg8
== NULL
) SWIG_fail
;
20810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20840 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20841 PyObject
*resultobj
= 0;
20842 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20845 PyObject
*swig_obj
[1] ;
20847 if (!args
) SWIG_fail
;
20848 swig_obj
[0] = args
;
20849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20850 if (!SWIG_IsOK(res1
)) {
20851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20853 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 (arg1
)->ActivateNext();
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= SWIG_Py_Void();
20867 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20868 PyObject
*resultobj
= 0;
20869 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20872 PyObject
*swig_obj
[1] ;
20874 if (!args
) SWIG_fail
;
20875 swig_obj
[0] = args
;
20876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20877 if (!SWIG_IsOK(res1
)) {
20878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20880 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 (arg1
)->ActivatePrevious();
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= SWIG_Py_Void();
20894 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20895 PyObject
*resultobj
= 0;
20896 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20899 PyObject
*swig_obj
[1] ;
20901 if (!args
) SWIG_fail
;
20902 swig_obj
[0] = args
;
20903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20904 if (!SWIG_IsOK(res1
)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20907 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 (arg1
)->ArrangeIcons();
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_Py_Void();
20921 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20922 PyObject
*resultobj
= 0;
20923 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20926 PyObject
*swig_obj
[1] ;
20928 if (!args
) SWIG_fail
;
20929 swig_obj
[0] = args
;
20930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20931 if (!SWIG_IsOK(res1
)) {
20932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20934 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= SWIG_Py_Void();
20948 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20949 PyObject
*resultobj
= 0;
20950 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20951 wxMDIChildFrame
*result
= 0 ;
20954 PyObject
*swig_obj
[1] ;
20956 if (!args
) SWIG_fail
;
20957 swig_obj
[0] = args
;
20958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20959 if (!SWIG_IsOK(res1
)) {
20960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20962 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20970 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20978 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20979 PyObject
*resultobj
= 0;
20980 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20981 wxMDIClientWindow
*result
= 0 ;
20984 PyObject
*swig_obj
[1] ;
20986 if (!args
) SWIG_fail
;
20987 swig_obj
[0] = args
;
20988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20989 if (!SWIG_IsOK(res1
)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20992 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21008 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21009 PyObject
*resultobj
= 0;
21010 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21011 wxWindow
*result
= 0 ;
21014 PyObject
*swig_obj
[1] ;
21016 if (!args
) SWIG_fail
;
21017 swig_obj
[0] = args
;
21018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21019 if (!SWIG_IsOK(res1
)) {
21020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21022 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 result
= (wxWindow
*)(arg1
)->GetToolBar();
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= wxPyMake_wxObject(result
, 0);
21038 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21039 PyObject
*resultobj
= 0;
21040 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21041 wxMenu
*result
= 0 ;
21044 PyObject
*swig_obj
[1] ;
21046 if (!args
) SWIG_fail
;
21047 swig_obj
[0] = args
;
21048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21049 if (!SWIG_IsOK(res1
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21052 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= wxPyMake_wxObject(result
, 0);
21068 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
= 0;
21070 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21071 wxMenu
*arg2
= (wxMenu
*) 0 ;
21076 PyObject
* obj0
= 0 ;
21077 PyObject
* obj1
= 0 ;
21078 char * kwnames
[] = {
21079 (char *) "self",(char *) "menu", NULL
21082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21084 if (!SWIG_IsOK(res1
)) {
21085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21087 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21088 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
21089 if (!SWIG_IsOK(res2
)) {
21090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21092 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 (arg1
)->SetWindowMenu(arg2
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_Py_Void();
21106 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
= 0;
21108 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21109 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21114 PyObject
* obj0
= 0 ;
21115 PyObject
* obj1
= 0 ;
21116 char * kwnames
[] = {
21117 (char *) "self",(char *) "orient", NULL
21120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21122 if (!SWIG_IsOK(res1
)) {
21123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21125 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21128 if (!SWIG_IsOK(ecode2
)) {
21129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21131 arg2
= static_cast< wxOrientation
>(val2
);
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 (arg1
)->Tile(arg2
);
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= SWIG_Py_Void();
21146 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21149 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21150 return SWIG_Py_Void();
21153 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21154 return SWIG_Python_InitShadowInstance(args
);
21157 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
= 0;
21159 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21160 int arg2
= (int) (int)-1 ;
21161 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21162 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21163 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21164 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21165 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21166 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21167 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21168 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21169 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21170 wxMDIChildFrame
*result
= 0 ;
21175 bool temp3
= false ;
21180 bool temp7
= false ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 PyObject
* obj2
= 0 ;
21184 PyObject
* obj3
= 0 ;
21185 PyObject
* obj4
= 0 ;
21186 PyObject
* obj5
= 0 ;
21187 PyObject
* obj6
= 0 ;
21188 char * kwnames
[] = {
21189 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21194 if (!SWIG_IsOK(res1
)) {
21195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21197 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21200 if (!SWIG_IsOK(ecode2
)) {
21201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21203 arg2
= static_cast< int >(val2
);
21207 arg3
= wxString_in_helper(obj2
);
21208 if (arg3
== NULL
) SWIG_fail
;
21215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21221 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21225 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21226 if (!SWIG_IsOK(ecode6
)) {
21227 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21229 arg6
= static_cast< long >(val6
);
21233 arg7
= wxString_in_helper(obj6
);
21234 if (arg7
== NULL
) SWIG_fail
;
21239 if (!wxPyCheckForApp()) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21268 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21269 PyObject
*resultobj
= 0;
21270 wxMDIChildFrame
*result
= 0 ;
21272 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21274 if (!wxPyCheckForApp()) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21287 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
= 0;
21289 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21290 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21291 int arg3
= (int) (int)-1 ;
21292 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21293 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21294 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21295 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21296 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21297 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21298 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21299 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21300 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21308 bool temp4
= false ;
21313 bool temp8
= false ;
21314 PyObject
* obj0
= 0 ;
21315 PyObject
* obj1
= 0 ;
21316 PyObject
* obj2
= 0 ;
21317 PyObject
* obj3
= 0 ;
21318 PyObject
* obj4
= 0 ;
21319 PyObject
* obj5
= 0 ;
21320 PyObject
* obj6
= 0 ;
21321 PyObject
* obj7
= 0 ;
21322 char * kwnames
[] = {
21323 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21328 if (!SWIG_IsOK(res1
)) {
21329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21331 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21332 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21333 if (!SWIG_IsOK(res2
)) {
21334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21336 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21339 if (!SWIG_IsOK(ecode3
)) {
21340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21342 arg3
= static_cast< int >(val3
);
21346 arg4
= wxString_in_helper(obj3
);
21347 if (arg4
== NULL
) SWIG_fail
;
21354 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21360 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21364 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21365 if (!SWIG_IsOK(ecode7
)) {
21366 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21368 arg7
= static_cast< long >(val7
);
21372 arg8
= wxString_in_helper(obj7
);
21373 if (arg8
== NULL
) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21408 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21409 PyObject
*resultobj
= 0;
21410 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21413 PyObject
*swig_obj
[1] ;
21415 if (!args
) SWIG_fail
;
21416 swig_obj
[0] = args
;
21417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21418 if (!SWIG_IsOK(res1
)) {
21419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21421 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 (arg1
)->Activate();
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 resultobj
= SWIG_Py_Void();
21435 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21438 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21439 return SWIG_Py_Void();
21442 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21443 return SWIG_Python_InitShadowInstance(args
);
21446 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
= 0;
21448 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21449 long arg2
= (long) 0 ;
21450 wxMDIClientWindow
*result
= 0 ;
21455 PyObject
* obj0
= 0 ;
21456 PyObject
* obj1
= 0 ;
21457 char * kwnames
[] = {
21458 (char *) "parent",(char *) "style", NULL
21461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21463 if (!SWIG_IsOK(res1
)) {
21464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21466 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21468 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21469 if (!SWIG_IsOK(ecode2
)) {
21470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21472 arg2
= static_cast< long >(val2
);
21475 if (!wxPyCheckForApp()) SWIG_fail
;
21476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21477 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21488 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21489 PyObject
*resultobj
= 0;
21490 wxMDIClientWindow
*result
= 0 ;
21492 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21494 if (!wxPyCheckForApp()) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21507 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
= 0;
21509 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21510 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21511 long arg3
= (long) 0 ;
21519 PyObject
* obj0
= 0 ;
21520 PyObject
* obj1
= 0 ;
21521 PyObject
* obj2
= 0 ;
21522 char * kwnames
[] = {
21523 (char *) "self",(char *) "parent",(char *) "style", NULL
21526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21528 if (!SWIG_IsOK(res1
)) {
21529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21531 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21533 if (!SWIG_IsOK(res2
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21536 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21538 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21539 if (!SWIG_IsOK(ecode3
)) {
21540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21542 arg3
= static_cast< long >(val3
);
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21559 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21562 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21563 return SWIG_Py_Void();
21566 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21567 return SWIG_Python_InitShadowInstance(args
);
21570 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
= 0;
21572 wxWindow
*arg1
= (wxWindow
*) 0 ;
21573 int arg2
= (int) (int)-1 ;
21574 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21575 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21576 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21577 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21578 long arg5
= (long) 0 ;
21579 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21580 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21581 wxPyWindow
*result
= 0 ;
21590 bool temp6
= false ;
21591 PyObject
* obj0
= 0 ;
21592 PyObject
* obj1
= 0 ;
21593 PyObject
* obj2
= 0 ;
21594 PyObject
* obj3
= 0 ;
21595 PyObject
* obj4
= 0 ;
21596 PyObject
* obj5
= 0 ;
21597 char * kwnames
[] = {
21598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21603 if (!SWIG_IsOK(res1
)) {
21604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21606 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21609 if (!SWIG_IsOK(ecode2
)) {
21610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21612 arg2
= static_cast< int >(val2
);
21617 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21623 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21627 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21628 if (!SWIG_IsOK(ecode5
)) {
21629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21631 arg5
= static_cast< long >(val5
);
21635 arg6
= wxString_in_helper(obj5
);
21636 if (arg6
== NULL
) SWIG_fail
;
21641 if (!wxPyCheckForApp()) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21662 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21663 PyObject
*resultobj
= 0;
21664 wxPyWindow
*result
= 0 ;
21666 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21668 if (!wxPyCheckForApp()) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (wxPyWindow
*)new wxPyWindow();
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21681 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
= 0;
21683 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21684 PyObject
*arg2
= (PyObject
*) 0 ;
21685 PyObject
*arg3
= (PyObject
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 PyObject
* obj1
= 0 ;
21690 PyObject
* obj2
= 0 ;
21691 char * kwnames
[] = {
21692 (char *) "self",(char *) "self",(char *) "_class", NULL
21695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21697 if (!SWIG_IsOK(res1
)) {
21698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21700 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= SWIG_Py_Void();
21716 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
= 0;
21718 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 PyObject
* obj1
= 0 ;
21725 char * kwnames
[] = {
21726 (char *) "self",(char *) "size", NULL
21729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21731 if (!SWIG_IsOK(res1
)) {
21732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21734 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21737 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_Py_Void();
21752 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
= 0;
21754 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21755 wxDC
*arg2
= (wxDC
*) 0 ;
21761 PyObject
* obj0
= 0 ;
21762 PyObject
* obj1
= 0 ;
21763 char * kwnames
[] = {
21764 (char *) "self",(char *) "dc", NULL
21767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21769 if (!SWIG_IsOK(res1
)) {
21770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21772 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21774 if (!SWIG_IsOK(res2
)) {
21775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21777 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21793 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
= 0;
21795 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21810 PyObject
* obj0
= 0 ;
21811 PyObject
* obj1
= 0 ;
21812 PyObject
* obj2
= 0 ;
21813 PyObject
* obj3
= 0 ;
21814 PyObject
* obj4
= 0 ;
21815 char * kwnames
[] = {
21816 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21821 if (!SWIG_IsOK(res1
)) {
21822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21824 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21826 if (!SWIG_IsOK(ecode2
)) {
21827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21829 arg2
= static_cast< int >(val2
);
21830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21831 if (!SWIG_IsOK(ecode3
)) {
21832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21834 arg3
= static_cast< int >(val3
);
21835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21836 if (!SWIG_IsOK(ecode4
)) {
21837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21839 arg4
= static_cast< int >(val4
);
21840 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21841 if (!SWIG_IsOK(ecode5
)) {
21842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21844 arg5
= static_cast< int >(val5
);
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= SWIG_Py_Void();
21858 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
= 0;
21860 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21865 int arg6
= (int) wxSIZE_AUTO
;
21878 PyObject
* obj0
= 0 ;
21879 PyObject
* obj1
= 0 ;
21880 PyObject
* obj2
= 0 ;
21881 PyObject
* obj3
= 0 ;
21882 PyObject
* obj4
= 0 ;
21883 PyObject
* obj5
= 0 ;
21884 char * kwnames
[] = {
21885 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21890 if (!SWIG_IsOK(res1
)) {
21891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21893 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21895 if (!SWIG_IsOK(ecode2
)) {
21896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21898 arg2
= static_cast< int >(val2
);
21899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21900 if (!SWIG_IsOK(ecode3
)) {
21901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21903 arg3
= static_cast< int >(val3
);
21904 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21905 if (!SWIG_IsOK(ecode4
)) {
21906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21908 arg4
= static_cast< int >(val4
);
21909 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21910 if (!SWIG_IsOK(ecode5
)) {
21911 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21913 arg5
= static_cast< int >(val5
);
21915 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21916 if (!SWIG_IsOK(ecode6
)) {
21917 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21919 arg6
= static_cast< int >(val6
);
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= SWIG_Py_Void();
21934 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
= 0;
21936 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 PyObject
* obj2
= 0 ;
21948 char * kwnames
[] = {
21949 (char *) "self",(char *) "width",(char *) "height", NULL
21952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21954 if (!SWIG_IsOK(res1
)) {
21955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21957 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21959 if (!SWIG_IsOK(ecode2
)) {
21960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21962 arg2
= static_cast< int >(val2
);
21963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21964 if (!SWIG_IsOK(ecode3
)) {
21965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21967 arg3
= static_cast< int >(val3
);
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 (arg1
)->DoSetClientSize(arg2
,arg3
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= SWIG_Py_Void();
21981 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
= 0;
21983 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 PyObject
* obj2
= 0 ;
21995 char * kwnames
[] = {
21996 (char *) "self",(char *) "x",(char *) "y", NULL
21999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22001 if (!SWIG_IsOK(res1
)) {
22002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22004 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22006 if (!SWIG_IsOK(ecode2
)) {
22007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22009 arg2
= static_cast< int >(val2
);
22010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22011 if (!SWIG_IsOK(ecode3
)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22014 arg3
= static_cast< int >(val3
);
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22021 resultobj
= SWIG_Py_Void();
22028 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22029 PyObject
*resultobj
= 0;
22030 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22031 int *arg2
= (int *) 0 ;
22032 int *arg3
= (int *) 0 ;
22036 int res2
= SWIG_TMPOBJ
;
22038 int res3
= SWIG_TMPOBJ
;
22039 PyObject
*swig_obj
[1] ;
22043 if (!args
) SWIG_fail
;
22044 swig_obj
[0] = args
;
22045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22046 if (!SWIG_IsOK(res1
)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22049 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22053 wxPyEndAllowThreads(__tstate
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 resultobj
= SWIG_Py_Void();
22057 if (SWIG_IsTmpObj(res2
)) {
22058 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22060 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22063 if (SWIG_IsTmpObj(res3
)) {
22064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22066 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22075 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22076 PyObject
*resultobj
= 0;
22077 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22078 int *arg2
= (int *) 0 ;
22079 int *arg3
= (int *) 0 ;
22083 int res2
= SWIG_TMPOBJ
;
22085 int res3
= SWIG_TMPOBJ
;
22086 PyObject
*swig_obj
[1] ;
22090 if (!args
) SWIG_fail
;
22091 swig_obj
[0] = args
;
22092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22093 if (!SWIG_IsOK(res1
)) {
22094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22096 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= SWIG_Py_Void();
22104 if (SWIG_IsTmpObj(res2
)) {
22105 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22107 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22108 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22110 if (SWIG_IsTmpObj(res3
)) {
22111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22113 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22122 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22123 PyObject
*resultobj
= 0;
22124 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22125 int *arg2
= (int *) 0 ;
22126 int *arg3
= (int *) 0 ;
22130 int res2
= SWIG_TMPOBJ
;
22132 int res3
= SWIG_TMPOBJ
;
22133 PyObject
*swig_obj
[1] ;
22137 if (!args
) SWIG_fail
;
22138 swig_obj
[0] = args
;
22139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22140 if (!SWIG_IsOK(res1
)) {
22141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22143 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22150 resultobj
= SWIG_Py_Void();
22151 if (SWIG_IsTmpObj(res2
)) {
22152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22154 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22157 if (SWIG_IsTmpObj(res3
)) {
22158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22160 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22169 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22170 PyObject
*resultobj
= 0;
22171 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22175 PyObject
*swig_obj
[1] ;
22177 if (!args
) SWIG_fail
;
22178 swig_obj
[0] = args
;
22179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22180 if (!SWIG_IsOK(res1
)) {
22181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22183 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22190 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22197 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22198 PyObject
*resultobj
= 0;
22199 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22203 PyObject
*swig_obj
[1] ;
22205 if (!args
) SWIG_fail
;
22206 swig_obj
[0] = args
;
22207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22208 if (!SWIG_IsOK(res1
)) {
22209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22211 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22225 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22226 PyObject
*resultobj
= 0;
22227 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22228 SwigValueWrapper
<wxVisualAttributes
> result
;
22231 PyObject
*swig_obj
[1] ;
22233 if (!args
) SWIG_fail
;
22234 swig_obj
[0] = args
;
22235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22236 if (!SWIG_IsOK(res1
)) {
22237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22239 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= (arg1
)->GetDefaultAttributes();
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22253 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22254 PyObject
*resultobj
= 0;
22255 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22258 PyObject
*swig_obj
[1] ;
22260 if (!args
) SWIG_fail
;
22261 swig_obj
[0] = args
;
22262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22263 if (!SWIG_IsOK(res1
)) {
22264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22266 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 (arg1
)->OnInternalIdle();
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= SWIG_Py_Void();
22280 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22283 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22284 return SWIG_Py_Void();
22287 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22288 return SWIG_Python_InitShadowInstance(args
);
22291 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
= 0;
22293 wxWindow
*arg1
= (wxWindow
*) 0 ;
22294 int arg2
= (int) (int)-1 ;
22295 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22296 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22297 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22298 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22299 long arg5
= (long) 0 ;
22300 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22301 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22302 wxPyPanel
*result
= 0 ;
22311 bool temp6
= false ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 PyObject
* obj2
= 0 ;
22315 PyObject
* obj3
= 0 ;
22316 PyObject
* obj4
= 0 ;
22317 PyObject
* obj5
= 0 ;
22318 char * kwnames
[] = {
22319 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22324 if (!SWIG_IsOK(res1
)) {
22325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22327 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22330 if (!SWIG_IsOK(ecode2
)) {
22331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22333 arg2
= static_cast< int >(val2
);
22338 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22344 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22348 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22349 if (!SWIG_IsOK(ecode5
)) {
22350 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22352 arg5
= static_cast< long >(val5
);
22356 arg6
= wxString_in_helper(obj5
);
22357 if (arg6
== NULL
) SWIG_fail
;
22362 if (!wxPyCheckForApp()) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22383 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22384 PyObject
*resultobj
= 0;
22385 wxPyPanel
*result
= 0 ;
22387 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22389 if (!wxPyCheckForApp()) SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 result
= (wxPyPanel
*)new wxPyPanel();
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22402 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
= 0;
22404 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22405 PyObject
*arg2
= (PyObject
*) 0 ;
22406 PyObject
*arg3
= (PyObject
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 PyObject
* obj1
= 0 ;
22411 PyObject
* obj2
= 0 ;
22412 char * kwnames
[] = {
22413 (char *) "self",(char *) "self",(char *) "_class", NULL
22416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22418 if (!SWIG_IsOK(res1
)) {
22419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22421 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_Py_Void();
22437 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
= 0;
22439 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 char * kwnames
[] = {
22447 (char *) "self",(char *) "size", NULL
22450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22452 if (!SWIG_IsOK(res1
)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22455 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22458 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_Py_Void();
22473 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
= 0;
22475 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22476 wxDC
*arg2
= (wxDC
*) 0 ;
22482 PyObject
* obj0
= 0 ;
22483 PyObject
* obj1
= 0 ;
22484 char * kwnames
[] = {
22485 (char *) "self",(char *) "dc", NULL
22488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22490 if (!SWIG_IsOK(res1
)) {
22491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22493 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22495 if (!SWIG_IsOK(res2
)) {
22496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22498 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22514 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22515 PyObject
*resultobj
= 0;
22516 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 PyObject
* obj2
= 0 ;
22534 PyObject
* obj3
= 0 ;
22535 PyObject
* obj4
= 0 ;
22536 char * kwnames
[] = {
22537 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22542 if (!SWIG_IsOK(res1
)) {
22543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22545 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22547 if (!SWIG_IsOK(ecode2
)) {
22548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22550 arg2
= static_cast< int >(val2
);
22551 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22552 if (!SWIG_IsOK(ecode3
)) {
22553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22555 arg3
= static_cast< int >(val3
);
22556 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22557 if (!SWIG_IsOK(ecode4
)) {
22558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22560 arg4
= static_cast< int >(val4
);
22561 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22562 if (!SWIG_IsOK(ecode5
)) {
22563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22565 arg5
= static_cast< int >(val5
);
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22572 resultobj
= SWIG_Py_Void();
22579 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22580 PyObject
*resultobj
= 0;
22581 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22586 int arg6
= (int) wxSIZE_AUTO
;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 PyObject
* obj2
= 0 ;
22602 PyObject
* obj3
= 0 ;
22603 PyObject
* obj4
= 0 ;
22604 PyObject
* obj5
= 0 ;
22605 char * kwnames
[] = {
22606 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22611 if (!SWIG_IsOK(res1
)) {
22612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22614 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22616 if (!SWIG_IsOK(ecode2
)) {
22617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22619 arg2
= static_cast< int >(val2
);
22620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22621 if (!SWIG_IsOK(ecode3
)) {
22622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22624 arg3
= static_cast< int >(val3
);
22625 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22626 if (!SWIG_IsOK(ecode4
)) {
22627 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22629 arg4
= static_cast< int >(val4
);
22630 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22631 if (!SWIG_IsOK(ecode5
)) {
22632 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22634 arg5
= static_cast< int >(val5
);
22636 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22637 if (!SWIG_IsOK(ecode6
)) {
22638 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22640 arg6
= static_cast< int >(val6
);
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22645 wxPyEndAllowThreads(__tstate
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 resultobj
= SWIG_Py_Void();
22655 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22656 PyObject
*resultobj
= 0;
22657 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22666 PyObject
* obj0
= 0 ;
22667 PyObject
* obj1
= 0 ;
22668 PyObject
* obj2
= 0 ;
22669 char * kwnames
[] = {
22670 (char *) "self",(char *) "width",(char *) "height", NULL
22673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22675 if (!SWIG_IsOK(res1
)) {
22676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22678 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22680 if (!SWIG_IsOK(ecode2
)) {
22681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22683 arg2
= static_cast< int >(val2
);
22684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22685 if (!SWIG_IsOK(ecode3
)) {
22686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22688 arg3
= static_cast< int >(val3
);
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 (arg1
)->DoSetClientSize(arg2
,arg3
);
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 resultobj
= SWIG_Py_Void();
22702 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
= 0;
22704 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 PyObject
* obj1
= 0 ;
22715 PyObject
* obj2
= 0 ;
22716 char * kwnames
[] = {
22717 (char *) "self",(char *) "x",(char *) "y", NULL
22720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22722 if (!SWIG_IsOK(res1
)) {
22723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22725 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22727 if (!SWIG_IsOK(ecode2
)) {
22728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22730 arg2
= static_cast< int >(val2
);
22731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22732 if (!SWIG_IsOK(ecode3
)) {
22733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22735 arg3
= static_cast< int >(val3
);
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 resultobj
= SWIG_Py_Void();
22749 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22750 PyObject
*resultobj
= 0;
22751 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22752 int *arg2
= (int *) 0 ;
22753 int *arg3
= (int *) 0 ;
22757 int res2
= SWIG_TMPOBJ
;
22759 int res3
= SWIG_TMPOBJ
;
22760 PyObject
*swig_obj
[1] ;
22764 if (!args
) SWIG_fail
;
22765 swig_obj
[0] = args
;
22766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22767 if (!SWIG_IsOK(res1
)) {
22768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22770 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22774 wxPyEndAllowThreads(__tstate
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22777 resultobj
= SWIG_Py_Void();
22778 if (SWIG_IsTmpObj(res2
)) {
22779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22781 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22784 if (SWIG_IsTmpObj(res3
)) {
22785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22787 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22796 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22797 PyObject
*resultobj
= 0;
22798 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22799 int *arg2
= (int *) 0 ;
22800 int *arg3
= (int *) 0 ;
22804 int res2
= SWIG_TMPOBJ
;
22806 int res3
= SWIG_TMPOBJ
;
22807 PyObject
*swig_obj
[1] ;
22811 if (!args
) SWIG_fail
;
22812 swig_obj
[0] = args
;
22813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22814 if (!SWIG_IsOK(res1
)) {
22815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22817 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 resultobj
= SWIG_Py_Void();
22825 if (SWIG_IsTmpObj(res2
)) {
22826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22828 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22829 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22831 if (SWIG_IsTmpObj(res3
)) {
22832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22834 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22843 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22844 PyObject
*resultobj
= 0;
22845 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22846 int *arg2
= (int *) 0 ;
22847 int *arg3
= (int *) 0 ;
22851 int res2
= SWIG_TMPOBJ
;
22853 int res3
= SWIG_TMPOBJ
;
22854 PyObject
*swig_obj
[1] ;
22858 if (!args
) SWIG_fail
;
22859 swig_obj
[0] = args
;
22860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22861 if (!SWIG_IsOK(res1
)) {
22862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22864 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22868 wxPyEndAllowThreads(__tstate
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22871 resultobj
= SWIG_Py_Void();
22872 if (SWIG_IsTmpObj(res2
)) {
22873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22875 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22878 if (SWIG_IsTmpObj(res3
)) {
22879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22881 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22890 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22891 PyObject
*resultobj
= 0;
22892 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22896 PyObject
*swig_obj
[1] ;
22898 if (!args
) SWIG_fail
;
22899 swig_obj
[0] = args
;
22900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22901 if (!SWIG_IsOK(res1
)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22904 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22918 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22919 PyObject
*resultobj
= 0;
22920 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22924 PyObject
*swig_obj
[1] ;
22926 if (!args
) SWIG_fail
;
22927 swig_obj
[0] = args
;
22928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22929 if (!SWIG_IsOK(res1
)) {
22930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22932 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22946 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22947 PyObject
*resultobj
= 0;
22948 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22949 SwigValueWrapper
<wxVisualAttributes
> result
;
22952 PyObject
*swig_obj
[1] ;
22954 if (!args
) SWIG_fail
;
22955 swig_obj
[0] = args
;
22956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22957 if (!SWIG_IsOK(res1
)) {
22958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22960 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 result
= (arg1
)->GetDefaultAttributes();
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22974 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22975 PyObject
*resultobj
= 0;
22976 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22979 PyObject
*swig_obj
[1] ;
22981 if (!args
) SWIG_fail
;
22982 swig_obj
[0] = args
;
22983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22984 if (!SWIG_IsOK(res1
)) {
22985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22987 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 (arg1
)->OnInternalIdle();
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_Py_Void();
23001 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23004 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
23005 return SWIG_Py_Void();
23008 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23009 return SWIG_Python_InitShadowInstance(args
);
23012 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
= 0;
23014 wxWindow
*arg1
= (wxWindow
*) 0 ;
23015 int arg2
= (int) (int)-1 ;
23016 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23017 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23018 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23019 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23020 long arg5
= (long) 0 ;
23021 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23022 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23023 wxPyScrolledWindow
*result
= 0 ;
23032 bool temp6
= false ;
23033 PyObject
* obj0
= 0 ;
23034 PyObject
* obj1
= 0 ;
23035 PyObject
* obj2
= 0 ;
23036 PyObject
* obj3
= 0 ;
23037 PyObject
* obj4
= 0 ;
23038 PyObject
* obj5
= 0 ;
23039 char * kwnames
[] = {
23040 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23045 if (!SWIG_IsOK(res1
)) {
23046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23048 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23051 if (!SWIG_IsOK(ecode2
)) {
23052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23054 arg2
= static_cast< int >(val2
);
23059 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23065 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23069 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23070 if (!SWIG_IsOK(ecode5
)) {
23071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23073 arg5
= static_cast< long >(val5
);
23077 arg6
= wxString_in_helper(obj5
);
23078 if (arg6
== NULL
) SWIG_fail
;
23083 if (!wxPyCheckForApp()) SWIG_fail
;
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23104 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23105 PyObject
*resultobj
= 0;
23106 wxPyScrolledWindow
*result
= 0 ;
23108 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23110 if (!wxPyCheckForApp()) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23113 wxPyEndAllowThreads(__tstate
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23123 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23124 PyObject
*resultobj
= 0;
23125 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23126 PyObject
*arg2
= (PyObject
*) 0 ;
23127 PyObject
*arg3
= (PyObject
*) 0 ;
23130 PyObject
* obj0
= 0 ;
23131 PyObject
* obj1
= 0 ;
23132 PyObject
* obj2
= 0 ;
23133 char * kwnames
[] = {
23134 (char *) "self",(char *) "self",(char *) "_class", NULL
23137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23139 if (!SWIG_IsOK(res1
)) {
23140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23142 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= SWIG_Py_Void();
23158 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
= 0;
23160 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23165 PyObject
* obj0
= 0 ;
23166 PyObject
* obj1
= 0 ;
23167 char * kwnames
[] = {
23168 (char *) "self",(char *) "size", NULL
23171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23173 if (!SWIG_IsOK(res1
)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23176 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23179 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= SWIG_Py_Void();
23194 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
= 0;
23196 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23197 wxDC
*arg2
= (wxDC
*) 0 ;
23203 PyObject
* obj0
= 0 ;
23204 PyObject
* obj1
= 0 ;
23205 char * kwnames
[] = {
23206 (char *) "self",(char *) "dc", NULL
23209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23211 if (!SWIG_IsOK(res1
)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23214 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23216 if (!SWIG_IsOK(res2
)) {
23217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23219 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23235 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
= 0;
23237 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 PyObject
* obj2
= 0 ;
23255 PyObject
* obj3
= 0 ;
23256 PyObject
* obj4
= 0 ;
23257 char * kwnames
[] = {
23258 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23263 if (!SWIG_IsOK(res1
)) {
23264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23266 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23268 if (!SWIG_IsOK(ecode2
)) {
23269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23271 arg2
= static_cast< int >(val2
);
23272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23273 if (!SWIG_IsOK(ecode3
)) {
23274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23276 arg3
= static_cast< int >(val3
);
23277 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23278 if (!SWIG_IsOK(ecode4
)) {
23279 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23281 arg4
= static_cast< int >(val4
);
23282 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23283 if (!SWIG_IsOK(ecode5
)) {
23284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23286 arg5
= static_cast< int >(val5
);
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= SWIG_Py_Void();
23300 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
= 0;
23302 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23307 int arg6
= (int) wxSIZE_AUTO
;
23320 PyObject
* obj0
= 0 ;
23321 PyObject
* obj1
= 0 ;
23322 PyObject
* obj2
= 0 ;
23323 PyObject
* obj3
= 0 ;
23324 PyObject
* obj4
= 0 ;
23325 PyObject
* obj5
= 0 ;
23326 char * kwnames
[] = {
23327 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23332 if (!SWIG_IsOK(res1
)) {
23333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23335 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23337 if (!SWIG_IsOK(ecode2
)) {
23338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23340 arg2
= static_cast< int >(val2
);
23341 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23342 if (!SWIG_IsOK(ecode3
)) {
23343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23345 arg3
= static_cast< int >(val3
);
23346 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23347 if (!SWIG_IsOK(ecode4
)) {
23348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23350 arg4
= static_cast< int >(val4
);
23351 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23352 if (!SWIG_IsOK(ecode5
)) {
23353 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23355 arg5
= static_cast< int >(val5
);
23357 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23358 if (!SWIG_IsOK(ecode6
)) {
23359 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23361 arg6
= static_cast< int >(val6
);
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23369 resultobj
= SWIG_Py_Void();
23376 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23377 PyObject
*resultobj
= 0;
23378 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23387 PyObject
* obj0
= 0 ;
23388 PyObject
* obj1
= 0 ;
23389 PyObject
* obj2
= 0 ;
23390 char * kwnames
[] = {
23391 (char *) "self",(char *) "width",(char *) "height", NULL
23394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23396 if (!SWIG_IsOK(res1
)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23399 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23401 if (!SWIG_IsOK(ecode2
)) {
23402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23404 arg2
= static_cast< int >(val2
);
23405 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23406 if (!SWIG_IsOK(ecode3
)) {
23407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23409 arg3
= static_cast< int >(val3
);
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 (arg1
)->DoSetClientSize(arg2
,arg3
);
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= SWIG_Py_Void();
23423 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
= 0;
23425 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 PyObject
* obj1
= 0 ;
23436 PyObject
* obj2
= 0 ;
23437 char * kwnames
[] = {
23438 (char *) "self",(char *) "x",(char *) "y", NULL
23441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23443 if (!SWIG_IsOK(res1
)) {
23444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23446 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23448 if (!SWIG_IsOK(ecode2
)) {
23449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23451 arg2
= static_cast< int >(val2
);
23452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23453 if (!SWIG_IsOK(ecode3
)) {
23454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23456 arg3
= static_cast< int >(val3
);
23458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23459 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= SWIG_Py_Void();
23470 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23471 PyObject
*resultobj
= 0;
23472 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23473 int *arg2
= (int *) 0 ;
23474 int *arg3
= (int *) 0 ;
23478 int res2
= SWIG_TMPOBJ
;
23480 int res3
= SWIG_TMPOBJ
;
23481 PyObject
*swig_obj
[1] ;
23485 if (!args
) SWIG_fail
;
23486 swig_obj
[0] = args
;
23487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23488 if (!SWIG_IsOK(res1
)) {
23489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23491 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= SWIG_Py_Void();
23499 if (SWIG_IsTmpObj(res2
)) {
23500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23502 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23505 if (SWIG_IsTmpObj(res3
)) {
23506 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23508 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23509 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23517 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23518 PyObject
*resultobj
= 0;
23519 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23520 int *arg2
= (int *) 0 ;
23521 int *arg3
= (int *) 0 ;
23525 int res2
= SWIG_TMPOBJ
;
23527 int res3
= SWIG_TMPOBJ
;
23528 PyObject
*swig_obj
[1] ;
23532 if (!args
) SWIG_fail
;
23533 swig_obj
[0] = args
;
23534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23535 if (!SWIG_IsOK(res1
)) {
23536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23538 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 resultobj
= SWIG_Py_Void();
23546 if (SWIG_IsTmpObj(res2
)) {
23547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23549 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23552 if (SWIG_IsTmpObj(res3
)) {
23553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23555 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23564 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23565 PyObject
*resultobj
= 0;
23566 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23567 int *arg2
= (int *) 0 ;
23568 int *arg3
= (int *) 0 ;
23572 int res2
= SWIG_TMPOBJ
;
23574 int res3
= SWIG_TMPOBJ
;
23575 PyObject
*swig_obj
[1] ;
23579 if (!args
) SWIG_fail
;
23580 swig_obj
[0] = args
;
23581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23582 if (!SWIG_IsOK(res1
)) {
23583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23585 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= SWIG_Py_Void();
23593 if (SWIG_IsTmpObj(res2
)) {
23594 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23596 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23599 if (SWIG_IsTmpObj(res3
)) {
23600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23602 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23603 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23611 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23612 PyObject
*resultobj
= 0;
23613 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23617 PyObject
*swig_obj
[1] ;
23619 if (!args
) SWIG_fail
;
23620 swig_obj
[0] = args
;
23621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23622 if (!SWIG_IsOK(res1
)) {
23623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23625 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23639 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23640 PyObject
*resultobj
= 0;
23641 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23645 PyObject
*swig_obj
[1] ;
23647 if (!args
) SWIG_fail
;
23648 swig_obj
[0] = args
;
23649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23650 if (!SWIG_IsOK(res1
)) {
23651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23653 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23667 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23668 PyObject
*resultobj
= 0;
23669 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23670 SwigValueWrapper
<wxVisualAttributes
> result
;
23673 PyObject
*swig_obj
[1] ;
23675 if (!args
) SWIG_fail
;
23676 swig_obj
[0] = args
;
23677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23678 if (!SWIG_IsOK(res1
)) {
23679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23681 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23684 result
= (arg1
)->GetDefaultAttributes();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23695 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23696 PyObject
*resultobj
= 0;
23697 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23700 PyObject
*swig_obj
[1] ;
23702 if (!args
) SWIG_fail
;
23703 swig_obj
[0] = args
;
23704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23705 if (!SWIG_IsOK(res1
)) {
23706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23708 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 (arg1
)->OnInternalIdle();
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= SWIG_Py_Void();
23722 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23725 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23726 return SWIG_Py_Void();
23729 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23730 return SWIG_Python_InitShadowInstance(args
);
23733 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23734 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23739 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23740 PyObject
*pyobj
= 0;
23744 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23746 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23753 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23754 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23759 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23760 PyObject
*pyobj
= 0;
23764 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23766 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23773 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23774 PyObject
*resultobj
= 0;
23775 wxPrintData
*result
= 0 ;
23777 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= (wxPrintData
*)new wxPrintData();
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23791 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23792 PyObject
*resultobj
= 0;
23793 wxPrintData
*arg1
= 0 ;
23794 wxPrintData
*result
= 0 ;
23798 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
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 '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23806 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23820 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23824 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23827 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23830 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23834 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23839 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23840 PyObject
*resultobj
= 0;
23841 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23844 PyObject
*swig_obj
[1] ;
23846 if (!args
) SWIG_fail
;
23847 swig_obj
[0] = args
;
23848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23849 if (!SWIG_IsOK(res1
)) {
23850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23852 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= SWIG_Py_Void();
23867 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23868 PyObject
*resultobj
= 0;
23869 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23873 PyObject
*swig_obj
[1] ;
23875 if (!args
) SWIG_fail
;
23876 swig_obj
[0] = args
;
23877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23878 if (!SWIG_IsOK(res1
)) {
23879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23881 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= (int)(arg1
)->GetNoCopies();
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= SWIG_From_int(static_cast< int >(result
));
23895 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23896 PyObject
*resultobj
= 0;
23897 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23901 PyObject
*swig_obj
[1] ;
23903 if (!args
) SWIG_fail
;
23904 swig_obj
[0] = args
;
23905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23906 if (!SWIG_IsOK(res1
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23909 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (bool)(arg1
)->GetCollate();
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23925 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23926 PyObject
*resultobj
= 0;
23927 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23931 PyObject
*swig_obj
[1] ;
23933 if (!args
) SWIG_fail
;
23934 swig_obj
[0] = args
;
23935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23936 if (!SWIG_IsOK(res1
)) {
23937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23939 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= (int)(arg1
)->GetOrientation();
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= SWIG_From_int(static_cast< int >(result
));
23953 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23954 PyObject
*resultobj
= 0;
23955 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23959 PyObject
*swig_obj
[1] ;
23961 if (!args
) SWIG_fail
;
23962 swig_obj
[0] = args
;
23963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23964 if (!SWIG_IsOK(res1
)) {
23965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23967 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 result
= (bool)(arg1
)->Ok();
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23983 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23984 PyObject
*resultobj
= 0;
23985 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23986 wxString
*result
= 0 ;
23989 PyObject
*swig_obj
[1] ;
23991 if (!args
) SWIG_fail
;
23992 swig_obj
[0] = args
;
23993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23994 if (!SWIG_IsOK(res1
)) {
23995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23997 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
24002 result
= (wxString
*) &_result_ref
;
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24011 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24020 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24021 PyObject
*resultobj
= 0;
24022 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24026 PyObject
*swig_obj
[1] ;
24028 if (!args
) SWIG_fail
;
24029 swig_obj
[0] = args
;
24030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24031 if (!SWIG_IsOK(res1
)) {
24032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24034 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 result
= (bool)(arg1
)->GetColour();
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24050 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24051 PyObject
*resultobj
= 0;
24052 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24053 wxDuplexMode result
;
24056 PyObject
*swig_obj
[1] ;
24058 if (!args
) SWIG_fail
;
24059 swig_obj
[0] = args
;
24060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24061 if (!SWIG_IsOK(res1
)) {
24062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24064 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= SWIG_From_int(static_cast< int >(result
));
24078 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24079 PyObject
*resultobj
= 0;
24080 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24081 wxPaperSize result
;
24084 PyObject
*swig_obj
[1] ;
24086 if (!args
) SWIG_fail
;
24087 swig_obj
[0] = args
;
24088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24089 if (!SWIG_IsOK(res1
)) {
24090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24092 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= SWIG_From_int(static_cast< int >(result
));
24106 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24107 PyObject
*resultobj
= 0;
24108 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24109 wxSize
*result
= 0 ;
24112 PyObject
*swig_obj
[1] ;
24114 if (!args
) SWIG_fail
;
24115 swig_obj
[0] = args
;
24116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24117 if (!SWIG_IsOK(res1
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24120 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24125 result
= (wxSize
*) &_result_ref
;
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24137 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24138 PyObject
*resultobj
= 0;
24139 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24143 PyObject
*swig_obj
[1] ;
24145 if (!args
) SWIG_fail
;
24146 swig_obj
[0] = args
;
24147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24148 if (!SWIG_IsOK(res1
)) {
24149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24151 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (int)(arg1
)->GetQuality();
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= SWIG_From_int(static_cast< int >(result
));
24165 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24166 PyObject
*resultobj
= 0;
24167 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24171 PyObject
*swig_obj
[1] ;
24173 if (!args
) SWIG_fail
;
24174 swig_obj
[0] = args
;
24175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24176 if (!SWIG_IsOK(res1
)) {
24177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24179 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (wxPrintBin
)(arg1
)->GetBin();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_From_int(static_cast< int >(result
));
24193 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 PyObject
*resultobj
= 0;
24195 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24196 wxPrintMode result
;
24199 PyObject
*swig_obj
[1] ;
24201 if (!args
) SWIG_fail
;
24202 swig_obj
[0] = args
;
24203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24204 if (!SWIG_IsOK(res1
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24207 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_From_int(static_cast< int >(result
));
24221 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
= 0;
24223 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 PyObject
* obj1
= 0 ;
24231 char * kwnames
[] = {
24232 (char *) "self",(char *) "v", NULL
24235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24237 if (!SWIG_IsOK(res1
)) {
24238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24240 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24242 if (!SWIG_IsOK(ecode2
)) {
24243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24245 arg2
= static_cast< int >(val2
);
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 (arg1
)->SetNoCopies(arg2
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 resultobj
= SWIG_Py_Void();
24259 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
= 0;
24261 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 char * kwnames
[] = {
24270 (char *) "self",(char *) "flag", NULL
24273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24275 if (!SWIG_IsOK(res1
)) {
24276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24278 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24279 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24280 if (!SWIG_IsOK(ecode2
)) {
24281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24283 arg2
= static_cast< bool >(val2
);
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 (arg1
)->SetCollate(arg2
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= SWIG_Py_Void();
24297 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
= 0;
24299 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char * kwnames
[] = {
24308 (char *) "self",(char *) "orient", NULL
24311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24313 if (!SWIG_IsOK(res1
)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24316 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24318 if (!SWIG_IsOK(ecode2
)) {
24319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24321 arg2
= static_cast< int >(val2
);
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 (arg1
)->SetOrientation(arg2
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= SWIG_Py_Void();
24335 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
= 0;
24337 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24338 wxString
*arg2
= 0 ;
24341 bool temp2
= false ;
24342 PyObject
* obj0
= 0 ;
24343 PyObject
* obj1
= 0 ;
24344 char * kwnames
[] = {
24345 (char *) "self",(char *) "name", NULL
24348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24350 if (!SWIG_IsOK(res1
)) {
24351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24353 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24355 arg2
= wxString_in_helper(obj1
);
24356 if (arg2
== NULL
) SWIG_fail
;
24360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24361 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= SWIG_Py_Void();
24380 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
= 0;
24382 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24388 PyObject
* obj0
= 0 ;
24389 PyObject
* obj1
= 0 ;
24390 char * kwnames
[] = {
24391 (char *) "self",(char *) "colour", NULL
24394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24396 if (!SWIG_IsOK(res1
)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24399 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24400 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24401 if (!SWIG_IsOK(ecode2
)) {
24402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24404 arg2
= static_cast< bool >(val2
);
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 (arg1
)->SetColour(arg2
);
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24411 resultobj
= SWIG_Py_Void();
24418 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
= 0;
24420 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24421 wxDuplexMode arg2
;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 char * kwnames
[] = {
24429 (char *) "self",(char *) "duplex", NULL
24432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24434 if (!SWIG_IsOK(res1
)) {
24435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24437 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24439 if (!SWIG_IsOK(ecode2
)) {
24440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24442 arg2
= static_cast< wxDuplexMode
>(val2
);
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 (arg1
)->SetDuplex(arg2
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= SWIG_Py_Void();
24456 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
= 0;
24458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24464 PyObject
* obj0
= 0 ;
24465 PyObject
* obj1
= 0 ;
24466 char * kwnames
[] = {
24467 (char *) "self",(char *) "sizeId", NULL
24470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24472 if (!SWIG_IsOK(res1
)) {
24473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24475 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24477 if (!SWIG_IsOK(ecode2
)) {
24478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24480 arg2
= static_cast< wxPaperSize
>(val2
);
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 (arg1
)->SetPaperId(arg2
);
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24487 resultobj
= SWIG_Py_Void();
24494 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24495 PyObject
*resultobj
= 0;
24496 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24503 char * kwnames
[] = {
24504 (char *) "self",(char *) "sz", NULL
24507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24509 if (!SWIG_IsOK(res1
)) {
24510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24512 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24515 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= SWIG_Py_Void();
24530 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
= 0;
24532 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 char * kwnames
[] = {
24541 (char *) "self",(char *) "quality", NULL
24544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24546 if (!SWIG_IsOK(res1
)) {
24547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24549 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24551 if (!SWIG_IsOK(ecode2
)) {
24552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24554 arg2
= static_cast< int >(val2
);
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 (arg1
)->SetQuality(arg2
);
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= SWIG_Py_Void();
24568 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
= 0;
24570 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 char * kwnames
[] = {
24579 (char *) "self",(char *) "bin", NULL
24582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24584 if (!SWIG_IsOK(res1
)) {
24585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24587 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24589 if (!SWIG_IsOK(ecode2
)) {
24590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24592 arg2
= static_cast< wxPrintBin
>(val2
);
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 (arg1
)->SetBin(arg2
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_Py_Void();
24606 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
= 0;
24608 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 char * kwnames
[] = {
24617 (char *) "self",(char *) "printMode", NULL
24620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24622 if (!SWIG_IsOK(res1
)) {
24623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24625 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24627 if (!SWIG_IsOK(ecode2
)) {
24628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24630 arg2
= static_cast< wxPrintMode
>(val2
);
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 (arg1
)->SetPrintMode(arg2
);
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_Py_Void();
24644 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24645 PyObject
*resultobj
= 0;
24646 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24650 PyObject
*swig_obj
[1] ;
24652 if (!args
) SWIG_fail
;
24653 swig_obj
[0] = args
;
24654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24655 if (!SWIG_IsOK(res1
)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24658 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24678 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
= 0;
24680 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24681 wxString
*arg2
= 0 ;
24684 bool temp2
= false ;
24685 PyObject
* obj0
= 0 ;
24686 PyObject
* obj1
= 0 ;
24687 char * kwnames
[] = {
24688 (char *) "self",(char *) "filename", NULL
24691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24693 if (!SWIG_IsOK(res1
)) {
24694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24696 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24698 arg2
= wxString_in_helper(obj1
);
24699 if (arg2
== NULL
) SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 (arg1
)->SetFilename((wxString
const &)*arg2
);
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24708 resultobj
= SWIG_Py_Void();
24723 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24724 PyObject
*resultobj
= 0;
24725 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24726 PyObject
*result
= 0 ;
24729 PyObject
*swig_obj
[1] ;
24731 if (!args
) SWIG_fail
;
24732 swig_obj
[0] = args
;
24733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24734 if (!SWIG_IsOK(res1
)) {
24735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24737 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= result
;
24751 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
= 0;
24753 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24754 PyObject
*arg2
= (PyObject
*) 0 ;
24757 PyObject
* obj0
= 0 ;
24758 PyObject
* obj1
= 0 ;
24759 char * kwnames
[] = {
24760 (char *) "self",(char *) "data", NULL
24763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24765 if (!SWIG_IsOK(res1
)) {
24766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24768 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 wxPrintData_SetPrivData(arg1
,arg2
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= SWIG_Py_Void();
24783 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24785 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24786 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24787 return SWIG_Py_Void();
24790 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24791 return SWIG_Python_InitShadowInstance(args
);
24794 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24795 PyObject
*resultobj
= 0;
24796 wxPageSetupDialogData
*result
= 0 ;
24798 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24812 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24813 PyObject
*resultobj
= 0;
24814 wxPageSetupDialogData
*arg1
= 0 ;
24815 wxPageSetupDialogData
*result
= 0 ;
24819 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24821 if (!SWIG_IsOK(res1
)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24827 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24841 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24842 PyObject
*resultobj
= 0;
24843 wxPrintData
*arg1
= 0 ;
24844 wxPageSetupDialogData
*result
= 0 ;
24848 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24850 if (!SWIG_IsOK(res1
)) {
24851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24856 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24870 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24874 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24877 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24882 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24883 _v
= SWIG_CheckState(res
);
24885 if (!_v
) goto check_2
;
24886 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24891 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24895 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24900 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24901 PyObject
*resultobj
= 0;
24902 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24905 PyObject
*swig_obj
[1] ;
24907 if (!args
) SWIG_fail
;
24908 swig_obj
[0] = args
;
24909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24910 if (!SWIG_IsOK(res1
)) {
24911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24913 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_Py_Void();
24928 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
= 0;
24930 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24936 PyObject
* obj0
= 0 ;
24937 PyObject
* obj1
= 0 ;
24938 char * kwnames
[] = {
24939 (char *) "self",(char *) "flag", NULL
24942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24944 if (!SWIG_IsOK(res1
)) {
24945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24947 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24949 if (!SWIG_IsOK(ecode2
)) {
24950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24952 arg2
= static_cast< bool >(val2
);
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 (arg1
)->EnableHelp(arg2
);
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= SWIG_Py_Void();
24966 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
= 0;
24968 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 PyObject
* obj1
= 0 ;
24976 char * kwnames
[] = {
24977 (char *) "self",(char *) "flag", NULL
24980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24982 if (!SWIG_IsOK(res1
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24985 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24986 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24987 if (!SWIG_IsOK(ecode2
)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24990 arg2
= static_cast< bool >(val2
);
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 (arg1
)->EnableMargins(arg2
);
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= SWIG_Py_Void();
25004 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25005 PyObject
*resultobj
= 0;
25006 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25012 PyObject
* obj0
= 0 ;
25013 PyObject
* obj1
= 0 ;
25014 char * kwnames
[] = {
25015 (char *) "self",(char *) "flag", NULL
25018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25020 if (!SWIG_IsOK(res1
)) {
25021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25023 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25024 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25025 if (!SWIG_IsOK(ecode2
)) {
25026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25028 arg2
= static_cast< bool >(val2
);
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 (arg1
)->EnableOrientation(arg2
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= SWIG_Py_Void();
25042 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
= 0;
25044 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25050 PyObject
* obj0
= 0 ;
25051 PyObject
* obj1
= 0 ;
25052 char * kwnames
[] = {
25053 (char *) "self",(char *) "flag", NULL
25056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25058 if (!SWIG_IsOK(res1
)) {
25059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25061 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25062 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25063 if (!SWIG_IsOK(ecode2
)) {
25064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25066 arg2
= static_cast< bool >(val2
);
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 (arg1
)->EnablePaper(arg2
);
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_Py_Void();
25080 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
= 0;
25082 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 PyObject
* obj1
= 0 ;
25090 char * kwnames
[] = {
25091 (char *) "self",(char *) "flag", NULL
25094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25096 if (!SWIG_IsOK(res1
)) {
25097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25099 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25100 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25101 if (!SWIG_IsOK(ecode2
)) {
25102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25104 arg2
= static_cast< bool >(val2
);
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 (arg1
)->EnablePrinter(arg2
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= SWIG_Py_Void();
25118 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25119 PyObject
*resultobj
= 0;
25120 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25124 PyObject
*swig_obj
[1] ;
25126 if (!args
) SWIG_fail
;
25127 swig_obj
[0] = args
;
25128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25129 if (!SWIG_IsOK(res1
)) {
25130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25132 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= (bool)(arg1
)->GetDefaultMinMargins();
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25148 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25149 PyObject
*resultobj
= 0;
25150 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25154 PyObject
*swig_obj
[1] ;
25156 if (!args
) SWIG_fail
;
25157 swig_obj
[0] = args
;
25158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25159 if (!SWIG_IsOK(res1
)) {
25160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25162 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= (bool)(arg1
)->GetEnableMargins();
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25178 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25179 PyObject
*resultobj
= 0;
25180 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25184 PyObject
*swig_obj
[1] ;
25186 if (!args
) SWIG_fail
;
25187 swig_obj
[0] = args
;
25188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25189 if (!SWIG_IsOK(res1
)) {
25190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25192 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 result
= (bool)(arg1
)->GetEnableOrientation();
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25208 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25209 PyObject
*resultobj
= 0;
25210 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25214 PyObject
*swig_obj
[1] ;
25216 if (!args
) SWIG_fail
;
25217 swig_obj
[0] = args
;
25218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25219 if (!SWIG_IsOK(res1
)) {
25220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25222 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 result
= (bool)(arg1
)->GetEnablePaper();
25226 wxPyEndAllowThreads(__tstate
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25238 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25239 PyObject
*resultobj
= 0;
25240 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25244 PyObject
*swig_obj
[1] ;
25246 if (!args
) SWIG_fail
;
25247 swig_obj
[0] = args
;
25248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25249 if (!SWIG_IsOK(res1
)) {
25250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25252 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 result
= (bool)(arg1
)->GetEnablePrinter();
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25268 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25269 PyObject
*resultobj
= 0;
25270 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25274 PyObject
*swig_obj
[1] ;
25276 if (!args
) SWIG_fail
;
25277 swig_obj
[0] = args
;
25278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25279 if (!SWIG_IsOK(res1
)) {
25280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25282 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 result
= (bool)(arg1
)->GetEnableHelp();
25286 wxPyEndAllowThreads(__tstate
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25298 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25299 PyObject
*resultobj
= 0;
25300 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25304 PyObject
*swig_obj
[1] ;
25306 if (!args
) SWIG_fail
;
25307 swig_obj
[0] = args
;
25308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25309 if (!SWIG_IsOK(res1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25312 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (bool)(arg1
)->GetDefaultInfo();
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25328 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25329 PyObject
*resultobj
= 0;
25330 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25334 PyObject
*swig_obj
[1] ;
25336 if (!args
) SWIG_fail
;
25337 swig_obj
[0] = args
;
25338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25342 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (arg1
)->GetMarginTopLeft();
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25356 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25357 PyObject
*resultobj
= 0;
25358 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25362 PyObject
*swig_obj
[1] ;
25364 if (!args
) SWIG_fail
;
25365 swig_obj
[0] = args
;
25366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25367 if (!SWIG_IsOK(res1
)) {
25368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25370 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= (arg1
)->GetMarginBottomRight();
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25384 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25385 PyObject
*resultobj
= 0;
25386 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25390 PyObject
*swig_obj
[1] ;
25392 if (!args
) SWIG_fail
;
25393 swig_obj
[0] = args
;
25394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25395 if (!SWIG_IsOK(res1
)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25398 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 result
= (arg1
)->GetMinMarginTopLeft();
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25412 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25413 PyObject
*resultobj
= 0;
25414 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25418 PyObject
*swig_obj
[1] ;
25420 if (!args
) SWIG_fail
;
25421 swig_obj
[0] = args
;
25422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25423 if (!SWIG_IsOK(res1
)) {
25424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25426 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (arg1
)->GetMinMarginBottomRight();
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25440 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25441 PyObject
*resultobj
= 0;
25442 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25443 wxPaperSize result
;
25446 PyObject
*swig_obj
[1] ;
25448 if (!args
) SWIG_fail
;
25449 swig_obj
[0] = args
;
25450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25451 if (!SWIG_IsOK(res1
)) {
25452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25454 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 resultobj
= SWIG_From_int(static_cast< int >(result
));
25468 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25469 PyObject
*resultobj
= 0;
25470 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25474 PyObject
*swig_obj
[1] ;
25476 if (!args
) SWIG_fail
;
25477 swig_obj
[0] = args
;
25478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25479 if (!SWIG_IsOK(res1
)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25482 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 result
= (arg1
)->GetPaperSize();
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25496 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25497 PyObject
*resultobj
= 0;
25498 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25499 wxPrintData
*result
= 0 ;
25502 PyObject
*swig_obj
[1] ;
25504 if (!args
) SWIG_fail
;
25505 swig_obj
[0] = args
;
25506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25507 if (!SWIG_IsOK(res1
)) {
25508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25510 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25515 result
= (wxPrintData
*) &_result_ref
;
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25527 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25528 PyObject
*resultobj
= 0;
25529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25533 PyObject
*swig_obj
[1] ;
25535 if (!args
) SWIG_fail
;
25536 swig_obj
[0] = args
;
25537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25538 if (!SWIG_IsOK(res1
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25541 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 result
= (bool)(arg1
)->Ok();
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25557 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
= 0;
25559 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25565 PyObject
* obj0
= 0 ;
25566 PyObject
* obj1
= 0 ;
25567 char * kwnames
[] = {
25568 (char *) "self",(char *) "flag", NULL
25571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25573 if (!SWIG_IsOK(res1
)) {
25574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25576 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25577 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25578 if (!SWIG_IsOK(ecode2
)) {
25579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25581 arg2
= static_cast< bool >(val2
);
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 (arg1
)->SetDefaultInfo(arg2
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_Py_Void();
25595 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
= 0;
25597 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 char * kwnames
[] = {
25606 (char *) "self",(char *) "flag", NULL
25609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25611 if (!SWIG_IsOK(res1
)) {
25612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25614 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25615 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25616 if (!SWIG_IsOK(ecode2
)) {
25617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25619 arg2
= static_cast< bool >(val2
);
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 (arg1
)->SetDefaultMinMargins(arg2
);
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= SWIG_Py_Void();
25633 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
= 0;
25635 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25636 wxPoint
*arg2
= 0 ;
25640 PyObject
* obj0
= 0 ;
25641 PyObject
* obj1
= 0 ;
25642 char * kwnames
[] = {
25643 (char *) "self",(char *) "pt", NULL
25646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25648 if (!SWIG_IsOK(res1
)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25651 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_Py_Void();
25669 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
= 0;
25671 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25672 wxPoint
*arg2
= 0 ;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 char * kwnames
[] = {
25679 (char *) "self",(char *) "pt", NULL
25682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25684 if (!SWIG_IsOK(res1
)) {
25685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25687 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_Py_Void();
25705 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
= 0;
25707 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25708 wxPoint
*arg2
= 0 ;
25712 PyObject
* obj0
= 0 ;
25713 PyObject
* obj1
= 0 ;
25714 char * kwnames
[] = {
25715 (char *) "self",(char *) "pt", NULL
25718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25720 if (!SWIG_IsOK(res1
)) {
25721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25723 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25726 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_Py_Void();
25741 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
= 0;
25743 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25744 wxPoint
*arg2
= 0 ;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 char * kwnames
[] = {
25751 (char *) "self",(char *) "pt", NULL
25754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25756 if (!SWIG_IsOK(res1
)) {
25757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25759 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= SWIG_Py_Void();
25777 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25778 PyObject
*resultobj
= 0;
25779 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 char * kwnames
[] = {
25788 (char *) "self",(char *) "id", NULL
25791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25793 if (!SWIG_IsOK(res1
)) {
25794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25796 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25798 if (!SWIG_IsOK(ecode2
)) {
25799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25801 arg2
= static_cast< wxPaperSize
>(val2
);
25803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25804 (arg1
)->SetPaperId(arg2
);
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25808 resultobj
= SWIG_Py_Void();
25815 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25816 PyObject
*resultobj
= 0;
25817 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25822 PyObject
* obj0
= 0 ;
25823 PyObject
* obj1
= 0 ;
25824 char * kwnames
[] = {
25825 (char *) "self",(char *) "size", NULL
25828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25830 if (!SWIG_IsOK(res1
)) {
25831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25833 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25836 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 resultobj
= SWIG_Py_Void();
25851 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
= 0;
25853 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25854 wxPrintData
*arg2
= 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 char * kwnames
[] = {
25862 (char *) "self",(char *) "printData", NULL
25865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25867 if (!SWIG_IsOK(res1
)) {
25868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25870 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25872 if (!SWIG_IsOK(res2
)) {
25873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25878 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 resultobj
= SWIG_Py_Void();
25892 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25893 PyObject
*resultobj
= 0;
25894 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25897 PyObject
*swig_obj
[1] ;
25899 if (!args
) SWIG_fail
;
25900 swig_obj
[0] = args
;
25901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25902 if (!SWIG_IsOK(res1
)) {
25903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25905 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 (arg1
)->CalculateIdFromPaperSize();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_Py_Void();
25919 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25920 PyObject
*resultobj
= 0;
25921 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25924 PyObject
*swig_obj
[1] ;
25926 if (!args
) SWIG_fail
;
25927 swig_obj
[0] = args
;
25928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25929 if (!SWIG_IsOK(res1
)) {
25930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25932 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 (arg1
)->CalculatePaperSizeFromId();
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 resultobj
= SWIG_Py_Void();
25946 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25949 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25950 return SWIG_Py_Void();
25953 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25954 return SWIG_Python_InitShadowInstance(args
);
25957 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
= 0;
25959 wxWindow
*arg1
= (wxWindow
*) 0 ;
25960 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25961 wxPageSetupDialog
*result
= 0 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char * kwnames
[] = {
25969 (char *) "parent",(char *) "data", NULL
25972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25974 if (!SWIG_IsOK(res1
)) {
25975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25977 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25980 if (!SWIG_IsOK(res2
)) {
25981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25983 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25986 if (!wxPyCheckForApp()) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25999 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26000 PyObject
*resultobj
= 0;
26001 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 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_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26009 if (!SWIG_IsOK(res1
)) {
26010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26012 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 resultobj
= SWIG_Py_Void();
26027 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26028 PyObject
*resultobj
= 0;
26029 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26030 wxPageSetupDialogData
*result
= 0 ;
26033 PyObject
*swig_obj
[1] ;
26035 if (!args
) SWIG_fail
;
26036 swig_obj
[0] = args
;
26037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26038 if (!SWIG_IsOK(res1
)) {
26039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26041 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26046 result
= (wxPageSetupDialogData
*) &_result_ref
;
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26058 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26059 PyObject
*resultobj
= 0;
26060 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26061 wxPageSetupDialogData
*result
= 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_wxPageSetupDialog
, 0 | 0 );
26069 if (!SWIG_IsOK(res1
)) {
26070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26072 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26077 result
= (wxPageSetupDialogData
*) &_result_ref
;
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26089 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26090 PyObject
*resultobj
= 0;
26091 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26095 PyObject
*swig_obj
[1] ;
26097 if (!args
) SWIG_fail
;
26098 swig_obj
[0] = args
;
26099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26100 if (!SWIG_IsOK(res1
)) {
26101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26103 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 result
= (int)(arg1
)->ShowModal();
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_From_int(static_cast< int >(result
));
26117 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26120 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26121 return SWIG_Py_Void();
26124 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26125 return SWIG_Python_InitShadowInstance(args
);
26128 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26129 PyObject
*resultobj
= 0;
26130 wxPrintDialogData
*result
= 0 ;
26132 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26146 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26147 PyObject
*resultobj
= 0;
26148 wxPrintData
*arg1
= 0 ;
26149 wxPrintDialogData
*result
= 0 ;
26153 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26155 if (!SWIG_IsOK(res1
)) {
26156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26161 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26175 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26176 PyObject
*resultobj
= 0;
26177 wxPrintDialogData
*arg1
= 0 ;
26178 wxPrintDialogData
*result
= 0 ;
26182 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26190 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26194 wxPyEndAllowThreads(__tstate
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26204 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26208 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26211 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26216 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26217 _v
= SWIG_CheckState(res
);
26219 if (!_v
) goto check_2
;
26220 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26225 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26229 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26234 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26235 PyObject
*resultobj
= 0;
26236 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26239 PyObject
*swig_obj
[1] ;
26241 if (!args
) SWIG_fail
;
26242 swig_obj
[0] = args
;
26243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26244 if (!SWIG_IsOK(res1
)) {
26245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26247 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= SWIG_Py_Void();
26262 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26263 PyObject
*resultobj
= 0;
26264 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26268 PyObject
*swig_obj
[1] ;
26270 if (!args
) SWIG_fail
;
26271 swig_obj
[0] = args
;
26272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26276 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_From_int(static_cast< int >(result
));
26290 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26291 PyObject
*resultobj
= 0;
26292 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26296 PyObject
*swig_obj
[1] ;
26298 if (!args
) SWIG_fail
;
26299 swig_obj
[0] = args
;
26300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26301 if (!SWIG_IsOK(res1
)) {
26302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26304 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 resultobj
= SWIG_From_int(static_cast< int >(result
));
26318 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26319 PyObject
*resultobj
= 0;
26320 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26324 PyObject
*swig_obj
[1] ;
26326 if (!args
) SWIG_fail
;
26327 swig_obj
[0] = args
;
26328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26329 if (!SWIG_IsOK(res1
)) {
26330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26332 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26339 resultobj
= SWIG_From_int(static_cast< int >(result
));
26346 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26347 PyObject
*resultobj
= 0;
26348 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26352 PyObject
*swig_obj
[1] ;
26354 if (!args
) SWIG_fail
;
26355 swig_obj
[0] = args
;
26356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26357 if (!SWIG_IsOK(res1
)) {
26358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26360 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_From_int(static_cast< int >(result
));
26374 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26375 PyObject
*resultobj
= 0;
26376 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26380 PyObject
*swig_obj
[1] ;
26382 if (!args
) SWIG_fail
;
26383 swig_obj
[0] = args
;
26384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26385 if (!SWIG_IsOK(res1
)) {
26386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26388 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26395 resultobj
= SWIG_From_int(static_cast< int >(result
));
26402 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26403 PyObject
*resultobj
= 0;
26404 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26408 PyObject
*swig_obj
[1] ;
26410 if (!args
) SWIG_fail
;
26411 swig_obj
[0] = args
;
26412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26413 if (!SWIG_IsOK(res1
)) {
26414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26416 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26420 wxPyEndAllowThreads(__tstate
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26432 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26433 PyObject
*resultobj
= 0;
26434 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26438 PyObject
*swig_obj
[1] ;
26440 if (!args
) SWIG_fail
;
26441 swig_obj
[0] = args
;
26442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26443 if (!SWIG_IsOK(res1
)) {
26444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26446 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26462 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26463 PyObject
*resultobj
= 0;
26464 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26468 PyObject
*swig_obj
[1] ;
26470 if (!args
) SWIG_fail
;
26471 swig_obj
[0] = args
;
26472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26473 if (!SWIG_IsOK(res1
)) {
26474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26476 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26492 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26493 PyObject
*resultobj
= 0;
26494 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26498 PyObject
*swig_obj
[1] ;
26500 if (!args
) SWIG_fail
;
26501 swig_obj
[0] = args
;
26502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26503 if (!SWIG_IsOK(res1
)) {
26504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26506 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26522 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
= 0;
26524 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char * kwnames
[] = {
26533 (char *) "self",(char *) "v", NULL
26536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26541 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26543 if (!SWIG_IsOK(ecode2
)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26546 arg2
= static_cast< int >(val2
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->SetFromPage(arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_Py_Void();
26560 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
= 0;
26562 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 PyObject
* obj1
= 0 ;
26570 char * kwnames
[] = {
26571 (char *) "self",(char *) "v", NULL
26574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26576 if (!SWIG_IsOK(res1
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26579 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26581 if (!SWIG_IsOK(ecode2
)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26584 arg2
= static_cast< int >(val2
);
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetToPage(arg2
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= SWIG_Py_Void();
26598 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26599 PyObject
*resultobj
= 0;
26600 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char * kwnames
[] = {
26609 (char *) "self",(char *) "v", NULL
26612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26617 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26619 if (!SWIG_IsOK(ecode2
)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26622 arg2
= static_cast< int >(val2
);
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 (arg1
)->SetMinPage(arg2
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_Py_Void();
26636 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
= 0;
26638 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26644 PyObject
* obj0
= 0 ;
26645 PyObject
* obj1
= 0 ;
26646 char * kwnames
[] = {
26647 (char *) "self",(char *) "v", NULL
26650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26652 if (!SWIG_IsOK(res1
)) {
26653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26655 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26657 if (!SWIG_IsOK(ecode2
)) {
26658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26660 arg2
= static_cast< int >(val2
);
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 (arg1
)->SetMaxPage(arg2
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= SWIG_Py_Void();
26674 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
= 0;
26676 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26682 PyObject
* obj0
= 0 ;
26683 PyObject
* obj1
= 0 ;
26684 char * kwnames
[] = {
26685 (char *) "self",(char *) "v", NULL
26688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26693 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26695 if (!SWIG_IsOK(ecode2
)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26698 arg2
= static_cast< int >(val2
);
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 (arg1
)->SetNoCopies(arg2
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_Py_Void();
26712 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
= 0;
26714 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 char * kwnames
[] = {
26723 (char *) "self",(char *) "flag", NULL
26726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26731 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26732 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26733 if (!SWIG_IsOK(ecode2
)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26736 arg2
= static_cast< bool >(val2
);
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 (arg1
)->SetAllPages(arg2
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_Py_Void();
26750 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
= 0;
26752 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 char * kwnames
[] = {
26761 (char *) "self",(char *) "flag", NULL
26764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26766 if (!SWIG_IsOK(res1
)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26769 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26770 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26771 if (!SWIG_IsOK(ecode2
)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26774 arg2
= static_cast< bool >(val2
);
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 (arg1
)->SetSelection(arg2
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 resultobj
= SWIG_Py_Void();
26788 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
= 0;
26790 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 char * kwnames
[] = {
26799 (char *) "self",(char *) "flag", NULL
26802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26804 if (!SWIG_IsOK(res1
)) {
26805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26807 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26808 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26809 if (!SWIG_IsOK(ecode2
)) {
26810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26812 arg2
= static_cast< bool >(val2
);
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 (arg1
)->SetCollate(arg2
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= SWIG_Py_Void();
26826 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
= 0;
26828 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 char * kwnames
[] = {
26837 (char *) "self",(char *) "flag", NULL
26840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26842 if (!SWIG_IsOK(res1
)) {
26843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26845 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26846 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26847 if (!SWIG_IsOK(ecode2
)) {
26848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26850 arg2
= static_cast< bool >(val2
);
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 (arg1
)->SetPrintToFile(arg2
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= SWIG_Py_Void();
26864 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
= 0;
26866 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26872 PyObject
* obj0
= 0 ;
26873 PyObject
* obj1
= 0 ;
26874 char * kwnames
[] = {
26875 (char *) "self",(char *) "flag", NULL
26878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26883 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26884 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26885 if (!SWIG_IsOK(ecode2
)) {
26886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26888 arg2
= static_cast< bool >(val2
);
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 (arg1
)->EnablePrintToFile(arg2
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_Py_Void();
26902 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
= 0;
26904 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26910 PyObject
* obj0
= 0 ;
26911 PyObject
* obj1
= 0 ;
26912 char * kwnames
[] = {
26913 (char *) "self",(char *) "flag", NULL
26916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26918 if (!SWIG_IsOK(res1
)) {
26919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26921 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26922 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26923 if (!SWIG_IsOK(ecode2
)) {
26924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26926 arg2
= static_cast< bool >(val2
);
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 (arg1
)->EnableSelection(arg2
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= SWIG_Py_Void();
26940 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
= 0;
26942 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26950 char * kwnames
[] = {
26951 (char *) "self",(char *) "flag", NULL
26954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26956 if (!SWIG_IsOK(res1
)) {
26957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26959 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26960 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26961 if (!SWIG_IsOK(ecode2
)) {
26962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26964 arg2
= static_cast< bool >(val2
);
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 (arg1
)->EnablePageNumbers(arg2
);
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_Py_Void();
26978 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
= 0;
26980 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26986 PyObject
* obj0
= 0 ;
26987 PyObject
* obj1
= 0 ;
26988 char * kwnames
[] = {
26989 (char *) "self",(char *) "flag", NULL
26992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26994 if (!SWIG_IsOK(res1
)) {
26995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26997 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26998 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26999 if (!SWIG_IsOK(ecode2
)) {
27000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27002 arg2
= static_cast< bool >(val2
);
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 (arg1
)->EnableHelp(arg2
);
27006 wxPyEndAllowThreads(__tstate
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27009 resultobj
= SWIG_Py_Void();
27016 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27017 PyObject
*resultobj
= 0;
27018 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27022 PyObject
*swig_obj
[1] ;
27024 if (!args
) SWIG_fail
;
27025 swig_obj
[0] = args
;
27026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27027 if (!SWIG_IsOK(res1
)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27030 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27033 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27046 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27047 PyObject
*resultobj
= 0;
27048 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27052 PyObject
*swig_obj
[1] ;
27054 if (!args
) SWIG_fail
;
27055 swig_obj
[0] = args
;
27056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27057 if (!SWIG_IsOK(res1
)) {
27058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27060 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27076 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27077 PyObject
*resultobj
= 0;
27078 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27082 PyObject
*swig_obj
[1] ;
27084 if (!args
) SWIG_fail
;
27085 swig_obj
[0] = args
;
27086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27087 if (!SWIG_IsOK(res1
)) {
27088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27090 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27093 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27094 wxPyEndAllowThreads(__tstate
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27106 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27107 PyObject
*resultobj
= 0;
27108 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27112 PyObject
*swig_obj
[1] ;
27114 if (!args
) SWIG_fail
;
27115 swig_obj
[0] = args
;
27116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27117 if (!SWIG_IsOK(res1
)) {
27118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27120 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27124 wxPyEndAllowThreads(__tstate
);
27125 if (PyErr_Occurred()) SWIG_fail
;
27128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27136 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27137 PyObject
*resultobj
= 0;
27138 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27142 PyObject
*swig_obj
[1] ;
27144 if (!args
) SWIG_fail
;
27145 swig_obj
[0] = args
;
27146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27147 if (!SWIG_IsOK(res1
)) {
27148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27150 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27166 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27167 PyObject
*resultobj
= 0;
27168 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27169 wxPrintData
*result
= 0 ;
27172 PyObject
*swig_obj
[1] ;
27174 if (!args
) SWIG_fail
;
27175 swig_obj
[0] = args
;
27176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27177 if (!SWIG_IsOK(res1
)) {
27178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27180 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27184 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27185 result
= (wxPrintData
*) &_result_ref
;
27187 wxPyEndAllowThreads(__tstate
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27197 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
= 0;
27199 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27200 wxPrintData
*arg2
= 0 ;
27205 PyObject
* obj0
= 0 ;
27206 PyObject
* obj1
= 0 ;
27207 char * kwnames
[] = {
27208 (char *) "self",(char *) "printData", NULL
27211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27213 if (!SWIG_IsOK(res1
)) {
27214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27216 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27218 if (!SWIG_IsOK(res2
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27224 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27227 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27228 wxPyEndAllowThreads(__tstate
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27231 resultobj
= SWIG_Py_Void();
27238 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27241 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27242 return SWIG_Py_Void();
27245 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27246 return SWIG_Python_InitShadowInstance(args
);
27249 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
= 0;
27251 wxWindow
*arg1
= (wxWindow
*) 0 ;
27252 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27253 wxPrintDialog
*result
= 0 ;
27258 PyObject
* obj0
= 0 ;
27259 PyObject
* obj1
= 0 ;
27260 char * kwnames
[] = {
27261 (char *) "parent",(char *) "data", NULL
27264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27269 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27271 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27272 if (!SWIG_IsOK(res2
)) {
27273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27275 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27278 if (!wxPyCheckForApp()) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27291 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27292 PyObject
*resultobj
= 0;
27293 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27296 PyObject
*swig_obj
[1] ;
27298 if (!args
) SWIG_fail
;
27299 swig_obj
[0] = args
;
27300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27301 if (!SWIG_IsOK(res1
)) {
27302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27304 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= SWIG_Py_Void();
27319 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27320 PyObject
*resultobj
= 0;
27321 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27325 PyObject
*swig_obj
[1] ;
27327 if (!args
) SWIG_fail
;
27328 swig_obj
[0] = args
;
27329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27330 if (!SWIG_IsOK(res1
)) {
27331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27333 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 result
= (int)(arg1
)->ShowModal();
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27340 resultobj
= SWIG_From_int(static_cast< int >(result
));
27347 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27348 PyObject
*resultobj
= 0;
27349 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27350 wxPrintDialogData
*result
= 0 ;
27353 PyObject
*swig_obj
[1] ;
27355 if (!args
) SWIG_fail
;
27356 swig_obj
[0] = args
;
27357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27358 if (!SWIG_IsOK(res1
)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27361 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27365 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27366 result
= (wxPrintDialogData
*) &_result_ref
;
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27378 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27379 PyObject
*resultobj
= 0;
27380 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27381 wxPrintData
*result
= 0 ;
27384 PyObject
*swig_obj
[1] ;
27386 if (!args
) SWIG_fail
;
27387 swig_obj
[0] = args
;
27388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27392 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27397 result
= (wxPrintData
*) &_result_ref
;
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27409 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27410 PyObject
*resultobj
= 0;
27411 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27415 PyObject
*swig_obj
[1] ;
27417 if (!args
) SWIG_fail
;
27418 swig_obj
[0] = args
;
27419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27420 if (!SWIG_IsOK(res1
)) {
27421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27423 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 result
= (wxDC
*)(arg1
)->GetPrintDC();
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27439 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27442 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27443 return SWIG_Py_Void();
27446 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27447 return SWIG_Python_InitShadowInstance(args
);
27450 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27451 PyObject
*resultobj
= 0;
27452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27453 wxPrinter
*result
= 0 ;
27456 PyObject
* obj0
= 0 ;
27457 char * kwnames
[] = {
27458 (char *) "data", NULL
27461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27464 if (!SWIG_IsOK(res1
)) {
27465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27467 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27470 if (!wxPyCheckForApp()) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= (wxPrinter
*)new wxPrinter(arg1
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27483 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27484 PyObject
*resultobj
= 0;
27485 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27488 PyObject
*swig_obj
[1] ;
27490 if (!args
) SWIG_fail
;
27491 swig_obj
[0] = args
;
27492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27493 if (!SWIG_IsOK(res1
)) {
27494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27496 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= SWIG_Py_Void();
27511 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
= 0;
27513 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27514 wxWindow
*arg2
= (wxWindow
*) 0 ;
27515 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27516 wxWindow
*result
= 0 ;
27523 PyObject
* obj0
= 0 ;
27524 PyObject
* obj1
= 0 ;
27525 PyObject
* obj2
= 0 ;
27526 char * kwnames
[] = {
27527 (char *) "self",(char *) "parent",(char *) "printout", NULL
27530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27532 if (!SWIG_IsOK(res1
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27535 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27537 if (!SWIG_IsOK(res2
)) {
27538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27540 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27541 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27542 if (!SWIG_IsOK(res3
)) {
27543 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27545 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27548 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27549 wxPyEndAllowThreads(__tstate
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27553 resultobj
= wxPyMake_wxObject(result
, 0);
27561 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
= 0;
27563 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27564 wxWindow
*arg2
= (wxWindow
*) 0 ;
27565 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27566 wxString
*arg4
= 0 ;
27573 bool temp4
= false ;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 PyObject
* obj2
= 0 ;
27577 PyObject
* obj3
= 0 ;
27578 char * kwnames
[] = {
27579 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27584 if (!SWIG_IsOK(res1
)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27587 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27589 if (!SWIG_IsOK(res2
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27592 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27593 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27594 if (!SWIG_IsOK(res3
)) {
27595 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27597 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27599 arg4
= wxString_in_helper(obj3
);
27600 if (arg4
== NULL
) SWIG_fail
;
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27606 wxPyEndAllowThreads(__tstate
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= SWIG_Py_Void();
27624 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
= 0;
27626 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27627 wxWindow
*arg2
= (wxWindow
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 PyObject
* obj1
= 0 ;
27635 char * kwnames
[] = {
27636 (char *) "self",(char *) "parent", NULL
27639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27641 if (!SWIG_IsOK(res1
)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27644 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27646 if (!SWIG_IsOK(res2
)) {
27647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27649 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= (bool)(arg1
)->Setup(arg2
);
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27665 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27666 PyObject
*resultobj
= 0;
27667 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27668 wxWindow
*arg2
= (wxWindow
*) 0 ;
27669 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27670 bool arg4
= (bool) true ;
27680 PyObject
* obj0
= 0 ;
27681 PyObject
* obj1
= 0 ;
27682 PyObject
* obj2
= 0 ;
27683 PyObject
* obj3
= 0 ;
27684 char * kwnames
[] = {
27685 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27690 if (!SWIG_IsOK(res1
)) {
27691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27693 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27695 if (!SWIG_IsOK(res2
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27698 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27699 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27700 if (!SWIG_IsOK(res3
)) {
27701 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27703 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27705 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27706 if (!SWIG_IsOK(ecode4
)) {
27707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27709 arg4
= static_cast< bool >(val4
);
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27714 wxPyEndAllowThreads(__tstate
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27726 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27727 PyObject
*resultobj
= 0;
27728 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27729 wxWindow
*arg2
= (wxWindow
*) 0 ;
27735 PyObject
* obj0
= 0 ;
27736 PyObject
* obj1
= 0 ;
27737 char * kwnames
[] = {
27738 (char *) "self",(char *) "parent", NULL
27741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27743 if (!SWIG_IsOK(res1
)) {
27744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27746 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27748 if (!SWIG_IsOK(res2
)) {
27749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27751 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27755 wxPyEndAllowThreads(__tstate
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27767 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27768 PyObject
*resultobj
= 0;
27769 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27770 wxPrintDialogData
*result
= 0 ;
27773 PyObject
*swig_obj
[1] ;
27775 if (!args
) SWIG_fail
;
27776 swig_obj
[0] = args
;
27777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27778 if (!SWIG_IsOK(res1
)) {
27779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27781 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27786 result
= (wxPrintDialogData
*) &_result_ref
;
27788 wxPyEndAllowThreads(__tstate
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27798 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27799 PyObject
*resultobj
= 0;
27800 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27804 PyObject
*swig_obj
[1] ;
27806 if (!args
) SWIG_fail
;
27807 swig_obj
[0] = args
;
27808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27809 if (!SWIG_IsOK(res1
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27812 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 result
= (bool)(arg1
)->GetAbort();
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27828 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27829 PyObject
*resultobj
= 0;
27830 wxPrinterError result
;
27832 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 result
= (wxPrinterError
)wxPrinter::GetLastError();
27836 wxPyEndAllowThreads(__tstate
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27839 resultobj
= SWIG_From_int(static_cast< int >(result
));
27846 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27849 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27850 return SWIG_Py_Void();
27853 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27854 return SWIG_Python_InitShadowInstance(args
);
27857 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27858 PyObject
*resultobj
= 0;
27859 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27860 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27861 wxPyPrintout
*result
= 0 ;
27862 bool temp1
= false ;
27863 PyObject
* obj0
= 0 ;
27864 char * kwnames
[] = {
27865 (char *) "title", NULL
27868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27871 arg1
= wxString_in_helper(obj0
);
27872 if (arg1
== NULL
) SWIG_fail
;
27877 if (!wxPyCheckForApp()) SWIG_fail
;
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27898 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27899 PyObject
*resultobj
= 0;
27900 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27903 PyObject
*swig_obj
[1] ;
27905 if (!args
) SWIG_fail
;
27906 swig_obj
[0] = args
;
27907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27908 if (!SWIG_IsOK(res1
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27911 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 wxPyEndAllowThreads(__tstate
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27919 resultobj
= SWIG_Py_Void();
27926 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27927 PyObject
*resultobj
= 0;
27928 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27929 PyObject
*arg2
= (PyObject
*) 0 ;
27930 PyObject
*arg3
= (PyObject
*) 0 ;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 PyObject
* obj2
= 0 ;
27936 char * kwnames
[] = {
27937 (char *) "self",(char *) "self",(char *) "_class", NULL
27940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27942 if (!SWIG_IsOK(res1
)) {
27943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27945 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27950 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= SWIG_Py_Void();
27961 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27962 PyObject
*resultobj
= 0;
27963 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27967 PyObject
*swig_obj
[1] ;
27969 if (!args
) SWIG_fail
;
27970 swig_obj
[0] = args
;
27971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27972 if (!SWIG_IsOK(res1
)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27975 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27979 wxPyEndAllowThreads(__tstate
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27995 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27996 PyObject
*resultobj
= 0;
27997 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28001 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_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28009 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28012 result
= (wxDC
*)(arg1
)->GetDC();
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28017 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28025 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
= 0;
28027 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28028 wxDC
*arg2
= (wxDC
*) 0 ;
28033 PyObject
* obj0
= 0 ;
28034 PyObject
* obj1
= 0 ;
28035 char * kwnames
[] = {
28036 (char *) "self",(char *) "dc", NULL
28039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28041 if (!SWIG_IsOK(res1
)) {
28042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28044 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28045 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28046 if (!SWIG_IsOK(res2
)) {
28047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28049 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 (arg1
)->SetDC(arg2
);
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= SWIG_Py_Void();
28063 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
= 0;
28065 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28074 PyObject
* obj0
= 0 ;
28075 PyObject
* obj1
= 0 ;
28076 PyObject
* obj2
= 0 ;
28077 char * kwnames
[] = {
28078 (char *) "self",(char *) "w",(char *) "h", NULL
28081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28083 if (!SWIG_IsOK(res1
)) {
28084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28086 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28088 if (!SWIG_IsOK(ecode2
)) {
28089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28091 arg2
= static_cast< int >(val2
);
28092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28093 if (!SWIG_IsOK(ecode3
)) {
28094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28096 arg3
= static_cast< int >(val3
);
28098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28099 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28100 wxPyEndAllowThreads(__tstate
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28103 resultobj
= SWIG_Py_Void();
28110 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28111 PyObject
*resultobj
= 0;
28112 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28113 int *arg2
= (int *) 0 ;
28114 int *arg3
= (int *) 0 ;
28118 int res2
= SWIG_TMPOBJ
;
28120 int res3
= SWIG_TMPOBJ
;
28121 PyObject
*swig_obj
[1] ;
28125 if (!args
) SWIG_fail
;
28126 swig_obj
[0] = args
;
28127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28128 if (!SWIG_IsOK(res1
)) {
28129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28131 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= SWIG_Py_Void();
28139 if (SWIG_IsTmpObj(res2
)) {
28140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28142 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28145 if (SWIG_IsTmpObj(res3
)) {
28146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28148 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28157 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28158 PyObject
*resultobj
= 0;
28159 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28168 PyObject
* obj0
= 0 ;
28169 PyObject
* obj1
= 0 ;
28170 PyObject
* obj2
= 0 ;
28171 char * kwnames
[] = {
28172 (char *) "self",(char *) "w",(char *) "h", NULL
28175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28177 if (!SWIG_IsOK(res1
)) {
28178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28180 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28182 if (!SWIG_IsOK(ecode2
)) {
28183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28185 arg2
= static_cast< int >(val2
);
28186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28187 if (!SWIG_IsOK(ecode3
)) {
28188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28190 arg3
= static_cast< int >(val3
);
28192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28193 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28197 resultobj
= SWIG_Py_Void();
28204 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28205 PyObject
*resultobj
= 0;
28206 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28207 int *arg2
= (int *) 0 ;
28208 int *arg3
= (int *) 0 ;
28212 int res2
= SWIG_TMPOBJ
;
28214 int res3
= SWIG_TMPOBJ
;
28215 PyObject
*swig_obj
[1] ;
28219 if (!args
) SWIG_fail
;
28220 swig_obj
[0] = args
;
28221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28222 if (!SWIG_IsOK(res1
)) {
28223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28225 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= SWIG_Py_Void();
28233 if (SWIG_IsTmpObj(res2
)) {
28234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28236 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28239 if (SWIG_IsTmpObj(res3
)) {
28240 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28242 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28243 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28251 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
= 0;
28253 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 PyObject
* obj2
= 0 ;
28265 char * kwnames
[] = {
28266 (char *) "self",(char *) "x",(char *) "y", NULL
28269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28271 if (!SWIG_IsOK(res1
)) {
28272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28274 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28276 if (!SWIG_IsOK(ecode2
)) {
28277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28279 arg2
= static_cast< int >(val2
);
28280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28281 if (!SWIG_IsOK(ecode3
)) {
28282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28284 arg3
= static_cast< int >(val3
);
28286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28287 (arg1
)->SetPPIScreen(arg2
,arg3
);
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28291 resultobj
= SWIG_Py_Void();
28298 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28299 PyObject
*resultobj
= 0;
28300 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28301 int *arg2
= (int *) 0 ;
28302 int *arg3
= (int *) 0 ;
28306 int res2
= SWIG_TMPOBJ
;
28308 int res3
= SWIG_TMPOBJ
;
28309 PyObject
*swig_obj
[1] ;
28313 if (!args
) SWIG_fail
;
28314 swig_obj
[0] = args
;
28315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28316 if (!SWIG_IsOK(res1
)) {
28317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28319 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28322 (arg1
)->GetPPIScreen(arg2
,arg3
);
28323 wxPyEndAllowThreads(__tstate
);
28324 if (PyErr_Occurred()) SWIG_fail
;
28326 resultobj
= SWIG_Py_Void();
28327 if (SWIG_IsTmpObj(res2
)) {
28328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28330 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28333 if (SWIG_IsTmpObj(res3
)) {
28334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28336 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28345 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28346 PyObject
*resultobj
= 0;
28347 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28356 PyObject
* obj0
= 0 ;
28357 PyObject
* obj1
= 0 ;
28358 PyObject
* obj2
= 0 ;
28359 char * kwnames
[] = {
28360 (char *) "self",(char *) "x",(char *) "y", NULL
28363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28365 if (!SWIG_IsOK(res1
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28368 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28370 if (!SWIG_IsOK(ecode2
)) {
28371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28373 arg2
= static_cast< int >(val2
);
28374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28375 if (!SWIG_IsOK(ecode3
)) {
28376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28378 arg3
= static_cast< int >(val3
);
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 resultobj
= SWIG_Py_Void();
28392 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28393 PyObject
*resultobj
= 0;
28394 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28395 int *arg2
= (int *) 0 ;
28396 int *arg3
= (int *) 0 ;
28400 int res2
= SWIG_TMPOBJ
;
28402 int res3
= SWIG_TMPOBJ
;
28403 PyObject
*swig_obj
[1] ;
28407 if (!args
) SWIG_fail
;
28408 swig_obj
[0] = args
;
28409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28410 if (!SWIG_IsOK(res1
)) {
28411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28413 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28416 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28420 resultobj
= SWIG_Py_Void();
28421 if (SWIG_IsTmpObj(res2
)) {
28422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28424 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28427 if (SWIG_IsTmpObj(res3
)) {
28428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28430 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28439 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28440 PyObject
*resultobj
= 0;
28441 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28445 PyObject
*swig_obj
[1] ;
28447 if (!args
) SWIG_fail
;
28448 swig_obj
[0] = args
;
28449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28450 if (!SWIG_IsOK(res1
)) {
28451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28453 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 result
= (bool)(arg1
)->IsPreview();
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28469 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
= 0;
28471 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28477 PyObject
* obj0
= 0 ;
28478 PyObject
* obj1
= 0 ;
28479 char * kwnames
[] = {
28480 (char *) "self",(char *) "p", NULL
28483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28485 if (!SWIG_IsOK(res1
)) {
28486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28488 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28489 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28490 if (!SWIG_IsOK(ecode2
)) {
28491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28493 arg2
= static_cast< bool >(val2
);
28495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28496 (arg1
)->SetIsPreview(arg2
);
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28500 resultobj
= SWIG_Py_Void();
28507 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
= 0;
28509 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28519 PyObject
* obj0
= 0 ;
28520 PyObject
* obj1
= 0 ;
28521 PyObject
* obj2
= 0 ;
28522 char * kwnames
[] = {
28523 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28528 if (!SWIG_IsOK(res1
)) {
28529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28531 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28533 if (!SWIG_IsOK(ecode2
)) {
28534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28536 arg2
= static_cast< int >(val2
);
28537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28538 if (!SWIG_IsOK(ecode3
)) {
28539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28541 arg3
= static_cast< int >(val3
);
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28557 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28558 PyObject
*resultobj
= 0;
28559 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28562 PyObject
*swig_obj
[1] ;
28564 if (!args
) SWIG_fail
;
28565 swig_obj
[0] = args
;
28566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28567 if (!SWIG_IsOK(res1
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28570 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 (arg1
)->OnEndDocument();
28574 wxPyEndAllowThreads(__tstate
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 resultobj
= SWIG_Py_Void();
28584 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28585 PyObject
*resultobj
= 0;
28586 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28589 PyObject
*swig_obj
[1] ;
28591 if (!args
) SWIG_fail
;
28592 swig_obj
[0] = args
;
28593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28594 if (!SWIG_IsOK(res1
)) {
28595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28597 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 (arg1
)->OnBeginPrinting();
28601 wxPyEndAllowThreads(__tstate
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 resultobj
= SWIG_Py_Void();
28611 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28612 PyObject
*resultobj
= 0;
28613 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28616 PyObject
*swig_obj
[1] ;
28618 if (!args
) SWIG_fail
;
28619 swig_obj
[0] = args
;
28620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28621 if (!SWIG_IsOK(res1
)) {
28622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28624 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 (arg1
)->OnEndPrinting();
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28631 resultobj
= SWIG_Py_Void();
28638 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28639 PyObject
*resultobj
= 0;
28640 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28643 PyObject
*swig_obj
[1] ;
28645 if (!args
) SWIG_fail
;
28646 swig_obj
[0] = args
;
28647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28648 if (!SWIG_IsOK(res1
)) {
28649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28651 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 (arg1
)->OnPreparePrinting();
28655 wxPyEndAllowThreads(__tstate
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28658 resultobj
= SWIG_Py_Void();
28665 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28666 PyObject
*resultobj
= 0;
28667 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28674 PyObject
* obj0
= 0 ;
28675 PyObject
* obj1
= 0 ;
28676 char * kwnames
[] = {
28677 (char *) "self",(char *) "page", NULL
28680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28682 if (!SWIG_IsOK(res1
)) {
28683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28685 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28687 if (!SWIG_IsOK(ecode2
)) {
28688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28690 arg2
= static_cast< int >(val2
);
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 result
= (bool)(arg1
)->HasPage(arg2
);
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28706 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28707 PyObject
*resultobj
= 0;
28708 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28709 int *arg2
= (int *) 0 ;
28710 int *arg3
= (int *) 0 ;
28711 int *arg4
= (int *) 0 ;
28712 int *arg5
= (int *) 0 ;
28716 int res2
= SWIG_TMPOBJ
;
28718 int res3
= SWIG_TMPOBJ
;
28720 int res4
= SWIG_TMPOBJ
;
28722 int res5
= SWIG_TMPOBJ
;
28723 PyObject
*swig_obj
[1] ;
28729 if (!args
) SWIG_fail
;
28730 swig_obj
[0] = args
;
28731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28732 if (!SWIG_IsOK(res1
)) {
28733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28735 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= SWIG_Py_Void();
28743 if (SWIG_IsTmpObj(res2
)) {
28744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28746 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28749 if (SWIG_IsTmpObj(res3
)) {
28750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28752 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28755 if (SWIG_IsTmpObj(res4
)) {
28756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28758 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28761 if (SWIG_IsTmpObj(res5
)) {
28762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28764 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28773 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28776 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28777 return SWIG_Py_Void();
28780 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28781 return SWIG_Python_InitShadowInstance(args
);
28784 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28785 PyObject
*resultobj
= 0;
28786 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28787 wxWindow
*arg2
= (wxWindow
*) 0 ;
28788 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28789 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28790 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28791 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28792 long arg5
= (long) 0 ;
28793 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28794 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28795 wxPreviewCanvas
*result
= 0 ;
28804 bool temp6
= false ;
28805 PyObject
* obj0
= 0 ;
28806 PyObject
* obj1
= 0 ;
28807 PyObject
* obj2
= 0 ;
28808 PyObject
* obj3
= 0 ;
28809 PyObject
* obj4
= 0 ;
28810 PyObject
* obj5
= 0 ;
28811 char * kwnames
[] = {
28812 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28820 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28821 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28822 if (!SWIG_IsOK(res2
)) {
28823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28825 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28829 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28835 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28839 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28840 if (!SWIG_IsOK(ecode5
)) {
28841 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28843 arg5
= static_cast< long >(val5
);
28847 arg6
= wxString_in_helper(obj5
);
28848 if (arg6
== NULL
) SWIG_fail
;
28853 if (!wxPyCheckForApp()) SWIG_fail
;
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28874 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28877 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28878 return SWIG_Py_Void();
28881 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28882 return SWIG_Python_InitShadowInstance(args
);
28885 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28886 PyObject
*resultobj
= 0;
28887 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28888 wxFrame
*arg2
= (wxFrame
*) 0 ;
28889 wxString
*arg3
= 0 ;
28890 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28891 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28892 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28893 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28894 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28895 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28896 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28897 wxPreviewFrame
*result
= 0 ;
28901 bool temp3
= false ;
28906 bool temp7
= false ;
28907 PyObject
* obj0
= 0 ;
28908 PyObject
* obj1
= 0 ;
28909 PyObject
* obj2
= 0 ;
28910 PyObject
* obj3
= 0 ;
28911 PyObject
* obj4
= 0 ;
28912 PyObject
* obj5
= 0 ;
28913 PyObject
* obj6
= 0 ;
28914 char * kwnames
[] = {
28915 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28919 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28920 if (!SWIG_IsOK(res1
)) {
28921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28924 if (!SWIG_IsOK(res2
)) {
28925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28927 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28929 arg3
= wxString_in_helper(obj2
);
28930 if (arg3
== NULL
) SWIG_fail
;
28936 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28942 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28946 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28947 if (!SWIG_IsOK(ecode6
)) {
28948 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28950 arg6
= static_cast< long >(val6
);
28954 arg7
= wxString_in_helper(obj6
);
28955 if (arg7
== NULL
) SWIG_fail
;
28960 if (!wxPyCheckForApp()) SWIG_fail
;
28961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28962 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28963 wxPyEndAllowThreads(__tstate
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28989 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28990 PyObject
*resultobj
= 0;
28991 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28994 PyObject
*swig_obj
[1] ;
28996 if (!args
) SWIG_fail
;
28997 swig_obj
[0] = args
;
28998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28999 if (!SWIG_IsOK(res1
)) {
29000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29002 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 (arg1
)->Initialize();
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29009 resultobj
= SWIG_Py_Void();
29016 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29017 PyObject
*resultobj
= 0;
29018 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29021 PyObject
*swig_obj
[1] ;
29023 if (!args
) SWIG_fail
;
29024 swig_obj
[0] = args
;
29025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29026 if (!SWIG_IsOK(res1
)) {
29027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29029 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29032 (arg1
)->CreateControlBar();
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29036 resultobj
= SWIG_Py_Void();
29043 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29044 PyObject
*resultobj
= 0;
29045 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29048 PyObject
*swig_obj
[1] ;
29050 if (!args
) SWIG_fail
;
29051 swig_obj
[0] = args
;
29052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29053 if (!SWIG_IsOK(res1
)) {
29054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29056 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29059 (arg1
)->CreateCanvas();
29060 wxPyEndAllowThreads(__tstate
);
29061 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= SWIG_Py_Void();
29070 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29071 PyObject
*resultobj
= 0;
29072 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29073 wxPreviewControlBar
*result
= 0 ;
29076 PyObject
*swig_obj
[1] ;
29078 if (!args
) SWIG_fail
;
29079 swig_obj
[0] = args
;
29080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29081 if (!SWIG_IsOK(res1
)) {
29082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29084 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29087 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29098 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29101 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29102 return SWIG_Py_Void();
29105 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29106 return SWIG_Python_InitShadowInstance(args
);
29109 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29110 PyObject
*resultobj
= 0;
29111 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29113 wxWindow
*arg3
= (wxWindow
*) 0 ;
29114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29118 long arg6
= (long) wxTAB_TRAVERSAL
;
29119 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29121 wxPreviewControlBar
*result
= 0 ;
29132 bool temp7
= false ;
29133 PyObject
* obj0
= 0 ;
29134 PyObject
* obj1
= 0 ;
29135 PyObject
* obj2
= 0 ;
29136 PyObject
* obj3
= 0 ;
29137 PyObject
* obj4
= 0 ;
29138 PyObject
* obj5
= 0 ;
29139 PyObject
* obj6
= 0 ;
29140 char * kwnames
[] = {
29141 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29146 if (!SWIG_IsOK(res1
)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29149 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29150 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29151 if (!SWIG_IsOK(ecode2
)) {
29152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29154 arg2
= static_cast< long >(val2
);
29155 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29156 if (!SWIG_IsOK(res3
)) {
29157 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29159 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29163 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29169 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29173 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29174 if (!SWIG_IsOK(ecode6
)) {
29175 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29177 arg6
= static_cast< long >(val6
);
29181 arg7
= wxString_in_helper(obj6
);
29182 if (arg7
== NULL
) SWIG_fail
;
29187 if (!wxPyCheckForApp()) SWIG_fail
;
29188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29189 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29190 wxPyEndAllowThreads(__tstate
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29208 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29209 PyObject
*resultobj
= 0;
29210 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29214 PyObject
*swig_obj
[1] ;
29216 if (!args
) SWIG_fail
;
29217 swig_obj
[0] = args
;
29218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29219 if (!SWIG_IsOK(res1
)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29222 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29225 result
= (int)(arg1
)->GetZoomControl();
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 resultobj
= SWIG_From_int(static_cast< int >(result
));
29236 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29237 PyObject
*resultobj
= 0;
29238 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29244 PyObject
* obj0
= 0 ;
29245 PyObject
* obj1
= 0 ;
29246 char * kwnames
[] = {
29247 (char *) "self",(char *) "zoom", NULL
29250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29252 if (!SWIG_IsOK(res1
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29255 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29257 if (!SWIG_IsOK(ecode2
)) {
29258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29260 arg2
= static_cast< int >(val2
);
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 (arg1
)->SetZoomControl(arg2
);
29264 wxPyEndAllowThreads(__tstate
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= SWIG_Py_Void();
29274 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29275 PyObject
*resultobj
= 0;
29276 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29277 wxPrintPreview
*result
= 0 ;
29280 PyObject
*swig_obj
[1] ;
29282 if (!args
) SWIG_fail
;
29283 swig_obj
[0] = args
;
29284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29285 if (!SWIG_IsOK(res1
)) {
29286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29288 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29291 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29302 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29303 PyObject
*resultobj
= 0;
29304 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29307 PyObject
*swig_obj
[1] ;
29309 if (!args
) SWIG_fail
;
29310 swig_obj
[0] = args
;
29311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29312 if (!SWIG_IsOK(res1
)) {
29313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29315 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 wxPyEndAllowThreads(__tstate
);
29320 if (PyErr_Occurred()) SWIG_fail
;
29322 resultobj
= SWIG_Py_Void();
29329 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29330 PyObject
*resultobj
= 0;
29331 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29334 PyObject
*swig_obj
[1] ;
29336 if (!args
) SWIG_fail
;
29337 swig_obj
[0] = args
;
29338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29339 if (!SWIG_IsOK(res1
)) {
29340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29342 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 (arg1
)->OnPrevious();
29346 wxPyEndAllowThreads(__tstate
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29349 resultobj
= SWIG_Py_Void();
29356 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29357 PyObject
*resultobj
= 0;
29358 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29361 PyObject
*swig_obj
[1] ;
29363 if (!args
) SWIG_fail
;
29364 swig_obj
[0] = args
;
29365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29366 if (!SWIG_IsOK(res1
)) {
29367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29369 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29376 resultobj
= SWIG_Py_Void();
29383 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29384 PyObject
*resultobj
= 0;
29385 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29388 PyObject
*swig_obj
[1] ;
29390 if (!args
) SWIG_fail
;
29391 swig_obj
[0] = args
;
29392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29393 if (!SWIG_IsOK(res1
)) {
29394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29396 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29403 resultobj
= SWIG_Py_Void();
29410 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29411 PyObject
*resultobj
= 0;
29412 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29415 PyObject
*swig_obj
[1] ;
29417 if (!args
) SWIG_fail
;
29418 swig_obj
[0] = args
;
29419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29420 if (!SWIG_IsOK(res1
)) {
29421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29423 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29427 wxPyEndAllowThreads(__tstate
);
29428 if (PyErr_Occurred()) SWIG_fail
;
29430 resultobj
= SWIG_Py_Void();
29437 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29440 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29441 return SWIG_Py_Void();
29444 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29445 return SWIG_Python_InitShadowInstance(args
);
29448 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29449 PyObject
*resultobj
= 0;
29450 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29451 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29452 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29453 wxPrintPreview
*result
= 0 ;
29459 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29460 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29461 if (!SWIG_IsOK(res1
)) {
29462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29464 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29465 if (!SWIG_IsOK(res2
)) {
29466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29469 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29470 if (!SWIG_IsOK(res3
)) {
29471 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29473 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29476 if (!wxPyCheckForApp()) SWIG_fail
;
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29489 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29490 PyObject
*resultobj
= 0;
29491 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29492 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29493 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29494 wxPrintPreview
*result
= 0 ;
29500 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29501 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29502 if (!SWIG_IsOK(res1
)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29505 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29506 if (!SWIG_IsOK(res2
)) {
29507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29509 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29510 if (!SWIG_IsOK(res3
)) {
29511 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29513 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29515 if (!wxPyCheckForApp()) SWIG_fail
;
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29528 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29532 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29534 if ((argc
>= 2) && (argc
<= 3)) {
29539 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29540 _v
= SWIG_CheckState(res
);
29542 if (!_v
) goto check_1
;
29544 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29549 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29553 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29558 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29559 PyObject
*resultobj
= 0;
29560 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29563 PyObject
*swig_obj
[1] ;
29565 if (!args
) SWIG_fail
;
29566 swig_obj
[0] = args
;
29567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29568 if (!SWIG_IsOK(res1
)) {
29569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29571 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= SWIG_Py_Void();
29586 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
= 0;
29588 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29595 PyObject
* obj0
= 0 ;
29596 PyObject
* obj1
= 0 ;
29597 char * kwnames
[] = {
29598 (char *) "self",(char *) "pageNum", NULL
29601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29603 if (!SWIG_IsOK(res1
)) {
29604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29606 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29608 if (!SWIG_IsOK(ecode2
)) {
29609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29611 arg2
= static_cast< int >(val2
);
29613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29614 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29615 wxPyEndAllowThreads(__tstate
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29627 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29628 PyObject
*resultobj
= 0;
29629 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29633 PyObject
*swig_obj
[1] ;
29635 if (!args
) SWIG_fail
;
29636 swig_obj
[0] = args
;
29637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29638 if (!SWIG_IsOK(res1
)) {
29639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29641 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= (int)(arg1
)->GetCurrentPage();
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= SWIG_From_int(static_cast< int >(result
));
29655 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29656 PyObject
*resultobj
= 0;
29657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29658 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29662 PyObject
* obj0
= 0 ;
29663 PyObject
* obj1
= 0 ;
29664 char * kwnames
[] = {
29665 (char *) "self",(char *) "printout", NULL
29668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29670 if (!SWIG_IsOK(res1
)) {
29671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29673 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29674 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29675 if (!SWIG_IsOK(res2
)) {
29676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 (arg1
)->SetPrintout(arg2
);
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= SWIG_Py_Void();
29691 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29692 PyObject
*resultobj
= 0;
29693 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29694 wxPyPrintout
*result
= 0 ;
29697 PyObject
*swig_obj
[1] ;
29699 if (!args
) SWIG_fail
;
29700 swig_obj
[0] = args
;
29701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29702 if (!SWIG_IsOK(res1
)) {
29703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29705 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29708 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29713 resultobj
= wxPyMake_wxObject(result
, 0);
29721 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29722 PyObject
*resultobj
= 0;
29723 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29724 wxPyPrintout
*result
= 0 ;
29727 PyObject
*swig_obj
[1] ;
29729 if (!args
) SWIG_fail
;
29730 swig_obj
[0] = args
;
29731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29732 if (!SWIG_IsOK(res1
)) {
29733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29735 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= wxPyMake_wxObject(result
, 0);
29751 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
= 0;
29753 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29754 wxFrame
*arg2
= (wxFrame
*) 0 ;
29759 PyObject
* obj0
= 0 ;
29760 PyObject
* obj1
= 0 ;
29761 char * kwnames
[] = {
29762 (char *) "self",(char *) "frame", NULL
29765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29767 if (!SWIG_IsOK(res1
)) {
29768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29770 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29772 if (!SWIG_IsOK(res2
)) {
29773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29775 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29778 (arg1
)->SetFrame(arg2
);
29779 wxPyEndAllowThreads(__tstate
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29782 resultobj
= SWIG_Py_Void();
29789 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29790 PyObject
*resultobj
= 0;
29791 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29792 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29797 PyObject
* obj0
= 0 ;
29798 PyObject
* obj1
= 0 ;
29799 char * kwnames
[] = {
29800 (char *) "self",(char *) "canvas", NULL
29803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29805 if (!SWIG_IsOK(res1
)) {
29806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29808 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29810 if (!SWIG_IsOK(res2
)) {
29811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29813 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29816 (arg1
)->SetCanvas(arg2
);
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= SWIG_Py_Void();
29827 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29828 PyObject
*resultobj
= 0;
29829 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29830 wxFrame
*result
= 0 ;
29833 PyObject
*swig_obj
[1] ;
29835 if (!args
) SWIG_fail
;
29836 swig_obj
[0] = args
;
29837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29838 if (!SWIG_IsOK(res1
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29841 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 result
= (wxFrame
*)(arg1
)->GetFrame();
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= wxPyMake_wxObject(result
, 0);
29857 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29858 PyObject
*resultobj
= 0;
29859 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29860 wxPreviewCanvas
*result
= 0 ;
29863 PyObject
*swig_obj
[1] ;
29865 if (!args
) SWIG_fail
;
29866 swig_obj
[0] = args
;
29867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29868 if (!SWIG_IsOK(res1
)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29871 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29885 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
= 0;
29887 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29888 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29897 PyObject
* obj0
= 0 ;
29898 PyObject
* obj1
= 0 ;
29899 PyObject
* obj2
= 0 ;
29900 char * kwnames
[] = {
29901 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29906 if (!SWIG_IsOK(res1
)) {
29907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29909 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29911 if (!SWIG_IsOK(res2
)) {
29912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29914 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29915 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29916 if (!SWIG_IsOK(res3
)) {
29917 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29922 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29925 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29926 wxPyEndAllowThreads(__tstate
);
29927 if (PyErr_Occurred()) SWIG_fail
;
29930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29938 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29939 PyObject
*resultobj
= 0;
29940 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29941 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29950 PyObject
* obj0
= 0 ;
29951 PyObject
* obj1
= 0 ;
29952 PyObject
* obj2
= 0 ;
29953 char * kwnames
[] = {
29954 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29959 if (!SWIG_IsOK(res1
)) {
29960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29962 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29964 if (!SWIG_IsOK(res2
)) {
29965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29967 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29968 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29969 if (!SWIG_IsOK(res3
)) {
29970 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29975 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29991 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29992 PyObject
*resultobj
= 0;
29993 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30000 PyObject
* obj0
= 0 ;
30001 PyObject
* obj1
= 0 ;
30002 char * kwnames
[] = {
30003 (char *) "self",(char *) "pageNum", NULL
30006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30008 if (!SWIG_IsOK(res1
)) {
30009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30011 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30013 if (!SWIG_IsOK(ecode2
)) {
30014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30016 arg2
= static_cast< int >(val2
);
30018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30019 result
= (bool)(arg1
)->RenderPage(arg2
);
30020 wxPyEndAllowThreads(__tstate
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30032 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
= 0;
30034 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30035 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30040 PyObject
* obj0
= 0 ;
30041 PyObject
* obj1
= 0 ;
30042 char * kwnames
[] = {
30043 (char *) "self",(char *) "canvas", NULL
30046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30048 if (!SWIG_IsOK(res1
)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30051 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30052 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30053 if (!SWIG_IsOK(res2
)) {
30054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30056 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30059 (arg1
)->AdjustScrollbars(arg2
);
30060 wxPyEndAllowThreads(__tstate
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30063 resultobj
= SWIG_Py_Void();
30070 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30071 PyObject
*resultobj
= 0;
30072 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30073 wxPrintDialogData
*result
= 0 ;
30076 PyObject
*swig_obj
[1] ;
30078 if (!args
) SWIG_fail
;
30079 swig_obj
[0] = args
;
30080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30081 if (!SWIG_IsOK(res1
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30084 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30088 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30089 result
= (wxPrintDialogData
*) &_result_ref
;
30091 wxPyEndAllowThreads(__tstate
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30101 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
= 0;
30103 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 char * kwnames
[] = {
30112 (char *) "self",(char *) "percent", NULL
30115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30117 if (!SWIG_IsOK(res1
)) {
30118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30120 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30122 if (!SWIG_IsOK(ecode2
)) {
30123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30125 arg2
= static_cast< int >(val2
);
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 (arg1
)->SetZoom(arg2
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= SWIG_Py_Void();
30139 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30140 PyObject
*resultobj
= 0;
30141 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30145 PyObject
*swig_obj
[1] ;
30147 if (!args
) SWIG_fail
;
30148 swig_obj
[0] = args
;
30149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30150 if (!SWIG_IsOK(res1
)) {
30151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30153 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (int)(arg1
)->GetZoom();
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= SWIG_From_int(static_cast< int >(result
));
30167 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30168 PyObject
*resultobj
= 0;
30169 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30173 PyObject
*swig_obj
[1] ;
30175 if (!args
) SWIG_fail
;
30176 swig_obj
[0] = args
;
30177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30178 if (!SWIG_IsOK(res1
)) {
30179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30181 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30184 result
= (int)(arg1
)->GetMaxPage();
30185 wxPyEndAllowThreads(__tstate
);
30186 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= SWIG_From_int(static_cast< int >(result
));
30195 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30196 PyObject
*resultobj
= 0;
30197 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30201 PyObject
*swig_obj
[1] ;
30203 if (!args
) SWIG_fail
;
30204 swig_obj
[0] = args
;
30205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30206 if (!SWIG_IsOK(res1
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30209 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 result
= (int)(arg1
)->GetMinPage();
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30216 resultobj
= SWIG_From_int(static_cast< int >(result
));
30223 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30224 PyObject
*resultobj
= 0;
30225 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30229 PyObject
*swig_obj
[1] ;
30231 if (!args
) SWIG_fail
;
30232 swig_obj
[0] = args
;
30233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30234 if (!SWIG_IsOK(res1
)) {
30235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30237 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 result
= (bool)(arg1
)->Ok();
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30253 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30254 PyObject
*resultobj
= 0;
30255 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30261 PyObject
* obj0
= 0 ;
30262 PyObject
* obj1
= 0 ;
30263 char * kwnames
[] = {
30264 (char *) "self",(char *) "ok", NULL
30267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30269 if (!SWIG_IsOK(res1
)) {
30270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30272 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30273 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30274 if (!SWIG_IsOK(ecode2
)) {
30275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30277 arg2
= static_cast< bool >(val2
);
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 (arg1
)->SetOk(arg2
);
30281 wxPyEndAllowThreads(__tstate
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= SWIG_Py_Void();
30291 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30292 PyObject
*resultobj
= 0;
30293 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30300 PyObject
* obj0
= 0 ;
30301 PyObject
* obj1
= 0 ;
30302 char * kwnames
[] = {
30303 (char *) "self",(char *) "interactive", NULL
30306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30308 if (!SWIG_IsOK(res1
)) {
30309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30311 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30312 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30313 if (!SWIG_IsOK(ecode2
)) {
30314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30316 arg2
= static_cast< bool >(val2
);
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 result
= (bool)(arg1
)->Print(arg2
);
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30332 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30333 PyObject
*resultobj
= 0;
30334 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30337 PyObject
*swig_obj
[1] ;
30339 if (!args
) SWIG_fail
;
30340 swig_obj
[0] = args
;
30341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30342 if (!SWIG_IsOK(res1
)) {
30343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30345 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 (arg1
)->DetermineScaling();
30349 wxPyEndAllowThreads(__tstate
);
30350 if (PyErr_Occurred()) SWIG_fail
;
30352 resultobj
= SWIG_Py_Void();
30359 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30362 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30363 return SWIG_Py_Void();
30366 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30367 return SWIG_Python_InitShadowInstance(args
);
30370 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30371 PyObject
*resultobj
= 0;
30372 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30373 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30374 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30375 wxPyPrintPreview
*result
= 0 ;
30381 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30382 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30383 if (!SWIG_IsOK(res1
)) {
30384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30386 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30387 if (!SWIG_IsOK(res2
)) {
30388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30391 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30392 if (!SWIG_IsOK(res3
)) {
30393 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30395 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30398 if (!wxPyCheckForApp()) SWIG_fail
;
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30411 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30412 PyObject
*resultobj
= 0;
30413 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30414 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30415 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30416 wxPyPrintPreview
*result
= 0 ;
30422 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30423 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30424 if (!SWIG_IsOK(res1
)) {
30425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30427 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30428 if (!SWIG_IsOK(res2
)) {
30429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30431 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30432 if (!SWIG_IsOK(res3
)) {
30433 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30435 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30437 if (!wxPyCheckForApp()) SWIG_fail
;
30438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30439 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30450 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30454 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30456 if ((argc
>= 2) && (argc
<= 3)) {
30461 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30462 _v
= SWIG_CheckState(res
);
30464 if (!_v
) goto check_1
;
30466 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30471 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30475 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30480 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30481 PyObject
*resultobj
= 0;
30482 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30483 PyObject
*arg2
= (PyObject
*) 0 ;
30484 PyObject
*arg3
= (PyObject
*) 0 ;
30487 PyObject
* obj0
= 0 ;
30488 PyObject
* obj1
= 0 ;
30489 PyObject
* obj2
= 0 ;
30490 char * kwnames
[] = {
30491 (char *) "self",(char *) "self",(char *) "_class", NULL
30494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30496 if (!SWIG_IsOK(res1
)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30499 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30504 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= SWIG_Py_Void();
30515 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30518 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30519 return SWIG_Py_Void();
30522 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30523 return SWIG_Python_InitShadowInstance(args
);
30526 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
= 0;
30528 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30529 wxFrame
*arg2
= (wxFrame
*) 0 ;
30530 wxString
*arg3
= 0 ;
30531 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30532 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30533 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30534 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30535 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30536 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30537 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30538 wxPyPreviewFrame
*result
= 0 ;
30543 bool temp3
= false ;
30548 bool temp7
= false ;
30549 PyObject
* obj0
= 0 ;
30550 PyObject
* obj1
= 0 ;
30551 PyObject
* obj2
= 0 ;
30552 PyObject
* obj3
= 0 ;
30553 PyObject
* obj4
= 0 ;
30554 PyObject
* obj5
= 0 ;
30555 PyObject
* obj6
= 0 ;
30556 char * kwnames
[] = {
30557 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30562 if (!SWIG_IsOK(res1
)) {
30563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30565 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30567 if (!SWIG_IsOK(res2
)) {
30568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30570 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30572 arg3
= wxString_in_helper(obj2
);
30573 if (arg3
== NULL
) SWIG_fail
;
30579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30589 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30590 if (!SWIG_IsOK(ecode6
)) {
30591 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30593 arg6
= static_cast< long >(val6
);
30597 arg7
= wxString_in_helper(obj6
);
30598 if (arg7
== NULL
) SWIG_fail
;
30603 if (!wxPyCheckForApp()) SWIG_fail
;
30604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30605 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30606 wxPyEndAllowThreads(__tstate
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30632 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
= 0;
30634 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30635 PyObject
*arg2
= (PyObject
*) 0 ;
30636 PyObject
*arg3
= (PyObject
*) 0 ;
30639 PyObject
* obj0
= 0 ;
30640 PyObject
* obj1
= 0 ;
30641 PyObject
* obj2
= 0 ;
30642 char * kwnames
[] = {
30643 (char *) "self",(char *) "self",(char *) "_class", NULL
30646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30648 if (!SWIG_IsOK(res1
)) {
30649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30651 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30660 resultobj
= SWIG_Py_Void();
30667 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30668 PyObject
*resultobj
= 0;
30669 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30670 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30675 PyObject
* obj0
= 0 ;
30676 PyObject
* obj1
= 0 ;
30677 char * kwnames
[] = {
30678 (char *) "self",(char *) "canvas", NULL
30681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30683 if (!SWIG_IsOK(res1
)) {
30684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30686 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30688 if (!SWIG_IsOK(res2
)) {
30689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30691 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 (arg1
)->SetPreviewCanvas(arg2
);
30695 wxPyEndAllowThreads(__tstate
);
30696 if (PyErr_Occurred()) SWIG_fail
;
30698 resultobj
= SWIG_Py_Void();
30705 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30706 PyObject
*resultobj
= 0;
30707 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30708 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 char * kwnames
[] = {
30716 (char *) "self",(char *) "bar", NULL
30719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30721 if (!SWIG_IsOK(res1
)) {
30722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30724 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30726 if (!SWIG_IsOK(res2
)) {
30727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30729 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 (arg1
)->SetControlBar(arg2
);
30733 wxPyEndAllowThreads(__tstate
);
30734 if (PyErr_Occurred()) SWIG_fail
;
30736 resultobj
= SWIG_Py_Void();
30743 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30744 PyObject
*resultobj
= 0;
30745 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30748 PyObject
*swig_obj
[1] ;
30750 if (!args
) SWIG_fail
;
30751 swig_obj
[0] = args
;
30752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30753 if (!SWIG_IsOK(res1
)) {
30754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30756 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 (arg1
)->Initialize();
30760 wxPyEndAllowThreads(__tstate
);
30761 if (PyErr_Occurred()) SWIG_fail
;
30763 resultobj
= SWIG_Py_Void();
30770 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30771 PyObject
*resultobj
= 0;
30772 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30775 PyObject
*swig_obj
[1] ;
30777 if (!args
) SWIG_fail
;
30778 swig_obj
[0] = args
;
30779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30780 if (!SWIG_IsOK(res1
)) {
30781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30783 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30786 (arg1
)->CreateCanvas();
30787 wxPyEndAllowThreads(__tstate
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30790 resultobj
= SWIG_Py_Void();
30797 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30798 PyObject
*resultobj
= 0;
30799 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30802 PyObject
*swig_obj
[1] ;
30804 if (!args
) SWIG_fail
;
30805 swig_obj
[0] = args
;
30806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30807 if (!SWIG_IsOK(res1
)) {
30808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30810 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30813 (arg1
)->CreateControlBar();
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30817 resultobj
= SWIG_Py_Void();
30824 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30827 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30828 return SWIG_Py_Void();
30831 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30832 return SWIG_Python_InitShadowInstance(args
);
30835 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
= 0;
30837 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30839 wxWindow
*arg3
= (wxWindow
*) 0 ;
30840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30844 long arg6
= (long) 0 ;
30845 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30846 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30847 wxPyPreviewControlBar
*result
= 0 ;
30858 bool temp7
= false ;
30859 PyObject
* obj0
= 0 ;
30860 PyObject
* obj1
= 0 ;
30861 PyObject
* obj2
= 0 ;
30862 PyObject
* obj3
= 0 ;
30863 PyObject
* obj4
= 0 ;
30864 PyObject
* obj5
= 0 ;
30865 PyObject
* obj6
= 0 ;
30866 char * kwnames
[] = {
30867 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30872 if (!SWIG_IsOK(res1
)) {
30873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30875 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30876 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30877 if (!SWIG_IsOK(ecode2
)) {
30878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30880 arg2
= static_cast< long >(val2
);
30881 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30882 if (!SWIG_IsOK(res3
)) {
30883 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30885 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30899 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30900 if (!SWIG_IsOK(ecode6
)) {
30901 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30903 arg6
= static_cast< long >(val6
);
30907 arg7
= wxString_in_helper(obj6
);
30908 if (arg7
== NULL
) SWIG_fail
;
30913 if (!wxPyCheckForApp()) SWIG_fail
;
30914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30915 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30934 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30935 PyObject
*resultobj
= 0;
30936 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30937 PyObject
*arg2
= (PyObject
*) 0 ;
30938 PyObject
*arg3
= (PyObject
*) 0 ;
30941 PyObject
* obj0
= 0 ;
30942 PyObject
* obj1
= 0 ;
30943 PyObject
* obj2
= 0 ;
30944 char * kwnames
[] = {
30945 (char *) "self",(char *) "self",(char *) "_class", NULL
30948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30950 if (!SWIG_IsOK(res1
)) {
30951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30953 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30958 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30959 wxPyEndAllowThreads(__tstate
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30962 resultobj
= SWIG_Py_Void();
30969 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30970 PyObject
*resultobj
= 0;
30971 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30972 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30977 PyObject
* obj0
= 0 ;
30978 PyObject
* obj1
= 0 ;
30979 char * kwnames
[] = {
30980 (char *) "self",(char *) "preview", NULL
30983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30985 if (!SWIG_IsOK(res1
)) {
30986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30988 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30990 if (!SWIG_IsOK(res2
)) {
30991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30993 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30996 (arg1
)->SetPrintPreview(arg2
);
30997 wxPyEndAllowThreads(__tstate
);
30998 if (PyErr_Occurred()) SWIG_fail
;
31000 resultobj
= SWIG_Py_Void();
31007 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31008 PyObject
*resultobj
= 0;
31009 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31012 PyObject
*swig_obj
[1] ;
31014 if (!args
) SWIG_fail
;
31015 swig_obj
[0] = args
;
31016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31017 if (!SWIG_IsOK(res1
)) {
31018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31020 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31023 (arg1
)->CreateButtons();
31024 wxPyEndAllowThreads(__tstate
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31027 resultobj
= SWIG_Py_Void();
31034 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31035 PyObject
*resultobj
= 0;
31036 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31042 PyObject
* obj0
= 0 ;
31043 PyObject
* obj1
= 0 ;
31044 char * kwnames
[] = {
31045 (char *) "self",(char *) "zoom", NULL
31048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31050 if (!SWIG_IsOK(res1
)) {
31051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31053 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31055 if (!SWIG_IsOK(ecode2
)) {
31056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31058 arg2
= static_cast< int >(val2
);
31060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31061 (arg1
)->SetZoomControl(arg2
);
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31065 resultobj
= SWIG_Py_Void();
31072 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31075 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31076 return SWIG_Py_Void();
31079 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31080 return SWIG_Python_InitShadowInstance(args
);
31083 static PyMethodDef SwigMethods
[] = {
31084 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31086 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31088 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31090 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31091 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31093 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31100 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31102 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31104 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31105 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31106 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31107 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31108 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31111 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31113 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31116 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31117 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31119 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31121 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31122 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31123 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31124 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31128 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31130 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31133 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31135 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31138 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31141 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31142 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31144 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31146 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31148 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31151 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31158 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31160 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31165 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31166 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31168 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31171 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31173 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31175 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31179 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31180 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31183 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31184 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31186 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31188 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31189 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31192 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31193 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31194 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31196 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31197 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31198 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31199 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31200 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31202 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31205 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31214 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31215 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31217 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31218 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31220 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31222 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31223 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31225 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31231 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31232 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31235 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31236 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31238 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31240 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31242 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31244 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31246 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31248 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31249 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31252 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31253 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31254 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31255 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31256 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31257 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31259 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31267 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31269 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31272 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31273 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31276 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31277 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31279 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31280 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31281 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31284 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31286 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31288 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31289 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31290 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31293 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31295 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31297 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31299 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31301 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31302 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31303 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31306 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31308 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31309 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31310 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31312 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31314 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31315 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31319 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31320 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31321 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31322 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31326 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31327 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31329 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31332 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31333 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31335 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31338 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31339 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31340 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31343 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31344 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31345 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31347 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31356 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31357 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31358 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31359 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31361 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31362 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31365 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31366 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31368 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31371 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31372 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31373 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31376 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31377 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31379 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31380 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31382 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31387 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31388 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31394 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31395 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31397 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31401 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31403 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31404 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31405 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31406 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31408 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31409 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31410 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31412 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31414 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31415 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31417 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31418 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31419 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31420 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31421 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31422 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31427 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31428 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31430 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31431 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31432 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31435 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31436 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31439 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31440 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31448 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31449 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31450 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31451 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31452 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31453 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31454 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31455 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31456 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31457 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31460 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31461 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31462 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31464 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31465 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31467 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31468 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31470 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31472 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31473 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31475 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31476 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31478 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31479 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31480 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31481 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31482 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31484 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31485 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31486 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31487 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31488 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31489 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31496 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31497 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31499 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31500 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31501 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31504 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31505 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"ProgressDialog_UpdatePulse", (PyCFunction
) _wrap_ProgressDialog_UpdatePulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31509 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31510 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31511 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31513 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31514 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31515 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31516 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31520 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31521 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31523 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31524 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31525 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31526 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31530 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31531 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31533 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31535 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31537 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31538 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31540 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31542 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31543 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31544 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31545 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31546 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31547 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31548 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
31549 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31552 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31553 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31555 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31557 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31558 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31559 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31561 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31563 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31564 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31566 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31574 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31575 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31576 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31577 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31578 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31579 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31580 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31581 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31582 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31584 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31592 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31593 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31594 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31595 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31596 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31597 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31598 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31599 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31600 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31602 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31610 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31611 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31612 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31613 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31614 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31615 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31616 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31617 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31618 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31619 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31620 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31621 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31622 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31623 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31624 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31625 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31626 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31627 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31628 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31629 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31630 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31631 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31632 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31644 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31646 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31648 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31649 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31650 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31651 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31657 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31658 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31659 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31660 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31661 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31662 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31663 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31664 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31665 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31666 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31667 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31668 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31669 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31670 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31671 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31681 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31682 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31683 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31684 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31686 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31687 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31688 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31689 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31690 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31691 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31692 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31693 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31694 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31695 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31696 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31697 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31698 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31699 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31700 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31701 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31702 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31716 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31717 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31718 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31719 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31720 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31721 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31724 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31726 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31727 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31728 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31729 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31730 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31731 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31732 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31734 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31740 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31741 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31742 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31743 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31744 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31746 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31748 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31749 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31752 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31754 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31756 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31758 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31759 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31762 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31763 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31764 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31765 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31767 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31768 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31769 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31771 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31772 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31774 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31775 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31776 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31777 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31778 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31779 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31781 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31783 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31784 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31785 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31786 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31787 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31788 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31789 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31790 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31791 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31792 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31794 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31796 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31797 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31800 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31801 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31806 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31808 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31809 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31810 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31811 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31814 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31815 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31816 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31817 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31819 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31820 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31825 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31826 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31827 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31828 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31829 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31833 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31835 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31836 { NULL
, NULL
, 0, NULL
}
31840 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31842 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31843 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31845 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31846 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31848 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31849 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31851 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31852 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31854 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31855 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31857 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31858 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31860 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31861 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31863 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31864 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31866 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31867 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31869 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31870 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31872 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31873 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31875 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31878 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
31879 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31881 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31882 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31884 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31885 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31887 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31888 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31890 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31891 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31893 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31894 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31896 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31897 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31899 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31900 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31902 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31903 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31905 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31906 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31908 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31909 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31911 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31914 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31915 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31917 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31918 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31920 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31921 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31923 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31924 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31926 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31927 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31929 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31930 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31932 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31933 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31935 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31936 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31938 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31939 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31941 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31942 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31944 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31945 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31947 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31948 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31950 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31951 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31953 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31954 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31956 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31957 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31959 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31960 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31962 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31963 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31965 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31966 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31968 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31969 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31971 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31972 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31974 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31975 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31977 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31978 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31980 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31981 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31983 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31984 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31986 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31987 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31989 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31990 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31992 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31993 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31995 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31996 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31998 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31999 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32001 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32002 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32004 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32007 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32008 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32010 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32013 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32016 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32019 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32020 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32022 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32023 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32025 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32026 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32028 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32029 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32031 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32032 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32034 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32035 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32037 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32040 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32043 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32046 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32047 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32049 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32052 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32053 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32055 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32056 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32058 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32059 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32061 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32062 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32064 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32065 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32067 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32068 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32070 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32071 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32073 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32074 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32076 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32077 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32079 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32080 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32082 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32083 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32085 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32086 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32088 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32089 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32091 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32094 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32095 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32097 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32100 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32103 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32104 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32106 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32109 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32112 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32113 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32115 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32118 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32121 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32122 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32124 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32127 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32130 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32133 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32134 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32136 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32137 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32139 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32140 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32142 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32143 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32145 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32146 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32148 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32149 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32151 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32152 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32154 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32155 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32157 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32158 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32160 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32161 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32163 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32166 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32169 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32170 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32172 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32173 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32175 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32178 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32179 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32181 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32182 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32184 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32185 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32187 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32188 return (void *)((wxObject
*) ((wxSizer
*) x
));
32190 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32191 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32193 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32196 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32199 static void *_p_wxEventTo_p_wxObject(void *x
) {
32200 return (void *)((wxObject
*) ((wxEvent
*) x
));
32202 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32203 return (void *)((wxObject
*) ((wxFontData
*) x
));
32205 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32206 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32208 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32209 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32211 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32212 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32214 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32215 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32217 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32218 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32220 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32221 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32223 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32226 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32227 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32229 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32230 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32232 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32233 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32235 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32236 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32238 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32239 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32241 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32242 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32244 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32245 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32247 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32248 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32250 static void *_p_wxControlTo_p_wxObject(void *x
) {
32251 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32253 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32254 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32256 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32259 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32260 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32262 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32263 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32265 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32266 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32268 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32271 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32272 return (void *)((wxObject
*) ((wxColourData
*) x
));
32274 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32275 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32277 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32278 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32280 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32283 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32284 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32286 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32289 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32292 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32295 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32298 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32301 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32302 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32304 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32307 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32310 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32313 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32314 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32316 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32317 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32319 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32320 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32322 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32323 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32325 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32326 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32328 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32329 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32331 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32332 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32334 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32335 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32337 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32338 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32340 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32341 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32343 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32344 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32346 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32347 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32349 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32350 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32352 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32353 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32355 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32356 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32358 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32359 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32361 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32364 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32365 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32367 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32368 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32370 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32371 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32373 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32374 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32376 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32377 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32379 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32380 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32382 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32383 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32385 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32386 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32388 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32389 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32391 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32392 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32394 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32395 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32397 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32400 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32403 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32404 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32406 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32407 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32409 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32412 static void *_p_wxImageTo_p_wxObject(void *x
) {
32413 return (void *)((wxObject
*) ((wxImage
*) x
));
32415 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32418 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32419 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32421 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32422 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32424 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32425 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32427 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32430 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32431 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32433 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32436 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32437 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32439 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32440 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32442 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32443 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32445 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32446 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32448 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32449 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32451 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32454 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32457 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32460 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32463 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32464 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32466 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32467 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32469 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32472 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32475 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32478 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32481 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32484 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32487 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32490 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32491 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32493 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32494 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32496 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32499 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32502 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32505 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32508 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32511 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32514 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32517 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32520 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32523 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32526 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32529 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32532 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32535 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32538 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32541 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32544 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32547 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32550 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32553 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32556 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32559 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32562 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32565 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32568 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32571 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32574 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32575 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32577 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32578 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32580 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32581 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32583 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32584 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32586 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32587 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32589 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32590 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32592 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32593 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32595 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32596 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32598 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32599 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32601 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32602 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32604 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32605 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32607 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32608 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32610 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32611 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32613 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32614 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32616 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32617 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32619 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32620 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32622 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32623 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32625 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32626 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32628 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32629 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32631 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32632 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32634 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32635 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32637 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32638 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32640 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32641 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32643 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32644 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32646 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32647 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32649 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32650 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32652 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32653 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32655 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32656 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32658 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32659 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32661 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32662 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32664 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32665 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32667 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32668 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32670 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32671 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32673 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32674 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32676 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32677 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32679 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32680 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32682 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32683 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32685 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32686 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32688 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32689 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32691 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32692 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32694 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32695 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32697 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32698 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32700 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32701 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32703 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32704 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32706 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32707 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32709 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32710 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32712 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32713 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32715 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32716 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32718 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32719 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32721 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32722 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32724 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32725 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32727 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32728 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32730 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32731 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32733 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32734 return (void *)((wxWindow
*) ((wxControl
*) x
));
32736 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32737 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32739 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32740 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32742 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32743 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32745 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32746 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32748 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32749 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32751 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32752 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32754 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32755 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32757 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32758 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32760 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32761 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32763 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32764 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32766 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32767 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32769 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32770 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32772 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32773 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32775 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32776 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32778 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32779 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32781 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32782 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32784 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32785 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32787 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32788 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32790 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32791 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32793 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32794 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32796 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32797 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32799 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32800 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32802 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32803 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32805 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32806 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32808 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32809 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32811 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32812 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32814 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32815 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32817 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32818 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32820 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32821 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32823 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32824 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32826 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32827 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32829 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32830 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32832 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32833 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32835 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32836 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32838 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32839 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32841 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32842 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32844 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32845 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32847 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32848 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32850 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32851 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32853 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32854 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32856 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32857 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32859 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32860 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32862 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32863 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32865 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32866 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32868 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32869 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32871 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32872 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32874 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32875 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32877 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32878 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32880 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32881 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32883 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32884 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32886 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32887 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32889 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32890 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32892 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32893 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32895 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32896 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32897 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};
32898 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32899 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32900 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32901 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32902 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32903 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32904 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32905 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32906 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32907 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32908 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32909 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32910 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32911 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32912 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32913 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32914 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32915 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32916 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32917 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32918 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32919 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32920 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32921 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32922 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32923 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32924 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32925 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32926 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32927 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32928 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32929 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32930 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32931 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32932 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32933 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32934 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32935 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32936 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32937 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32938 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32939 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32940 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32941 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32942 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32943 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32944 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32945 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32946 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32947 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32948 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32949 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32950 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32951 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32952 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32953 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32954 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32955 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32956 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32957 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32958 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32959 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32960 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32961 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32962 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32963 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32964 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32965 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32966 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32967 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32968 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32969 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32970 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32971 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32972 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32973 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32974 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32975 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32976 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32977 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32978 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32979 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32980 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32981 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32982 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32983 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32984 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32985 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32986 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32987 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32988 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32989 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32990 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32991 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32992 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32993 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32994 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32995 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32996 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32997 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32998 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32999 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33000 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33001 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33002 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33003 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33004 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33005 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33006 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33007 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33008 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33009 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33010 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33011 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33012 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33013 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33014 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33015 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33016 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33017 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33018 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33019 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33020 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33021 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33022 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33023 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33024 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33025 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33026 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33027 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33028 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33029 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33030 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33031 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33032 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33033 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33034 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33035 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33036 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33037 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33038 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33039 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33040 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33041 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33042 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33043 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33044 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33045 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33046 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33047 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33048 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33049 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33050 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33051 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33052 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33053 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33054 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33055 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33056 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33057 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33058 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33059 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33061 static swig_type_info
*swig_type_initial
[] = {
33064 &_swigt__p_form_ops_t
,
33066 &_swigt__p_unsigned_char
,
33067 &_swigt__p_unsigned_int
,
33068 &_swigt__p_unsigned_long
,
33069 &_swigt__p_wxANIHandler
,
33070 &_swigt__p_wxAcceleratorTable
,
33071 &_swigt__p_wxActivateEvent
,
33072 &_swigt__p_wxArrayInt
,
33073 &_swigt__p_wxBMPHandler
,
33074 &_swigt__p_wxBitmap
,
33075 &_swigt__p_wxBoxSizer
,
33076 &_swigt__p_wxCURHandler
,
33077 &_swigt__p_wxCalculateLayoutEvent
,
33078 &_swigt__p_wxChildFocusEvent
,
33079 &_swigt__p_wxClipboardTextEvent
,
33080 &_swigt__p_wxCloseEvent
,
33081 &_swigt__p_wxColour
,
33082 &_swigt__p_wxColourData
,
33083 &_swigt__p_wxColourDialog
,
33084 &_swigt__p_wxCommandEvent
,
33085 &_swigt__p_wxContextMenuEvent
,
33086 &_swigt__p_wxControl
,
33087 &_swigt__p_wxControlWithItems
,
33089 &_swigt__p_wxDateEvent
,
33090 &_swigt__p_wxDialog
,
33091 &_swigt__p_wxDirDialog
,
33092 &_swigt__p_wxDisplayChangedEvent
,
33093 &_swigt__p_wxDropFilesEvent
,
33094 &_swigt__p_wxDuplexMode
,
33095 &_swigt__p_wxEraseEvent
,
33096 &_swigt__p_wxEvent
,
33097 &_swigt__p_wxEvtHandler
,
33098 &_swigt__p_wxFSFile
,
33099 &_swigt__p_wxFileDialog
,
33100 &_swigt__p_wxFileSystem
,
33101 &_swigt__p_wxFindDialogEvent
,
33102 &_swigt__p_wxFindReplaceData
,
33103 &_swigt__p_wxFindReplaceDialog
,
33104 &_swigt__p_wxFlexGridSizer
,
33105 &_swigt__p_wxFocusEvent
,
33107 &_swigt__p_wxFontData
,
33108 &_swigt__p_wxFontDialog
,
33109 &_swigt__p_wxFrame
,
33110 &_swigt__p_wxGBSizerItem
,
33111 &_swigt__p_wxGIFHandler
,
33112 &_swigt__p_wxGridBagSizer
,
33113 &_swigt__p_wxGridSizer
,
33114 &_swigt__p_wxHtmlLinkInfo
,
33115 &_swigt__p_wxICOHandler
,
33117 &_swigt__p_wxIconBundle
,
33118 &_swigt__p_wxIconizeEvent
,
33119 &_swigt__p_wxIdleEvent
,
33120 &_swigt__p_wxImage
,
33121 &_swigt__p_wxImageHandler
,
33122 &_swigt__p_wxIndividualLayoutConstraint
,
33123 &_swigt__p_wxInitDialogEvent
,
33124 &_swigt__p_wxJPEGHandler
,
33125 &_swigt__p_wxKeyEvent
,
33126 &_swigt__p_wxLayoutAlgorithm
,
33127 &_swigt__p_wxLayoutConstraints
,
33128 &_swigt__p_wxMDIChildFrame
,
33129 &_swigt__p_wxMDIClientWindow
,
33130 &_swigt__p_wxMDIParentFrame
,
33131 &_swigt__p_wxMaximizeEvent
,
33133 &_swigt__p_wxMenuBar
,
33134 &_swigt__p_wxMenuEvent
,
33135 &_swigt__p_wxMenuItem
,
33136 &_swigt__p_wxMessageDialog
,
33137 &_swigt__p_wxMiniFrame
,
33138 &_swigt__p_wxMouseCaptureChangedEvent
,
33139 &_swigt__p_wxMouseCaptureLostEvent
,
33140 &_swigt__p_wxMouseEvent
,
33141 &_swigt__p_wxMoveEvent
,
33142 &_swigt__p_wxMultiChoiceDialog
,
33143 &_swigt__p_wxNavigationKeyEvent
,
33144 &_swigt__p_wxNcPaintEvent
,
33145 &_swigt__p_wxNotifyEvent
,
33146 &_swigt__p_wxNumberEntryDialog
,
33147 &_swigt__p_wxObject
,
33148 &_swigt__p_wxPCXHandler
,
33149 &_swigt__p_wxPNGHandler
,
33150 &_swigt__p_wxPNMHandler
,
33151 &_swigt__p_wxPageSetupDialog
,
33152 &_swigt__p_wxPageSetupDialogData
,
33153 &_swigt__p_wxPaintEvent
,
33154 &_swigt__p_wxPaletteChangedEvent
,
33155 &_swigt__p_wxPanel
,
33156 &_swigt__p_wxPaperSize
,
33157 &_swigt__p_wxPasswordEntryDialog
,
33158 &_swigt__p_wxPoint
,
33159 &_swigt__p_wxPopupWindow
,
33160 &_swigt__p_wxPreviewCanvas
,
33161 &_swigt__p_wxPreviewControlBar
,
33162 &_swigt__p_wxPreviewFrame
,
33163 &_swigt__p_wxPrintData
,
33164 &_swigt__p_wxPrintDialog
,
33165 &_swigt__p_wxPrintDialogData
,
33166 &_swigt__p_wxPrintPreview
,
33167 &_swigt__p_wxPrinter
,
33168 &_swigt__p_wxProgressDialog
,
33169 &_swigt__p_wxPyApp
,
33170 &_swigt__p_wxPyCommandEvent
,
33171 &_swigt__p_wxPyEvent
,
33172 &_swigt__p_wxPyHtmlListBox
,
33173 &_swigt__p_wxPyImageHandler
,
33174 &_swigt__p_wxPyPanel
,
33175 &_swigt__p_wxPyPopupTransientWindow
,
33176 &_swigt__p_wxPyPreviewControlBar
,
33177 &_swigt__p_wxPyPreviewFrame
,
33178 &_swigt__p_wxPyPrintPreview
,
33179 &_swigt__p_wxPyPrintout
,
33180 &_swigt__p_wxPyScrolledWindow
,
33181 &_swigt__p_wxPySizer
,
33182 &_swigt__p_wxPyTaskBarIcon
,
33183 &_swigt__p_wxPyVListBox
,
33184 &_swigt__p_wxPyVScrolledWindow
,
33185 &_swigt__p_wxPyValidator
,
33186 &_swigt__p_wxPyWindow
,
33187 &_swigt__p_wxQueryLayoutInfoEvent
,
33188 &_swigt__p_wxQueryNewPaletteEvent
,
33190 &_swigt__p_wxRegion
,
33191 &_swigt__p_wxSashEvent
,
33192 &_swigt__p_wxSashLayoutWindow
,
33193 &_swigt__p_wxSashWindow
,
33194 &_swigt__p_wxScrollEvent
,
33195 &_swigt__p_wxScrollWinEvent
,
33196 &_swigt__p_wxScrolledWindow
,
33197 &_swigt__p_wxSetCursorEvent
,
33198 &_swigt__p_wxShowEvent
,
33199 &_swigt__p_wxSingleChoiceDialog
,
33201 &_swigt__p_wxSizeEvent
,
33202 &_swigt__p_wxSizer
,
33203 &_swigt__p_wxSizerItem
,
33204 &_swigt__p_wxSplashScreen
,
33205 &_swigt__p_wxSplashScreenWindow
,
33206 &_swigt__p_wxSplitterEvent
,
33207 &_swigt__p_wxSplitterWindow
,
33208 &_swigt__p_wxStaticBoxSizer
,
33209 &_swigt__p_wxStatusBar
,
33210 &_swigt__p_wxStdDialogButtonSizer
,
33211 &_swigt__p_wxString
,
33212 &_swigt__p_wxSysColourChangedEvent
,
33213 &_swigt__p_wxTIFFHandler
,
33214 &_swigt__p_wxTaskBarIcon
,
33215 &_swigt__p_wxTaskBarIconEvent
,
33216 &_swigt__p_wxTextEntryDialog
,
33217 &_swigt__p_wxTipWindow
,
33218 &_swigt__p_wxToolBar
,
33219 &_swigt__p_wxTopLevelWindow
,
33220 &_swigt__p_wxUpdateUIEvent
,
33221 &_swigt__p_wxValidator
,
33222 &_swigt__p_wxVisualAttributes
,
33223 &_swigt__p_wxWindow
,
33224 &_swigt__p_wxWindowCreateEvent
,
33225 &_swigt__p_wxWindowDestroyEvent
,
33226 &_swigt__p_wxXPMHandler
,
33229 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33230 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33231 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33232 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33233 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33234 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33235 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33236 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33237 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33238 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33239 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33240 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33241 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33242 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33243 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33244 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33245 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33246 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33247 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33248 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33249 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33250 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33251 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}};
33252 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33253 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
33254 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33255 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33256 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33257 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33258 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33259 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33260 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33261 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33262 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33263 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33264 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33265 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33266 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33267 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33268 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33269 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33270 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33271 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33272 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33273 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33274 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33275 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33276 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33277 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33278 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33279 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33280 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33281 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33282 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
33283 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33284 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33285 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33286 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33287 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33288 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
33289 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33290 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33291 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33292 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33293 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33294 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33295 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33296 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33297 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}};
33298 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33299 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33300 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33301 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33302 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33303 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33304 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33305 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33306 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33307 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33308 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33309 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33310 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}};
33311 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33312 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33313 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33314 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33315 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33316 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33317 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33318 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33319 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33320 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33321 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33322 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33323 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33324 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33325 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33326 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33327 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33328 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33329 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33330 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33331 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33332 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33333 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33334 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33335 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33336 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33337 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33338 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33339 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33340 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33341 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33342 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33343 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}};
33344 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33345 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33346 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33347 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}};
33348 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33349 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}};
33350 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}};
33351 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33352 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33353 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33354 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}};
33355 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33356 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33357 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33358 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33359 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}};
33360 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33361 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33362 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33363 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33364 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33365 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33366 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}};
33367 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}};
33368 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33369 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33370 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33371 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33372 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33373 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33374 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}};
33375 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33376 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}};
33377 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33378 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33379 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33380 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33381 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33382 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33383 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33384 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33385 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33386 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33387 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33388 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}};
33389 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33390 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33391 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
33392 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33393 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_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}};
33395 static swig_cast_info
*swig_cast_initial
[] = {
33398 _swigc__p_form_ops_t
,
33400 _swigc__p_unsigned_char
,
33401 _swigc__p_unsigned_int
,
33402 _swigc__p_unsigned_long
,
33403 _swigc__p_wxANIHandler
,
33404 _swigc__p_wxAcceleratorTable
,
33405 _swigc__p_wxActivateEvent
,
33406 _swigc__p_wxArrayInt
,
33407 _swigc__p_wxBMPHandler
,
33408 _swigc__p_wxBitmap
,
33409 _swigc__p_wxBoxSizer
,
33410 _swigc__p_wxCURHandler
,
33411 _swigc__p_wxCalculateLayoutEvent
,
33412 _swigc__p_wxChildFocusEvent
,
33413 _swigc__p_wxClipboardTextEvent
,
33414 _swigc__p_wxCloseEvent
,
33415 _swigc__p_wxColour
,
33416 _swigc__p_wxColourData
,
33417 _swigc__p_wxColourDialog
,
33418 _swigc__p_wxCommandEvent
,
33419 _swigc__p_wxContextMenuEvent
,
33420 _swigc__p_wxControl
,
33421 _swigc__p_wxControlWithItems
,
33423 _swigc__p_wxDateEvent
,
33424 _swigc__p_wxDialog
,
33425 _swigc__p_wxDirDialog
,
33426 _swigc__p_wxDisplayChangedEvent
,
33427 _swigc__p_wxDropFilesEvent
,
33428 _swigc__p_wxDuplexMode
,
33429 _swigc__p_wxEraseEvent
,
33431 _swigc__p_wxEvtHandler
,
33432 _swigc__p_wxFSFile
,
33433 _swigc__p_wxFileDialog
,
33434 _swigc__p_wxFileSystem
,
33435 _swigc__p_wxFindDialogEvent
,
33436 _swigc__p_wxFindReplaceData
,
33437 _swigc__p_wxFindReplaceDialog
,
33438 _swigc__p_wxFlexGridSizer
,
33439 _swigc__p_wxFocusEvent
,
33441 _swigc__p_wxFontData
,
33442 _swigc__p_wxFontDialog
,
33444 _swigc__p_wxGBSizerItem
,
33445 _swigc__p_wxGIFHandler
,
33446 _swigc__p_wxGridBagSizer
,
33447 _swigc__p_wxGridSizer
,
33448 _swigc__p_wxHtmlLinkInfo
,
33449 _swigc__p_wxICOHandler
,
33451 _swigc__p_wxIconBundle
,
33452 _swigc__p_wxIconizeEvent
,
33453 _swigc__p_wxIdleEvent
,
33455 _swigc__p_wxImageHandler
,
33456 _swigc__p_wxIndividualLayoutConstraint
,
33457 _swigc__p_wxInitDialogEvent
,
33458 _swigc__p_wxJPEGHandler
,
33459 _swigc__p_wxKeyEvent
,
33460 _swigc__p_wxLayoutAlgorithm
,
33461 _swigc__p_wxLayoutConstraints
,
33462 _swigc__p_wxMDIChildFrame
,
33463 _swigc__p_wxMDIClientWindow
,
33464 _swigc__p_wxMDIParentFrame
,
33465 _swigc__p_wxMaximizeEvent
,
33467 _swigc__p_wxMenuBar
,
33468 _swigc__p_wxMenuEvent
,
33469 _swigc__p_wxMenuItem
,
33470 _swigc__p_wxMessageDialog
,
33471 _swigc__p_wxMiniFrame
,
33472 _swigc__p_wxMouseCaptureChangedEvent
,
33473 _swigc__p_wxMouseCaptureLostEvent
,
33474 _swigc__p_wxMouseEvent
,
33475 _swigc__p_wxMoveEvent
,
33476 _swigc__p_wxMultiChoiceDialog
,
33477 _swigc__p_wxNavigationKeyEvent
,
33478 _swigc__p_wxNcPaintEvent
,
33479 _swigc__p_wxNotifyEvent
,
33480 _swigc__p_wxNumberEntryDialog
,
33481 _swigc__p_wxObject
,
33482 _swigc__p_wxPCXHandler
,
33483 _swigc__p_wxPNGHandler
,
33484 _swigc__p_wxPNMHandler
,
33485 _swigc__p_wxPageSetupDialog
,
33486 _swigc__p_wxPageSetupDialogData
,
33487 _swigc__p_wxPaintEvent
,
33488 _swigc__p_wxPaletteChangedEvent
,
33490 _swigc__p_wxPaperSize
,
33491 _swigc__p_wxPasswordEntryDialog
,
33493 _swigc__p_wxPopupWindow
,
33494 _swigc__p_wxPreviewCanvas
,
33495 _swigc__p_wxPreviewControlBar
,
33496 _swigc__p_wxPreviewFrame
,
33497 _swigc__p_wxPrintData
,
33498 _swigc__p_wxPrintDialog
,
33499 _swigc__p_wxPrintDialogData
,
33500 _swigc__p_wxPrintPreview
,
33501 _swigc__p_wxPrinter
,
33502 _swigc__p_wxProgressDialog
,
33504 _swigc__p_wxPyCommandEvent
,
33505 _swigc__p_wxPyEvent
,
33506 _swigc__p_wxPyHtmlListBox
,
33507 _swigc__p_wxPyImageHandler
,
33508 _swigc__p_wxPyPanel
,
33509 _swigc__p_wxPyPopupTransientWindow
,
33510 _swigc__p_wxPyPreviewControlBar
,
33511 _swigc__p_wxPyPreviewFrame
,
33512 _swigc__p_wxPyPrintPreview
,
33513 _swigc__p_wxPyPrintout
,
33514 _swigc__p_wxPyScrolledWindow
,
33515 _swigc__p_wxPySizer
,
33516 _swigc__p_wxPyTaskBarIcon
,
33517 _swigc__p_wxPyVListBox
,
33518 _swigc__p_wxPyVScrolledWindow
,
33519 _swigc__p_wxPyValidator
,
33520 _swigc__p_wxPyWindow
,
33521 _swigc__p_wxQueryLayoutInfoEvent
,
33522 _swigc__p_wxQueryNewPaletteEvent
,
33524 _swigc__p_wxRegion
,
33525 _swigc__p_wxSashEvent
,
33526 _swigc__p_wxSashLayoutWindow
,
33527 _swigc__p_wxSashWindow
,
33528 _swigc__p_wxScrollEvent
,
33529 _swigc__p_wxScrollWinEvent
,
33530 _swigc__p_wxScrolledWindow
,
33531 _swigc__p_wxSetCursorEvent
,
33532 _swigc__p_wxShowEvent
,
33533 _swigc__p_wxSingleChoiceDialog
,
33535 _swigc__p_wxSizeEvent
,
33537 _swigc__p_wxSizerItem
,
33538 _swigc__p_wxSplashScreen
,
33539 _swigc__p_wxSplashScreenWindow
,
33540 _swigc__p_wxSplitterEvent
,
33541 _swigc__p_wxSplitterWindow
,
33542 _swigc__p_wxStaticBoxSizer
,
33543 _swigc__p_wxStatusBar
,
33544 _swigc__p_wxStdDialogButtonSizer
,
33545 _swigc__p_wxString
,
33546 _swigc__p_wxSysColourChangedEvent
,
33547 _swigc__p_wxTIFFHandler
,
33548 _swigc__p_wxTaskBarIcon
,
33549 _swigc__p_wxTaskBarIconEvent
,
33550 _swigc__p_wxTextEntryDialog
,
33551 _swigc__p_wxTipWindow
,
33552 _swigc__p_wxToolBar
,
33553 _swigc__p_wxTopLevelWindow
,
33554 _swigc__p_wxUpdateUIEvent
,
33555 _swigc__p_wxValidator
,
33556 _swigc__p_wxVisualAttributes
,
33557 _swigc__p_wxWindow
,
33558 _swigc__p_wxWindowCreateEvent
,
33559 _swigc__p_wxWindowDestroyEvent
,
33560 _swigc__p_wxXPMHandler
,
33564 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33566 static swig_const_info swig_const_table
[] = {
33567 {0, 0, 0, 0.0, 0, 0}};
33572 /* -----------------------------------------------------------------------------
33573 * Type initialization:
33574 * This problem is tough by the requirement that no dynamic
33575 * memory is used. Also, since swig_type_info structures store pointers to
33576 * swig_cast_info structures and swig_cast_info structures store pointers back
33577 * to swig_type_info structures, we need some lookup code at initialization.
33578 * The idea is that swig generates all the structures that are needed.
33579 * The runtime then collects these partially filled structures.
33580 * The SWIG_InitializeModule function takes these initial arrays out of
33581 * swig_module, and does all the lookup, filling in the swig_module.types
33582 * array with the correct data and linking the correct swig_cast_info
33583 * structures together.
33585 * The generated swig_type_info structures are assigned staticly to an initial
33586 * array. We just loop though that array, and handle each type individually.
33587 * First we lookup if this type has been already loaded, and if so, use the
33588 * loaded structure instead of the generated one. Then we have to fill in the
33589 * cast linked list. The cast data is initially stored in something like a
33590 * two-dimensional array. Each row corresponds to a type (there are the same
33591 * number of rows as there are in the swig_type_initial array). Each entry in
33592 * a column is one of the swig_cast_info structures for that type.
33593 * The cast_initial array is actually an array of arrays, because each row has
33594 * a variable number of columns. So to actually build the cast linked list,
33595 * we find the array of casts associated with the type, and loop through it
33596 * adding the casts to the list. The one last trick we need to do is making
33597 * sure the type pointer in the swig_cast_info struct is correct.
33599 * First off, we lookup the cast->type name to see if it is already loaded.
33600 * There are three cases to handle:
33601 * 1) If the cast->type has already been loaded AND the type we are adding
33602 * casting info to has not been loaded (it is in this module), THEN we
33603 * replace the cast->type pointer with the type pointer that has already
33605 * 2) If BOTH types (the one we are adding casting info to, and the
33606 * cast->type) are loaded, THEN the cast info has already been loaded by
33607 * the previous module so we just ignore it.
33608 * 3) Finally, if cast->type has not already been loaded, then we add that
33609 * swig_cast_info to the linked list (because the cast->type) pointer will
33611 * ----------------------------------------------------------------------------- */
33621 #define SWIGRUNTIME_DEBUG
33625 SWIG_InitializeModule(void *clientdata
) {
33627 swig_module_info
*module_head
;
33628 static int init_run
= 0;
33630 clientdata
= clientdata
;
33632 if (init_run
) return;
33635 /* Initialize the swig_module */
33636 swig_module
.type_initial
= swig_type_initial
;
33637 swig_module
.cast_initial
= swig_cast_initial
;
33639 /* Try and load any already created modules */
33640 module_head
= SWIG_GetModule(clientdata
);
33642 swig_module
.next
= module_head
->next
;
33643 module_head
->next
= &swig_module
;
33645 /* This is the first module loaded */
33646 swig_module
.next
= &swig_module
;
33647 SWIG_SetModule(clientdata
, &swig_module
);
33650 /* Now work on filling in swig_module.types */
33651 #ifdef SWIGRUNTIME_DEBUG
33652 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33654 for (i
= 0; i
< swig_module
.size
; ++i
) {
33655 swig_type_info
*type
= 0;
33656 swig_type_info
*ret
;
33657 swig_cast_info
*cast
;
33659 #ifdef SWIGRUNTIME_DEBUG
33660 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33663 /* if there is another module already loaded */
33664 if (swig_module
.next
!= &swig_module
) {
33665 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33668 /* Overwrite clientdata field */
33669 #ifdef SWIGRUNTIME_DEBUG
33670 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33672 if (swig_module
.type_initial
[i
]->clientdata
) {
33673 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33674 #ifdef SWIGRUNTIME_DEBUG
33675 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33679 type
= swig_module
.type_initial
[i
];
33682 /* Insert casting types */
33683 cast
= swig_module
.cast_initial
[i
];
33684 while (cast
->type
) {
33685 /* Don't need to add information already in the list */
33687 #ifdef SWIGRUNTIME_DEBUG
33688 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33690 if (swig_module
.next
!= &swig_module
) {
33691 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33692 #ifdef SWIGRUNTIME_DEBUG
33693 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33697 if (type
== swig_module
.type_initial
[i
]) {
33698 #ifdef SWIGRUNTIME_DEBUG
33699 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33704 /* Check for casting already in the list */
33705 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33706 #ifdef SWIGRUNTIME_DEBUG
33707 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33709 if (!ocast
) ret
= 0;
33714 #ifdef SWIGRUNTIME_DEBUG
33715 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33718 type
->cast
->prev
= cast
;
33719 cast
->next
= type
->cast
;
33725 /* Set entry in modules->types array equal to the type */
33726 swig_module
.types
[i
] = type
;
33728 swig_module
.types
[i
] = 0;
33730 #ifdef SWIGRUNTIME_DEBUG
33731 printf("**** SWIG_InitializeModule: Cast List ******\n");
33732 for (i
= 0; i
< swig_module
.size
; ++i
) {
33734 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33735 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33736 while (cast
->type
) {
33737 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33741 printf("---- Total casts: %d\n",j
);
33743 printf("**** SWIG_InitializeModule: Cast List ******\n");
33747 /* This function will propagate the clientdata field of type to
33748 * any new swig_type_info structures that have been added into the list
33749 * of equivalent types. It is like calling
33750 * SWIG_TypeClientData(type, clientdata) a second time.
33753 SWIG_PropagateClientData(void) {
33755 swig_cast_info
*equiv
;
33756 static int init_run
= 0;
33758 if (init_run
) return;
33761 for (i
= 0; i
< swig_module
.size
; i
++) {
33762 if (swig_module
.types
[i
]->clientdata
) {
33763 equiv
= swig_module
.types
[i
]->cast
;
33765 if (!equiv
->converter
) {
33766 if (equiv
->type
&& !equiv
->type
->clientdata
)
33767 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33769 equiv
= equiv
->next
;
33789 /* Python-specific SWIG API */
33790 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33791 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33792 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33794 /* -----------------------------------------------------------------------------
33795 * global variable support code.
33796 * ----------------------------------------------------------------------------- */
33798 typedef struct swig_globalvar
{
33799 char *name
; /* Name of global variable */
33800 PyObject
*(*get_attr
)(void); /* Return the current value */
33801 int (*set_attr
)(PyObject
*); /* Set the value */
33802 struct swig_globalvar
*next
;
33805 typedef struct swig_varlinkobject
{
33807 swig_globalvar
*vars
;
33808 } swig_varlinkobject
;
33810 SWIGINTERN PyObject
*
33811 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33812 return PyString_FromString("<Swig global variables>");
33815 SWIGINTERN PyObject
*
33816 swig_varlink_str(swig_varlinkobject
*v
) {
33817 PyObject
*str
= PyString_FromString("(");
33818 swig_globalvar
*var
;
33819 for (var
= v
->vars
; var
; var
=var
->next
) {
33820 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33821 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33823 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33828 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33829 PyObject
*str
= swig_varlink_str(v
);
33830 fprintf(fp
,"Swig global variables ");
33831 fprintf(fp
,"%s\n", PyString_AsString(str
));
33837 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33838 swig_globalvar
*var
= v
->vars
;
33840 swig_globalvar
*n
= var
->next
;
33847 SWIGINTERN PyObject
*
33848 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33849 PyObject
*res
= NULL
;
33850 swig_globalvar
*var
= v
->vars
;
33852 if (strcmp(var
->name
,n
) == 0) {
33853 res
= (*var
->get_attr
)();
33858 if (res
== NULL
&& !PyErr_Occurred()) {
33859 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33865 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33867 swig_globalvar
*var
= v
->vars
;
33869 if (strcmp(var
->name
,n
) == 0) {
33870 res
= (*var
->set_attr
)(p
);
33875 if (res
== 1 && !PyErr_Occurred()) {
33876 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33881 SWIGINTERN PyTypeObject
*
33882 swig_varlink_type(void) {
33883 static char varlink__doc__
[] = "Swig var link object";
33884 static PyTypeObject varlink_type
;
33885 static int type_init
= 0;
33887 const PyTypeObject tmp
33889 PyObject_HEAD_INIT(NULL
)
33890 0, /* Number of items in variable part (ob_size) */
33891 (char *)"swigvarlink", /* Type name (tp_name) */
33892 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33893 0, /* Itemsize (tp_itemsize) */
33894 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33895 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33896 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33897 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33898 0, /* tp_compare */
33899 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33900 0, /* tp_as_number */
33901 0, /* tp_as_sequence */
33902 0, /* tp_as_mapping */
33905 (reprfunc
)swig_varlink_str
, /* tp_str */
33906 0, /* tp_getattro */
33907 0, /* tp_setattro */
33908 0, /* tp_as_buffer */
33910 varlink__doc__
, /* tp_doc */
33911 0, /* tp_traverse */
33913 0, /* tp_richcompare */
33914 0, /* tp_weaklistoffset */
33915 #if PY_VERSION_HEX >= 0x02020000
33916 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33918 #if PY_VERSION_HEX >= 0x02030000
33921 #ifdef COUNT_ALLOCS
33922 0,0,0,0 /* tp_alloc -> tp_next */
33925 varlink_type
= tmp
;
33926 varlink_type
.ob_type
= &PyType_Type
;
33929 return &varlink_type
;
33932 /* Create a variable linking object for use later */
33933 SWIGINTERN PyObject
*
33934 SWIG_Python_newvarlink(void) {
33935 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33939 return ((PyObject
*) result
);
33943 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33944 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33945 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33947 size_t size
= strlen(name
)+1;
33948 gv
->name
= (char *)malloc(size
);
33950 strncpy(gv
->name
,name
,size
);
33951 gv
->get_attr
= get_attr
;
33952 gv
->set_attr
= set_attr
;
33953 gv
->next
= v
->vars
;
33959 SWIGINTERN PyObject
*
33961 static PyObject
*_SWIG_globals
= 0;
33962 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33963 return _SWIG_globals
;
33966 /* -----------------------------------------------------------------------------
33967 * constants/methods manipulation
33968 * ----------------------------------------------------------------------------- */
33970 /* Install Constants */
33972 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33975 for (i
= 0; constants
[i
].type
; ++i
) {
33976 switch(constants
[i
].type
) {
33977 case SWIG_PY_POINTER
:
33978 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33980 case SWIG_PY_BINARY
:
33981 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33988 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33994 /* -----------------------------------------------------------------------------*/
33995 /* Fix SwigMethods to carry the callback ptrs when needed */
33996 /* -----------------------------------------------------------------------------*/
33999 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34000 swig_const_info
*const_table
,
34001 swig_type_info
**types
,
34002 swig_type_info
**types_initial
) {
34004 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34005 const char *c
= methods
[i
].ml_doc
;
34006 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34008 swig_const_info
*ci
= 0;
34009 const char *name
= c
+ 10;
34010 for (j
= 0; const_table
[j
].type
; ++j
) {
34011 if (strncmp(const_table
[j
].name
, name
,
34012 strlen(const_table
[j
].name
)) == 0) {
34013 ci
= &(const_table
[j
]);
34018 size_t shift
= (ci
->ptype
) - types
;
34019 swig_type_info
*ty
= types_initial
[shift
];
34020 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34021 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34022 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34025 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34027 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34029 strncpy(buff
, "swig_ptr: ", 10);
34031 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34032 methods
[i
].ml_doc
= ndoc
;
34044 /* -----------------------------------------------------------------------------*
34045 * Partial Init method
34046 * -----------------------------------------------------------------------------*/
34051 SWIGEXPORT
void SWIG_init(void) {
34054 /* Fix SwigMethods to carry the callback ptrs when needed */
34055 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34057 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34058 d
= PyModule_GetDict(m
);
34060 SWIG_InitializeModule(0);
34061 SWIG_InstallConstants(d
,swig_const_table
);
34064 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34065 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34066 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34067 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34068 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34069 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34070 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34071 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34072 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34073 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34074 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34075 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34076 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34077 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34078 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34079 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34080 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34081 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34082 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34083 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34084 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34085 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34086 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34087 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34088 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34089 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34090 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34091 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34092 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34093 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34094 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34095 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34096 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34097 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34098 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34099 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34100 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34101 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34102 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34103 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34104 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34105 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34106 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34107 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34108 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34109 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34110 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34111 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34112 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34113 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34114 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34115 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34116 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34117 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34118 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34119 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34120 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34121 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34122 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34123 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34124 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34125 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34126 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34127 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34128 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34129 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34130 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34131 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34132 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34133 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34134 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34135 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34136 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34137 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34138 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34139 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34140 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34141 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34142 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34143 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34144 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34145 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34146 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34147 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34148 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34149 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34150 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34151 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34152 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34153 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34154 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34155 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34156 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34157 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34158 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34159 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34160 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34161 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34162 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34163 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34164 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34165 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34166 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34167 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34168 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34170 // Map renamed classes back to their common name for OOR
34171 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34172 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34173 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34175 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34176 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34177 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34178 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34179 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34180 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34181 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34182 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34183 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34184 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34185 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34186 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34187 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34188 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34189 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34190 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34191 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34192 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34193 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34194 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34195 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34196 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34197 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34198 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34199 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34200 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34201 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34202 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34203 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34204 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34205 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34206 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34207 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34208 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34209 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34210 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34211 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34212 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34213 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34214 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34215 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34216 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34217 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34218 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34219 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34220 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34221 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34222 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34223 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34224 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34225 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34226 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34227 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34228 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34229 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34230 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34231 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34232 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34233 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34234 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34235 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34236 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34237 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34238 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34239 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34240 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34241 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34242 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34243 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34244 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34245 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34246 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34247 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34248 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34249 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34250 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34251 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34252 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34253 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34254 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34255 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34256 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34257 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34258 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34259 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34260 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34261 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34262 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34263 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34264 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34265 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34266 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34267 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34268 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34269 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34270 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34271 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34272 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34273 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34274 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34275 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34276 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34277 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34278 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34280 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");