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; }
2825 SWIGINTERN
bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow
*self
,bool enable
=true){ return false; }
2828 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2830 self
->GetFieldRect(i
, r
);
2833 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2834 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2835 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2837 #include <wx/popupwin.h>
2840 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2843 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2844 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2845 : wxPopupTransientWindow(parent
, style
) {}
2847 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2848 DEC_PYCALLBACK__(OnDismiss
);
2849 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2854 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2855 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2856 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2859 #include <wx/tipwin.h>
2861 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2862 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2865 #include <wx/tipwin.h>
2868 #include <wx/vscroll.h>
2871 class wxPyVScrolledWindow
: public wxVScrolledWindow
2873 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2875 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2877 wxPyVScrolledWindow(wxWindow
*parent
,
2878 wxWindowID id
= wxID_ANY
,
2879 const wxPoint
& pos
= wxDefaultPosition
,
2880 const wxSize
& size
= wxDefaultSize
,
2882 const wxString
& name
= wxPyPanelNameStr
)
2883 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2886 // Overridable virtuals
2888 // this function must be overridden in the derived class and it should
2889 // return the height of the given line in pixels
2890 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2893 // this function doesn't have to be overridden but it may be useful to do
2894 // it if calculating the lines heights is a relatively expensive operation
2895 // as it gives the user code a possibility to calculate several of them at
2898 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2899 // shouldn't rely on the latter being called for all lines in the interval
2900 // specified here. It is also possible that OnGetLineHeight() will be
2901 // called for the lines outside of this interval, so this is really just a
2902 // hint, not a promise.
2904 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2906 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2909 // when the number of lines changes, we try to estimate the total height
2910 // of all lines which is a rather expensive operation in terms of lines
2911 // access, so if the user code may estimate the average height
2912 // better/faster than we do, it should override this function to implement
2915 // this function should return the best guess for the total height it may
2917 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2920 // Also expose some other interesting protected methods
2923 // find the index of the line we need to show at the top of the window such
2924 // that the last (fully or partially) visible line is the given one
2925 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2926 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2928 // get the total height of the lines between lineMin (inclusive) and
2929 // lineMax (exclusive)
2930 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2931 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2933 // update the thumb size shown by the scrollbar
2934 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2936 // remove the scrollbar completely because we don't need it
2937 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2942 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2944 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2945 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2946 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2950 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2953 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2954 return SWIG_TypeError
;
2957 *val
= (unsigned long)v
;
2962 SWIGINTERNINLINE
int
2963 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2966 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2967 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 SWIGINTERNINLINE PyObject
*
2973 SWIG_From_unsigned_SS_long (unsigned long value
)
2975 return (value
> LONG_MAX
) ?
2976 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2980 SWIGINTERNINLINE PyObject
*
2981 SWIG_From_size_t (size_t value
)
2983 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2987 #include <wx/vlbox.h>
2989 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2991 class wxPyVListBox
: public wxVListBox
2993 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2995 wxPyVListBox() : wxVListBox() {}
2997 wxPyVListBox(wxWindow
*parent
,
2998 wxWindowID id
= wxID_ANY
,
2999 const wxPoint
& pos
= wxDefaultPosition
,
3000 const wxSize
& size
= wxDefaultSize
,
3002 const wxString
& name
= wxPyVListBoxNameStr
)
3003 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3006 // Overridable virtuals
3008 // the derived class must implement this function to actually draw the item
3009 // with the given index on the provided DC
3010 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3014 // the derived class must implement this method to return the height of the
3016 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3017 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3020 // this method may be used to draw separators between the lines; note that
3021 // the rectangle may be modified, typically to deflate it a bit before
3022 // passing to OnDrawItem()
3024 // the base class version doesn't do anything
3025 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3026 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3029 // this method is used to draw the items background and, maybe, a border
3032 // the base class version implements a reasonable default behaviour which
3033 // consists in drawing the selected item with the standard background
3034 // colour and drawing a border around the item if it is either selected or
3036 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3037 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3043 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3045 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3046 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3047 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3048 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3051 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3052 unsigned long cookie
= 0;
3053 int selected
= self
->GetFirstSelected(cookie
);
3054 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3055 PyObject
* tup
= PyTuple_New(2);
3056 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3057 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3058 wxPyEndBlockThreads(blocked
);
3061 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3062 int selected
= self
->GetNextSelected(cookie
);
3063 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3064 PyObject
* tup
= PyTuple_New(2);
3065 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3066 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3067 wxPyEndBlockThreads(blocked
);
3071 #include <wx/htmllbox.h>
3074 class wxPyHtmlListBox
: public wxHtmlListBox
3076 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3078 wxPyHtmlListBox() : wxHtmlListBox() {}
3080 wxPyHtmlListBox(wxWindow
*parent
,
3081 wxWindowID id
= wxID_ANY
,
3082 const wxPoint
& pos
= wxDefaultPosition
,
3083 const wxSize
& size
= wxDefaultSize
,
3085 const wxString
& name
= wxPyVListBoxNameStr
)
3086 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3089 // Overridable virtuals
3091 // this method must be implemented in the derived class and should return
3092 // the body (i.e. without <html>) of the HTML for the given item
3093 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3095 // this function may be overridden to decorate HTML returned by OnGetItem()
3096 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3098 // These are from wxVListBox
3099 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3100 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3103 // // this method allows to customize the selection appearance: it may be used
3104 // // to specify the colour of the text which normally has the given colour
3105 // // colFg when it is inside the selection
3107 // // by default, the original colour is not used at all and all text has the
3108 // // same (default for this system) colour inside selection
3109 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3111 // // this is the same as GetSelectedTextColour() but allows to customize the
3112 // // background colour -- this is even more rarely used as you can change it
3113 // // globally using SetSelectionBackground()
3114 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3117 // This method may be overriden to handle clicking on a link in
3118 // the listbox. By default, clicking links is ignored.
3119 virtual void OnLinkClicked(size_t n
,
3120 const wxHtmlLinkInfo
& link
);
3126 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3128 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3129 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3130 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3131 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3134 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3135 const wxHtmlLinkInfo
& link
) {
3137 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3138 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3139 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3140 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3143 wxPyEndBlockThreads(blocked
);
3145 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3152 #ifndef wxHAS_TASK_BAR_ICON
3153 // implement dummy classes for platforms that don't have it
3155 class wxTaskBarIcon
: public wxEvtHandler
3158 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3162 class wxTaskBarIconEvent
: public wxEvent
3165 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3166 { wxPyRaiseNotImplemented(); }
3167 virtual wxEvent
* Clone() const { return NULL
; }
3168 bool IsOk() const { return false; }
3169 bool IsIconInstalled() const { return false; }
3170 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3171 bool RemoveIcon() { return false; }
3172 bool PopupMenu(wxMenu
*menu
) { return false; }
3176 wxEVT_TASKBAR_MOVE
= 0,
3177 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3178 wxEVT_TASKBAR_LEFT_UP
= 0,
3179 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3180 wxEVT_TASKBAR_RIGHT_UP
= 0,
3181 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3182 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3187 // Otherwise make a class that can virtualize CreatePopupMenu
3188 class wxPyTaskBarIcon
: public wxTaskBarIcon
3190 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3192 wxPyTaskBarIcon() : wxTaskBarIcon()
3195 wxMenu
* CreatePopupMenu() {
3196 wxMenu
*rval
= NULL
;
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3202 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3204 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3209 wxPyEndBlockThreads(blocked
);
3211 rval
= wxTaskBarIcon::CreatePopupMenu();
3218 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3222 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3226 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3227 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3228 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3229 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3230 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3231 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3233 // for compatibility only
3234 #define wxHIDE_READONLY 0
3236 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3238 self
->GetFilenames(arr
);
3239 return wxArrayString2PyList_helper(arr
);
3241 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3243 self
->GetPaths(arr
);
3244 return wxArrayString2PyList_helper(arr
);
3246 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3247 return wxArrayInt2PyList_helper(self
->GetSelections());
3249 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
){
3250 return new wxSingleChoiceDialog(parent
, message
, caption
,
3251 choices
, choices_array
, NULL
, style
, pos
);
3253 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3255 SWIGINTERNINLINE PyObject
*
3256 SWIG_From_bool (bool value
)
3258 return PyBool_FromLong(value
? 1 : 0);
3264 // C++ version of Python aware wxWindow
3265 class wxPyWindow
: public wxWindow
3267 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3269 wxPyWindow() : wxWindow() {}
3270 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3271 const wxPoint
& pos
= wxDefaultPosition
,
3272 const wxSize
& size
= wxDefaultSize
,
3274 const wxString
& name
= wxPyPanelNameStr
)
3275 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3277 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3279 bool DoEraseBackground(wxDC
* dc
) {
3281 return wxWindow::DoEraseBackground(dc
->GetHDC());
3283 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3301 DEC_PYCALLBACK__(InitDialog
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3304 DEC_PYCALLBACK_BOOL_(Validate
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3325 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3337 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3349 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3352 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3354 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3356 // C++ version of Python aware wxPanel
3357 class wxPyPanel
: public wxPanel
3359 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3361 wxPyPanel() : wxPanel() {}
3362 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3363 const wxPoint
& pos
= wxDefaultPosition
,
3364 const wxSize
& size
= wxDefaultSize
,
3366 const wxString
& name
= wxPyPanelNameStr
)
3367 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3369 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3370 bool DoEraseBackground(wxDC
* dc
) {
3372 return wxWindow::DoEraseBackground(dc
->GetHDC());
3374 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3381 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3382 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3390 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3391 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3393 DEC_PYCALLBACK__(InitDialog
);
3394 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3395 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3396 DEC_PYCALLBACK_BOOL_(Validate
);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3400 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3403 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3405 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3406 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3408 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3410 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3415 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3417 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3418 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3429 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3441 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3442 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3444 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3446 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3448 // C++ version of Python aware wxScrolledWindow
3449 class wxPyScrolledWindow
: public wxScrolledWindow
3451 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3453 wxPyScrolledWindow() : wxScrolledWindow() {}
3454 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3455 const wxPoint
& pos
= wxDefaultPosition
,
3456 const wxSize
& size
= wxDefaultSize
,
3458 const wxString
& name
= wxPyPanelNameStr
)
3459 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3461 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3462 bool DoEraseBackground(wxDC
* dc
) {
3464 return wxWindow::DoEraseBackground(dc
->GetHDC());
3466 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3484 DEC_PYCALLBACK__(InitDialog
);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3487 DEC_PYCALLBACK_BOOL_(Validate
);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3506 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3508 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3509 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3520 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3533 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3537 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3540 #include "wx/wxPython/printfw.h"
3543 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3545 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3547 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3548 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3549 self
->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked
);
3553 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3554 if (! PyString_Check(data
)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3556 "Expected string object"));
3560 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3561 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3562 wxPyEndBlockThreads(blocked
);
3566 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3568 // Since this one would be tough and ugly to do with the Macros...
3569 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3570 bool hadErr
= false;
3573 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3574 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3575 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3576 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3579 val
= PyTuple_GetItem(result
, 0);
3580 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3583 val
= PyTuple_GetItem(result
, 1);
3584 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3587 val
= PyTuple_GetItem(result
, 2);
3588 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3591 val
= PyTuple_GetItem(result
, 3);
3592 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3599 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3604 wxPyEndBlockThreads(blocked
);
3606 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3611 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3616 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3617 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3623 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3627 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3639 wxPyEndBlockThreads(blocked); \
3641 rval = PCLASS::CBNAME(a, b); \
3648 class wxPyPrintPreview
: public wxPrintPreview
3650 DECLARE_CLASS(wxPyPrintPreview
)
3652 wxPyPrintPreview(wxPyPrintout
* printout
,
3653 wxPyPrintout
* printoutForPrinting
,
3654 wxPrintDialogData
* data
=NULL
)
3655 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3657 wxPyPrintPreview(wxPyPrintout
* printout
,
3658 wxPyPrintout
* printoutForPrinting
,
3660 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3674 // Stupid renamed classes... Fix this in 2.5...
3675 #if defined(__WXMSW__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3677 #elif defined(__WXMAC__)
3678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3680 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3686 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3687 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3688 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3689 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3692 class wxPyPreviewFrame
: public wxPreviewFrame
3694 DECLARE_CLASS(wxPyPreviewFrame
)
3696 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3697 const wxString
& title
,
3698 const wxPoint
& pos
= wxDefaultPosition
,
3699 const wxSize
& size
= wxDefaultSize
,
3700 long style
= wxDEFAULT_FRAME_STYLE
,
3701 const wxString
& name
= wxPyFrameNameStr
)
3702 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3705 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3706 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3708 DEC_PYCALLBACK_VOID_(Initialize
);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3715 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3722 class wxPyPreviewControlBar
: public wxPreviewControlBar
3724 DECLARE_CLASS(wxPyPreviewControlBar
)
3726 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3729 const wxPoint
& pos
= wxDefaultPosition
,
3730 const wxSize
& size
= wxDefaultSize
,
3732 const wxString
& name
= wxPyPanelNameStr
)
3733 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3736 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3738 DEC_PYCALLBACK_VOID_(CreateButtons
);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3744 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3745 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3746 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3751 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
= 0;
3753 wxWindow
*arg1
= (wxWindow
*) 0 ;
3754 int arg2
= (int) (int)-1 ;
3755 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3756 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3757 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3758 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3759 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3760 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3762 wxPanel
*result
= 0 ;
3771 bool temp6
= false ;
3772 PyObject
* obj0
= 0 ;
3773 PyObject
* obj1
= 0 ;
3774 PyObject
* obj2
= 0 ;
3775 PyObject
* obj3
= 0 ;
3776 PyObject
* obj4
= 0 ;
3777 PyObject
* obj5
= 0 ;
3778 char * kwnames
[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3790 if (!SWIG_IsOK(ecode2
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3793 arg2
= static_cast< int >(val2
);
3798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3808 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3809 if (!SWIG_IsOK(ecode5
)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3812 arg5
= static_cast< long >(val5
);
3816 arg6
= wxString_in_helper(obj5
);
3817 if (arg6
== NULL
) SWIG_fail
;
3822 if (!wxPyCheckForApp()) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3843 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3844 PyObject
*resultobj
= 0;
3845 wxPanel
*result
= 0 ;
3847 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3849 if (!wxPyCheckForApp()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxPanel
*)new wxPanel();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3862 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
= 0;
3864 wxPanel
*arg1
= (wxPanel
*) 0 ;
3865 wxWindow
*arg2
= (wxWindow
*) 0 ;
3866 int arg3
= (int) (int)-1 ;
3867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3871 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3872 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3885 bool temp7
= false ;
3886 PyObject
* obj0
= 0 ;
3887 PyObject
* obj1
= 0 ;
3888 PyObject
* obj2
= 0 ;
3889 PyObject
* obj3
= 0 ;
3890 PyObject
* obj4
= 0 ;
3891 PyObject
* obj5
= 0 ;
3892 PyObject
* obj6
= 0 ;
3893 char * kwnames
[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3899 if (!SWIG_IsOK(res1
)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3902 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3904 if (!SWIG_IsOK(res2
)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3910 if (!SWIG_IsOK(ecode3
)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3913 arg3
= static_cast< int >(val3
);
3918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3928 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3929 if (!SWIG_IsOK(ecode6
)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3932 arg6
= static_cast< long >(val6
);
3936 arg7
= wxString_in_helper(obj6
);
3937 if (arg7
== NULL
) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3964 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3965 PyObject
*resultobj
= 0;
3966 wxPanel
*arg1
= (wxPanel
*) 0 ;
3969 PyObject
*swig_obj
[1] ;
3971 if (!args
) SWIG_fail
;
3973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3974 if (!SWIG_IsOK(res1
)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3977 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= SWIG_Py_Void();
3991 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
= 0;
3993 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3994 SwigValueWrapper
<wxVisualAttributes
> result
;
3997 PyObject
* obj0
= 0 ;
3998 char * kwnames
[] = {
3999 (char *) "variant", NULL
4002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4005 if (!SWIG_IsOK(ecode1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4008 arg1
= static_cast< wxWindowVariant
>(val1
);
4011 if (!wxPyCheckForApp()) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4024 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4028 return SWIG_Py_Void();
4031 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4032 return SWIG_Python_InitShadowInstance(args
);
4035 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
= 0;
4037 wxWindow
*arg1
= (wxWindow
*) 0 ;
4038 int arg2
= (int) (int)-1 ;
4039 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4040 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4041 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4042 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4043 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4044 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4045 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4046 wxScrolledWindow
*result
= 0 ;
4055 bool temp6
= false ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4058 PyObject
* obj2
= 0 ;
4059 PyObject
* obj3
= 0 ;
4060 PyObject
* obj4
= 0 ;
4061 PyObject
* obj5
= 0 ;
4062 char * kwnames
[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4068 if (!SWIG_IsOK(res1
)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4074 if (!SWIG_IsOK(ecode2
)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4077 arg2
= static_cast< int >(val2
);
4082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4088 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4092 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4093 if (!SWIG_IsOK(ecode5
)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4096 arg5
= static_cast< long >(val5
);
4100 arg6
= wxString_in_helper(obj5
);
4101 if (arg6
== NULL
) SWIG_fail
;
4106 if (!wxPyCheckForApp()) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4127 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4128 PyObject
*resultobj
= 0;
4129 wxScrolledWindow
*result
= 0 ;
4131 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4133 if (!wxPyCheckForApp()) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4146 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
= 0;
4148 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4149 wxWindow
*arg2
= (wxWindow
*) 0 ;
4150 int arg3
= (int) (int)-1 ;
4151 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4152 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4153 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4154 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4155 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4156 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4157 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4169 bool temp7
= false ;
4170 PyObject
* obj0
= 0 ;
4171 PyObject
* obj1
= 0 ;
4172 PyObject
* obj2
= 0 ;
4173 PyObject
* obj3
= 0 ;
4174 PyObject
* obj4
= 0 ;
4175 PyObject
* obj5
= 0 ;
4176 PyObject
* obj6
= 0 ;
4177 char * kwnames
[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4183 if (!SWIG_IsOK(res1
)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4186 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4188 if (!SWIG_IsOK(res2
)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4191 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4194 if (!SWIG_IsOK(ecode3
)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4197 arg3
= static_cast< int >(val3
);
4202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4212 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4213 if (!SWIG_IsOK(ecode6
)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4216 arg6
= static_cast< long >(val6
);
4220 arg7
= wxString_in_helper(obj6
);
4221 if (arg7
== NULL
) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4248 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
= 0;
4250 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4255 int arg6
= (int) 0 ;
4256 int arg7
= (int) 0 ;
4257 bool arg8
= (bool) false ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj2
= 0 ;
4277 PyObject
* obj3
= 0 ;
4278 PyObject
* obj4
= 0 ;
4279 PyObject
* obj5
= 0 ;
4280 PyObject
* obj6
= 0 ;
4281 PyObject
* obj7
= 0 ;
4282 char * kwnames
[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4288 if (!SWIG_IsOK(res1
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4291 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4293 if (!SWIG_IsOK(ecode2
)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4296 arg2
= static_cast< int >(val2
);
4297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4298 if (!SWIG_IsOK(ecode3
)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4301 arg3
= static_cast< int >(val3
);
4302 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4303 if (!SWIG_IsOK(ecode4
)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4306 arg4
= static_cast< int >(val4
);
4307 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4308 if (!SWIG_IsOK(ecode5
)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4311 arg5
= static_cast< int >(val5
);
4313 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4314 if (!SWIG_IsOK(ecode6
)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4317 arg6
= static_cast< int >(val6
);
4320 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4321 if (!SWIG_IsOK(ecode7
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4324 arg7
= static_cast< int >(val7
);
4327 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4328 if (!SWIG_IsOK(ecode8
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4331 arg8
= static_cast< bool >(val8
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_Py_Void();
4346 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
= 0;
4348 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 PyObject
* obj2
= 0 ;
4360 char * kwnames
[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4366 if (!SWIG_IsOK(res1
)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4369 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4371 if (!SWIG_IsOK(ecode2
)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4374 arg2
= static_cast< int >(val2
);
4375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4376 if (!SWIG_IsOK(ecode3
)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4379 arg3
= static_cast< int >(val3
);
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 (arg1
)->Scroll(arg2
,arg3
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_Py_Void();
4393 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
= 0;
4395 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4404 char * kwnames
[] = {
4405 (char *) "self",(char *) "orient", NULL
4408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4410 if (!SWIG_IsOK(res1
)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4413 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4415 if (!SWIG_IsOK(ecode2
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4418 arg2
= static_cast< int >(val2
);
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= SWIG_From_int(static_cast< int >(result
));
4432 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
= 0;
4434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj1
= 0 ;
4445 PyObject
* obj2
= 0 ;
4446 char * kwnames
[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4452 if (!SWIG_IsOK(res1
)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4455 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4457 if (!SWIG_IsOK(ecode2
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4460 arg2
= static_cast< int >(val2
);
4461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4462 if (!SWIG_IsOK(ecode3
)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4465 arg3
= static_cast< int >(val3
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_Py_Void();
4479 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4492 PyObject
* obj2
= 0 ;
4493 char * kwnames
[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4499 if (!SWIG_IsOK(res1
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4502 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4504 if (!SWIG_IsOK(ecode2
)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4507 arg2
= static_cast< int >(val2
);
4508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4509 if (!SWIG_IsOK(ecode3
)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4512 arg3
= static_cast< int >(val3
);
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 (arg1
)->SetScrollRate(arg2
,arg3
);
4516 wxPyEndAllowThreads(__tstate
);
4517 if (PyErr_Occurred()) SWIG_fail
;
4519 resultobj
= SWIG_Py_Void();
4526 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4527 PyObject
*resultobj
= 0;
4528 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4529 int *arg2
= (int *) 0 ;
4530 int *arg3
= (int *) 0 ;
4534 int res2
= SWIG_TMPOBJ
;
4536 int res3
= SWIG_TMPOBJ
;
4537 PyObject
*swig_obj
[1] ;
4541 if (!args
) SWIG_fail
;
4543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4544 if (!SWIG_IsOK(res1
)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4547 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2
)) {
4556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4558 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4561 if (SWIG_IsTmpObj(res3
)) {
4562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4564 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4573 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4586 PyObject
* obj2
= 0 ;
4587 char * kwnames
[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4593 if (!SWIG_IsOK(res1
)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4596 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4597 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4598 if (!SWIG_IsOK(ecode2
)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4601 arg2
= static_cast< bool >(val2
);
4602 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4603 if (!SWIG_IsOK(ecode3
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4606 arg3
= static_cast< bool >(val3
);
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 (arg1
)->EnableScrolling(arg2
,arg3
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_Py_Void();
4620 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 PyObject
*resultobj
= 0;
4622 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4623 int *arg2
= (int *) 0 ;
4624 int *arg3
= (int *) 0 ;
4628 int res2
= SWIG_TMPOBJ
;
4630 int res3
= SWIG_TMPOBJ
;
4631 PyObject
*swig_obj
[1] ;
4635 if (!args
) SWIG_fail
;
4637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4638 if (!SWIG_IsOK(res1
)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4641 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2
)) {
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4652 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4655 if (SWIG_IsTmpObj(res3
)) {
4656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4658 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4667 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= 0;
4669 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4680 PyObject
* obj2
= 0 ;
4681 char * kwnames
[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4687 if (!SWIG_IsOK(res1
)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4690 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4691 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4692 if (!SWIG_IsOK(ecode2
)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4695 arg2
= static_cast< double >(val2
);
4696 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4697 if (!SWIG_IsOK(ecode3
)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4700 arg3
= static_cast< double >(val3
);
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 (arg1
)->SetScale(arg2
,arg3
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_Py_Void();
4714 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4715 PyObject
*resultobj
= 0;
4716 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4720 PyObject
*swig_obj
[1] ;
4722 if (!args
) SWIG_fail
;
4724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4725 if (!SWIG_IsOK(res1
)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4728 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= SWIG_From_double(static_cast< double >(result
));
4742 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 PyObject
*resultobj
= 0;
4744 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4748 PyObject
*swig_obj
[1] ;
4750 if (!args
) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4756 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_From_double(static_cast< double >(result
));
4770 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4771 PyObject
*resultobj
= 0;
4772 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4779 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4781 if (!SWIG_IsOK(res1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4784 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4787 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4802 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4803 PyObject
*resultobj
= 0;
4804 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4807 int *arg4
= (int *) 0 ;
4808 int *arg5
= (int *) 0 ;
4816 int res4
= SWIG_TMPOBJ
;
4818 int res5
= SWIG_TMPOBJ
;
4822 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4824 if (!SWIG_IsOK(res1
)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4827 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4828 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4829 if (!SWIG_IsOK(ecode2
)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4832 arg2
= static_cast< int >(val2
);
4833 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4834 if (!SWIG_IsOK(ecode3
)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4837 arg3
= static_cast< int >(val3
);
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4
)) {
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4848 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4851 if (SWIG_IsTmpObj(res5
)) {
4852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4854 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4863 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4867 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4882 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4883 PyObject
*resultobj
= 0;
4884 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4891 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4893 if (!SWIG_IsOK(res1
)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4896 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4899 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4914 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4915 PyObject
*resultobj
= 0;
4916 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4919 int *arg4
= (int *) 0 ;
4920 int *arg5
= (int *) 0 ;
4928 int res4
= SWIG_TMPOBJ
;
4930 int res5
= SWIG_TMPOBJ
;
4934 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4936 if (!SWIG_IsOK(res1
)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4939 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4940 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4941 if (!SWIG_IsOK(ecode2
)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4944 arg2
= static_cast< int >(val2
);
4945 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4946 if (!SWIG_IsOK(ecode3
)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4949 arg3
= static_cast< int >(val3
);
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4
)) {
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4960 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4963 if (SWIG_IsTmpObj(res5
)) {
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4966 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4975 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4979 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4994 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4995 PyObject
*resultobj
= 0;
4996 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4999 PyObject
*swig_obj
[1] ;
5001 if (!args
) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5007 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_Py_Void();
5021 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5024 wxScrollWinEvent
*arg2
= 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "self",(char *) "event", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5038 if (!SWIG_IsOK(res1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5041 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5043 if (!SWIG_IsOK(res2
)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5049 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_From_int(static_cast< int >(result
));
5063 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
= 0;
5065 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5066 wxWindow
*arg2
= (wxWindow
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "target", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5082 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5084 if (!SWIG_IsOK(res2
)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetTargetWindow(arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_Py_Void();
5101 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5102 PyObject
*resultobj
= 0;
5103 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5104 wxWindow
*result
= 0 ;
5107 PyObject
*swig_obj
[1] ;
5109 if (!args
) SWIG_fail
;
5111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5112 if (!SWIG_IsOK(res1
)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5115 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= wxPyMake_wxObject(result
, 0);
5131 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= 0;
5133 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "dc", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5150 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5152 if (!SWIG_IsOK(res2
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5158 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 (arg1
)->DoPrepareDC(*arg2
);
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_Py_Void();
5172 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
= 0;
5174 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5175 SwigValueWrapper
<wxVisualAttributes
> result
;
5178 PyObject
* obj0
= 0 ;
5179 char * kwnames
[] = {
5180 (char *) "variant", NULL
5183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5186 if (!SWIG_IsOK(ecode1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5189 arg1
= static_cast< wxWindowVariant
>(val1
);
5192 if (!wxPyCheckForApp()) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5205 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5208 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5209 return SWIG_Py_Void();
5212 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5213 return SWIG_Python_InitShadowInstance(args
);
5216 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5217 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5222 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5223 PyObject
*pyobj
= 0;
5227 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5229 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5236 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5237 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5242 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5243 PyObject
*pyobj
= 0;
5247 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5249 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5256 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5257 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5262 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5263 PyObject
*pyobj
= 0;
5267 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5269 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5276 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5277 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5282 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5283 PyObject
*pyobj
= 0;
5287 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5289 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5296 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
= 0;
5298 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5299 bool arg2
= (bool) true ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5306 char * kwnames
[] = {
5307 (char *) "self",(char *) "maximize", NULL
5310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5312 if (!SWIG_IsOK(res1
)) {
5313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5315 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5318 if (!SWIG_IsOK(ecode2
)) {
5319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5321 arg2
= static_cast< bool >(val2
);
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 (arg1
)->Maximize(arg2
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= SWIG_Py_Void();
5336 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5337 PyObject
*resultobj
= 0;
5338 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5341 PyObject
*swig_obj
[1] ;
5343 if (!args
) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5349 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_Py_Void();
5363 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= 0;
5365 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5366 bool arg2
= (bool) true ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 char * kwnames
[] = {
5374 (char *) "self",(char *) "iconize", NULL
5377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5379 if (!SWIG_IsOK(res1
)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5382 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5384 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5385 if (!SWIG_IsOK(ecode2
)) {
5386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5388 arg2
= static_cast< bool >(val2
);
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->Iconize(arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_Py_Void();
5403 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5404 PyObject
*resultobj
= 0;
5405 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5409 PyObject
*swig_obj
[1] ;
5411 if (!args
) SWIG_fail
;
5413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5414 if (!SWIG_IsOK(res1
)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5417 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5433 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5434 PyObject
*resultobj
= 0;
5435 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5439 PyObject
*swig_obj
[1] ;
5441 if (!args
) SWIG_fail
;
5443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5444 if (!SWIG_IsOK(res1
)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5447 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5463 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5464 PyObject
*resultobj
= 0;
5465 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5469 PyObject
*swig_obj
[1] ;
5471 if (!args
) SWIG_fail
;
5473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5474 if (!SWIG_IsOK(res1
)) {
5475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5477 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5493 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5494 PyObject
*resultobj
= 0;
5495 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5499 PyObject
*swig_obj
[1] ;
5501 if (!args
) SWIG_fail
;
5503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5504 if (!SWIG_IsOK(res1
)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5507 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5521 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
= 0;
5523 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5531 char * kwnames
[] = {
5532 (char *) "self",(char *) "icon", NULL
5535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5537 if (!SWIG_IsOK(res1
)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5540 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5542 if (!SWIG_IsOK(res2
)) {
5543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5548 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= SWIG_Py_Void();
5562 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
= 0;
5564 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5565 wxIconBundle
*arg2
= 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 char * kwnames
[] = {
5573 (char *) "self",(char *) "icons", NULL
5576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5581 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5583 if (!SWIG_IsOK(res2
)) {
5584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5589 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_Py_Void();
5603 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
= 0;
5605 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5607 long arg3
= (long) wxFULLSCREEN_ALL
;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 PyObject
* obj2
= 0 ;
5618 char * kwnames
[] = {
5619 (char *) "self",(char *) "show",(char *) "style", NULL
5622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5624 if (!SWIG_IsOK(res1
)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5627 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5628 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5629 if (!SWIG_IsOK(ecode2
)) {
5630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5632 arg2
= static_cast< bool >(val2
);
5634 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5635 if (!SWIG_IsOK(ecode3
)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5638 arg3
= static_cast< long >(val3
);
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5655 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 PyObject
*resultobj
= 0;
5657 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5661 PyObject
*swig_obj
[1] ;
5663 if (!args
) SWIG_fail
;
5665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5666 if (!SWIG_IsOK(res1
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5669 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5685 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
= 0;
5687 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5688 wxString
*arg2
= 0 ;
5691 bool temp2
= false ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5694 char * kwnames
[] = {
5695 (char *) "self",(char *) "title", NULL
5698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5700 if (!SWIG_IsOK(res1
)) {
5701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5703 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5705 arg2
= wxString_in_helper(obj1
);
5706 if (arg2
== NULL
) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 (arg1
)->SetTitle((wxString
const &)*arg2
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= SWIG_Py_Void();
5730 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5731 PyObject
*resultobj
= 0;
5732 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5736 PyObject
*swig_obj
[1] ;
5738 if (!args
) SWIG_fail
;
5740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5741 if (!SWIG_IsOK(res1
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5744 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5764 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
= 0;
5766 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5767 wxRegion
*arg2
= 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5775 char * kwnames
[] = {
5776 (char *) "self",(char *) "region", NULL
5779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5781 if (!SWIG_IsOK(res1
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5784 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5786 if (!SWIG_IsOK(res2
)) {
5787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5792 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5808 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
= 0;
5810 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5811 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5816 PyObject
* obj0
= 0 ;
5817 PyObject
* obj1
= 0 ;
5818 char * kwnames
[] = {
5819 (char *) "self",(char *) "flags", NULL
5822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5824 if (!SWIG_IsOK(res1
)) {
5825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5827 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5830 if (!SWIG_IsOK(ecode2
)) {
5831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5833 arg2
= static_cast< int >(val2
);
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 (arg1
)->RequestUserAttention(arg2
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= SWIG_Py_Void();
5848 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5849 PyObject
*resultobj
= 0;
5850 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5854 PyObject
*swig_obj
[1] ;
5856 if (!args
) SWIG_fail
;
5858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5859 if (!SWIG_IsOK(res1
)) {
5860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5862 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= (bool)(arg1
)->IsActive();
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5878 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
= 0;
5880 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 char * kwnames
[] = {
5889 (char *) "self",(char *) "on", NULL
5892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5894 if (!SWIG_IsOK(res1
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5897 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5898 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5899 if (!SWIG_IsOK(ecode2
)) {
5900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5902 arg2
= static_cast< bool >(val2
);
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= SWIG_Py_Void();
5916 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5917 PyObject
*resultobj
= 0;
5918 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5922 PyObject
*swig_obj
[1] ;
5924 if (!args
) SWIG_fail
;
5926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5927 if (!SWIG_IsOK(res1
)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5930 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5946 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
= 0;
5948 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5949 int arg2
= (int) wxBOTH
;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5956 char * kwnames
[] = {
5957 (char *) "self",(char *) "dir", NULL
5960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5962 if (!SWIG_IsOK(res1
)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5965 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5968 if (!SWIG_IsOK(ecode2
)) {
5969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5971 arg2
= static_cast< int >(val2
);
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 (arg1
)->CenterOnScreen(arg2
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= SWIG_Py_Void();
5986 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
= 0;
5988 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5989 bool arg2
= (bool) true ;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5997 char * kwnames
[] = {
5998 (char *) "self",(char *) "enable", NULL
6001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6003 if (!SWIG_IsOK(res1
)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6006 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6008 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6009 if (!SWIG_IsOK(ecode2
)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6012 arg2
= static_cast< bool >(val2
);
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (bool)wxTopLevelWindow_EnableCloseButton(arg1
,arg2
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6029 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6030 PyObject
*resultobj
= 0;
6031 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6032 wxWindow
*result
= 0 ;
6035 PyObject
*swig_obj
[1] ;
6037 if (!args
) SWIG_fail
;
6039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6040 if (!SWIG_IsOK(res1
)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6043 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= wxPyMake_wxObject(result
, 0);
6059 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
= 0;
6061 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6062 wxWindow
*arg2
= (wxWindow
*) 0 ;
6063 wxWindow
*result
= 0 ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6070 char * kwnames
[] = {
6071 (char *) "self",(char *) "child", NULL
6074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6076 if (!SWIG_IsOK(res1
)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6079 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6081 if (!SWIG_IsOK(res2
)) {
6082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= wxPyMake_wxObject(result
, 0);
6100 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
= 0;
6102 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6103 wxWindow
*arg2
= (wxWindow
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6109 PyObject
* obj1
= 0 ;
6110 char * kwnames
[] = {
6111 (char *) "self",(char *) "win", NULL
6114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6116 if (!SWIG_IsOK(res1
)) {
6117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6119 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6121 if (!SWIG_IsOK(res2
)) {
6122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6124 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 (arg1
)->SetTmpDefaultItem(arg2
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 resultobj
= SWIG_Py_Void();
6138 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6139 PyObject
*resultobj
= 0;
6140 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6141 wxWindow
*result
= 0 ;
6144 PyObject
*swig_obj
[1] ;
6146 if (!args
) SWIG_fail
;
6148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6149 if (!SWIG_IsOK(res1
)) {
6150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6152 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= wxPyMake_wxObject(result
, 0);
6168 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6171 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6172 return SWIG_Py_Void();
6175 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
= 0;
6177 wxWindow
*arg1
= (wxWindow
*) 0 ;
6178 int arg2
= (int) (int)-1 ;
6179 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6180 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6181 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6182 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6183 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6184 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6185 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6186 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6187 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6188 wxFrame
*result
= 0 ;
6193 bool temp3
= false ;
6198 bool temp7
= false ;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj1
= 0 ;
6201 PyObject
* obj2
= 0 ;
6202 PyObject
* obj3
= 0 ;
6203 PyObject
* obj4
= 0 ;
6204 PyObject
* obj5
= 0 ;
6205 PyObject
* obj6
= 0 ;
6206 char * kwnames
[] = {
6207 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6215 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6218 if (!SWIG_IsOK(ecode2
)) {
6219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6221 arg2
= static_cast< int >(val2
);
6225 arg3
= wxString_in_helper(obj2
);
6226 if (arg3
== NULL
) SWIG_fail
;
6233 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6239 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6243 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6244 if (!SWIG_IsOK(ecode6
)) {
6245 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6247 arg6
= static_cast< long >(val6
);
6251 arg7
= wxString_in_helper(obj6
);
6252 if (arg7
== NULL
) SWIG_fail
;
6257 if (!wxPyCheckForApp()) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6286 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6287 PyObject
*resultobj
= 0;
6288 wxFrame
*result
= 0 ;
6290 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6292 if (!wxPyCheckForApp()) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (wxFrame
*)new wxFrame();
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6305 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
= 0;
6307 wxFrame
*arg1
= (wxFrame
*) 0 ;
6308 wxWindow
*arg2
= (wxWindow
*) 0 ;
6309 int arg3
= (int) (int)-1 ;
6310 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6311 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6312 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6313 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6314 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6315 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6316 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6317 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6318 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6326 bool temp4
= false ;
6331 bool temp8
= false ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6334 PyObject
* obj2
= 0 ;
6335 PyObject
* obj3
= 0 ;
6336 PyObject
* obj4
= 0 ;
6337 PyObject
* obj5
= 0 ;
6338 PyObject
* obj6
= 0 ;
6339 PyObject
* obj7
= 0 ;
6340 char * kwnames
[] = {
6341 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6346 if (!SWIG_IsOK(res1
)) {
6347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6349 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6351 if (!SWIG_IsOK(res2
)) {
6352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6354 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6357 if (!SWIG_IsOK(ecode3
)) {
6358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6360 arg3
= static_cast< int >(val3
);
6364 arg4
= wxString_in_helper(obj3
);
6365 if (arg4
== NULL
) SWIG_fail
;
6372 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6378 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6382 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6383 if (!SWIG_IsOK(ecode7
)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6386 arg7
= static_cast< long >(val7
);
6390 arg8
= wxString_in_helper(obj7
);
6391 if (arg8
== NULL
) SWIG_fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6426 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6427 PyObject
*resultobj
= 0;
6428 wxFrame
*arg1
= (wxFrame
*) 0 ;
6431 PyObject
*swig_obj
[1] ;
6433 if (!args
) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6439 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 (arg1
)->SendSizeEvent();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= SWIG_Py_Void();
6453 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
= 0;
6455 wxFrame
*arg1
= (wxFrame
*) 0 ;
6456 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6463 char * kwnames
[] = {
6464 (char *) "self",(char *) "menubar", NULL
6467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6469 if (!SWIG_IsOK(res1
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6472 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6474 if (!SWIG_IsOK(res2
)) {
6475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6477 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 (arg1
)->SetMenuBar(arg2
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_Py_Void();
6491 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6492 PyObject
*resultobj
= 0;
6493 wxFrame
*arg1
= (wxFrame
*) 0 ;
6494 wxMenuBar
*result
= 0 ;
6497 PyObject
*swig_obj
[1] ;
6499 if (!args
) SWIG_fail
;
6501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6502 if (!SWIG_IsOK(res1
)) {
6503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6505 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= wxPyMake_wxObject(result
, 0);
6521 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
= 0;
6523 wxFrame
*arg1
= (wxFrame
*) 0 ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6532 char * kwnames
[] = {
6533 (char *) "self",(char *) "winid", NULL
6536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6538 if (!SWIG_IsOK(res1
)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6541 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6543 if (!SWIG_IsOK(ecode2
)) {
6544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6546 arg2
= static_cast< int >(val2
);
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6562 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= 0;
6564 wxFrame
*arg1
= (wxFrame
*) 0 ;
6565 int arg2
= (int) 1 ;
6566 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6567 int arg4
= (int) 0 ;
6568 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6569 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6570 wxStatusBar
*result
= 0 ;
6579 bool temp5
= false ;
6580 PyObject
* obj0
= 0 ;
6581 PyObject
* obj1
= 0 ;
6582 PyObject
* obj2
= 0 ;
6583 PyObject
* obj3
= 0 ;
6584 PyObject
* obj4
= 0 ;
6585 char * kwnames
[] = {
6586 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6591 if (!SWIG_IsOK(res1
)) {
6592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6594 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6597 if (!SWIG_IsOK(ecode2
)) {
6598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6600 arg2
= static_cast< int >(val2
);
6603 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6604 if (!SWIG_IsOK(ecode3
)) {
6605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6607 arg3
= static_cast< long >(val3
);
6610 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6611 if (!SWIG_IsOK(ecode4
)) {
6612 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6614 arg4
= static_cast< int >(val4
);
6618 arg5
= wxString_in_helper(obj4
);
6619 if (arg5
== NULL
) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6646 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6647 PyObject
*resultobj
= 0;
6648 wxFrame
*arg1
= (wxFrame
*) 0 ;
6649 wxStatusBar
*result
= 0 ;
6652 PyObject
*swig_obj
[1] ;
6654 if (!args
) SWIG_fail
;
6656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6657 if (!SWIG_IsOK(res1
)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6660 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6676 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= 0;
6678 wxFrame
*arg1
= (wxFrame
*) 0 ;
6679 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6684 PyObject
* obj0
= 0 ;
6685 PyObject
* obj1
= 0 ;
6686 char * kwnames
[] = {
6687 (char *) "self",(char *) "statBar", NULL
6690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6695 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6697 if (!SWIG_IsOK(res2
)) {
6698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6700 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 (arg1
)->SetStatusBar(arg2
);
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= SWIG_Py_Void();
6714 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
*resultobj
= 0;
6716 wxFrame
*arg1
= (wxFrame
*) 0 ;
6717 wxString
*arg2
= 0 ;
6718 int arg3
= (int) 0 ;
6721 bool temp2
= false ;
6724 PyObject
* obj0
= 0 ;
6725 PyObject
* obj1
= 0 ;
6726 PyObject
* obj2
= 0 ;
6727 char * kwnames
[] = {
6728 (char *) "self",(char *) "text",(char *) "number", NULL
6731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6733 if (!SWIG_IsOK(res1
)) {
6734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6736 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6738 arg2
= wxString_in_helper(obj1
);
6739 if (arg2
== NULL
) SWIG_fail
;
6743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6744 if (!SWIG_IsOK(ecode3
)) {
6745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6747 arg3
= static_cast< int >(val3
);
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= SWIG_Py_Void();
6770 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
= 0;
6772 wxFrame
*arg1
= (wxFrame
*) 0 ;
6774 int *arg3
= (int *) 0 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6779 char * kwnames
[] = {
6780 (char *) "self",(char *) "widths", NULL
6783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6785 if (!SWIG_IsOK(res1
)) {
6786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6788 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6790 arg2
= PyList_Size(obj1
);
6791 arg3
= int_LIST_helper(obj1
);
6792 if (arg3
== NULL
) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_Py_Void();
6802 if (arg3
) delete [] arg3
;
6807 if (arg3
) delete [] arg3
;
6813 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
= 0;
6815 wxFrame
*arg1
= (wxFrame
*) 0 ;
6816 wxString
*arg2
= 0 ;
6817 int arg3
= (int) 0 ;
6820 bool temp2
= false ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 PyObject
* obj2
= 0 ;
6826 char * kwnames
[] = {
6827 (char *) "self",(char *) "text",(char *) "number", NULL
6830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6832 if (!SWIG_IsOK(res1
)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6835 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6837 arg2
= wxString_in_helper(obj1
);
6838 if (arg2
== NULL
) SWIG_fail
;
6842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6843 if (!SWIG_IsOK(ecode3
)) {
6844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6846 arg3
= static_cast< int >(val3
);
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6854 resultobj
= SWIG_Py_Void();
6869 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
= 0;
6871 wxFrame
*arg1
= (wxFrame
*) 0 ;
6872 int arg2
= (int) 0 ;
6877 PyObject
* obj0
= 0 ;
6878 PyObject
* obj1
= 0 ;
6879 char * kwnames
[] = {
6880 (char *) "self",(char *) "number", NULL
6883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6885 if (!SWIG_IsOK(res1
)) {
6886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6888 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6891 if (!SWIG_IsOK(ecode2
)) {
6892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6894 arg2
= static_cast< int >(val2
);
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 (arg1
)->PopStatusText(arg2
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_Py_Void();
6909 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
= 0;
6911 wxFrame
*arg1
= (wxFrame
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6919 char * kwnames
[] = {
6920 (char *) "self",(char *) "n", NULL
6923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6925 if (!SWIG_IsOK(res1
)) {
6926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6928 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6930 if (!SWIG_IsOK(ecode2
)) {
6931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6933 arg2
= static_cast< int >(val2
);
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 (arg1
)->SetStatusBarPane(arg2
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= SWIG_Py_Void();
6947 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6948 PyObject
*resultobj
= 0;
6949 wxFrame
*arg1
= (wxFrame
*) 0 ;
6953 PyObject
*swig_obj
[1] ;
6955 if (!args
) SWIG_fail
;
6957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6958 if (!SWIG_IsOK(res1
)) {
6959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6961 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= SWIG_From_int(static_cast< int >(result
));
6975 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
= 0;
6977 wxFrame
*arg1
= (wxFrame
*) 0 ;
6978 long arg2
= (long) -1 ;
6979 int arg3
= (int) -1 ;
6980 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6981 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6982 wxToolBar
*result
= 0 ;
6989 bool temp4
= false ;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6992 PyObject
* obj2
= 0 ;
6993 PyObject
* obj3
= 0 ;
6994 char * kwnames
[] = {
6995 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7000 if (!SWIG_IsOK(res1
)) {
7001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7003 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7005 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7006 if (!SWIG_IsOK(ecode2
)) {
7007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7009 arg2
= static_cast< long >(val2
);
7012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7013 if (!SWIG_IsOK(ecode3
)) {
7014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7016 arg3
= static_cast< int >(val3
);
7020 arg4
= wxString_in_helper(obj3
);
7021 if (arg4
== NULL
) SWIG_fail
;
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7048 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7049 PyObject
*resultobj
= 0;
7050 wxFrame
*arg1
= (wxFrame
*) 0 ;
7051 wxToolBar
*result
= 0 ;
7054 PyObject
*swig_obj
[1] ;
7056 if (!args
) SWIG_fail
;
7058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7059 if (!SWIG_IsOK(res1
)) {
7060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7062 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7078 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
= 0;
7080 wxFrame
*arg1
= (wxFrame
*) 0 ;
7081 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7086 PyObject
* obj0
= 0 ;
7087 PyObject
* obj1
= 0 ;
7088 char * kwnames
[] = {
7089 (char *) "self",(char *) "toolbar", NULL
7092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7094 if (!SWIG_IsOK(res1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7097 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7098 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7099 if (!SWIG_IsOK(res2
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7102 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 (arg1
)->SetToolBar(arg2
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_Py_Void();
7116 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
= 0;
7118 wxFrame
*arg1
= (wxFrame
*) 0 ;
7119 wxString
*arg2
= 0 ;
7123 bool temp2
= false ;
7126 PyObject
* obj0
= 0 ;
7127 PyObject
* obj1
= 0 ;
7128 PyObject
* obj2
= 0 ;
7129 char * kwnames
[] = {
7130 (char *) "self",(char *) "text",(char *) "show", NULL
7133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7135 if (!SWIG_IsOK(res1
)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7138 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7140 arg2
= wxString_in_helper(obj1
);
7141 if (arg2
== NULL
) SWIG_fail
;
7144 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7145 if (!SWIG_IsOK(ecode3
)) {
7146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7148 arg3
= static_cast< bool >(val3
);
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= SWIG_Py_Void();
7170 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
= 0;
7172 wxFrame
*arg1
= (wxFrame
*) 0 ;
7173 wxMenu
*arg2
= (wxMenu
*) NULL
;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7180 char * kwnames
[] = {
7181 (char *) "self",(char *) "menu", NULL
7184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7186 if (!SWIG_IsOK(res1
)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7189 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7192 if (!SWIG_IsOK(res2
)) {
7193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7195 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 (arg1
)->DoMenuUpdates(arg2
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_Py_Void();
7210 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
= 0;
7212 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7213 SwigValueWrapper
<wxVisualAttributes
> result
;
7216 PyObject
* obj0
= 0 ;
7217 char * kwnames
[] = {
7218 (char *) "variant", NULL
7221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7224 if (!SWIG_IsOK(ecode1
)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7227 arg1
= static_cast< wxWindowVariant
>(val1
);
7230 if (!wxPyCheckForApp()) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7243 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7246 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7247 return SWIG_Py_Void();
7250 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7251 return SWIG_Python_InitShadowInstance(args
);
7254 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
= 0;
7256 wxWindow
*arg1
= (wxWindow
*) 0 ;
7257 int arg2
= (int) (int)-1 ;
7258 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7259 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7260 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7261 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7262 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7263 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7264 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7265 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7266 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7267 wxDialog
*result
= 0 ;
7272 bool temp3
= false ;
7277 bool temp7
= false ;
7278 PyObject
* obj0
= 0 ;
7279 PyObject
* obj1
= 0 ;
7280 PyObject
* obj2
= 0 ;
7281 PyObject
* obj3
= 0 ;
7282 PyObject
* obj4
= 0 ;
7283 PyObject
* obj5
= 0 ;
7284 PyObject
* obj6
= 0 ;
7285 char * kwnames
[] = {
7286 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7291 if (!SWIG_IsOK(res1
)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7294 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7297 if (!SWIG_IsOK(ecode2
)) {
7298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7300 arg2
= static_cast< int >(val2
);
7304 arg3
= wxString_in_helper(obj2
);
7305 if (arg3
== NULL
) SWIG_fail
;
7312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7322 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7323 if (!SWIG_IsOK(ecode6
)) {
7324 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7326 arg6
= static_cast< long >(val6
);
7330 arg7
= wxString_in_helper(obj6
);
7331 if (arg7
== NULL
) SWIG_fail
;
7336 if (!wxPyCheckForApp()) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7365 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7366 PyObject
*resultobj
= 0;
7367 wxDialog
*result
= 0 ;
7369 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7371 if (!wxPyCheckForApp()) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (wxDialog
*)new wxDialog();
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7384 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
= 0;
7386 wxDialog
*arg1
= (wxDialog
*) 0 ;
7387 wxWindow
*arg2
= (wxWindow
*) 0 ;
7388 int arg3
= (int) (int)-1 ;
7389 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7390 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7391 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7392 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7393 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7394 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7395 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7396 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7397 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7405 bool temp4
= false ;
7410 bool temp8
= false ;
7411 PyObject
* obj0
= 0 ;
7412 PyObject
* obj1
= 0 ;
7413 PyObject
* obj2
= 0 ;
7414 PyObject
* obj3
= 0 ;
7415 PyObject
* obj4
= 0 ;
7416 PyObject
* obj5
= 0 ;
7417 PyObject
* obj6
= 0 ;
7418 PyObject
* obj7
= 0 ;
7419 char * kwnames
[] = {
7420 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7425 if (!SWIG_IsOK(res1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7428 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7430 if (!SWIG_IsOK(res2
)) {
7431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7433 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7436 if (!SWIG_IsOK(ecode3
)) {
7437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7439 arg3
= static_cast< int >(val3
);
7443 arg4
= wxString_in_helper(obj3
);
7444 if (arg4
== NULL
) SWIG_fail
;
7451 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7457 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7461 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7462 if (!SWIG_IsOK(ecode7
)) {
7463 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7465 arg7
= static_cast< long >(val7
);
7469 arg8
= wxString_in_helper(obj7
);
7470 if (arg8
== NULL
) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7505 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
= 0;
7507 wxDialog
*arg1
= (wxDialog
*) 0 ;
7513 PyObject
* obj0
= 0 ;
7514 PyObject
* obj1
= 0 ;
7515 char * kwnames
[] = {
7516 (char *) "self",(char *) "returnCode", NULL
7519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7521 if (!SWIG_IsOK(res1
)) {
7522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7524 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7526 if (!SWIG_IsOK(ecode2
)) {
7527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7529 arg2
= static_cast< int >(val2
);
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 (arg1
)->SetReturnCode(arg2
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_Py_Void();
7543 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7544 PyObject
*resultobj
= 0;
7545 wxDialog
*arg1
= (wxDialog
*) 0 ;
7549 PyObject
*swig_obj
[1] ;
7551 if (!args
) SWIG_fail
;
7553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7554 if (!SWIG_IsOK(res1
)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7557 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= SWIG_From_int(static_cast< int >(result
));
7571 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7572 PyObject
*resultobj
= 0;
7573 wxDialog
*arg1
= (wxDialog
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7580 PyObject
* obj1
= 0 ;
7581 char * kwnames
[] = {
7582 (char *) "self",(char *) "affirmativeId", NULL
7585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7587 if (!SWIG_IsOK(res1
)) {
7588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7590 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7592 if (!SWIG_IsOK(ecode2
)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7595 arg2
= static_cast< int >(val2
);
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 (arg1
)->SetAffirmativeId(arg2
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= SWIG_Py_Void();
7609 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7610 PyObject
*resultobj
= 0;
7611 wxDialog
*arg1
= (wxDialog
*) 0 ;
7615 PyObject
*swig_obj
[1] ;
7617 if (!args
) SWIG_fail
;
7619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7620 if (!SWIG_IsOK(res1
)) {
7621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7623 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_From_int(static_cast< int >(result
));
7637 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
= 0;
7639 wxDialog
*arg1
= (wxDialog
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7646 PyObject
* obj1
= 0 ;
7647 char * kwnames
[] = {
7648 (char *) "self",(char *) "escapeId", NULL
7651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7653 if (!SWIG_IsOK(res1
)) {
7654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7656 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7658 if (!SWIG_IsOK(ecode2
)) {
7659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7661 arg2
= static_cast< int >(val2
);
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 (arg1
)->SetEscapeId(arg2
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_Py_Void();
7675 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7676 PyObject
*resultobj
= 0;
7677 wxDialog
*arg1
= (wxDialog
*) 0 ;
7681 PyObject
*swig_obj
[1] ;
7683 if (!args
) SWIG_fail
;
7685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7686 if (!SWIG_IsOK(res1
)) {
7687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7689 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= SWIG_From_int(static_cast< int >(result
));
7703 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
*resultobj
= 0;
7705 wxDialog
*arg1
= (wxDialog
*) 0 ;
7706 wxString
*arg2
= 0 ;
7707 wxSizer
*result
= 0 ;
7710 bool temp2
= false ;
7711 PyObject
* obj0
= 0 ;
7712 PyObject
* obj1
= 0 ;
7713 char * kwnames
[] = {
7714 (char *) "self",(char *) "message", NULL
7717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7719 if (!SWIG_IsOK(res1
)) {
7720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7722 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7724 arg2
= wxString_in_helper(obj1
);
7725 if (arg2
== NULL
) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7751 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
= 0;
7753 wxDialog
*arg1
= (wxDialog
*) 0 ;
7755 bool arg3
= (bool) false ;
7756 int arg4
= (int) 0 ;
7757 wxSizer
*result
= 0 ;
7766 PyObject
* obj0
= 0 ;
7767 PyObject
* obj1
= 0 ;
7768 PyObject
* obj2
= 0 ;
7769 PyObject
* obj3
= 0 ;
7770 char * kwnames
[] = {
7771 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7776 if (!SWIG_IsOK(res1
)) {
7777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7779 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7780 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7781 if (!SWIG_IsOK(ecode2
)) {
7782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7784 arg2
= static_cast< long >(val2
);
7786 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7787 if (!SWIG_IsOK(ecode3
)) {
7788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7790 arg3
= static_cast< bool >(val3
);
7793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7794 if (!SWIG_IsOK(ecode4
)) {
7795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7797 arg4
= static_cast< int >(val4
);
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7814 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
= 0;
7816 wxDialog
*arg1
= (wxDialog
*) 0 ;
7818 wxStdDialogButtonSizer
*result
= 0 ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7825 char * kwnames
[] = {
7826 (char *) "self",(char *) "flags", NULL
7829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7831 if (!SWIG_IsOK(res1
)) {
7832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7834 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7835 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7836 if (!SWIG_IsOK(ecode2
)) {
7837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7839 arg2
= static_cast< long >(val2
);
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7853 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7854 PyObject
*resultobj
= 0;
7855 wxDialog
*arg1
= (wxDialog
*) 0 ;
7859 PyObject
*swig_obj
[1] ;
7861 if (!args
) SWIG_fail
;
7863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7864 if (!SWIG_IsOK(res1
)) {
7865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7867 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7883 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7884 PyObject
*resultobj
= 0;
7885 wxDialog
*arg1
= (wxDialog
*) 0 ;
7889 PyObject
*swig_obj
[1] ;
7891 if (!args
) SWIG_fail
;
7893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7894 if (!SWIG_IsOK(res1
)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7897 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 result
= (int)(arg1
)->ShowModal();
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_From_int(static_cast< int >(result
));
7911 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
= 0;
7913 wxDialog
*arg1
= (wxDialog
*) 0 ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7921 char * kwnames
[] = {
7922 (char *) "self",(char *) "retCode", NULL
7925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7927 if (!SWIG_IsOK(res1
)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7930 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7932 if (!SWIG_IsOK(ecode2
)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7935 arg2
= static_cast< int >(val2
);
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 (arg1
)->EndModal(arg2
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_Py_Void();
7949 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
= 0;
7951 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7952 SwigValueWrapper
<wxVisualAttributes
> result
;
7955 PyObject
* obj0
= 0 ;
7956 char * kwnames
[] = {
7957 (char *) "variant", NULL
7960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7962 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7963 if (!SWIG_IsOK(ecode1
)) {
7964 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7966 arg1
= static_cast< wxWindowVariant
>(val1
);
7969 if (!wxPyCheckForApp()) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7982 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7985 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7986 return SWIG_Py_Void();
7989 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7990 return SWIG_Python_InitShadowInstance(args
);
7993 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
= 0;
7995 wxWindow
*arg1
= (wxWindow
*) 0 ;
7996 int arg2
= (int) (int)-1 ;
7997 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7998 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8003 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8004 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8005 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8006 wxMiniFrame
*result
= 0 ;
8011 bool temp3
= false ;
8016 bool temp7
= false ;
8017 PyObject
* obj0
= 0 ;
8018 PyObject
* obj1
= 0 ;
8019 PyObject
* obj2
= 0 ;
8020 PyObject
* obj3
= 0 ;
8021 PyObject
* obj4
= 0 ;
8022 PyObject
* obj5
= 0 ;
8023 PyObject
* obj6
= 0 ;
8024 char * kwnames
[] = {
8025 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8030 if (!SWIG_IsOK(res1
)) {
8031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8033 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8036 if (!SWIG_IsOK(ecode2
)) {
8037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8039 arg2
= static_cast< int >(val2
);
8043 arg3
= wxString_in_helper(obj2
);
8044 if (arg3
== NULL
) SWIG_fail
;
8051 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8057 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8061 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8062 if (!SWIG_IsOK(ecode6
)) {
8063 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8065 arg6
= static_cast< long >(val6
);
8069 arg7
= wxString_in_helper(obj6
);
8070 if (arg7
== NULL
) SWIG_fail
;
8075 if (!wxPyCheckForApp()) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8104 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8105 PyObject
*resultobj
= 0;
8106 wxMiniFrame
*result
= 0 ;
8108 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8110 if (!wxPyCheckForApp()) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (wxMiniFrame
*)new wxMiniFrame();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8123 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
= 0;
8125 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8126 wxWindow
*arg2
= (wxWindow
*) 0 ;
8127 int arg3
= (int) (int)-1 ;
8128 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8129 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8130 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8131 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8132 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8133 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8134 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8135 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8136 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8144 bool temp4
= false ;
8149 bool temp8
= false ;
8150 PyObject
* obj0
= 0 ;
8151 PyObject
* obj1
= 0 ;
8152 PyObject
* obj2
= 0 ;
8153 PyObject
* obj3
= 0 ;
8154 PyObject
* obj4
= 0 ;
8155 PyObject
* obj5
= 0 ;
8156 PyObject
* obj6
= 0 ;
8157 PyObject
* obj7
= 0 ;
8158 char * kwnames
[] = {
8159 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8164 if (!SWIG_IsOK(res1
)) {
8165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8167 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8169 if (!SWIG_IsOK(res2
)) {
8170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8172 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8175 if (!SWIG_IsOK(ecode3
)) {
8176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8178 arg3
= static_cast< int >(val3
);
8182 arg4
= wxString_in_helper(obj3
);
8183 if (arg4
== NULL
) SWIG_fail
;
8190 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8196 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8200 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8201 if (!SWIG_IsOK(ecode7
)) {
8202 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8204 arg7
= static_cast< long >(val7
);
8208 arg8
= wxString_in_helper(obj7
);
8209 if (arg8
== NULL
) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8244 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8246 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8247 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8248 return SWIG_Py_Void();
8251 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8252 return SWIG_Python_InitShadowInstance(args
);
8255 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
= 0;
8257 wxBitmap
*arg1
= 0 ;
8258 wxWindow
*arg2
= (wxWindow
*) 0 ;
8260 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8261 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8262 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8263 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8264 long arg6
= (long) wxNO_BORDER
;
8265 wxSplashScreenWindow
*result
= 0 ;
8276 PyObject
* obj0
= 0 ;
8277 PyObject
* obj1
= 0 ;
8278 PyObject
* obj2
= 0 ;
8279 PyObject
* obj3
= 0 ;
8280 PyObject
* obj4
= 0 ;
8281 PyObject
* obj5
= 0 ;
8282 char * kwnames
[] = {
8283 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8287 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8288 if (!SWIG_IsOK(res1
)) {
8289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8294 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8296 if (!SWIG_IsOK(res2
)) {
8297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8299 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8301 if (!SWIG_IsOK(ecode3
)) {
8302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8304 arg3
= static_cast< int >(val3
);
8308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8314 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8318 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8319 if (!SWIG_IsOK(ecode6
)) {
8320 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8322 arg6
= static_cast< long >(val6
);
8325 if (!wxPyCheckForApp()) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8338 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
= 0;
8340 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8341 wxBitmap
*arg2
= 0 ;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8348 char * kwnames
[] = {
8349 (char *) "self",(char *) "bitmap", NULL
8352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8354 if (!SWIG_IsOK(res1
)) {
8355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8357 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8358 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8359 if (!SWIG_IsOK(res2
)) {
8360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8365 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= SWIG_Py_Void();
8379 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8380 PyObject
*resultobj
= 0;
8381 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8382 wxBitmap
*result
= 0 ;
8385 PyObject
*swig_obj
[1] ;
8387 if (!args
) SWIG_fail
;
8389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8390 if (!SWIG_IsOK(res1
)) {
8391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8393 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8398 result
= (wxBitmap
*) &_result_ref
;
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8404 wxBitmap
* resultptr
= new wxBitmap(*result
);
8405 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8413 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8416 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8417 return SWIG_Py_Void();
8420 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8421 return SWIG_Python_InitShadowInstance(args
);
8424 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
= 0;
8426 wxBitmap
*arg1
= 0 ;
8429 wxWindow
*arg4
= (wxWindow
*) 0 ;
8430 int arg5
= (int) -1 ;
8431 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8432 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8433 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8434 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8435 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8436 wxSplashScreen
*result
= 0 ;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8453 PyObject
* obj2
= 0 ;
8454 PyObject
* obj3
= 0 ;
8455 PyObject
* obj4
= 0 ;
8456 PyObject
* obj5
= 0 ;
8457 PyObject
* obj6
= 0 ;
8458 PyObject
* obj7
= 0 ;
8459 char * kwnames
[] = {
8460 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8464 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8465 if (!SWIG_IsOK(res1
)) {
8466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8471 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8472 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8473 if (!SWIG_IsOK(ecode2
)) {
8474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8476 arg2
= static_cast< long >(val2
);
8477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8478 if (!SWIG_IsOK(ecode3
)) {
8479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8481 arg3
= static_cast< int >(val3
);
8482 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8483 if (!SWIG_IsOK(res4
)) {
8484 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8486 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8488 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8489 if (!SWIG_IsOK(ecode5
)) {
8490 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8492 arg5
= static_cast< int >(val5
);
8497 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8503 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8507 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8508 if (!SWIG_IsOK(ecode8
)) {
8509 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8511 arg8
= static_cast< long >(val8
);
8514 if (!wxPyCheckForApp()) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8527 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8528 PyObject
*resultobj
= 0;
8529 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8533 PyObject
*swig_obj
[1] ;
8535 if (!args
) SWIG_fail
;
8537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8538 if (!SWIG_IsOK(res1
)) {
8539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8541 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= SWIG_From_long(static_cast< long >(result
));
8555 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8556 PyObject
*resultobj
= 0;
8557 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8558 wxSplashScreenWindow
*result
= 0 ;
8561 PyObject
*swig_obj
[1] ;
8563 if (!args
) SWIG_fail
;
8565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8566 if (!SWIG_IsOK(res1
)) {
8567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8569 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8583 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8584 PyObject
*resultobj
= 0;
8585 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8589 PyObject
*swig_obj
[1] ;
8591 if (!args
) SWIG_fail
;
8593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8594 if (!SWIG_IsOK(res1
)) {
8595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8597 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_From_int(static_cast< int >(result
));
8611 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8614 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8615 return SWIG_Py_Void();
8618 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8619 return SWIG_Python_InitShadowInstance(args
);
8622 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
= 0;
8624 wxWindow
*arg1
= (wxWindow
*) 0 ;
8625 int arg2
= (int) -1 ;
8626 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8627 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8628 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8629 wxStatusBar
*result
= 0 ;
8636 bool temp4
= false ;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8639 PyObject
* obj2
= 0 ;
8640 PyObject
* obj3
= 0 ;
8641 char * kwnames
[] = {
8642 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8647 if (!SWIG_IsOK(res1
)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8650 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8653 if (!SWIG_IsOK(ecode2
)) {
8654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8656 arg2
= static_cast< int >(val2
);
8659 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8660 if (!SWIG_IsOK(ecode3
)) {
8661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8663 arg3
= static_cast< long >(val3
);
8667 arg4
= wxString_in_helper(obj3
);
8668 if (arg4
== NULL
) SWIG_fail
;
8673 if (!wxPyCheckForApp()) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8694 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8695 PyObject
*resultobj
= 0;
8696 wxStatusBar
*result
= 0 ;
8698 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8700 if (!wxPyCheckForApp()) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (wxStatusBar
*)new wxStatusBar();
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8713 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
= 0;
8715 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8716 wxWindow
*arg2
= (wxWindow
*) 0 ;
8717 int arg3
= (int) -1 ;
8718 long arg4
= (long) wxST_SIZEGRIP
;
8719 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8720 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8730 bool temp5
= false ;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8733 PyObject
* obj2
= 0 ;
8734 PyObject
* obj3
= 0 ;
8735 PyObject
* obj4
= 0 ;
8736 char * kwnames
[] = {
8737 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8742 if (!SWIG_IsOK(res1
)) {
8743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8745 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8746 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8747 if (!SWIG_IsOK(res2
)) {
8748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8750 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8753 if (!SWIG_IsOK(ecode3
)) {
8754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8756 arg3
= static_cast< int >(val3
);
8759 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8760 if (!SWIG_IsOK(ecode4
)) {
8761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8763 arg4
= static_cast< long >(val4
);
8767 arg5
= wxString_in_helper(obj4
);
8768 if (arg5
== NULL
) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8795 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
= 0;
8797 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8798 int arg2
= (int) 1 ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 char * kwnames
[] = {
8806 (char *) "self",(char *) "number", NULL
8809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8811 if (!SWIG_IsOK(res1
)) {
8812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8814 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8817 if (!SWIG_IsOK(ecode2
)) {
8818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8820 arg2
= static_cast< int >(val2
);
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 (arg1
)->SetFieldsCount(arg2
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_Py_Void();
8835 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8836 PyObject
*resultobj
= 0;
8837 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8841 PyObject
*swig_obj
[1] ;
8843 if (!args
) SWIG_fail
;
8845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8846 if (!SWIG_IsOK(res1
)) {
8847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8849 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_From_int(static_cast< int >(result
));
8863 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
= 0;
8865 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8866 wxString
*arg2
= 0 ;
8867 int arg3
= (int) 0 ;
8870 bool temp2
= false ;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8875 PyObject
* obj2
= 0 ;
8876 char * kwnames
[] = {
8877 (char *) "self",(char *) "text",(char *) "number", NULL
8880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8882 if (!SWIG_IsOK(res1
)) {
8883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8885 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8887 arg2
= wxString_in_helper(obj1
);
8888 if (arg2
== NULL
) SWIG_fail
;
8892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8893 if (!SWIG_IsOK(ecode3
)) {
8894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8896 arg3
= static_cast< int >(val3
);
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= SWIG_Py_Void();
8919 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
= 0;
8921 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8922 int arg2
= (int) 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 char * kwnames
[] = {
8931 (char *) "self",(char *) "number", NULL
8934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8936 if (!SWIG_IsOK(res1
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8939 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8942 if (!SWIG_IsOK(ecode2
)) {
8943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8945 arg2
= static_cast< int >(val2
);
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8966 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
= 0;
8968 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8969 wxString
*arg2
= 0 ;
8970 int arg3
= (int) 0 ;
8973 bool temp2
= false ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj2
= 0 ;
8979 char * kwnames
[] = {
8980 (char *) "self",(char *) "text",(char *) "number", NULL
8983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8985 if (!SWIG_IsOK(res1
)) {
8986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8988 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8990 arg2
= wxString_in_helper(obj1
);
8991 if (arg2
== NULL
) SWIG_fail
;
8995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8996 if (!SWIG_IsOK(ecode3
)) {
8997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8999 arg3
= static_cast< int >(val3
);
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= SWIG_Py_Void();
9022 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
= 0;
9024 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9025 int arg2
= (int) 0 ;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9032 char * kwnames
[] = {
9033 (char *) "self",(char *) "number", NULL
9036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9038 if (!SWIG_IsOK(res1
)) {
9039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9041 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9044 if (!SWIG_IsOK(ecode2
)) {
9045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9047 arg2
= static_cast< int >(val2
);
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 (arg1
)->PopStatusText(arg2
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= SWIG_Py_Void();
9062 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
= 0;
9064 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9066 int *arg3
= (int *) 0 ;
9069 PyObject
* obj0
= 0 ;
9070 PyObject
* obj1
= 0 ;
9071 char * kwnames
[] = {
9072 (char *) "self",(char *) "widths", NULL
9075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9077 if (!SWIG_IsOK(res1
)) {
9078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9080 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9082 arg2
= PyList_Size(obj1
);
9083 arg3
= int_LIST_helper(obj1
);
9084 if (arg3
== NULL
) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 resultobj
= SWIG_Py_Void();
9094 if (arg3
) delete [] arg3
;
9099 if (arg3
) delete [] arg3
;
9105 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
= 0;
9107 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9109 int *arg3
= (int *) 0 ;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9114 char * kwnames
[] = {
9115 (char *) "self",(char *) "styles", NULL
9118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9120 if (!SWIG_IsOK(res1
)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9123 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9125 arg2
= PyList_Size(obj1
);
9126 arg3
= int_LIST_helper(obj1
);
9127 if (arg3
== NULL
) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_Py_Void();
9137 if (arg3
) delete [] arg3
;
9142 if (arg3
) delete [] arg3
;
9148 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
= 0;
9150 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9159 char * kwnames
[] = {
9160 (char *) "self",(char *) "i", NULL
9163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9165 if (!SWIG_IsOK(res1
)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9168 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9170 if (!SWIG_IsOK(ecode2
)) {
9171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9173 arg2
= static_cast< int >(val2
);
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9187 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
= 0;
9189 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9195 PyObject
* obj0
= 0 ;
9196 PyObject
* obj1
= 0 ;
9197 char * kwnames
[] = {
9198 (char *) "self",(char *) "height", NULL
9201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9203 if (!SWIG_IsOK(res1
)) {
9204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9206 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9208 if (!SWIG_IsOK(ecode2
)) {
9209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9211 arg2
= static_cast< int >(val2
);
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 (arg1
)->SetMinHeight(arg2
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_Py_Void();
9225 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9226 PyObject
*resultobj
= 0;
9227 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9231 PyObject
*swig_obj
[1] ;
9233 if (!args
) SWIG_fail
;
9235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9236 if (!SWIG_IsOK(res1
)) {
9237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9239 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 resultobj
= SWIG_From_int(static_cast< int >(result
));
9253 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9254 PyObject
*resultobj
= 0;
9255 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9259 PyObject
*swig_obj
[1] ;
9261 if (!args
) SWIG_fail
;
9263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9264 if (!SWIG_IsOK(res1
)) {
9265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9267 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_From_int(static_cast< int >(result
));
9281 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
= 0;
9283 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9284 SwigValueWrapper
<wxVisualAttributes
> result
;
9287 PyObject
* obj0
= 0 ;
9288 char * kwnames
[] = {
9289 (char *) "variant", NULL
9292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9294 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9295 if (!SWIG_IsOK(ecode1
)) {
9296 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9298 arg1
= static_cast< wxWindowVariant
>(val1
);
9301 if (!wxPyCheckForApp()) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9314 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9317 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9318 return SWIG_Py_Void();
9321 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9322 return SWIG_Python_InitShadowInstance(args
);
9325 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9326 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9331 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9332 PyObject
*pyobj
= 0;
9336 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9338 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9345 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
= 0;
9347 wxWindow
*arg1
= (wxWindow
*) 0 ;
9348 int arg2
= (int) -1 ;
9349 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9350 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9351 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9352 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9353 long arg5
= (long) wxSP_3D
;
9354 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9355 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9356 wxSplitterWindow
*result
= 0 ;
9365 bool temp6
= false ;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9368 PyObject
* obj2
= 0 ;
9369 PyObject
* obj3
= 0 ;
9370 PyObject
* obj4
= 0 ;
9371 PyObject
* obj5
= 0 ;
9372 char * kwnames
[] = {
9373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9378 if (!SWIG_IsOK(res1
)) {
9379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9381 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9384 if (!SWIG_IsOK(ecode2
)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9387 arg2
= static_cast< int >(val2
);
9392 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9398 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9402 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9403 if (!SWIG_IsOK(ecode5
)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9406 arg5
= static_cast< long >(val5
);
9410 arg6
= wxString_in_helper(obj5
);
9411 if (arg6
== NULL
) SWIG_fail
;
9416 if (!wxPyCheckForApp()) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9437 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9438 PyObject
*resultobj
= 0;
9439 wxSplitterWindow
*result
= 0 ;
9441 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9443 if (!wxPyCheckForApp()) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9456 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
= 0;
9458 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9459 wxWindow
*arg2
= (wxWindow
*) 0 ;
9460 int arg3
= (int) -1 ;
9461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9465 long arg6
= (long) wxSP_3D
;
9466 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9467 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9479 bool temp7
= false ;
9480 PyObject
* obj0
= 0 ;
9481 PyObject
* obj1
= 0 ;
9482 PyObject
* obj2
= 0 ;
9483 PyObject
* obj3
= 0 ;
9484 PyObject
* obj4
= 0 ;
9485 PyObject
* obj5
= 0 ;
9486 PyObject
* obj6
= 0 ;
9487 char * kwnames
[] = {
9488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9493 if (!SWIG_IsOK(res1
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9496 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9498 if (!SWIG_IsOK(res2
)) {
9499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9501 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9504 if (!SWIG_IsOK(ecode3
)) {
9505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9507 arg3
= static_cast< int >(val3
);
9512 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9518 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9522 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9523 if (!SWIG_IsOK(ecode6
)) {
9524 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9526 arg6
= static_cast< long >(val6
);
9530 arg7
= wxString_in_helper(obj6
);
9531 if (arg7
== NULL
) SWIG_fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9558 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9559 PyObject
*resultobj
= 0;
9560 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9561 wxWindow
*result
= 0 ;
9564 PyObject
*swig_obj
[1] ;
9566 if (!args
) SWIG_fail
;
9568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9569 if (!SWIG_IsOK(res1
)) {
9570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9572 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= wxPyMake_wxObject(result
, 0);
9588 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9589 PyObject
*resultobj
= 0;
9590 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9591 wxWindow
*result
= 0 ;
9594 PyObject
*swig_obj
[1] ;
9596 if (!args
) SWIG_fail
;
9598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9599 if (!SWIG_IsOK(res1
)) {
9600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9602 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= wxPyMake_wxObject(result
, 0);
9618 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
= 0;
9620 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9626 PyObject
* obj0
= 0 ;
9627 PyObject
* obj1
= 0 ;
9628 char * kwnames
[] = {
9629 (char *) "self",(char *) "mode", NULL
9632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9634 if (!SWIG_IsOK(res1
)) {
9635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9637 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9639 if (!SWIG_IsOK(ecode2
)) {
9640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9642 arg2
= static_cast< int >(val2
);
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 (arg1
)->SetSplitMode(arg2
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= SWIG_Py_Void();
9656 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9657 PyObject
*resultobj
= 0;
9658 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9662 PyObject
*swig_obj
[1] ;
9664 if (!args
) SWIG_fail
;
9666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9667 if (!SWIG_IsOK(res1
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9670 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= SWIG_From_int(static_cast< int >(result
));
9684 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
= 0;
9686 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9687 wxWindow
*arg2
= (wxWindow
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "self",(char *) "window", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9700 if (!SWIG_IsOK(res1
)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9703 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9705 if (!SWIG_IsOK(res2
)) {
9706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9708 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->Initialize(arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_Py_Void();
9722 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
= 0;
9724 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9725 wxWindow
*arg2
= (wxWindow
*) 0 ;
9726 wxWindow
*arg3
= (wxWindow
*) 0 ;
9727 int arg4
= (int) 0 ;
9737 PyObject
* obj0
= 0 ;
9738 PyObject
* obj1
= 0 ;
9739 PyObject
* obj2
= 0 ;
9740 PyObject
* obj3
= 0 ;
9741 char * kwnames
[] = {
9742 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9747 if (!SWIG_IsOK(res1
)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9750 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9751 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9752 if (!SWIG_IsOK(res2
)) {
9753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9755 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9756 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9757 if (!SWIG_IsOK(res3
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9760 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9762 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9763 if (!SWIG_IsOK(ecode4
)) {
9764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9766 arg4
= static_cast< int >(val4
);
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9783 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
= 0;
9785 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9786 wxWindow
*arg2
= (wxWindow
*) 0 ;
9787 wxWindow
*arg3
= (wxWindow
*) 0 ;
9788 int arg4
= (int) 0 ;
9798 PyObject
* obj0
= 0 ;
9799 PyObject
* obj1
= 0 ;
9800 PyObject
* obj2
= 0 ;
9801 PyObject
* obj3
= 0 ;
9802 char * kwnames
[] = {
9803 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9808 if (!SWIG_IsOK(res1
)) {
9809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9811 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9813 if (!SWIG_IsOK(res2
)) {
9814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9816 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9817 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9818 if (!SWIG_IsOK(res3
)) {
9819 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9821 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9823 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9824 if (!SWIG_IsOK(ecode4
)) {
9825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9827 arg4
= static_cast< int >(val4
);
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9844 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
= 0;
9846 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9847 wxWindow
*arg2
= (wxWindow
*) NULL
;
9853 PyObject
* obj0
= 0 ;
9854 PyObject
* obj1
= 0 ;
9855 char * kwnames
[] = {
9856 (char *) "self",(char *) "toRemove", NULL
9859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9861 if (!SWIG_IsOK(res1
)) {
9862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9864 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9867 if (!SWIG_IsOK(res2
)) {
9868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9870 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (bool)(arg1
)->Unsplit(arg2
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9887 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9889 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9890 wxWindow
*arg2
= (wxWindow
*) 0 ;
9891 wxWindow
*arg3
= (wxWindow
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9900 PyObject
* obj1
= 0 ;
9901 PyObject
* obj2
= 0 ;
9902 char * kwnames
[] = {
9903 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9908 if (!SWIG_IsOK(res1
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9911 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9913 if (!SWIG_IsOK(res2
)) {
9914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9917 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9918 if (!SWIG_IsOK(res3
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9921 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9937 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9938 PyObject
*resultobj
= 0;
9939 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9942 PyObject
*swig_obj
[1] ;
9944 if (!args
) SWIG_fail
;
9946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9947 if (!SWIG_IsOK(res1
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9950 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 (arg1
)->UpdateSize();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_Py_Void();
9964 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9965 PyObject
*resultobj
= 0;
9966 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9970 PyObject
*swig_obj
[1] ;
9972 if (!args
) SWIG_fail
;
9974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9975 if (!SWIG_IsOK(res1
)) {
9976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9978 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9994 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
= 0;
9996 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 char * kwnames
[] = {
10005 (char *) "self",(char *) "width", NULL
10008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10010 if (!SWIG_IsOK(res1
)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10013 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10015 if (!SWIG_IsOK(ecode2
)) {
10016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10018 arg2
= static_cast< int >(val2
);
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 (arg1
)->SetSashSize(arg2
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_Py_Void();
10032 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
= 0;
10034 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 char * kwnames
[] = {
10043 (char *) "self",(char *) "width", NULL
10046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10048 if (!SWIG_IsOK(res1
)) {
10049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10051 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10053 if (!SWIG_IsOK(ecode2
)) {
10054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10056 arg2
= static_cast< int >(val2
);
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 (arg1
)->SetBorderSize(arg2
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= SWIG_Py_Void();
10070 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10071 PyObject
*resultobj
= 0;
10072 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10076 PyObject
*swig_obj
[1] ;
10078 if (!args
) SWIG_fail
;
10079 swig_obj
[0] = args
;
10080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10081 if (!SWIG_IsOK(res1
)) {
10082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10084 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_From_int(static_cast< int >(result
));
10098 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10099 PyObject
*resultobj
= 0;
10100 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10104 PyObject
*swig_obj
[1] ;
10106 if (!args
) SWIG_fail
;
10107 swig_obj
[0] = args
;
10108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10109 if (!SWIG_IsOK(res1
)) {
10110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10112 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= SWIG_From_int(static_cast< int >(result
));
10126 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
= 0;
10128 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10130 bool arg3
= (bool) true ;
10137 PyObject
* obj0
= 0 ;
10138 PyObject
* obj1
= 0 ;
10139 PyObject
* obj2
= 0 ;
10140 char * kwnames
[] = {
10141 (char *) "self",(char *) "position",(char *) "redraw", NULL
10144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10146 if (!SWIG_IsOK(res1
)) {
10147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10149 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10151 if (!SWIG_IsOK(ecode2
)) {
10152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10154 arg2
= static_cast< int >(val2
);
10156 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10157 if (!SWIG_IsOK(ecode3
)) {
10158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10160 arg3
= static_cast< bool >(val3
);
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 (arg1
)->SetSashPosition(arg2
,arg3
);
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= SWIG_Py_Void();
10175 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10176 PyObject
*resultobj
= 0;
10177 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10181 PyObject
*swig_obj
[1] ;
10183 if (!args
) SWIG_fail
;
10184 swig_obj
[0] = args
;
10185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10186 if (!SWIG_IsOK(res1
)) {
10187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10189 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_From_int(static_cast< int >(result
));
10203 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
= 0;
10205 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10211 PyObject
* obj0
= 0 ;
10212 PyObject
* obj1
= 0 ;
10213 char * kwnames
[] = {
10214 (char *) "self",(char *) "gravity", NULL
10217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10219 if (!SWIG_IsOK(res1
)) {
10220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10222 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10223 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10224 if (!SWIG_IsOK(ecode2
)) {
10225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10227 arg2
= static_cast< double >(val2
);
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 (arg1
)->SetSashGravity(arg2
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_Py_Void();
10241 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10242 PyObject
*resultobj
= 0;
10243 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10247 PyObject
*swig_obj
[1] ;
10249 if (!args
) SWIG_fail
;
10250 swig_obj
[0] = args
;
10251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10252 if (!SWIG_IsOK(res1
)) {
10253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10255 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_From_double(static_cast< double >(result
));
10269 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
= 0;
10271 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10277 PyObject
* obj0
= 0 ;
10278 PyObject
* obj1
= 0 ;
10279 char * kwnames
[] = {
10280 (char *) "self",(char *) "min", NULL
10283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10285 if (!SWIG_IsOK(res1
)) {
10286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10288 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10290 if (!SWIG_IsOK(ecode2
)) {
10291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10293 arg2
= static_cast< int >(val2
);
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 (arg1
)->SetMinimumPaneSize(arg2
);
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_Py_Void();
10307 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10308 PyObject
*resultobj
= 0;
10309 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10313 PyObject
*swig_obj
[1] ;
10315 if (!args
) SWIG_fail
;
10316 swig_obj
[0] = args
;
10317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10321 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 resultobj
= SWIG_From_int(static_cast< int >(result
));
10335 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
= 0;
10337 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10340 int arg4
= (int) 5 ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 PyObject
* obj2
= 0 ;
10353 PyObject
* obj3
= 0 ;
10354 char * kwnames
[] = {
10355 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10360 if (!SWIG_IsOK(res1
)) {
10361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10363 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10365 if (!SWIG_IsOK(ecode2
)) {
10366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10368 arg2
= static_cast< int >(val2
);
10369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10370 if (!SWIG_IsOK(ecode3
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10373 arg3
= static_cast< int >(val3
);
10375 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10376 if (!SWIG_IsOK(ecode4
)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10379 arg4
= static_cast< int >(val4
);
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10396 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10397 PyObject
*resultobj
= 0;
10398 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10401 PyObject
*swig_obj
[1] ;
10403 if (!args
) SWIG_fail
;
10404 swig_obj
[0] = args
;
10405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10406 if (!SWIG_IsOK(res1
)) {
10407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10409 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 (arg1
)->SizeWindows();
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_Py_Void();
10423 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
= 0;
10425 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 PyObject
* obj1
= 0 ;
10433 char * kwnames
[] = {
10434 (char *) "self",(char *) "needUpdating", NULL
10437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10439 if (!SWIG_IsOK(res1
)) {
10440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10442 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10443 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10444 if (!SWIG_IsOK(ecode2
)) {
10445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10447 arg2
= static_cast< bool >(val2
);
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 (arg1
)->SetNeedUpdating(arg2
);
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10454 resultobj
= SWIG_Py_Void();
10461 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10462 PyObject
*resultobj
= 0;
10463 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10467 PyObject
*swig_obj
[1] ;
10469 if (!args
) SWIG_fail
;
10470 swig_obj
[0] = args
;
10471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10472 if (!SWIG_IsOK(res1
)) {
10473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10475 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10491 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
= 0;
10493 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10494 SwigValueWrapper
<wxVisualAttributes
> result
;
10497 PyObject
* obj0
= 0 ;
10498 char * kwnames
[] = {
10499 (char *) "variant", NULL
10502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10504 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10505 if (!SWIG_IsOK(ecode1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10508 arg1
= static_cast< wxWindowVariant
>(val1
);
10511 if (!wxPyCheckForApp()) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10524 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10527 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10528 return SWIG_Py_Void();
10531 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10532 return SWIG_Python_InitShadowInstance(args
);
10535 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
= 0;
10537 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10538 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10539 wxSplitterEvent
*result
= 0 ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 char * kwnames
[] = {
10547 (char *) "type",(char *) "splitter", NULL
10550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10552 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10553 if (!SWIG_IsOK(ecode1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10556 arg1
= static_cast< wxEventType
>(val1
);
10559 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10560 if (!SWIG_IsOK(res2
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10563 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10578 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
= 0;
10580 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10586 PyObject
* obj0
= 0 ;
10587 PyObject
* obj1
= 0 ;
10588 char * kwnames
[] = {
10589 (char *) "self",(char *) "pos", NULL
10592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10594 if (!SWIG_IsOK(res1
)) {
10595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10597 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10599 if (!SWIG_IsOK(ecode2
)) {
10600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10602 arg2
= static_cast< int >(val2
);
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 (arg1
)->SetSashPosition(arg2
);
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_Py_Void();
10616 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10617 PyObject
*resultobj
= 0;
10618 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10622 PyObject
*swig_obj
[1] ;
10624 if (!args
) SWIG_fail
;
10625 swig_obj
[0] = args
;
10626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10627 if (!SWIG_IsOK(res1
)) {
10628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10630 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= SWIG_From_int(static_cast< int >(result
));
10644 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10645 PyObject
*resultobj
= 0;
10646 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10647 wxWindow
*result
= 0 ;
10650 PyObject
*swig_obj
[1] ;
10652 if (!args
) SWIG_fail
;
10653 swig_obj
[0] = args
;
10654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10655 if (!SWIG_IsOK(res1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10658 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10666 resultobj
= wxPyMake_wxObject(result
, 0);
10674 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10675 PyObject
*resultobj
= 0;
10676 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10680 PyObject
*swig_obj
[1] ;
10682 if (!args
) SWIG_fail
;
10683 swig_obj
[0] = args
;
10684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10685 if (!SWIG_IsOK(res1
)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10688 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 resultobj
= SWIG_From_int(static_cast< int >(result
));
10702 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10703 PyObject
*resultobj
= 0;
10704 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10708 PyObject
*swig_obj
[1] ;
10710 if (!args
) SWIG_fail
;
10711 swig_obj
[0] = args
;
10712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10713 if (!SWIG_IsOK(res1
)) {
10714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10716 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 resultobj
= SWIG_From_int(static_cast< int >(result
));
10730 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10733 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10734 return SWIG_Py_Void();
10737 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10738 return SWIG_Python_InitShadowInstance(args
);
10741 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10742 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10747 SWIGINTERN PyObject
*SashNameStr_get(void) {
10748 PyObject
*pyobj
= 0;
10752 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10754 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10761 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10762 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10767 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10768 PyObject
*pyobj
= 0;
10772 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10774 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10781 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
= 0;
10783 wxWindow
*arg1
= (wxWindow
*) 0 ;
10784 int arg2
= (int) -1 ;
10785 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10786 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10787 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10788 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10789 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10790 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10791 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10792 wxSashWindow
*result
= 0 ;
10801 bool temp6
= false ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 PyObject
* obj2
= 0 ;
10805 PyObject
* obj3
= 0 ;
10806 PyObject
* obj4
= 0 ;
10807 PyObject
* obj5
= 0 ;
10808 char * kwnames
[] = {
10809 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10814 if (!SWIG_IsOK(res1
)) {
10815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10820 if (!SWIG_IsOK(ecode2
)) {
10821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10823 arg2
= static_cast< int >(val2
);
10828 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10834 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10838 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10839 if (!SWIG_IsOK(ecode5
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10842 arg5
= static_cast< long >(val5
);
10846 arg6
= wxString_in_helper(obj5
);
10847 if (arg6
== NULL
) SWIG_fail
;
10852 if (!wxPyCheckForApp()) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10873 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10874 PyObject
*resultobj
= 0;
10875 wxSashWindow
*result
= 0 ;
10877 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10879 if (!wxPyCheckForApp()) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 result
= (wxSashWindow
*)new wxSashWindow();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10892 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
= 0;
10894 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10895 wxWindow
*arg2
= (wxWindow
*) 0 ;
10896 int arg3
= (int) -1 ;
10897 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10898 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10899 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10900 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10901 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10902 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10903 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10915 bool temp7
= false ;
10916 PyObject
* obj0
= 0 ;
10917 PyObject
* obj1
= 0 ;
10918 PyObject
* obj2
= 0 ;
10919 PyObject
* obj3
= 0 ;
10920 PyObject
* obj4
= 0 ;
10921 PyObject
* obj5
= 0 ;
10922 PyObject
* obj6
= 0 ;
10923 char * kwnames
[] = {
10924 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10929 if (!SWIG_IsOK(res1
)) {
10930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10932 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10934 if (!SWIG_IsOK(res2
)) {
10935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10937 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10940 if (!SWIG_IsOK(ecode3
)) {
10941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10943 arg3
= static_cast< int >(val3
);
10948 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10954 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10958 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10959 if (!SWIG_IsOK(ecode6
)) {
10960 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10962 arg6
= static_cast< long >(val6
);
10966 arg7
= wxString_in_helper(obj6
);
10967 if (arg7
== NULL
) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10994 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
= 0;
10996 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10997 wxSashEdgePosition arg2
;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 PyObject
* obj2
= 0 ;
11008 char * kwnames
[] = {
11009 (char *) "self",(char *) "edge",(char *) "sash", NULL
11012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11014 if (!SWIG_IsOK(res1
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11017 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11019 if (!SWIG_IsOK(ecode2
)) {
11020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11022 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11023 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11024 if (!SWIG_IsOK(ecode3
)) {
11025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11027 arg3
= static_cast< bool >(val3
);
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 (arg1
)->SetSashVisible(arg2
,arg3
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= SWIG_Py_Void();
11041 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
= 0;
11043 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11044 wxSashEdgePosition arg2
;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 char * kwnames
[] = {
11053 (char *) "self",(char *) "edge", NULL
11056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11058 if (!SWIG_IsOK(res1
)) {
11059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11061 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11063 if (!SWIG_IsOK(ecode2
)) {
11064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11066 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11069 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11082 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
= 0;
11084 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11085 wxSashEdgePosition arg2
;
11093 PyObject
* obj0
= 0 ;
11094 PyObject
* obj1
= 0 ;
11095 PyObject
* obj2
= 0 ;
11096 char * kwnames
[] = {
11097 (char *) "self",(char *) "edge",(char *) "border", NULL
11100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11102 if (!SWIG_IsOK(res1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11105 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11107 if (!SWIG_IsOK(ecode2
)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11110 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11111 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11112 if (!SWIG_IsOK(ecode3
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11115 arg3
= static_cast< bool >(val3
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 (arg1
)->SetSashBorder(arg2
,arg3
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= SWIG_Py_Void();
11129 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
= 0;
11131 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11132 wxSashEdgePosition arg2
;
11138 PyObject
* obj0
= 0 ;
11139 PyObject
* obj1
= 0 ;
11140 char * kwnames
[] = {
11141 (char *) "self",(char *) "edge", NULL
11144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11149 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11151 if (!SWIG_IsOK(ecode2
)) {
11152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11154 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
= 0;
11172 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11173 wxSashEdgePosition arg2
;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 char * kwnames
[] = {
11182 (char *) "self",(char *) "edge", NULL
11185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11187 if (!SWIG_IsOK(res1
)) {
11188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11190 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11192 if (!SWIG_IsOK(ecode2
)) {
11193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11195 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= SWIG_From_int(static_cast< int >(result
));
11209 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
= 0;
11211 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 char * kwnames
[] = {
11220 (char *) "self",(char *) "width", NULL
11223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11225 if (!SWIG_IsOK(res1
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11228 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11230 if (!SWIG_IsOK(ecode2
)) {
11231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11233 arg2
= static_cast< int >(val2
);
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 (arg1
)->SetDefaultBorderSize(arg2
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= SWIG_Py_Void();
11247 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11248 PyObject
*resultobj
= 0;
11249 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11253 PyObject
*swig_obj
[1] ;
11255 if (!args
) SWIG_fail
;
11256 swig_obj
[0] = args
;
11257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11258 if (!SWIG_IsOK(res1
)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11261 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= SWIG_From_int(static_cast< int >(result
));
11275 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
= 0;
11277 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11283 PyObject
* obj0
= 0 ;
11284 PyObject
* obj1
= 0 ;
11285 char * kwnames
[] = {
11286 (char *) "self",(char *) "width", NULL
11289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11291 if (!SWIG_IsOK(res1
)) {
11292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11294 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11296 if (!SWIG_IsOK(ecode2
)) {
11297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11299 arg2
= static_cast< int >(val2
);
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 (arg1
)->SetExtraBorderSize(arg2
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= SWIG_Py_Void();
11313 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11314 PyObject
*resultobj
= 0;
11315 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11319 PyObject
*swig_obj
[1] ;
11321 if (!args
) SWIG_fail
;
11322 swig_obj
[0] = args
;
11323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11324 if (!SWIG_IsOK(res1
)) {
11325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11327 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= SWIG_From_int(static_cast< int >(result
));
11341 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
= 0;
11343 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11349 PyObject
* obj0
= 0 ;
11350 PyObject
* obj1
= 0 ;
11351 char * kwnames
[] = {
11352 (char *) "self",(char *) "min", NULL
11355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11357 if (!SWIG_IsOK(res1
)) {
11358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11360 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11362 if (!SWIG_IsOK(ecode2
)) {
11363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11365 arg2
= static_cast< int >(val2
);
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 (arg1
)->SetMinimumSizeX(arg2
);
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= SWIG_Py_Void();
11379 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
= 0;
11381 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11387 PyObject
* obj0
= 0 ;
11388 PyObject
* obj1
= 0 ;
11389 char * kwnames
[] = {
11390 (char *) "self",(char *) "min", NULL
11393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11395 if (!SWIG_IsOK(res1
)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11398 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11400 if (!SWIG_IsOK(ecode2
)) {
11401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11403 arg2
= static_cast< int >(val2
);
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 (arg1
)->SetMinimumSizeY(arg2
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= SWIG_Py_Void();
11417 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11418 PyObject
*resultobj
= 0;
11419 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11423 PyObject
*swig_obj
[1] ;
11425 if (!args
) SWIG_fail
;
11426 swig_obj
[0] = args
;
11427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11428 if (!SWIG_IsOK(res1
)) {
11429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11431 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= SWIG_From_int(static_cast< int >(result
));
11445 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11446 PyObject
*resultobj
= 0;
11447 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11451 PyObject
*swig_obj
[1] ;
11453 if (!args
) SWIG_fail
;
11454 swig_obj
[0] = args
;
11455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11456 if (!SWIG_IsOK(res1
)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11459 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_From_int(static_cast< int >(result
));
11473 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
= 0;
11475 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 char * kwnames
[] = {
11484 (char *) "self",(char *) "max", NULL
11487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11489 if (!SWIG_IsOK(res1
)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11492 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11494 if (!SWIG_IsOK(ecode2
)) {
11495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11497 arg2
= static_cast< int >(val2
);
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 (arg1
)->SetMaximumSizeX(arg2
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 resultobj
= SWIG_Py_Void();
11511 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
= 0;
11513 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11519 PyObject
* obj0
= 0 ;
11520 PyObject
* obj1
= 0 ;
11521 char * kwnames
[] = {
11522 (char *) "self",(char *) "max", NULL
11525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11527 if (!SWIG_IsOK(res1
)) {
11528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11530 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11532 if (!SWIG_IsOK(ecode2
)) {
11533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11535 arg2
= static_cast< int >(val2
);
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 (arg1
)->SetMaximumSizeY(arg2
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_Py_Void();
11549 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11550 PyObject
*resultobj
= 0;
11551 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11555 PyObject
*swig_obj
[1] ;
11557 if (!args
) SWIG_fail
;
11558 swig_obj
[0] = args
;
11559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11560 if (!SWIG_IsOK(res1
)) {
11561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11563 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= SWIG_From_int(static_cast< int >(result
));
11577 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11578 PyObject
*resultobj
= 0;
11579 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11583 PyObject
*swig_obj
[1] ;
11585 if (!args
) SWIG_fail
;
11586 swig_obj
[0] = args
;
11587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11588 if (!SWIG_IsOK(res1
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11591 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= SWIG_From_int(static_cast< int >(result
));
11605 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
= 0;
11607 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11610 int arg4
= (int) 2 ;
11611 wxSashEdgePosition result
;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 PyObject
* obj2
= 0 ;
11623 PyObject
* obj3
= 0 ;
11624 char * kwnames
[] = {
11625 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11630 if (!SWIG_IsOK(res1
)) {
11631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11633 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11635 if (!SWIG_IsOK(ecode2
)) {
11636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11638 arg2
= static_cast< int >(val2
);
11639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11640 if (!SWIG_IsOK(ecode3
)) {
11641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11643 arg3
= static_cast< int >(val3
);
11645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11646 if (!SWIG_IsOK(ecode4
)) {
11647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11649 arg4
= static_cast< int >(val4
);
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= SWIG_From_int(static_cast< int >(result
));
11664 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11665 PyObject
*resultobj
= 0;
11666 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11669 PyObject
*swig_obj
[1] ;
11671 if (!args
) SWIG_fail
;
11672 swig_obj
[0] = args
;
11673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11674 if (!SWIG_IsOK(res1
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11677 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 (arg1
)->SizeWindows();
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= SWIG_Py_Void();
11691 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11694 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11695 return SWIG_Py_Void();
11698 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11699 return SWIG_Python_InitShadowInstance(args
);
11702 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
= 0;
11704 int arg1
= (int) 0 ;
11705 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11706 wxSashEvent
*result
= 0 ;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11713 char * kwnames
[] = {
11714 (char *) "id",(char *) "edge", NULL
11717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11720 if (!SWIG_IsOK(ecode1
)) {
11721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11723 arg1
= static_cast< int >(val1
);
11726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11727 if (!SWIG_IsOK(ecode2
)) {
11728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11730 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11745 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
= 0;
11747 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11748 wxSashEdgePosition arg2
;
11753 PyObject
* obj0
= 0 ;
11754 PyObject
* obj1
= 0 ;
11755 char * kwnames
[] = {
11756 (char *) "self",(char *) "edge", NULL
11759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11761 if (!SWIG_IsOK(res1
)) {
11762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11764 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11766 if (!SWIG_IsOK(ecode2
)) {
11767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11769 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 (arg1
)->SetEdge(arg2
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= SWIG_Py_Void();
11783 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11784 PyObject
*resultobj
= 0;
11785 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11786 wxSashEdgePosition result
;
11789 PyObject
*swig_obj
[1] ;
11791 if (!args
) SWIG_fail
;
11792 swig_obj
[0] = args
;
11793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11794 if (!SWIG_IsOK(res1
)) {
11795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11797 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= SWIG_From_int(static_cast< int >(result
));
11811 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11812 PyObject
*resultobj
= 0;
11813 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 char * kwnames
[] = {
11821 (char *) "self",(char *) "rect", NULL
11824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11826 if (!SWIG_IsOK(res1
)) {
11827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11829 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11832 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_Py_Void();
11847 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11848 PyObject
*resultobj
= 0;
11849 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11853 PyObject
*swig_obj
[1] ;
11855 if (!args
) SWIG_fail
;
11856 swig_obj
[0] = args
;
11857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11858 if (!SWIG_IsOK(res1
)) {
11859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11861 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11875 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
= 0;
11877 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11878 wxSashDragStatus arg2
;
11883 PyObject
* obj0
= 0 ;
11884 PyObject
* obj1
= 0 ;
11885 char * kwnames
[] = {
11886 (char *) "self",(char *) "status", NULL
11889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11891 if (!SWIG_IsOK(res1
)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11894 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11896 if (!SWIG_IsOK(ecode2
)) {
11897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11899 arg2
= static_cast< wxSashDragStatus
>(val2
);
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 (arg1
)->SetDragStatus(arg2
);
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= SWIG_Py_Void();
11913 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11914 PyObject
*resultobj
= 0;
11915 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11916 wxSashDragStatus result
;
11919 PyObject
*swig_obj
[1] ;
11921 if (!args
) SWIG_fail
;
11922 swig_obj
[0] = args
;
11923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11924 if (!SWIG_IsOK(res1
)) {
11925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11927 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= SWIG_From_int(static_cast< int >(result
));
11941 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11944 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11945 return SWIG_Py_Void();
11948 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11949 return SWIG_Python_InitShadowInstance(args
);
11952 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
= 0;
11954 int arg1
= (int) 0 ;
11955 wxQueryLayoutInfoEvent
*result
= 0 ;
11958 PyObject
* obj0
= 0 ;
11959 char * kwnames
[] = {
11960 (char *) "id", NULL
11963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11965 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11966 if (!SWIG_IsOK(ecode1
)) {
11967 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11969 arg1
= static_cast< int >(val1
);
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11984 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
= 0;
11986 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11992 PyObject
* obj0
= 0 ;
11993 PyObject
* obj1
= 0 ;
11994 char * kwnames
[] = {
11995 (char *) "self",(char *) "length", NULL
11998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12000 if (!SWIG_IsOK(res1
)) {
12001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12003 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12005 if (!SWIG_IsOK(ecode2
)) {
12006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12008 arg2
= static_cast< int >(val2
);
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 (arg1
)->SetRequestedLength(arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= SWIG_Py_Void();
12022 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12023 PyObject
*resultobj
= 0;
12024 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12028 PyObject
*swig_obj
[1] ;
12030 if (!args
) SWIG_fail
;
12031 swig_obj
[0] = args
;
12032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12033 if (!SWIG_IsOK(res1
)) {
12034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12036 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= SWIG_From_int(static_cast< int >(result
));
12050 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
= 0;
12052 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char * kwnames
[] = {
12061 (char *) "self",(char *) "flags", NULL
12064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12066 if (!SWIG_IsOK(res1
)) {
12067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12069 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12071 if (!SWIG_IsOK(ecode2
)) {
12072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12074 arg2
= static_cast< int >(val2
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 (arg1
)->SetFlags(arg2
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= SWIG_Py_Void();
12088 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12089 PyObject
*resultobj
= 0;
12090 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12094 PyObject
*swig_obj
[1] ;
12096 if (!args
) SWIG_fail
;
12097 swig_obj
[0] = args
;
12098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12099 if (!SWIG_IsOK(res1
)) {
12100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12102 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12109 resultobj
= SWIG_From_int(static_cast< int >(result
));
12116 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
= 0;
12118 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 char * kwnames
[] = {
12126 (char *) "self",(char *) "size", NULL
12129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12134 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12137 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 (arg1
)->SetSize((wxSize
const &)*arg2
);
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_Py_Void();
12152 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12153 PyObject
*resultobj
= 0;
12154 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12158 PyObject
*swig_obj
[1] ;
12160 if (!args
) SWIG_fail
;
12161 swig_obj
[0] = args
;
12162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12163 if (!SWIG_IsOK(res1
)) {
12164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12166 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12180 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
= 0;
12182 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12183 wxLayoutOrientation arg2
;
12188 PyObject
* obj0
= 0 ;
12189 PyObject
* obj1
= 0 ;
12190 char * kwnames
[] = {
12191 (char *) "self",(char *) "orient", NULL
12194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12196 if (!SWIG_IsOK(res1
)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12199 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12201 if (!SWIG_IsOK(ecode2
)) {
12202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12204 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 (arg1
)->SetOrientation(arg2
);
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= SWIG_Py_Void();
12218 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12219 PyObject
*resultobj
= 0;
12220 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12221 wxLayoutOrientation result
;
12224 PyObject
*swig_obj
[1] ;
12226 if (!args
) SWIG_fail
;
12227 swig_obj
[0] = args
;
12228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12229 if (!SWIG_IsOK(res1
)) {
12230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12232 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_From_int(static_cast< int >(result
));
12246 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
= 0;
12248 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12249 wxLayoutAlignment arg2
;
12254 PyObject
* obj0
= 0 ;
12255 PyObject
* obj1
= 0 ;
12256 char * kwnames
[] = {
12257 (char *) "self",(char *) "align", NULL
12260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12262 if (!SWIG_IsOK(res1
)) {
12263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12265 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12267 if (!SWIG_IsOK(ecode2
)) {
12268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12270 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 (arg1
)->SetAlignment(arg2
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= SWIG_Py_Void();
12284 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12285 PyObject
*resultobj
= 0;
12286 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12287 wxLayoutAlignment result
;
12290 PyObject
*swig_obj
[1] ;
12292 if (!args
) SWIG_fail
;
12293 swig_obj
[0] = args
;
12294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12295 if (!SWIG_IsOK(res1
)) {
12296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12298 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= SWIG_From_int(static_cast< int >(result
));
12312 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12315 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12316 return SWIG_Py_Void();
12319 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12320 return SWIG_Python_InitShadowInstance(args
);
12323 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
= 0;
12325 int arg1
= (int) 0 ;
12326 wxCalculateLayoutEvent
*result
= 0 ;
12329 PyObject
* obj0
= 0 ;
12330 char * kwnames
[] = {
12331 (char *) "id", NULL
12334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12336 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12337 if (!SWIG_IsOK(ecode1
)) {
12338 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12340 arg1
= static_cast< int >(val1
);
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12355 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12356 PyObject
*resultobj
= 0;
12357 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 PyObject
* obj1
= 0 ;
12365 char * kwnames
[] = {
12366 (char *) "self",(char *) "flags", NULL
12369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12371 if (!SWIG_IsOK(res1
)) {
12372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12374 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12376 if (!SWIG_IsOK(ecode2
)) {
12377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12379 arg2
= static_cast< int >(val2
);
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->SetFlags(arg2
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= SWIG_Py_Void();
12393 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12394 PyObject
*resultobj
= 0;
12395 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12399 PyObject
*swig_obj
[1] ;
12401 if (!args
) SWIG_fail
;
12402 swig_obj
[0] = args
;
12403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12404 if (!SWIG_IsOK(res1
)) {
12405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12407 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= SWIG_From_int(static_cast< int >(result
));
12421 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
= 0;
12423 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12428 PyObject
* obj0
= 0 ;
12429 PyObject
* obj1
= 0 ;
12430 char * kwnames
[] = {
12431 (char *) "self",(char *) "rect", NULL
12434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12436 if (!SWIG_IsOK(res1
)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12439 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12442 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 (arg1
)->SetRect((wxRect
const &)*arg2
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 resultobj
= SWIG_Py_Void();
12457 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12458 PyObject
*resultobj
= 0;
12459 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12463 PyObject
*swig_obj
[1] ;
12465 if (!args
) SWIG_fail
;
12466 swig_obj
[0] = args
;
12467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12468 if (!SWIG_IsOK(res1
)) {
12469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12471 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12485 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12488 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12489 return SWIG_Py_Void();
12492 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12493 return SWIG_Python_InitShadowInstance(args
);
12496 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
= 0;
12498 wxWindow
*arg1
= (wxWindow
*) 0 ;
12499 int arg2
= (int) -1 ;
12500 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12501 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12502 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12503 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12504 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12505 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12506 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12507 wxSashLayoutWindow
*result
= 0 ;
12516 bool temp6
= false ;
12517 PyObject
* obj0
= 0 ;
12518 PyObject
* obj1
= 0 ;
12519 PyObject
* obj2
= 0 ;
12520 PyObject
* obj3
= 0 ;
12521 PyObject
* obj4
= 0 ;
12522 PyObject
* obj5
= 0 ;
12523 char * kwnames
[] = {
12524 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12529 if (!SWIG_IsOK(res1
)) {
12530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12532 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12535 if (!SWIG_IsOK(ecode2
)) {
12536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12538 arg2
= static_cast< int >(val2
);
12543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12549 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12553 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12554 if (!SWIG_IsOK(ecode5
)) {
12555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12557 arg5
= static_cast< long >(val5
);
12561 arg6
= wxString_in_helper(obj5
);
12562 if (arg6
== NULL
) SWIG_fail
;
12567 if (!wxPyCheckForApp()) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12588 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12589 PyObject
*resultobj
= 0;
12590 wxSashLayoutWindow
*result
= 0 ;
12592 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12594 if (!wxPyCheckForApp()) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12607 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
= 0;
12609 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12610 wxWindow
*arg2
= (wxWindow
*) 0 ;
12611 int arg3
= (int) -1 ;
12612 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12613 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12614 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12615 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12616 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12617 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12618 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12630 bool temp7
= false ;
12631 PyObject
* obj0
= 0 ;
12632 PyObject
* obj1
= 0 ;
12633 PyObject
* obj2
= 0 ;
12634 PyObject
* obj3
= 0 ;
12635 PyObject
* obj4
= 0 ;
12636 PyObject
* obj5
= 0 ;
12637 PyObject
* obj6
= 0 ;
12638 char * kwnames
[] = {
12639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12644 if (!SWIG_IsOK(res1
)) {
12645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12647 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12649 if (!SWIG_IsOK(res2
)) {
12650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12655 if (!SWIG_IsOK(ecode3
)) {
12656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12658 arg3
= static_cast< int >(val3
);
12663 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12669 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12673 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12674 if (!SWIG_IsOK(ecode6
)) {
12675 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12677 arg6
= static_cast< long >(val6
);
12681 arg7
= wxString_in_helper(obj6
);
12682 if (arg7
== NULL
) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12709 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12710 PyObject
*resultobj
= 0;
12711 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12712 wxLayoutAlignment result
;
12715 PyObject
*swig_obj
[1] ;
12717 if (!args
) SWIG_fail
;
12718 swig_obj
[0] = args
;
12719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12720 if (!SWIG_IsOK(res1
)) {
12721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12723 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12727 wxPyEndAllowThreads(__tstate
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 resultobj
= SWIG_From_int(static_cast< int >(result
));
12737 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12738 PyObject
*resultobj
= 0;
12739 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12740 wxLayoutOrientation result
;
12743 PyObject
*swig_obj
[1] ;
12745 if (!args
) SWIG_fail
;
12746 swig_obj
[0] = args
;
12747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12748 if (!SWIG_IsOK(res1
)) {
12749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12751 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= SWIG_From_int(static_cast< int >(result
));
12765 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
= 0;
12767 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12768 wxLayoutAlignment arg2
;
12773 PyObject
* obj0
= 0 ;
12774 PyObject
* obj1
= 0 ;
12775 char * kwnames
[] = {
12776 (char *) "self",(char *) "alignment", NULL
12779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12781 if (!SWIG_IsOK(res1
)) {
12782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12784 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12786 if (!SWIG_IsOK(ecode2
)) {
12787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12789 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 (arg1
)->SetAlignment(arg2
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= SWIG_Py_Void();
12803 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
= 0;
12805 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 PyObject
* obj1
= 0 ;
12812 char * kwnames
[] = {
12813 (char *) "self",(char *) "size", NULL
12816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12818 if (!SWIG_IsOK(res1
)) {
12819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12821 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12824 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= SWIG_Py_Void();
12839 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
= 0;
12841 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12842 wxLayoutOrientation arg2
;
12847 PyObject
* obj0
= 0 ;
12848 PyObject
* obj1
= 0 ;
12849 char * kwnames
[] = {
12850 (char *) "self",(char *) "orientation", NULL
12853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12855 if (!SWIG_IsOK(res1
)) {
12856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12858 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12860 if (!SWIG_IsOK(ecode2
)) {
12861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12863 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 (arg1
)->SetOrientation(arg2
);
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= SWIG_Py_Void();
12877 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12879 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12880 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12881 return SWIG_Py_Void();
12884 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12885 return SWIG_Python_InitShadowInstance(args
);
12888 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12889 PyObject
*resultobj
= 0;
12890 wxLayoutAlgorithm
*result
= 0 ;
12892 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12906 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12907 PyObject
*resultobj
= 0;
12908 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12911 PyObject
*swig_obj
[1] ;
12913 if (!args
) SWIG_fail
;
12914 swig_obj
[0] = args
;
12915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12916 if (!SWIG_IsOK(res1
)) {
12917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12919 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_Py_Void();
12934 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
= 0;
12936 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12937 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12938 wxRect
*arg3
= (wxRect
*) NULL
;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 PyObject
* obj2
= 0 ;
12949 char * kwnames
[] = {
12950 (char *) "self",(char *) "frame",(char *) "rect", NULL
12953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12955 if (!SWIG_IsOK(res1
)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12958 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12960 if (!SWIG_IsOK(res2
)) {
12961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12963 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12965 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12966 if (!SWIG_IsOK(res3
)) {
12967 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12969 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12986 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
= 0;
12988 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12989 wxFrame
*arg2
= (wxFrame
*) 0 ;
12990 wxWindow
*arg3
= (wxWindow
*) NULL
;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 PyObject
* obj2
= 0 ;
13001 char * kwnames
[] = {
13002 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13007 if (!SWIG_IsOK(res1
)) {
13008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13010 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13011 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13012 if (!SWIG_IsOK(res2
)) {
13013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13015 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13017 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13018 if (!SWIG_IsOK(res3
)) {
13019 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13021 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13038 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
= 0;
13040 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13041 wxWindow
*arg2
= (wxWindow
*) 0 ;
13042 wxWindow
*arg3
= (wxWindow
*) NULL
;
13050 PyObject
* obj0
= 0 ;
13051 PyObject
* obj1
= 0 ;
13052 PyObject
* obj2
= 0 ;
13053 char * kwnames
[] = {
13054 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13059 if (!SWIG_IsOK(res1
)) {
13060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13062 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13064 if (!SWIG_IsOK(res2
)) {
13065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13067 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13069 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13070 if (!SWIG_IsOK(res3
)) {
13071 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13073 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13090 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13093 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13094 return SWIG_Py_Void();
13097 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13098 return SWIG_Python_InitShadowInstance(args
);
13101 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
= 0;
13103 wxWindow
*arg1
= (wxWindow
*) 0 ;
13104 int arg2
= (int) wxBORDER_NONE
;
13105 wxPopupWindow
*result
= 0 ;
13110 PyObject
* obj0
= 0 ;
13111 PyObject
* obj1
= 0 ;
13112 char * kwnames
[] = {
13113 (char *) "parent",(char *) "flags", NULL
13116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13118 if (!SWIG_IsOK(res1
)) {
13119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13121 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13124 if (!SWIG_IsOK(ecode2
)) {
13125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13127 arg2
= static_cast< int >(val2
);
13130 if (!wxPyCheckForApp()) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13143 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13144 PyObject
*resultobj
= 0;
13145 wxPopupWindow
*result
= 0 ;
13147 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13149 if (!wxPyCheckForApp()) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 result
= (wxPopupWindow
*)new wxPopupWindow();
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13162 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13163 PyObject
*resultobj
= 0;
13164 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13165 wxWindow
*arg2
= (wxWindow
*) 0 ;
13166 int arg3
= (int) wxBORDER_NONE
;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 PyObject
* obj2
= 0 ;
13177 char * kwnames
[] = {
13178 (char *) "self",(char *) "parent",(char *) "flags", NULL
13181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13183 if (!SWIG_IsOK(res1
)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13186 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13188 if (!SWIG_IsOK(res2
)) {
13189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13191 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13193 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13194 if (!SWIG_IsOK(ecode3
)) {
13195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13197 arg3
= static_cast< int >(val3
);
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13214 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
= 0;
13216 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13217 wxPoint
*arg2
= 0 ;
13223 PyObject
* obj0
= 0 ;
13224 PyObject
* obj1
= 0 ;
13225 PyObject
* obj2
= 0 ;
13226 char * kwnames
[] = {
13227 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13232 if (!SWIG_IsOK(res1
)) {
13233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13235 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13238 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13242 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 resultobj
= SWIG_Py_Void();
13257 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13260 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13261 return SWIG_Py_Void();
13264 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13265 return SWIG_Python_InitShadowInstance(args
);
13268 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
= 0;
13270 wxWindow
*arg1
= (wxWindow
*) 0 ;
13271 int arg2
= (int) wxBORDER_NONE
;
13272 wxPyPopupTransientWindow
*result
= 0 ;
13277 PyObject
* obj0
= 0 ;
13278 PyObject
* obj1
= 0 ;
13279 char * kwnames
[] = {
13280 (char *) "parent",(char *) "style", NULL
13283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13285 if (!SWIG_IsOK(res1
)) {
13286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13288 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13291 if (!SWIG_IsOK(ecode2
)) {
13292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13294 arg2
= static_cast< int >(val2
);
13297 if (!wxPyCheckForApp()) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13310 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13311 PyObject
*resultobj
= 0;
13312 wxPyPopupTransientWindow
*result
= 0 ;
13314 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13316 if (!wxPyCheckForApp()) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13329 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
= 0;
13331 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13332 PyObject
*arg2
= (PyObject
*) 0 ;
13333 PyObject
*arg3
= (PyObject
*) 0 ;
13336 PyObject
* obj0
= 0 ;
13337 PyObject
* obj1
= 0 ;
13338 PyObject
* obj2
= 0 ;
13339 char * kwnames
[] = {
13340 (char *) "self",(char *) "self",(char *) "_class", NULL
13343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13345 if (!SWIG_IsOK(res1
)) {
13346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13348 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_Py_Void();
13364 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
= 0;
13366 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13367 wxWindow
*arg2
= (wxWindow
*) NULL
;
13372 PyObject
* obj0
= 0 ;
13373 PyObject
* obj1
= 0 ;
13374 char * kwnames
[] = {
13375 (char *) "self",(char *) "focus", NULL
13378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13380 if (!SWIG_IsOK(res1
)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13383 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13386 if (!SWIG_IsOK(res2
)) {
13387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13389 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 (arg1
)->Popup(arg2
);
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= SWIG_Py_Void();
13404 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13405 PyObject
*resultobj
= 0;
13406 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13409 PyObject
*swig_obj
[1] ;
13411 if (!args
) SWIG_fail
;
13412 swig_obj
[0] = args
;
13413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13414 if (!SWIG_IsOK(res1
)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13417 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_Py_Void();
13431 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13434 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13435 return SWIG_Py_Void();
13438 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13439 return SWIG_Python_InitShadowInstance(args
);
13442 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
= 0;
13444 wxWindow
*arg1
= (wxWindow
*) 0 ;
13445 wxString
*arg2
= 0 ;
13446 int arg3
= (int) 100 ;
13447 wxRect
*arg4
= (wxRect
*) NULL
;
13448 wxTipWindow
*result
= 0 ;
13451 bool temp2
= false ;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 PyObject
* obj2
= 0 ;
13459 PyObject
* obj3
= 0 ;
13460 char * kwnames
[] = {
13461 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13466 if (!SWIG_IsOK(res1
)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13471 arg2
= wxString_in_helper(obj1
);
13472 if (arg2
== NULL
) SWIG_fail
;
13476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13477 if (!SWIG_IsOK(ecode3
)) {
13478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13480 arg3
= static_cast< int >(val3
);
13483 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13484 if (!SWIG_IsOK(res4
)) {
13485 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13487 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13490 if (!wxPyCheckForApp()) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13511 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
= 0;
13513 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 char * kwnames
[] = {
13521 (char *) "self",(char *) "rectBound", NULL
13524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13526 if (!SWIG_IsOK(res1
)) {
13527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13529 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13532 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= SWIG_Py_Void();
13547 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13548 PyObject
*resultobj
= 0;
13549 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13552 PyObject
*swig_obj
[1] ;
13554 if (!args
) SWIG_fail
;
13555 swig_obj
[0] = args
;
13556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13557 if (!SWIG_IsOK(res1
)) {
13558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13560 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= SWIG_Py_Void();
13574 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13577 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13578 return SWIG_Py_Void();
13581 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13582 return SWIG_Python_InitShadowInstance(args
);
13585 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
= 0;
13587 wxWindow
*arg1
= (wxWindow
*) 0 ;
13588 int arg2
= (int) wxID_ANY
;
13589 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13590 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13591 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13592 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13593 long arg5
= (long) 0 ;
13594 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13595 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13596 wxPyVScrolledWindow
*result
= 0 ;
13605 bool temp6
= false ;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 PyObject
* obj2
= 0 ;
13609 PyObject
* obj3
= 0 ;
13610 PyObject
* obj4
= 0 ;
13611 PyObject
* obj5
= 0 ;
13612 char * kwnames
[] = {
13613 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13618 if (!SWIG_IsOK(res1
)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13621 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13624 if (!SWIG_IsOK(ecode2
)) {
13625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13627 arg2
= static_cast< int >(val2
);
13632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13638 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13642 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13643 if (!SWIG_IsOK(ecode5
)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13646 arg5
= static_cast< long >(val5
);
13650 arg6
= wxString_in_helper(obj5
);
13651 if (arg6
== NULL
) SWIG_fail
;
13656 if (!wxPyCheckForApp()) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13677 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13678 PyObject
*resultobj
= 0;
13679 wxPyVScrolledWindow
*result
= 0 ;
13681 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13683 if (!wxPyCheckForApp()) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13696 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
= 0;
13698 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13699 PyObject
*arg2
= (PyObject
*) 0 ;
13700 PyObject
*arg3
= (PyObject
*) 0 ;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 PyObject
* obj2
= 0 ;
13706 char * kwnames
[] = {
13707 (char *) "self",(char *) "self",(char *) "_class", NULL
13710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13712 if (!SWIG_IsOK(res1
)) {
13713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13715 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= SWIG_Py_Void();
13731 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
= 0;
13733 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13734 wxWindow
*arg2
= (wxWindow
*) 0 ;
13735 int arg3
= (int) wxID_ANY
;
13736 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13737 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13738 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13739 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13740 long arg6
= (long) 0 ;
13741 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13742 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13754 bool temp7
= false ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 PyObject
* obj2
= 0 ;
13758 PyObject
* obj3
= 0 ;
13759 PyObject
* obj4
= 0 ;
13760 PyObject
* obj5
= 0 ;
13761 PyObject
* obj6
= 0 ;
13762 char * kwnames
[] = {
13763 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13768 if (!SWIG_IsOK(res1
)) {
13769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13771 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13773 if (!SWIG_IsOK(res2
)) {
13774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13776 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13779 if (!SWIG_IsOK(ecode3
)) {
13780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13782 arg3
= static_cast< int >(val3
);
13787 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13793 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13797 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13798 if (!SWIG_IsOK(ecode6
)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13801 arg6
= static_cast< long >(val6
);
13805 arg7
= wxString_in_helper(obj6
);
13806 if (arg7
== NULL
) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13833 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
= 0;
13835 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13841 PyObject
* obj0
= 0 ;
13842 PyObject
* obj1
= 0 ;
13843 char * kwnames
[] = {
13844 (char *) "self",(char *) "count", NULL
13847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13849 if (!SWIG_IsOK(res1
)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13852 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13853 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13854 if (!SWIG_IsOK(ecode2
)) {
13855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13857 arg2
= static_cast< size_t >(val2
);
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 (arg1
)->SetLineCount(arg2
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= SWIG_Py_Void();
13871 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
= 0;
13873 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13880 PyObject
* obj0
= 0 ;
13881 PyObject
* obj1
= 0 ;
13882 char * kwnames
[] = {
13883 (char *) "self",(char *) "line", NULL
13886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13888 if (!SWIG_IsOK(res1
)) {
13889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13891 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13892 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13893 if (!SWIG_IsOK(ecode2
)) {
13894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13896 arg2
= static_cast< size_t >(val2
);
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13912 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
= 0;
13914 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 char * kwnames
[] = {
13923 (char *) "self",(char *) "line", NULL
13926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13928 if (!SWIG_IsOK(res1
)) {
13929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13931 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13932 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13933 if (!SWIG_IsOK(ecode2
)) {
13934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13936 arg2
= static_cast< size_t >(val2
);
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 (arg1
)->RefreshLine(arg2
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= SWIG_Py_Void();
13950 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13951 PyObject
*resultobj
= 0;
13952 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13961 PyObject
* obj0
= 0 ;
13962 PyObject
* obj1
= 0 ;
13963 PyObject
* obj2
= 0 ;
13964 char * kwnames
[] = {
13965 (char *) "self",(char *) "from",(char *) "to", NULL
13968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13970 if (!SWIG_IsOK(res1
)) {
13971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13973 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13974 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13975 if (!SWIG_IsOK(ecode2
)) {
13976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13978 arg2
= static_cast< size_t >(val2
);
13979 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13980 if (!SWIG_IsOK(ecode3
)) {
13981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13983 arg3
= static_cast< size_t >(val3
);
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 (arg1
)->RefreshLines(arg2
,arg3
);
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= SWIG_Py_Void();
13997 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13998 PyObject
*resultobj
= 0;
13999 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 PyObject
* obj2
= 0 ;
14012 char * kwnames
[] = {
14013 (char *) "self",(char *) "x",(char *) "y", NULL
14016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14018 if (!SWIG_IsOK(res1
)) {
14019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14021 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14023 if (!SWIG_IsOK(ecode2
)) {
14024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14026 arg2
= static_cast< int >(val2
);
14027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14028 if (!SWIG_IsOK(ecode3
)) {
14029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14031 arg3
= static_cast< int >(val3
);
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 resultobj
= SWIG_From_int(static_cast< int >(result
));
14045 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
= 0;
14047 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14048 wxPoint
*arg2
= 0 ;
14053 PyObject
* obj0
= 0 ;
14054 PyObject
* obj1
= 0 ;
14055 char * kwnames
[] = {
14056 (char *) "self",(char *) "pt", NULL
14059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14061 if (!SWIG_IsOK(res1
)) {
14062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14064 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= SWIG_From_int(static_cast< int >(result
));
14082 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14083 PyObject
*resultobj
= 0;
14084 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14087 PyObject
*swig_obj
[1] ;
14089 if (!args
) SWIG_fail
;
14090 swig_obj
[0] = args
;
14091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14092 if (!SWIG_IsOK(res1
)) {
14093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14095 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 (arg1
)->RefreshAll();
14099 wxPyEndAllowThreads(__tstate
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= SWIG_Py_Void();
14109 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14110 PyObject
*resultobj
= 0;
14111 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14115 PyObject
*swig_obj
[1] ;
14117 if (!args
) SWIG_fail
;
14118 swig_obj
[0] = args
;
14119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14120 if (!SWIG_IsOK(res1
)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14123 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14137 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14138 PyObject
*resultobj
= 0;
14139 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14143 PyObject
*swig_obj
[1] ;
14145 if (!args
) SWIG_fail
;
14146 swig_obj
[0] = args
;
14147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14148 if (!SWIG_IsOK(res1
)) {
14149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14151 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14165 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14166 PyObject
*resultobj
= 0;
14167 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14171 PyObject
*swig_obj
[1] ;
14173 if (!args
) SWIG_fail
;
14174 swig_obj
[0] = args
;
14175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14176 if (!SWIG_IsOK(res1
)) {
14177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14179 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14193 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
= 0;
14195 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 PyObject
* obj1
= 0 ;
14204 char * kwnames
[] = {
14205 (char *) "self",(char *) "line", NULL
14208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14210 if (!SWIG_IsOK(res1
)) {
14211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14213 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14214 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14215 if (!SWIG_IsOK(ecode2
)) {
14216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14218 arg2
= static_cast< size_t >(val2
);
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14234 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14235 PyObject
*resultobj
= 0;
14236 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14240 PyObject
*swig_obj
[1] ;
14242 if (!args
) SWIG_fail
;
14243 swig_obj
[0] = args
;
14244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14245 if (!SWIG_IsOK(res1
)) {
14246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14248 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14262 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14263 PyObject
*resultobj
= 0;
14264 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14268 PyObject
*swig_obj
[1] ;
14270 if (!args
) SWIG_fail
;
14271 swig_obj
[0] = args
;
14272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14273 if (!SWIG_IsOK(res1
)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14276 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14290 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
= 0;
14292 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14294 bool arg3
= (bool) false ;
14302 PyObject
* obj0
= 0 ;
14303 PyObject
* obj1
= 0 ;
14304 PyObject
* obj2
= 0 ;
14305 char * kwnames
[] = {
14306 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14311 if (!SWIG_IsOK(res1
)) {
14312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14314 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14315 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14316 if (!SWIG_IsOK(ecode2
)) {
14317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14319 arg2
= static_cast< size_t >(val2
);
14321 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14322 if (!SWIG_IsOK(ecode3
)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14325 arg3
= static_cast< bool >(val3
);
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14340 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
= 0;
14342 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14352 PyObject
* obj0
= 0 ;
14353 PyObject
* obj1
= 0 ;
14354 PyObject
* obj2
= 0 ;
14355 char * kwnames
[] = {
14356 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14361 if (!SWIG_IsOK(res1
)) {
14362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14364 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14365 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14366 if (!SWIG_IsOK(ecode2
)) {
14367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14369 arg2
= static_cast< size_t >(val2
);
14370 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14371 if (!SWIG_IsOK(ecode3
)) {
14372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14374 arg3
= static_cast< size_t >(val3
);
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 resultobj
= SWIG_From_int(static_cast< int >(result
));
14388 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14391 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14392 return SWIG_Py_Void();
14395 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14396 return SWIG_Python_InitShadowInstance(args
);
14399 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14400 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14405 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14406 PyObject
*pyobj
= 0;
14410 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14412 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14419 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
= 0;
14421 wxWindow
*arg1
= (wxWindow
*) 0 ;
14422 int arg2
= (int) wxID_ANY
;
14423 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14424 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14425 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14426 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14427 long arg5
= (long) 0 ;
14428 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14429 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14430 wxPyVListBox
*result
= 0 ;
14439 bool temp6
= false ;
14440 PyObject
* obj0
= 0 ;
14441 PyObject
* obj1
= 0 ;
14442 PyObject
* obj2
= 0 ;
14443 PyObject
* obj3
= 0 ;
14444 PyObject
* obj4
= 0 ;
14445 PyObject
* obj5
= 0 ;
14446 char * kwnames
[] = {
14447 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14452 if (!SWIG_IsOK(res1
)) {
14453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14458 if (!SWIG_IsOK(ecode2
)) {
14459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14461 arg2
= static_cast< int >(val2
);
14466 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14472 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14476 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14477 if (!SWIG_IsOK(ecode5
)) {
14478 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14480 arg5
= static_cast< long >(val5
);
14484 arg6
= wxString_in_helper(obj5
);
14485 if (arg6
== NULL
) SWIG_fail
;
14490 if (!wxPyCheckForApp()) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14511 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14512 PyObject
*resultobj
= 0;
14513 wxPyVListBox
*result
= 0 ;
14515 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14517 if (!wxPyCheckForApp()) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (wxPyVListBox
*)new wxPyVListBox();
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14530 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
= 0;
14532 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14533 PyObject
*arg2
= (PyObject
*) 0 ;
14534 PyObject
*arg3
= (PyObject
*) 0 ;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 char * kwnames
[] = {
14541 (char *) "self",(char *) "self",(char *) "_class", NULL
14544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14546 if (!SWIG_IsOK(res1
)) {
14547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14549 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= SWIG_Py_Void();
14565 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
= 0;
14567 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14568 wxWindow
*arg2
= (wxWindow
*) 0 ;
14569 int arg3
= (int) wxID_ANY
;
14570 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14571 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14572 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14573 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14574 long arg6
= (long) 0 ;
14575 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14576 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14588 bool temp7
= false ;
14589 PyObject
* obj0
= 0 ;
14590 PyObject
* obj1
= 0 ;
14591 PyObject
* obj2
= 0 ;
14592 PyObject
* obj3
= 0 ;
14593 PyObject
* obj4
= 0 ;
14594 PyObject
* obj5
= 0 ;
14595 PyObject
* obj6
= 0 ;
14596 char * kwnames
[] = {
14597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14602 if (!SWIG_IsOK(res1
)) {
14603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14605 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14607 if (!SWIG_IsOK(res2
)) {
14608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14610 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14613 if (!SWIG_IsOK(ecode3
)) {
14614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14616 arg3
= static_cast< int >(val3
);
14621 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14627 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14631 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14632 if (!SWIG_IsOK(ecode6
)) {
14633 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14635 arg6
= static_cast< long >(val6
);
14639 arg7
= wxString_in_helper(obj6
);
14640 if (arg7
== NULL
) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14667 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14668 PyObject
*resultobj
= 0;
14669 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14673 PyObject
*swig_obj
[1] ;
14675 if (!args
) SWIG_fail
;
14676 swig_obj
[0] = args
;
14677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14678 if (!SWIG_IsOK(res1
)) {
14679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14681 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14695 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14696 PyObject
*resultobj
= 0;
14697 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14701 PyObject
*swig_obj
[1] ;
14703 if (!args
) SWIG_fail
;
14704 swig_obj
[0] = args
;
14705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14706 if (!SWIG_IsOK(res1
)) {
14707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14709 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14725 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14726 PyObject
*resultobj
= 0;
14727 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14731 PyObject
*swig_obj
[1] ;
14733 if (!args
) SWIG_fail
;
14734 swig_obj
[0] = args
;
14735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14736 if (!SWIG_IsOK(res1
)) {
14737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14739 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= SWIG_From_int(static_cast< int >(result
));
14753 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
= 0;
14755 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 PyObject
* obj1
= 0 ;
14764 char * kwnames
[] = {
14765 (char *) "self",(char *) "item", NULL
14768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14770 if (!SWIG_IsOK(res1
)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14773 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14774 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14775 if (!SWIG_IsOK(ecode2
)) {
14776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14778 arg2
= static_cast< size_t >(val2
);
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14794 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
= 0;
14796 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 char * kwnames
[] = {
14806 (char *) "self",(char *) "item", NULL
14809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14811 if (!SWIG_IsOK(res1
)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14814 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14815 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14816 if (!SWIG_IsOK(ecode2
)) {
14817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14819 arg2
= static_cast< size_t >(val2
);
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14835 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14836 PyObject
*resultobj
= 0;
14837 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14841 PyObject
*swig_obj
[1] ;
14843 if (!args
) SWIG_fail
;
14844 swig_obj
[0] = args
;
14845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14846 if (!SWIG_IsOK(res1
)) {
14847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14849 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14863 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14864 PyObject
*resultobj
= 0;
14865 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14866 PyObject
*result
= 0 ;
14869 PyObject
*swig_obj
[1] ;
14871 if (!args
) SWIG_fail
;
14872 swig_obj
[0] = args
;
14873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14874 if (!SWIG_IsOK(res1
)) {
14875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14877 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14881 wxPyEndAllowThreads(__tstate
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= result
;
14891 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14892 PyObject
*resultobj
= 0;
14893 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14894 unsigned long arg2
;
14895 PyObject
*result
= 0 ;
14898 unsigned long val2
;
14900 PyObject
* obj0
= 0 ;
14901 PyObject
* obj1
= 0 ;
14902 char * kwnames
[] = {
14903 (char *) "self",(char *) "cookie", NULL
14906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14908 if (!SWIG_IsOK(res1
)) {
14909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14911 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14912 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14913 if (!SWIG_IsOK(ecode2
)) {
14914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14916 arg2
= static_cast< unsigned long >(val2
);
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= result
;
14930 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14931 PyObject
*resultobj
= 0;
14932 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14936 PyObject
*swig_obj
[1] ;
14938 if (!args
) SWIG_fail
;
14939 swig_obj
[0] = args
;
14940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14941 if (!SWIG_IsOK(res1
)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14944 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14958 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14959 PyObject
*resultobj
= 0;
14960 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14961 wxColour
*result
= 0 ;
14964 PyObject
*swig_obj
[1] ;
14966 if (!args
) SWIG_fail
;
14967 swig_obj
[0] = args
;
14968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14969 if (!SWIG_IsOK(res1
)) {
14970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14972 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14977 result
= (wxColour
*) &_result_ref
;
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14989 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
= 0;
14991 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 char * kwnames
[] = {
15000 (char *) "self",(char *) "count", NULL
15003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15005 if (!SWIG_IsOK(res1
)) {
15006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15008 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15009 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15010 if (!SWIG_IsOK(ecode2
)) {
15011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15013 arg2
= static_cast< size_t >(val2
);
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 (arg1
)->SetItemCount(arg2
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= SWIG_Py_Void();
15027 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15028 PyObject
*resultobj
= 0;
15029 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15032 PyObject
*swig_obj
[1] ;
15034 if (!args
) SWIG_fail
;
15035 swig_obj
[0] = args
;
15036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15037 if (!SWIG_IsOK(res1
)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15040 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_Py_Void();
15054 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
= 0;
15056 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 char * kwnames
[] = {
15065 (char *) "self",(char *) "selection", NULL
15068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15070 if (!SWIG_IsOK(res1
)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15073 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15075 if (!SWIG_IsOK(ecode2
)) {
15076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15078 arg2
= static_cast< int >(val2
);
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 (arg1
)->SetSelection(arg2
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= SWIG_Py_Void();
15092 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
= 0;
15094 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15096 bool arg3
= (bool) true ;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 PyObject
* obj2
= 0 ;
15107 char * kwnames
[] = {
15108 (char *) "self",(char *) "item",(char *) "select", NULL
15111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15113 if (!SWIG_IsOK(res1
)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15116 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15117 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15118 if (!SWIG_IsOK(ecode2
)) {
15119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15121 arg2
= static_cast< size_t >(val2
);
15123 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15124 if (!SWIG_IsOK(ecode3
)) {
15125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15127 arg3
= static_cast< bool >(val3
);
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15144 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
= 0;
15146 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 PyObject
* obj2
= 0 ;
15159 char * kwnames
[] = {
15160 (char *) "self",(char *) "from",(char *) "to", NULL
15163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15165 if (!SWIG_IsOK(res1
)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15168 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15169 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15170 if (!SWIG_IsOK(ecode2
)) {
15171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15173 arg2
= static_cast< size_t >(val2
);
15174 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15175 if (!SWIG_IsOK(ecode3
)) {
15176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15178 arg3
= static_cast< size_t >(val3
);
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15194 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
= 0;
15196 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 PyObject
* obj1
= 0 ;
15204 char * kwnames
[] = {
15205 (char *) "self",(char *) "item", NULL
15208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15210 if (!SWIG_IsOK(res1
)) {
15211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15213 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15214 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15215 if (!SWIG_IsOK(ecode2
)) {
15216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15218 arg2
= static_cast< size_t >(val2
);
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 (arg1
)->Toggle(arg2
);
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= SWIG_Py_Void();
15232 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15233 PyObject
*resultobj
= 0;
15234 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15238 PyObject
*swig_obj
[1] ;
15240 if (!args
) SWIG_fail
;
15241 swig_obj
[0] = args
;
15242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15243 if (!SWIG_IsOK(res1
)) {
15244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15246 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (bool)(arg1
)->SelectAll();
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15262 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15263 PyObject
*resultobj
= 0;
15264 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15268 PyObject
*swig_obj
[1] ;
15270 if (!args
) SWIG_fail
;
15271 swig_obj
[0] = args
;
15272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15273 if (!SWIG_IsOK(res1
)) {
15274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15276 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= (bool)(arg1
)->DeselectAll();
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15292 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
= 0;
15294 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15295 wxPoint
*arg2
= 0 ;
15299 PyObject
* obj0
= 0 ;
15300 PyObject
* obj1
= 0 ;
15301 char * kwnames
[] = {
15302 (char *) "self",(char *) "pt", NULL
15305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15307 if (!SWIG_IsOK(res1
)) {
15308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15310 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= SWIG_Py_Void();
15328 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
= 0;
15330 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 PyObject
* obj1
= 0 ;
15341 PyObject
* obj2
= 0 ;
15342 char * kwnames
[] = {
15343 (char *) "self",(char *) "x",(char *) "y", NULL
15346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15348 if (!SWIG_IsOK(res1
)) {
15349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15351 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15353 if (!SWIG_IsOK(ecode2
)) {
15354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15356 arg2
= static_cast< int >(val2
);
15357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15358 if (!SWIG_IsOK(ecode3
)) {
15359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15361 arg3
= static_cast< int >(val3
);
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 (arg1
)->SetMargins(arg2
,arg3
);
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= SWIG_Py_Void();
15375 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
= 0;
15377 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15378 wxColour
*arg2
= 0 ;
15382 PyObject
* obj0
= 0 ;
15383 PyObject
* obj1
= 0 ;
15384 char * kwnames
[] = {
15385 (char *) "self",(char *) "col", NULL
15388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15390 if (!SWIG_IsOK(res1
)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15393 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15396 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_Py_Void();
15411 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
= 0;
15413 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15424 PyObject
* obj0
= 0 ;
15425 PyObject
* obj1
= 0 ;
15426 PyObject
* obj2
= 0 ;
15427 PyObject
* obj3
= 0 ;
15428 char * kwnames
[] = {
15429 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15434 if (!SWIG_IsOK(res1
)) {
15435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15437 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15439 if (!SWIG_IsOK(res2
)) {
15440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15445 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15448 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15450 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15451 if (!SWIG_IsOK(ecode4
)) {
15452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15454 arg4
= static_cast< size_t >(val4
);
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_Py_Void();
15468 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
= 0;
15470 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15481 PyObject
* obj0
= 0 ;
15482 PyObject
* obj1
= 0 ;
15483 PyObject
* obj2
= 0 ;
15484 PyObject
* obj3
= 0 ;
15485 char * kwnames
[] = {
15486 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15491 if (!SWIG_IsOK(res1
)) {
15492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15494 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15496 if (!SWIG_IsOK(res2
)) {
15497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15502 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15505 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15507 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15508 if (!SWIG_IsOK(ecode4
)) {
15509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15511 arg4
= static_cast< size_t >(val4
);
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= SWIG_Py_Void();
15525 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15528 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15529 return SWIG_Py_Void();
15532 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15533 return SWIG_Python_InitShadowInstance(args
);
15536 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
= 0;
15538 wxWindow
*arg1
= (wxWindow
*) 0 ;
15539 int arg2
= (int) wxID_ANY
;
15540 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15541 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15542 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15543 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15544 long arg5
= (long) 0 ;
15545 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15546 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15547 wxPyHtmlListBox
*result
= 0 ;
15556 bool temp6
= false ;
15557 PyObject
* obj0
= 0 ;
15558 PyObject
* obj1
= 0 ;
15559 PyObject
* obj2
= 0 ;
15560 PyObject
* obj3
= 0 ;
15561 PyObject
* obj4
= 0 ;
15562 PyObject
* obj5
= 0 ;
15563 char * kwnames
[] = {
15564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15569 if (!SWIG_IsOK(res1
)) {
15570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15575 if (!SWIG_IsOK(ecode2
)) {
15576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15578 arg2
= static_cast< int >(val2
);
15583 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15589 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15593 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15594 if (!SWIG_IsOK(ecode5
)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15597 arg5
= static_cast< long >(val5
);
15601 arg6
= wxString_in_helper(obj5
);
15602 if (arg6
== NULL
) SWIG_fail
;
15607 if (!wxPyCheckForApp()) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15628 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15629 PyObject
*resultobj
= 0;
15630 wxPyHtmlListBox
*result
= 0 ;
15632 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15634 if (!wxPyCheckForApp()) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15647 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
= 0;
15649 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15650 PyObject
*arg2
= (PyObject
*) 0 ;
15651 PyObject
*arg3
= (PyObject
*) 0 ;
15654 PyObject
* obj0
= 0 ;
15655 PyObject
* obj1
= 0 ;
15656 PyObject
* obj2
= 0 ;
15657 char * kwnames
[] = {
15658 (char *) "self",(char *) "self",(char *) "_class", NULL
15661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15663 if (!SWIG_IsOK(res1
)) {
15664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15666 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= SWIG_Py_Void();
15682 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15683 PyObject
*resultobj
= 0;
15684 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15685 wxWindow
*arg2
= (wxWindow
*) 0 ;
15686 int arg3
= (int) wxID_ANY
;
15687 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15688 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15689 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15690 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15691 long arg6
= (long) 0 ;
15692 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15693 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15705 bool temp7
= false ;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 PyObject
* obj2
= 0 ;
15709 PyObject
* obj3
= 0 ;
15710 PyObject
* obj4
= 0 ;
15711 PyObject
* obj5
= 0 ;
15712 PyObject
* obj6
= 0 ;
15713 char * kwnames
[] = {
15714 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15719 if (!SWIG_IsOK(res1
)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15722 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15724 if (!SWIG_IsOK(res2
)) {
15725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15727 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15730 if (!SWIG_IsOK(ecode3
)) {
15731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15733 arg3
= static_cast< int >(val3
);
15738 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15744 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15748 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15749 if (!SWIG_IsOK(ecode6
)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15752 arg6
= static_cast< long >(val6
);
15756 arg7
= wxString_in_helper(obj6
);
15757 if (arg7
== NULL
) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15784 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
= 0;
15786 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15792 PyObject
* obj0
= 0 ;
15793 PyObject
* obj1
= 0 ;
15794 char * kwnames
[] = {
15795 (char *) "self",(char *) "count", NULL
15798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15800 if (!SWIG_IsOK(res1
)) {
15801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15803 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15804 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15805 if (!SWIG_IsOK(ecode2
)) {
15806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15808 arg2
= static_cast< size_t >(val2
);
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 (arg1
)->SetItemCount(arg2
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_Py_Void();
15822 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15823 PyObject
*resultobj
= 0;
15824 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15825 wxFileSystem
*result
= 0 ;
15828 PyObject
*swig_obj
[1] ;
15830 if (!args
) SWIG_fail
;
15831 swig_obj
[0] = args
;
15832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15833 if (!SWIG_IsOK(res1
)) {
15834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15836 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15841 result
= (wxFileSystem
*) &_result_ref
;
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15853 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15854 PyObject
*resultobj
= 0;
15855 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15857 wxHtmlLinkInfo
*arg3
= 0 ;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 PyObject
* obj2
= 0 ;
15867 char * kwnames
[] = {
15868 (char *) "self",(char *) "n",(char *) "link", NULL
15871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15873 if (!SWIG_IsOK(res1
)) {
15874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15876 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15877 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15878 if (!SWIG_IsOK(ecode2
)) {
15879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15881 arg2
= static_cast< size_t >(val2
);
15882 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15883 if (!SWIG_IsOK(res3
)) {
15884 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15889 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_Py_Void();
15903 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15906 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15907 return SWIG_Py_Void();
15910 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15911 return SWIG_Python_InitShadowInstance(args
);
15914 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15915 PyObject
*resultobj
= 0;
15916 wxPyTaskBarIcon
*result
= 0 ;
15918 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15920 if (!wxPyCheckForApp()) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15933 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15934 PyObject
*resultobj
= 0;
15935 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15938 PyObject
*swig_obj
[1] ;
15940 if (!args
) SWIG_fail
;
15941 swig_obj
[0] = args
;
15942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15943 if (!SWIG_IsOK(res1
)) {
15944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15946 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_Py_Void();
15961 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
= 0;
15963 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15964 PyObject
*arg2
= (PyObject
*) 0 ;
15965 PyObject
*arg3
= (PyObject
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 PyObject
* obj1
= 0 ;
15973 PyObject
* obj2
= 0 ;
15974 PyObject
* obj3
= 0 ;
15975 char * kwnames
[] = {
15976 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15981 if (!SWIG_IsOK(res1
)) {
15982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15984 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15987 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15988 if (!SWIG_IsOK(ecode4
)) {
15989 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15991 arg4
= static_cast< int >(val4
);
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15998 resultobj
= SWIG_Py_Void();
16005 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16006 PyObject
*resultobj
= 0;
16007 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16010 PyObject
*swig_obj
[1] ;
16012 if (!args
) SWIG_fail
;
16013 swig_obj
[0] = args
;
16014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16015 if (!SWIG_IsOK(res1
)) {
16016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16018 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 wxPyTaskBarIcon_Destroy(arg1
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_Py_Void();
16032 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16033 PyObject
*resultobj
= 0;
16034 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16038 PyObject
*swig_obj
[1] ;
16040 if (!args
) SWIG_fail
;
16041 swig_obj
[0] = args
;
16042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16043 if (!SWIG_IsOK(res1
)) {
16044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16046 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16062 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16063 PyObject
*resultobj
= 0;
16064 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16068 PyObject
*swig_obj
[1] ;
16070 if (!args
) SWIG_fail
;
16071 swig_obj
[0] = args
;
16072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16073 if (!SWIG_IsOK(res1
)) {
16074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16076 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16092 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
= 0;
16094 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16096 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16097 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16103 bool temp3
= false ;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 PyObject
* obj2
= 0 ;
16107 char * kwnames
[] = {
16108 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16113 if (!SWIG_IsOK(res1
)) {
16114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16116 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16118 if (!SWIG_IsOK(res2
)) {
16119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16124 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16127 arg3
= wxString_in_helper(obj2
);
16128 if (arg3
== NULL
) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16155 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16156 PyObject
*resultobj
= 0;
16157 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16161 PyObject
*swig_obj
[1] ;
16163 if (!args
) SWIG_fail
;
16164 swig_obj
[0] = args
;
16165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16166 if (!SWIG_IsOK(res1
)) {
16167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16169 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 result
= (bool)(arg1
)->RemoveIcon();
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16185 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
= 0;
16187 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16188 wxMenu
*arg2
= (wxMenu
*) 0 ;
16194 PyObject
* obj0
= 0 ;
16195 PyObject
* obj1
= 0 ;
16196 char * kwnames
[] = {
16197 (char *) "self",(char *) "menu", NULL
16200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16202 if (!SWIG_IsOK(res1
)) {
16203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16205 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16207 if (!SWIG_IsOK(res2
)) {
16208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16210 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (bool)(arg1
)->PopupMenu(arg2
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16226 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16229 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16230 return SWIG_Py_Void();
16233 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16234 return SWIG_Python_InitShadowInstance(args
);
16237 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
= 0;
16240 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16241 wxTaskBarIconEvent
*result
= 0 ;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 char * kwnames
[] = {
16249 (char *) "evtType",(char *) "tbIcon", NULL
16252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16254 if (!SWIG_IsOK(ecode1
)) {
16255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16257 arg1
= static_cast< wxEventType
>(val1
);
16258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16259 if (!SWIG_IsOK(res2
)) {
16260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16262 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16276 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16279 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16280 return SWIG_Py_Void();
16283 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16284 return SWIG_Python_InitShadowInstance(args
);
16287 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16288 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16293 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16294 PyObject
*pyobj
= 0;
16298 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16300 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16307 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16308 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16313 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16314 PyObject
*pyobj
= 0;
16318 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16320 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16327 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16328 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16333 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16334 PyObject
*pyobj
= 0;
16338 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16340 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16347 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16348 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16353 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16354 PyObject
*pyobj
= 0;
16358 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16360 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16367 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16368 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16373 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16374 PyObject
*pyobj
= 0;
16378 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16380 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16387 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16388 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16393 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16394 PyObject
*pyobj
= 0;
16398 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16400 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16407 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16408 PyObject
*resultobj
= 0;
16409 wxColourData
*result
= 0 ;
16411 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (wxColourData
*)new wxColourData();
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16425 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16426 PyObject
*resultobj
= 0;
16427 wxColourData
*arg1
= (wxColourData
*) 0 ;
16430 PyObject
*swig_obj
[1] ;
16432 if (!args
) SWIG_fail
;
16433 swig_obj
[0] = args
;
16434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16435 if (!SWIG_IsOK(res1
)) {
16436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16438 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= SWIG_Py_Void();
16453 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16454 PyObject
*resultobj
= 0;
16455 wxColourData
*arg1
= (wxColourData
*) 0 ;
16459 PyObject
*swig_obj
[1] ;
16461 if (!args
) SWIG_fail
;
16462 swig_obj
[0] = args
;
16463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16464 if (!SWIG_IsOK(res1
)) {
16465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16467 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 result
= (bool)(arg1
)->GetChooseFull();
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16483 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16484 PyObject
*resultobj
= 0;
16485 wxColourData
*arg1
= (wxColourData
*) 0 ;
16489 PyObject
*swig_obj
[1] ;
16491 if (!args
) SWIG_fail
;
16492 swig_obj
[0] = args
;
16493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16494 if (!SWIG_IsOK(res1
)) {
16495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16497 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (arg1
)->GetColour();
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16511 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
= 0;
16513 wxColourData
*arg1
= (wxColourData
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 char * kwnames
[] = {
16523 (char *) "self",(char *) "i", NULL
16526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16528 if (!SWIG_IsOK(res1
)) {
16529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16531 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16533 if (!SWIG_IsOK(ecode2
)) {
16534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16536 arg2
= static_cast< int >(val2
);
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (arg1
)->GetCustomColour(arg2
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16550 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
= 0;
16552 wxColourData
*arg1
= (wxColourData
*) 0 ;
16558 PyObject
* obj0
= 0 ;
16559 PyObject
* obj1
= 0 ;
16560 char * kwnames
[] = {
16561 (char *) "self",(char *) "flag", NULL
16564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16566 if (!SWIG_IsOK(res1
)) {
16567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16569 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16571 if (!SWIG_IsOK(ecode2
)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16574 arg2
= static_cast< int >(val2
);
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 (arg1
)->SetChooseFull(arg2
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_Py_Void();
16588 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
= 0;
16590 wxColourData
*arg1
= (wxColourData
*) 0 ;
16591 wxColour
*arg2
= 0 ;
16595 PyObject
* obj0
= 0 ;
16596 PyObject
* obj1
= 0 ;
16597 char * kwnames
[] = {
16598 (char *) "self",(char *) "colour", NULL
16601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16603 if (!SWIG_IsOK(res1
)) {
16604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16606 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16609 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 (arg1
)->SetColour((wxColour
const &)*arg2
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 resultobj
= SWIG_Py_Void();
16624 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
= 0;
16626 wxColourData
*arg1
= (wxColourData
*) 0 ;
16628 wxColour
*arg3
= 0 ;
16634 PyObject
* obj0
= 0 ;
16635 PyObject
* obj1
= 0 ;
16636 PyObject
* obj2
= 0 ;
16637 char * kwnames
[] = {
16638 (char *) "self",(char *) "i",(char *) "colour", NULL
16641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16643 if (!SWIG_IsOK(res1
)) {
16644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16646 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16648 if (!SWIG_IsOK(ecode2
)) {
16649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16651 arg2
= static_cast< int >(val2
);
16654 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16662 resultobj
= SWIG_Py_Void();
16669 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16672 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16673 return SWIG_Py_Void();
16676 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16677 return SWIG_Python_InitShadowInstance(args
);
16680 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
= 0;
16682 wxWindow
*arg1
= (wxWindow
*) 0 ;
16683 wxColourData
*arg2
= (wxColourData
*) NULL
;
16684 wxColourDialog
*result
= 0 ;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 char * kwnames
[] = {
16692 (char *) "parent",(char *) "data", NULL
16695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16697 if (!SWIG_IsOK(res1
)) {
16698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16700 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16702 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16703 if (!SWIG_IsOK(res2
)) {
16704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16706 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16709 if (!wxPyCheckForApp()) SWIG_fail
;
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16722 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16723 PyObject
*resultobj
= 0;
16724 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16725 wxColourData
*result
= 0 ;
16728 PyObject
*swig_obj
[1] ;
16730 if (!args
) SWIG_fail
;
16731 swig_obj
[0] = args
;
16732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16733 if (!SWIG_IsOK(res1
)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16736 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16741 result
= (wxColourData
*) &_result_ref
;
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16753 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16756 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16757 return SWIG_Py_Void();
16760 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16761 return SWIG_Python_InitShadowInstance(args
);
16764 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
= 0;
16766 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16767 wxColour
const &arg2_defvalue
= wxNullColour
;
16768 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16769 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16770 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16775 bool temp3
= false ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 PyObject
* obj2
= 0 ;
16779 char * kwnames
[] = {
16780 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16786 if (!SWIG_IsOK(res1
)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16789 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16794 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16799 arg3
= wxString_in_helper(obj2
);
16800 if (arg3
== NULL
) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16825 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
= 0;
16827 wxWindow
*arg1
= (wxWindow
*) 0 ;
16828 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16829 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16830 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16831 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16832 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16833 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16834 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16835 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16836 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16837 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16838 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16839 wxDirDialog
*result
= 0 ;
16842 bool temp2
= false ;
16843 bool temp3
= false ;
16848 bool temp7
= false ;
16849 PyObject
* obj0
= 0 ;
16850 PyObject
* obj1
= 0 ;
16851 PyObject
* obj2
= 0 ;
16852 PyObject
* obj3
= 0 ;
16853 PyObject
* obj4
= 0 ;
16854 PyObject
* obj5
= 0 ;
16855 PyObject
* obj6
= 0 ;
16856 char * kwnames
[] = {
16857 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16862 if (!SWIG_IsOK(res1
)) {
16863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16865 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16868 arg2
= wxString_in_helper(obj1
);
16869 if (arg2
== NULL
) SWIG_fail
;
16875 arg3
= wxString_in_helper(obj2
);
16876 if (arg3
== NULL
) SWIG_fail
;
16881 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16882 if (!SWIG_IsOK(ecode4
)) {
16883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16885 arg4
= static_cast< long >(val4
);
16890 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16896 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16901 arg7
= wxString_in_helper(obj6
);
16902 if (arg7
== NULL
) SWIG_fail
;
16907 if (!wxPyCheckForApp()) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16910 wxPyEndAllowThreads(__tstate
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16944 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16945 PyObject
*resultobj
= 0;
16946 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16950 PyObject
*swig_obj
[1] ;
16952 if (!args
) SWIG_fail
;
16953 swig_obj
[0] = args
;
16954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16955 if (!SWIG_IsOK(res1
)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16958 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 result
= (arg1
)->GetPath();
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16978 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16979 PyObject
*resultobj
= 0;
16980 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16984 PyObject
*swig_obj
[1] ;
16986 if (!args
) SWIG_fail
;
16987 swig_obj
[0] = args
;
16988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16989 if (!SWIG_IsOK(res1
)) {
16990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16992 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= (arg1
)->GetMessage();
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17012 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
= 0;
17014 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17015 wxString
*arg2
= 0 ;
17018 bool temp2
= false ;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 char * kwnames
[] = {
17022 (char *) "self",(char *) "message", NULL
17025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17027 if (!SWIG_IsOK(res1
)) {
17028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17030 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17032 arg2
= wxString_in_helper(obj1
);
17033 if (arg2
== NULL
) SWIG_fail
;
17037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 (arg1
)->SetMessage((wxString
const &)*arg2
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= SWIG_Py_Void();
17057 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
= 0;
17059 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17060 wxString
*arg2
= 0 ;
17063 bool temp2
= false ;
17064 PyObject
* obj0
= 0 ;
17065 PyObject
* obj1
= 0 ;
17066 char * kwnames
[] = {
17067 (char *) "self",(char *) "path", NULL
17070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17072 if (!SWIG_IsOK(res1
)) {
17073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17075 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17077 arg2
= wxString_in_helper(obj1
);
17078 if (arg2
== NULL
) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 (arg1
)->SetPath((wxString
const &)*arg2
);
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17087 resultobj
= SWIG_Py_Void();
17102 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17105 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17106 return SWIG_Py_Void();
17109 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17110 return SWIG_Python_InitShadowInstance(args
);
17113 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
= 0;
17115 wxWindow
*arg1
= (wxWindow
*) 0 ;
17116 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17117 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17118 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17119 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17120 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17121 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17122 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17123 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17124 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17125 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17126 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17127 wxFileDialog
*result
= 0 ;
17130 bool temp2
= false ;
17131 bool temp3
= false ;
17132 bool temp4
= false ;
17133 bool temp5
= false ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 PyObject
* obj2
= 0 ;
17140 PyObject
* obj3
= 0 ;
17141 PyObject
* obj4
= 0 ;
17142 PyObject
* obj5
= 0 ;
17143 PyObject
* obj6
= 0 ;
17144 char * kwnames
[] = {
17145 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17150 if (!SWIG_IsOK(res1
)) {
17151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17153 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17156 arg2
= wxString_in_helper(obj1
);
17157 if (arg2
== NULL
) SWIG_fail
;
17163 arg3
= wxString_in_helper(obj2
);
17164 if (arg3
== NULL
) SWIG_fail
;
17170 arg4
= wxString_in_helper(obj3
);
17171 if (arg4
== NULL
) SWIG_fail
;
17177 arg5
= wxString_in_helper(obj4
);
17178 if (arg5
== NULL
) SWIG_fail
;
17183 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17184 if (!SWIG_IsOK(ecode6
)) {
17185 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17187 arg6
= static_cast< long >(val6
);
17192 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17196 if (!wxPyCheckForApp()) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17241 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
= 0;
17243 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17244 wxString
*arg2
= 0 ;
17247 bool temp2
= false ;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 char * kwnames
[] = {
17251 (char *) "self",(char *) "message", NULL
17254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17256 if (!SWIG_IsOK(res1
)) {
17257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17259 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17261 arg2
= wxString_in_helper(obj1
);
17262 if (arg2
== NULL
) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 (arg1
)->SetMessage((wxString
const &)*arg2
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= SWIG_Py_Void();
17286 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
= 0;
17288 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17289 wxString
*arg2
= 0 ;
17292 bool temp2
= false ;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 char * kwnames
[] = {
17296 (char *) "self",(char *) "path", NULL
17299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17301 if (!SWIG_IsOK(res1
)) {
17302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17304 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17306 arg2
= wxString_in_helper(obj1
);
17307 if (arg2
== NULL
) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 (arg1
)->SetPath((wxString
const &)*arg2
);
17313 wxPyEndAllowThreads(__tstate
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= SWIG_Py_Void();
17331 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
= 0;
17333 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17334 wxString
*arg2
= 0 ;
17337 bool temp2
= false ;
17338 PyObject
* obj0
= 0 ;
17339 PyObject
* obj1
= 0 ;
17340 char * kwnames
[] = {
17341 (char *) "self",(char *) "dir", NULL
17344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17346 if (!SWIG_IsOK(res1
)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17349 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17351 arg2
= wxString_in_helper(obj1
);
17352 if (arg2
== NULL
) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17361 resultobj
= SWIG_Py_Void();
17376 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
= 0;
17378 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17379 wxString
*arg2
= 0 ;
17382 bool temp2
= false ;
17383 PyObject
* obj0
= 0 ;
17384 PyObject
* obj1
= 0 ;
17385 char * kwnames
[] = {
17386 (char *) "self",(char *) "name", NULL
17389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17391 if (!SWIG_IsOK(res1
)) {
17392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17394 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17396 arg2
= wxString_in_helper(obj1
);
17397 if (arg2
== NULL
) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 (arg1
)->SetFilename((wxString
const &)*arg2
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= SWIG_Py_Void();
17421 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
= 0;
17423 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17424 wxString
*arg2
= 0 ;
17427 bool temp2
= false ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 char * kwnames
[] = {
17431 (char *) "self",(char *) "wildCard", NULL
17434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17436 if (!SWIG_IsOK(res1
)) {
17437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17439 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17441 arg2
= wxString_in_helper(obj1
);
17442 if (arg2
== NULL
) SWIG_fail
;
17446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17447 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17448 wxPyEndAllowThreads(__tstate
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= SWIG_Py_Void();
17466 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
= 0;
17468 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17474 PyObject
* obj0
= 0 ;
17475 PyObject
* obj1
= 0 ;
17476 char * kwnames
[] = {
17477 (char *) "self",(char *) "filterIndex", NULL
17480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17482 if (!SWIG_IsOK(res1
)) {
17483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17485 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17487 if (!SWIG_IsOK(ecode2
)) {
17488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17490 arg2
= static_cast< int >(val2
);
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 (arg1
)->SetFilterIndex(arg2
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= SWIG_Py_Void();
17504 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17505 PyObject
*resultobj
= 0;
17506 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17510 PyObject
*swig_obj
[1] ;
17512 if (!args
) SWIG_fail
;
17513 swig_obj
[0] = args
;
17514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17515 if (!SWIG_IsOK(res1
)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17518 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17538 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17539 PyObject
*resultobj
= 0;
17540 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17544 PyObject
*swig_obj
[1] ;
17546 if (!args
) SWIG_fail
;
17547 swig_obj
[0] = args
;
17548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17549 if (!SWIG_IsOK(res1
)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17552 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17572 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17573 PyObject
*resultobj
= 0;
17574 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17578 PyObject
*swig_obj
[1] ;
17580 if (!args
) SWIG_fail
;
17581 swig_obj
[0] = args
;
17582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17583 if (!SWIG_IsOK(res1
)) {
17584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17586 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17606 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17607 PyObject
*resultobj
= 0;
17608 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17612 PyObject
*swig_obj
[1] ;
17614 if (!args
) SWIG_fail
;
17615 swig_obj
[0] = args
;
17616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17617 if (!SWIG_IsOK(res1
)) {
17618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17620 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17640 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17641 PyObject
*resultobj
= 0;
17642 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17646 PyObject
*swig_obj
[1] ;
17648 if (!args
) SWIG_fail
;
17649 swig_obj
[0] = args
;
17650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17651 if (!SWIG_IsOK(res1
)) {
17652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17654 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17674 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17675 PyObject
*resultobj
= 0;
17676 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17680 PyObject
*swig_obj
[1] ;
17682 if (!args
) SWIG_fail
;
17683 swig_obj
[0] = args
;
17684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17685 if (!SWIG_IsOK(res1
)) {
17686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17688 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= SWIG_From_int(static_cast< int >(result
));
17702 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17703 PyObject
*resultobj
= 0;
17704 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17705 PyObject
*result
= 0 ;
17708 PyObject
*swig_obj
[1] ;
17710 if (!args
) SWIG_fail
;
17711 swig_obj
[0] = args
;
17712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17713 if (!SWIG_IsOK(res1
)) {
17714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17716 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= result
;
17730 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17731 PyObject
*resultobj
= 0;
17732 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17733 PyObject
*result
= 0 ;
17736 PyObject
*swig_obj
[1] ;
17738 if (!args
) SWIG_fail
;
17739 swig_obj
[0] = args
;
17740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17741 if (!SWIG_IsOK(res1
)) {
17742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17744 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= result
;
17758 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17761 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17762 return SWIG_Py_Void();
17765 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17766 return SWIG_Python_InitShadowInstance(args
);
17769 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
= 0;
17771 wxWindow
*arg1
= (wxWindow
*) 0 ;
17772 wxString
*arg2
= 0 ;
17773 wxString
*arg3
= 0 ;
17774 int arg4
= (int) 0 ;
17775 wxString
*arg5
= (wxString
*) NULL
;
17776 long arg6
= (long) wxCHOICEDLG_STYLE
;
17777 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17778 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17779 wxMultiChoiceDialog
*result
= 0 ;
17782 bool temp2
= false ;
17783 bool temp3
= false ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 PyObject
* obj2
= 0 ;
17790 PyObject
* obj3
= 0 ;
17791 PyObject
* obj4
= 0 ;
17792 PyObject
* obj5
= 0 ;
17793 char * kwnames
[] = {
17794 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17799 if (!SWIG_IsOK(res1
)) {
17800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17804 arg2
= wxString_in_helper(obj1
);
17805 if (arg2
== NULL
) SWIG_fail
;
17809 arg3
= wxString_in_helper(obj2
);
17810 if (arg3
== NULL
) SWIG_fail
;
17815 arg4
= PyList_Size(obj3
);
17816 arg5
= wxString_LIST_helper(obj3
);
17817 if (arg5
== NULL
) SWIG_fail
;
17821 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17822 if (!SWIG_IsOK(ecode6
)) {
17823 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17825 arg6
= static_cast< long >(val6
);
17830 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17834 if (!wxPyCheckForApp()) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17850 if (arg5
) delete [] arg5
;
17863 if (arg5
) delete [] arg5
;
17869 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
= 0;
17871 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17872 wxArrayInt
*arg2
= 0 ;
17875 bool temp2
= false ;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char * kwnames
[] = {
17879 (char *) "self",(char *) "selections", NULL
17882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17884 if (!SWIG_IsOK(res1
)) {
17885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17887 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17889 if (! PySequence_Check(obj1
)) {
17890 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17893 arg2
= new wxArrayInt
;
17895 int i
, len
=PySequence_Length(obj1
);
17896 for (i
=0; i
<len
; i
++) {
17897 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17898 PyObject
* number
= PyNumber_Int(item
);
17899 arg2
->Add(PyInt_AS_LONG(number
));
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 resultobj
= SWIG_Py_Void();
17912 if (temp2
) delete arg2
;
17917 if (temp2
) delete arg2
;
17923 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17924 PyObject
*resultobj
= 0;
17925 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17926 PyObject
*result
= 0 ;
17929 PyObject
*swig_obj
[1] ;
17931 if (!args
) SWIG_fail
;
17932 swig_obj
[0] = args
;
17933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17934 if (!SWIG_IsOK(res1
)) {
17935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17937 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= result
;
17951 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17954 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17955 return SWIG_Py_Void();
17958 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17959 return SWIG_Python_InitShadowInstance(args
);
17962 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
= 0;
17964 wxWindow
*arg1
= (wxWindow
*) 0 ;
17965 wxString
*arg2
= 0 ;
17966 wxString
*arg3
= 0 ;
17968 wxString
*arg5
= (wxString
*) 0 ;
17969 long arg6
= (long) wxCHOICEDLG_STYLE
;
17970 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17971 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17972 wxSingleChoiceDialog
*result
= 0 ;
17975 bool temp2
= false ;
17976 bool temp3
= false ;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 PyObject
* obj2
= 0 ;
17983 PyObject
* obj3
= 0 ;
17984 PyObject
* obj4
= 0 ;
17985 PyObject
* obj5
= 0 ;
17986 char * kwnames
[] = {
17987 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17992 if (!SWIG_IsOK(res1
)) {
17993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17995 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17997 arg2
= wxString_in_helper(obj1
);
17998 if (arg2
== NULL
) SWIG_fail
;
18002 arg3
= wxString_in_helper(obj2
);
18003 if (arg3
== NULL
) SWIG_fail
;
18007 arg4
= PyList_Size(obj3
);
18008 arg5
= wxString_LIST_helper(obj3
);
18009 if (arg5
== NULL
) SWIG_fail
;
18012 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18013 if (!SWIG_IsOK(ecode6
)) {
18014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18016 arg6
= static_cast< long >(val6
);
18021 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18025 if (!wxPyCheckForApp()) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18041 if (arg5
) delete [] arg5
;
18054 if (arg5
) delete [] arg5
;
18060 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18061 PyObject
*resultobj
= 0;
18062 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18066 PyObject
*swig_obj
[1] ;
18068 if (!args
) SWIG_fail
;
18069 swig_obj
[0] = args
;
18070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18071 if (!SWIG_IsOK(res1
)) {
18072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18074 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (int)(arg1
)->GetSelection();
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= SWIG_From_int(static_cast< int >(result
));
18088 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18089 PyObject
*resultobj
= 0;
18090 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18094 PyObject
*swig_obj
[1] ;
18096 if (!args
) SWIG_fail
;
18097 swig_obj
[0] = args
;
18098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18099 if (!SWIG_IsOK(res1
)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18102 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (arg1
)->GetStringSelection();
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18122 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
= 0;
18124 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18130 PyObject
* obj0
= 0 ;
18131 PyObject
* obj1
= 0 ;
18132 char * kwnames
[] = {
18133 (char *) "self",(char *) "sel", NULL
18136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18138 if (!SWIG_IsOK(res1
)) {
18139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18141 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18143 if (!SWIG_IsOK(ecode2
)) {
18144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18146 arg2
= static_cast< int >(val2
);
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 (arg1
)->SetSelection(arg2
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= SWIG_Py_Void();
18160 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18163 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18164 return SWIG_Py_Void();
18167 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18168 return SWIG_Python_InitShadowInstance(args
);
18171 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
= 0;
18173 wxWindow
*arg1
= (wxWindow
*) 0 ;
18174 wxString
*arg2
= 0 ;
18175 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18176 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18179 long arg5
= (long) wxTextEntryDialogStyle
;
18180 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18181 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18182 wxTextEntryDialog
*result
= 0 ;
18185 bool temp2
= false ;
18186 bool temp3
= false ;
18187 bool temp4
= false ;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 PyObject
* obj2
= 0 ;
18194 PyObject
* obj3
= 0 ;
18195 PyObject
* obj4
= 0 ;
18196 PyObject
* obj5
= 0 ;
18197 char * kwnames
[] = {
18198 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18203 if (!SWIG_IsOK(res1
)) {
18204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18206 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18208 arg2
= wxString_in_helper(obj1
);
18209 if (arg2
== NULL
) SWIG_fail
;
18214 arg3
= wxString_in_helper(obj2
);
18215 if (arg3
== NULL
) SWIG_fail
;
18221 arg4
= wxString_in_helper(obj3
);
18222 if (arg4
== NULL
) SWIG_fail
;
18227 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18228 if (!SWIG_IsOK(ecode5
)) {
18229 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18231 arg5
= static_cast< long >(val5
);
18236 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18240 if (!wxPyCheckForApp()) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18277 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18278 PyObject
*resultobj
= 0;
18279 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18283 PyObject
*swig_obj
[1] ;
18285 if (!args
) SWIG_fail
;
18286 swig_obj
[0] = args
;
18287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18288 if (!SWIG_IsOK(res1
)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18291 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 result
= (arg1
)->GetValue();
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18311 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
= 0;
18313 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18314 wxString
*arg2
= 0 ;
18317 bool temp2
= false ;
18318 PyObject
* obj0
= 0 ;
18319 PyObject
* obj1
= 0 ;
18320 char * kwnames
[] = {
18321 (char *) "self",(char *) "value", NULL
18324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18326 if (!SWIG_IsOK(res1
)) {
18327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18329 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18331 arg2
= wxString_in_helper(obj1
);
18332 if (arg2
== NULL
) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 (arg1
)->SetValue((wxString
const &)*arg2
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_Py_Void();
18356 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18359 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18360 return SWIG_Py_Void();
18363 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18364 return SWIG_Python_InitShadowInstance(args
);
18367 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18368 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18373 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18374 PyObject
*pyobj
= 0;
18378 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18380 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18387 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
= 0;
18389 wxWindow
*arg1
= (wxWindow
*) 0 ;
18390 wxString
*arg2
= 0 ;
18391 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18392 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18393 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18394 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18395 long arg5
= (long) wxTextEntryDialogStyle
;
18396 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18397 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18398 wxPasswordEntryDialog
*result
= 0 ;
18401 bool temp2
= false ;
18402 bool temp3
= false ;
18403 bool temp4
= false ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 PyObject
* obj2
= 0 ;
18410 PyObject
* obj3
= 0 ;
18411 PyObject
* obj4
= 0 ;
18412 PyObject
* obj5
= 0 ;
18413 char * kwnames
[] = {
18414 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18419 if (!SWIG_IsOK(res1
)) {
18420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18422 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18424 arg2
= wxString_in_helper(obj1
);
18425 if (arg2
== NULL
) SWIG_fail
;
18430 arg3
= wxString_in_helper(obj2
);
18431 if (arg3
== NULL
) SWIG_fail
;
18437 arg4
= wxString_in_helper(obj3
);
18438 if (arg4
== NULL
) SWIG_fail
;
18443 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18444 if (!SWIG_IsOK(ecode5
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18447 arg5
= static_cast< long >(val5
);
18452 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18492 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18495 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18496 return SWIG_Py_Void();
18499 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18500 return SWIG_Python_InitShadowInstance(args
);
18503 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
= 0;
18505 wxWindow
*arg1
= (wxWindow
*) 0 ;
18506 wxString
*arg2
= 0 ;
18507 wxString
*arg3
= 0 ;
18508 wxString
*arg4
= 0 ;
18512 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18513 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18514 wxNumberEntryDialog
*result
= 0 ;
18517 bool temp2
= false ;
18518 bool temp3
= false ;
18519 bool temp4
= false ;
18527 PyObject
* obj0
= 0 ;
18528 PyObject
* obj1
= 0 ;
18529 PyObject
* obj2
= 0 ;
18530 PyObject
* obj3
= 0 ;
18531 PyObject
* obj4
= 0 ;
18532 PyObject
* obj5
= 0 ;
18533 PyObject
* obj6
= 0 ;
18534 PyObject
* obj7
= 0 ;
18535 char * kwnames
[] = {
18536 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18541 if (!SWIG_IsOK(res1
)) {
18542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18544 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18546 arg2
= wxString_in_helper(obj1
);
18547 if (arg2
== NULL
) SWIG_fail
;
18551 arg3
= wxString_in_helper(obj2
);
18552 if (arg3
== NULL
) SWIG_fail
;
18556 arg4
= wxString_in_helper(obj3
);
18557 if (arg4
== NULL
) SWIG_fail
;
18560 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18561 if (!SWIG_IsOK(ecode5
)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18564 arg5
= static_cast< long >(val5
);
18565 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18566 if (!SWIG_IsOK(ecode6
)) {
18567 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18569 arg6
= static_cast< long >(val6
);
18570 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18571 if (!SWIG_IsOK(ecode7
)) {
18572 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18574 arg7
= static_cast< long >(val7
);
18578 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18582 if (!wxPyCheckForApp()) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18619 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18620 PyObject
*resultobj
= 0;
18621 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18625 PyObject
*swig_obj
[1] ;
18627 if (!args
) SWIG_fail
;
18628 swig_obj
[0] = args
;
18629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18630 if (!SWIG_IsOK(res1
)) {
18631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18633 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (long)(arg1
)->GetValue();
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_From_long(static_cast< long >(result
));
18647 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18650 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18651 return SWIG_Py_Void();
18654 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18655 return SWIG_Python_InitShadowInstance(args
);
18658 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18659 PyObject
*resultobj
= 0;
18660 wxFontData
*result
= 0 ;
18662 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 result
= (wxFontData
*)new wxFontData();
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18676 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18677 PyObject
*resultobj
= 0;
18678 wxFontData
*arg1
= (wxFontData
*) 0 ;
18681 PyObject
*swig_obj
[1] ;
18683 if (!args
) SWIG_fail
;
18684 swig_obj
[0] = args
;
18685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18686 if (!SWIG_IsOK(res1
)) {
18687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18689 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= SWIG_Py_Void();
18704 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
= 0;
18706 wxFontData
*arg1
= (wxFontData
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 PyObject
* obj1
= 0 ;
18714 char * kwnames
[] = {
18715 (char *) "self",(char *) "enable", NULL
18718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18720 if (!SWIG_IsOK(res1
)) {
18721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18723 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18724 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18725 if (!SWIG_IsOK(ecode2
)) {
18726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18728 arg2
= static_cast< bool >(val2
);
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 (arg1
)->EnableEffects(arg2
);
18732 wxPyEndAllowThreads(__tstate
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18735 resultobj
= SWIG_Py_Void();
18742 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18743 PyObject
*resultobj
= 0;
18744 wxFontData
*arg1
= (wxFontData
*) 0 ;
18748 PyObject
*swig_obj
[1] ;
18750 if (!args
) SWIG_fail
;
18751 swig_obj
[0] = args
;
18752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18753 if (!SWIG_IsOK(res1
)) {
18754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18756 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= (bool)(arg1
)->GetAllowSymbols();
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18772 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18773 PyObject
*resultobj
= 0;
18774 wxFontData
*arg1
= (wxFontData
*) 0 ;
18778 PyObject
*swig_obj
[1] ;
18780 if (!args
) SWIG_fail
;
18781 swig_obj
[0] = args
;
18782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18783 if (!SWIG_IsOK(res1
)) {
18784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18786 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (arg1
)->GetColour();
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18793 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18800 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18801 PyObject
*resultobj
= 0;
18802 wxFontData
*arg1
= (wxFontData
*) 0 ;
18806 PyObject
*swig_obj
[1] ;
18808 if (!args
) SWIG_fail
;
18809 swig_obj
[0] = args
;
18810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18811 if (!SWIG_IsOK(res1
)) {
18812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18814 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (arg1
)->GetChosenFont();
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18828 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18829 PyObject
*resultobj
= 0;
18830 wxFontData
*arg1
= (wxFontData
*) 0 ;
18834 PyObject
*swig_obj
[1] ;
18836 if (!args
) SWIG_fail
;
18837 swig_obj
[0] = args
;
18838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18839 if (!SWIG_IsOK(res1
)) {
18840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18842 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 result
= (bool)(arg1
)->GetEnableEffects();
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18858 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18859 PyObject
*resultobj
= 0;
18860 wxFontData
*arg1
= (wxFontData
*) 0 ;
18864 PyObject
*swig_obj
[1] ;
18866 if (!args
) SWIG_fail
;
18867 swig_obj
[0] = args
;
18868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18869 if (!SWIG_IsOK(res1
)) {
18870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18872 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 result
= (arg1
)->GetInitialFont();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18879 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18886 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18887 PyObject
*resultobj
= 0;
18888 wxFontData
*arg1
= (wxFontData
*) 0 ;
18892 PyObject
*swig_obj
[1] ;
18894 if (!args
) SWIG_fail
;
18895 swig_obj
[0] = args
;
18896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18897 if (!SWIG_IsOK(res1
)) {
18898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18900 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (bool)(arg1
)->GetShowHelp();
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18916 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
= 0;
18918 wxFontData
*arg1
= (wxFontData
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 PyObject
* obj1
= 0 ;
18926 char * kwnames
[] = {
18927 (char *) "self",(char *) "allowSymbols", NULL
18930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18935 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18936 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18937 if (!SWIG_IsOK(ecode2
)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18940 arg2
= static_cast< bool >(val2
);
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 (arg1
)->SetAllowSymbols(arg2
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_Py_Void();
18954 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
= 0;
18956 wxFontData
*arg1
= (wxFontData
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char * kwnames
[] = {
18965 (char *) "self",(char *) "font", NULL
18968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18970 if (!SWIG_IsOK(res1
)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18973 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18974 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18975 if (!SWIG_IsOK(res2
)) {
18976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18981 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18984 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18988 resultobj
= SWIG_Py_Void();
18995 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
= 0;
18997 wxFontData
*arg1
= (wxFontData
*) 0 ;
18998 wxColour
*arg2
= 0 ;
19002 PyObject
* obj0
= 0 ;
19003 PyObject
* obj1
= 0 ;
19004 char * kwnames
[] = {
19005 (char *) "self",(char *) "colour", NULL
19008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19010 if (!SWIG_IsOK(res1
)) {
19011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19013 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19016 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 (arg1
)->SetColour((wxColour
const &)*arg2
);
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19024 resultobj
= SWIG_Py_Void();
19031 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19032 PyObject
*resultobj
= 0;
19033 wxFontData
*arg1
= (wxFontData
*) 0 ;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char * kwnames
[] = {
19042 (char *) "self",(char *) "font", NULL
19045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19047 if (!SWIG_IsOK(res1
)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19050 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19052 if (!SWIG_IsOK(res2
)) {
19053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19058 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= SWIG_Py_Void();
19072 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
= 0;
19074 wxFontData
*arg1
= (wxFontData
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 PyObject
* obj2
= 0 ;
19086 char * kwnames
[] = {
19087 (char *) "self",(char *) "min",(char *) "max", NULL
19090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19092 if (!SWIG_IsOK(res1
)) {
19093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19095 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19097 if (!SWIG_IsOK(ecode2
)) {
19098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19100 arg2
= static_cast< int >(val2
);
19101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19102 if (!SWIG_IsOK(ecode3
)) {
19103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19105 arg3
= static_cast< int >(val3
);
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->SetRange(arg2
,arg3
);
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= SWIG_Py_Void();
19119 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
= 0;
19121 wxFontData
*arg1
= (wxFontData
*) 0 ;
19127 PyObject
* obj0
= 0 ;
19128 PyObject
* obj1
= 0 ;
19129 char * kwnames
[] = {
19130 (char *) "self",(char *) "showHelp", NULL
19133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19135 if (!SWIG_IsOK(res1
)) {
19136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19138 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19139 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19140 if (!SWIG_IsOK(ecode2
)) {
19141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19143 arg2
= static_cast< bool >(val2
);
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 (arg1
)->SetShowHelp(arg2
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 resultobj
= SWIG_Py_Void();
19157 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19160 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19161 return SWIG_Py_Void();
19164 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19165 return SWIG_Python_InitShadowInstance(args
);
19168 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
= 0;
19170 wxWindow
*arg1
= (wxWindow
*) 0 ;
19171 wxFontData
*arg2
= 0 ;
19172 wxFontDialog
*result
= 0 ;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 char * kwnames
[] = {
19180 (char *) "parent",(char *) "data", NULL
19183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19185 if (!SWIG_IsOK(res1
)) {
19186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19189 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19190 if (!SWIG_IsOK(res2
)) {
19191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19196 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19198 if (!wxPyCheckForApp()) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19211 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19212 PyObject
*resultobj
= 0;
19213 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19214 wxFontData
*result
= 0 ;
19217 PyObject
*swig_obj
[1] ;
19219 if (!args
) SWIG_fail
;
19220 swig_obj
[0] = args
;
19221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19222 if (!SWIG_IsOK(res1
)) {
19223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19225 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19230 result
= (wxFontData
*) &_result_ref
;
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19242 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19245 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19246 return SWIG_Py_Void();
19249 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19250 return SWIG_Python_InitShadowInstance(args
);
19253 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
= 0;
19255 wxWindow
*arg1
= (wxWindow
*) NULL
;
19256 wxFont
const &arg2_defvalue
= wxNullFont
;
19257 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19258 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19259 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19265 bool temp3
= false ;
19266 PyObject
* obj0
= 0 ;
19267 PyObject
* obj1
= 0 ;
19268 PyObject
* obj2
= 0 ;
19269 char * kwnames
[] = {
19270 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19276 if (!SWIG_IsOK(res1
)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19279 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19283 if (!SWIG_IsOK(res2
)) {
19284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19289 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19293 arg3
= wxString_in_helper(obj2
);
19294 if (arg3
== NULL
) SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19304 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19319 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
= 0;
19321 wxWindow
*arg1
= (wxWindow
*) 0 ;
19322 wxString
*arg2
= 0 ;
19323 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19324 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19325 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19326 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19327 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19328 wxMessageDialog
*result
= 0 ;
19331 bool temp2
= false ;
19332 bool temp3
= false ;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 PyObject
* obj2
= 0 ;
19339 PyObject
* obj3
= 0 ;
19340 PyObject
* obj4
= 0 ;
19341 char * kwnames
[] = {
19342 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19347 if (!SWIG_IsOK(res1
)) {
19348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19350 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19352 arg2
= wxString_in_helper(obj1
);
19353 if (arg2
== NULL
) SWIG_fail
;
19358 arg3
= wxString_in_helper(obj2
);
19359 if (arg3
== NULL
) SWIG_fail
;
19364 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19365 if (!SWIG_IsOK(ecode4
)) {
19366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19368 arg4
= static_cast< long >(val4
);
19373 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19377 if (!wxPyCheckForApp()) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19406 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19409 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19410 return SWIG_Py_Void();
19413 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19414 return SWIG_Python_InitShadowInstance(args
);
19417 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19418 PyObject
*resultobj
= 0;
19419 wxString
*arg1
= 0 ;
19420 wxString
*arg2
= 0 ;
19421 int arg3
= (int) 100 ;
19422 wxWindow
*arg4
= (wxWindow
*) NULL
;
19423 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19424 wxProgressDialog
*result
= 0 ;
19425 bool temp1
= false ;
19426 bool temp2
= false ;
19433 PyObject
* obj0
= 0 ;
19434 PyObject
* obj1
= 0 ;
19435 PyObject
* obj2
= 0 ;
19436 PyObject
* obj3
= 0 ;
19437 PyObject
* obj4
= 0 ;
19438 char * kwnames
[] = {
19439 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19444 arg1
= wxString_in_helper(obj0
);
19445 if (arg1
== NULL
) SWIG_fail
;
19449 arg2
= wxString_in_helper(obj1
);
19450 if (arg2
== NULL
) SWIG_fail
;
19454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19455 if (!SWIG_IsOK(ecode3
)) {
19456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19458 arg3
= static_cast< int >(val3
);
19461 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19462 if (!SWIG_IsOK(res4
)) {
19463 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19465 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19468 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19469 if (!SWIG_IsOK(ecode5
)) {
19470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19472 arg5
= static_cast< int >(val5
);
19475 if (!wxPyCheckForApp()) SWIG_fail
;
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19504 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
= 0;
19506 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19508 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19509 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19510 bool *arg4
= (bool *) 0 ;
19516 bool temp3
= false ;
19518 int res4
= SWIG_TMPOBJ
;
19519 PyObject
* obj0
= 0 ;
19520 PyObject
* obj1
= 0 ;
19521 PyObject
* obj2
= 0 ;
19522 char * kwnames
[] = {
19523 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19529 if (!SWIG_IsOK(res1
)) {
19530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19532 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19534 if (!SWIG_IsOK(ecode2
)) {
19535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19537 arg2
= static_cast< int >(val2
);
19540 arg3
= wxString_in_helper(obj2
);
19541 if (arg3
== NULL
) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19554 if (SWIG_IsTmpObj(res4
)) {
19555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19557 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19574 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19575 PyObject
*resultobj
= 0;
19576 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19579 PyObject
*swig_obj
[1] ;
19581 if (!args
) SWIG_fail
;
19582 swig_obj
[0] = args
;
19583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19584 if (!SWIG_IsOK(res1
)) {
19585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19587 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= SWIG_Py_Void();
19601 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19604 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19605 return SWIG_Py_Void();
19608 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19609 return SWIG_Python_InitShadowInstance(args
);
19612 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
= 0;
19614 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19615 int arg2
= (int) 0 ;
19616 wxFindDialogEvent
*result
= 0 ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char * kwnames
[] = {
19624 (char *) "commandType",(char *) "id", NULL
19627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19629 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19630 if (!SWIG_IsOK(ecode1
)) {
19631 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19633 arg1
= static_cast< wxEventType
>(val1
);
19636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19637 if (!SWIG_IsOK(ecode2
)) {
19638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19640 arg2
= static_cast< int >(val2
);
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19655 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19656 PyObject
*resultobj
= 0;
19657 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19661 PyObject
*swig_obj
[1] ;
19663 if (!args
) SWIG_fail
;
19664 swig_obj
[0] = args
;
19665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19666 if (!SWIG_IsOK(res1
)) {
19667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19669 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (int)(arg1
)->GetFlags();
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_From_int(static_cast< int >(result
));
19683 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19684 PyObject
*resultobj
= 0;
19685 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19686 wxString
*result
= 0 ;
19689 PyObject
*swig_obj
[1] ;
19691 if (!args
) SWIG_fail
;
19692 swig_obj
[0] = args
;
19693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19694 if (!SWIG_IsOK(res1
)) {
19695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19697 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 wxString
const &_result_ref
= (arg1
)->GetFindString();
19702 result
= (wxString
*) &_result_ref
;
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19711 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19720 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19721 PyObject
*resultobj
= 0;
19722 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19723 wxString
*result
= 0 ;
19726 PyObject
*swig_obj
[1] ;
19728 if (!args
) SWIG_fail
;
19729 swig_obj
[0] = args
;
19730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19731 if (!SWIG_IsOK(res1
)) {
19732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19734 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19739 result
= (wxString
*) &_result_ref
;
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19748 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19757 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19758 PyObject
*resultobj
= 0;
19759 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19760 wxFindReplaceDialog
*result
= 0 ;
19763 PyObject
*swig_obj
[1] ;
19765 if (!args
) SWIG_fail
;
19766 swig_obj
[0] = args
;
19767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19768 if (!SWIG_IsOK(res1
)) {
19769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19771 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19785 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
= 0;
19787 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19793 PyObject
* obj0
= 0 ;
19794 PyObject
* obj1
= 0 ;
19795 char * kwnames
[] = {
19796 (char *) "self",(char *) "flags", NULL
19799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19801 if (!SWIG_IsOK(res1
)) {
19802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19804 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19806 if (!SWIG_IsOK(ecode2
)) {
19807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19809 arg2
= static_cast< int >(val2
);
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 (arg1
)->SetFlags(arg2
);
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= SWIG_Py_Void();
19823 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
= 0;
19825 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19826 wxString
*arg2
= 0 ;
19829 bool temp2
= false ;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 char * kwnames
[] = {
19833 (char *) "self",(char *) "str", NULL
19836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19838 if (!SWIG_IsOK(res1
)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19841 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19843 arg2
= wxString_in_helper(obj1
);
19844 if (arg2
== NULL
) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 (arg1
)->SetFindString((wxString
const &)*arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_Py_Void();
19868 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
= 0;
19870 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19871 wxString
*arg2
= 0 ;
19874 bool temp2
= false ;
19875 PyObject
* obj0
= 0 ;
19876 PyObject
* obj1
= 0 ;
19877 char * kwnames
[] = {
19878 (char *) "self",(char *) "str", NULL
19881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19883 if (!SWIG_IsOK(res1
)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19886 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19888 arg2
= wxString_in_helper(obj1
);
19889 if (arg2
== NULL
) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 resultobj
= SWIG_Py_Void();
19913 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19916 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19917 return SWIG_Py_Void();
19920 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19921 return SWIG_Python_InitShadowInstance(args
);
19924 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
= 0;
19926 int arg1
= (int) 0 ;
19927 wxFindReplaceData
*result
= 0 ;
19930 PyObject
* obj0
= 0 ;
19931 char * kwnames
[] = {
19932 (char *) "flags", NULL
19935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19937 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19938 if (!SWIG_IsOK(ecode1
)) {
19939 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19941 arg1
= static_cast< int >(val1
);
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19956 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19957 PyObject
*resultobj
= 0;
19958 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19961 PyObject
*swig_obj
[1] ;
19963 if (!args
) SWIG_fail
;
19964 swig_obj
[0] = args
;
19965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19966 if (!SWIG_IsOK(res1
)) {
19967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19969 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= SWIG_Py_Void();
19984 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19985 PyObject
*resultobj
= 0;
19986 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19987 wxString
*result
= 0 ;
19990 PyObject
*swig_obj
[1] ;
19992 if (!args
) SWIG_fail
;
19993 swig_obj
[0] = args
;
19994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19995 if (!SWIG_IsOK(res1
)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19998 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 wxString
const &_result_ref
= (arg1
)->GetFindString();
20003 result
= (wxString
*) &_result_ref
;
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20010 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20012 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20021 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20022 PyObject
*resultobj
= 0;
20023 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20024 wxString
*result
= 0 ;
20027 PyObject
*swig_obj
[1] ;
20029 if (!args
) SWIG_fail
;
20030 swig_obj
[0] = args
;
20031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20032 if (!SWIG_IsOK(res1
)) {
20033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20035 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20040 result
= (wxString
*) &_result_ref
;
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20049 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20058 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20059 PyObject
*resultobj
= 0;
20060 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20064 PyObject
*swig_obj
[1] ;
20066 if (!args
) SWIG_fail
;
20067 swig_obj
[0] = args
;
20068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20069 if (!SWIG_IsOK(res1
)) {
20070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20072 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 result
= (int)(arg1
)->GetFlags();
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= SWIG_From_int(static_cast< int >(result
));
20086 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
= 0;
20088 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 char * kwnames
[] = {
20097 (char *) "self",(char *) "flags", NULL
20100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20102 if (!SWIG_IsOK(res1
)) {
20103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20105 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20107 if (!SWIG_IsOK(ecode2
)) {
20108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20110 arg2
= static_cast< int >(val2
);
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 (arg1
)->SetFlags(arg2
);
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20117 resultobj
= SWIG_Py_Void();
20124 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
= 0;
20126 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20127 wxString
*arg2
= 0 ;
20130 bool temp2
= false ;
20131 PyObject
* obj0
= 0 ;
20132 PyObject
* obj1
= 0 ;
20133 char * kwnames
[] = {
20134 (char *) "self",(char *) "str", NULL
20137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20139 if (!SWIG_IsOK(res1
)) {
20140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20142 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20144 arg2
= wxString_in_helper(obj1
);
20145 if (arg2
== NULL
) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 (arg1
)->SetFindString((wxString
const &)*arg2
);
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= SWIG_Py_Void();
20169 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
= 0;
20171 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20172 wxString
*arg2
= 0 ;
20175 bool temp2
= false ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 char * kwnames
[] = {
20179 (char *) "self",(char *) "str", NULL
20182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20184 if (!SWIG_IsOK(res1
)) {
20185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20187 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20189 arg2
= wxString_in_helper(obj1
);
20190 if (arg2
== NULL
) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20196 wxPyEndAllowThreads(__tstate
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20199 resultobj
= SWIG_Py_Void();
20214 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20217 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20218 return SWIG_Py_Void();
20221 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20222 return SWIG_Python_InitShadowInstance(args
);
20225 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
= 0;
20227 wxWindow
*arg1
= (wxWindow
*) 0 ;
20228 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20229 wxString
*arg3
= 0 ;
20230 int arg4
= (int) 0 ;
20231 wxFindReplaceDialog
*result
= 0 ;
20236 bool temp3
= false ;
20239 PyObject
* obj0
= 0 ;
20240 PyObject
* obj1
= 0 ;
20241 PyObject
* obj2
= 0 ;
20242 PyObject
* obj3
= 0 ;
20243 char * kwnames
[] = {
20244 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20249 if (!SWIG_IsOK(res1
)) {
20250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20252 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20254 if (!SWIG_IsOK(res2
)) {
20255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20257 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20259 arg3
= wxString_in_helper(obj2
);
20260 if (arg3
== NULL
) SWIG_fail
;
20264 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20265 if (!SWIG_IsOK(ecode4
)) {
20266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20268 arg4
= static_cast< int >(val4
);
20271 if (!wxPyCheckForApp()) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20292 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20293 PyObject
*resultobj
= 0;
20294 wxFindReplaceDialog
*result
= 0 ;
20296 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20298 if (!wxPyCheckForApp()) SWIG_fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20311 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
= 0;
20313 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20314 wxWindow
*arg2
= (wxWindow
*) 0 ;
20315 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20316 wxString
*arg4
= 0 ;
20317 int arg5
= (int) 0 ;
20325 bool temp4
= false ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 PyObject
* obj2
= 0 ;
20331 PyObject
* obj3
= 0 ;
20332 PyObject
* obj4
= 0 ;
20333 char * kwnames
[] = {
20334 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20339 if (!SWIG_IsOK(res1
)) {
20340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20342 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20343 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20344 if (!SWIG_IsOK(res2
)) {
20345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20347 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20348 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20349 if (!SWIG_IsOK(res3
)) {
20350 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20352 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20354 arg4
= wxString_in_helper(obj3
);
20355 if (arg4
== NULL
) SWIG_fail
;
20359 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20360 if (!SWIG_IsOK(ecode5
)) {
20361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20363 arg5
= static_cast< int >(val5
);
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20388 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20389 PyObject
*resultobj
= 0;
20390 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20391 wxFindReplaceData
*result
= 0 ;
20394 PyObject
*swig_obj
[1] ;
20396 if (!args
) SWIG_fail
;
20397 swig_obj
[0] = args
;
20398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20399 if (!SWIG_IsOK(res1
)) {
20400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20402 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20416 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
= 0;
20418 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20419 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20424 PyObject
* obj0
= 0 ;
20425 PyObject
* obj1
= 0 ;
20426 char * kwnames
[] = {
20427 (char *) "self",(char *) "data", NULL
20430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20432 if (!SWIG_IsOK(res1
)) {
20433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20435 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20436 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20437 if (!SWIG_IsOK(res2
)) {
20438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20440 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 (arg1
)->SetData(arg2
);
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 resultobj
= SWIG_Py_Void();
20454 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20457 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20458 return SWIG_Py_Void();
20461 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20462 return SWIG_Python_InitShadowInstance(args
);
20465 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
= 0;
20467 wxWindow
*arg1
= (wxWindow
*) 0 ;
20468 int arg2
= (int) (int)-1 ;
20469 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20470 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20471 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20472 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20473 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20474 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20475 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20476 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20477 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20478 wxMDIParentFrame
*result
= 0 ;
20483 bool temp3
= false ;
20488 bool temp7
= false ;
20489 PyObject
* obj0
= 0 ;
20490 PyObject
* obj1
= 0 ;
20491 PyObject
* obj2
= 0 ;
20492 PyObject
* obj3
= 0 ;
20493 PyObject
* obj4
= 0 ;
20494 PyObject
* obj5
= 0 ;
20495 PyObject
* obj6
= 0 ;
20496 char * kwnames
[] = {
20497 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20502 if (!SWIG_IsOK(res1
)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20505 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20508 if (!SWIG_IsOK(ecode2
)) {
20509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20511 arg2
= static_cast< int >(val2
);
20515 arg3
= wxString_in_helper(obj2
);
20516 if (arg3
== NULL
) SWIG_fail
;
20523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20533 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20534 if (!SWIG_IsOK(ecode6
)) {
20535 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20537 arg6
= static_cast< long >(val6
);
20541 arg7
= wxString_in_helper(obj6
);
20542 if (arg7
== NULL
) SWIG_fail
;
20547 if (!wxPyCheckForApp()) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20576 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20577 PyObject
*resultobj
= 0;
20578 wxMDIParentFrame
*result
= 0 ;
20580 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20582 if (!wxPyCheckForApp()) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20595 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
= 0;
20597 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20598 wxWindow
*arg2
= (wxWindow
*) 0 ;
20599 int arg3
= (int) (int)-1 ;
20600 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20601 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20602 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20603 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20604 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20605 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20606 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20607 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20608 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20616 bool temp4
= false ;
20621 bool temp8
= false ;
20622 PyObject
* obj0
= 0 ;
20623 PyObject
* obj1
= 0 ;
20624 PyObject
* obj2
= 0 ;
20625 PyObject
* obj3
= 0 ;
20626 PyObject
* obj4
= 0 ;
20627 PyObject
* obj5
= 0 ;
20628 PyObject
* obj6
= 0 ;
20629 PyObject
* obj7
= 0 ;
20630 char * kwnames
[] = {
20631 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20636 if (!SWIG_IsOK(res1
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20639 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20641 if (!SWIG_IsOK(res2
)) {
20642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20644 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20647 if (!SWIG_IsOK(ecode3
)) {
20648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20650 arg3
= static_cast< int >(val3
);
20654 arg4
= wxString_in_helper(obj3
);
20655 if (arg4
== NULL
) SWIG_fail
;
20662 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20668 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20672 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20673 if (!SWIG_IsOK(ecode7
)) {
20674 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20676 arg7
= static_cast< long >(val7
);
20680 arg8
= wxString_in_helper(obj7
);
20681 if (arg8
== NULL
) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20716 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20717 PyObject
*resultobj
= 0;
20718 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20721 PyObject
*swig_obj
[1] ;
20723 if (!args
) SWIG_fail
;
20724 swig_obj
[0] = args
;
20725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20726 if (!SWIG_IsOK(res1
)) {
20727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20729 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 (arg1
)->ActivateNext();
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= SWIG_Py_Void();
20743 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20744 PyObject
*resultobj
= 0;
20745 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20748 PyObject
*swig_obj
[1] ;
20750 if (!args
) SWIG_fail
;
20751 swig_obj
[0] = args
;
20752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20753 if (!SWIG_IsOK(res1
)) {
20754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20756 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 (arg1
)->ActivatePrevious();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_Py_Void();
20770 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20771 PyObject
*resultobj
= 0;
20772 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20775 PyObject
*swig_obj
[1] ;
20777 if (!args
) SWIG_fail
;
20778 swig_obj
[0] = args
;
20779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20780 if (!SWIG_IsOK(res1
)) {
20781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20783 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 (arg1
)->ArrangeIcons();
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= SWIG_Py_Void();
20797 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20798 PyObject
*resultobj
= 0;
20799 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20802 PyObject
*swig_obj
[1] ;
20804 if (!args
) SWIG_fail
;
20805 swig_obj
[0] = args
;
20806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20807 if (!SWIG_IsOK(res1
)) {
20808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20810 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20817 resultobj
= SWIG_Py_Void();
20824 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20825 PyObject
*resultobj
= 0;
20826 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20827 wxMDIChildFrame
*result
= 0 ;
20830 PyObject
*swig_obj
[1] ;
20832 if (!args
) SWIG_fail
;
20833 swig_obj
[0] = args
;
20834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20835 if (!SWIG_IsOK(res1
)) {
20836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20838 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20854 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20855 PyObject
*resultobj
= 0;
20856 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20857 wxMDIClientWindow
*result
= 0 ;
20860 PyObject
*swig_obj
[1] ;
20862 if (!args
) SWIG_fail
;
20863 swig_obj
[0] = args
;
20864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20868 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20884 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20885 PyObject
*resultobj
= 0;
20886 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20887 wxWindow
*result
= 0 ;
20890 PyObject
*swig_obj
[1] ;
20892 if (!args
) SWIG_fail
;
20893 swig_obj
[0] = args
;
20894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20895 if (!SWIG_IsOK(res1
)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20898 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 result
= (wxWindow
*)(arg1
)->GetToolBar();
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= wxPyMake_wxObject(result
, 0);
20914 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
= 0;
20916 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20917 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 char * kwnames
[] = {
20925 (char *) "self",(char *) "orient", NULL
20928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20930 if (!SWIG_IsOK(res1
)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20933 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20936 if (!SWIG_IsOK(ecode2
)) {
20937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20939 arg2
= static_cast< wxOrientation
>(val2
);
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 (arg1
)->Tile(arg2
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_Py_Void();
20954 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20956 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20957 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20958 return SWIG_Py_Void();
20961 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20962 return SWIG_Python_InitShadowInstance(args
);
20965 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
= 0;
20967 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20968 int arg2
= (int) (int)-1 ;
20969 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20970 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20971 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20972 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20973 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20974 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20975 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20976 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20977 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20978 wxMDIChildFrame
*result
= 0 ;
20983 bool temp3
= false ;
20988 bool temp7
= false ;
20989 PyObject
* obj0
= 0 ;
20990 PyObject
* obj1
= 0 ;
20991 PyObject
* obj2
= 0 ;
20992 PyObject
* obj3
= 0 ;
20993 PyObject
* obj4
= 0 ;
20994 PyObject
* obj5
= 0 ;
20995 PyObject
* obj6
= 0 ;
20996 char * kwnames
[] = {
20997 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21002 if (!SWIG_IsOK(res1
)) {
21003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21005 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21008 if (!SWIG_IsOK(ecode2
)) {
21009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21011 arg2
= static_cast< int >(val2
);
21015 arg3
= wxString_in_helper(obj2
);
21016 if (arg3
== NULL
) SWIG_fail
;
21023 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21029 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21033 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21034 if (!SWIG_IsOK(ecode6
)) {
21035 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21037 arg6
= static_cast< long >(val6
);
21041 arg7
= wxString_in_helper(obj6
);
21042 if (arg7
== NULL
) SWIG_fail
;
21047 if (!wxPyCheckForApp()) SWIG_fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21076 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21077 PyObject
*resultobj
= 0;
21078 wxMDIChildFrame
*result
= 0 ;
21080 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21082 if (!wxPyCheckForApp()) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21095 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21096 PyObject
*resultobj
= 0;
21097 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21098 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21099 int arg3
= (int) (int)-1 ;
21100 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21101 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21102 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21103 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21104 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21105 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21106 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21107 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21108 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21116 bool temp4
= false ;
21121 bool temp8
= false ;
21122 PyObject
* obj0
= 0 ;
21123 PyObject
* obj1
= 0 ;
21124 PyObject
* obj2
= 0 ;
21125 PyObject
* obj3
= 0 ;
21126 PyObject
* obj4
= 0 ;
21127 PyObject
* obj5
= 0 ;
21128 PyObject
* obj6
= 0 ;
21129 PyObject
* obj7
= 0 ;
21130 char * kwnames
[] = {
21131 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21136 if (!SWIG_IsOK(res1
)) {
21137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21139 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21141 if (!SWIG_IsOK(res2
)) {
21142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21144 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21147 if (!SWIG_IsOK(ecode3
)) {
21148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21150 arg3
= static_cast< int >(val3
);
21154 arg4
= wxString_in_helper(obj3
);
21155 if (arg4
== NULL
) SWIG_fail
;
21162 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21168 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21172 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21173 if (!SWIG_IsOK(ecode7
)) {
21174 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21176 arg7
= static_cast< long >(val7
);
21180 arg8
= wxString_in_helper(obj7
);
21181 if (arg8
== NULL
) SWIG_fail
;
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21216 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21217 PyObject
*resultobj
= 0;
21218 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21221 PyObject
*swig_obj
[1] ;
21223 if (!args
) SWIG_fail
;
21224 swig_obj
[0] = args
;
21225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21226 if (!SWIG_IsOK(res1
)) {
21227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21229 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 (arg1
)->Activate();
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= SWIG_Py_Void();
21243 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21246 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21247 return SWIG_Py_Void();
21250 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21251 return SWIG_Python_InitShadowInstance(args
);
21254 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
= 0;
21256 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21257 long arg2
= (long) 0 ;
21258 wxMDIClientWindow
*result
= 0 ;
21263 PyObject
* obj0
= 0 ;
21264 PyObject
* obj1
= 0 ;
21265 char * kwnames
[] = {
21266 (char *) "parent",(char *) "style", NULL
21269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21271 if (!SWIG_IsOK(res1
)) {
21272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21274 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21276 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21277 if (!SWIG_IsOK(ecode2
)) {
21278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21280 arg2
= static_cast< long >(val2
);
21283 if (!wxPyCheckForApp()) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21296 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21297 PyObject
*resultobj
= 0;
21298 wxMDIClientWindow
*result
= 0 ;
21300 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21302 if (!wxPyCheckForApp()) SWIG_fail
;
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21315 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
= 0;
21317 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21318 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21319 long arg3
= (long) 0 ;
21327 PyObject
* obj0
= 0 ;
21328 PyObject
* obj1
= 0 ;
21329 PyObject
* obj2
= 0 ;
21330 char * kwnames
[] = {
21331 (char *) "self",(char *) "parent",(char *) "style", NULL
21334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21336 if (!SWIG_IsOK(res1
)) {
21337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21339 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21340 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21341 if (!SWIG_IsOK(res2
)) {
21342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21344 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21346 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21347 if (!SWIG_IsOK(ecode3
)) {
21348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21350 arg3
= static_cast< long >(val3
);
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21367 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21370 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21371 return SWIG_Py_Void();
21374 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21375 return SWIG_Python_InitShadowInstance(args
);
21378 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
= 0;
21380 wxWindow
*arg1
= (wxWindow
*) 0 ;
21381 int arg2
= (int) (int)-1 ;
21382 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21383 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21384 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21385 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21386 long arg5
= (long) 0 ;
21387 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21388 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21389 wxPyWindow
*result
= 0 ;
21398 bool temp6
= false ;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 PyObject
* obj2
= 0 ;
21402 PyObject
* obj3
= 0 ;
21403 PyObject
* obj4
= 0 ;
21404 PyObject
* obj5
= 0 ;
21405 char * kwnames
[] = {
21406 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21411 if (!SWIG_IsOK(res1
)) {
21412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21414 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21417 if (!SWIG_IsOK(ecode2
)) {
21418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21420 arg2
= static_cast< int >(val2
);
21425 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21431 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21435 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21436 if (!SWIG_IsOK(ecode5
)) {
21437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21439 arg5
= static_cast< long >(val5
);
21443 arg6
= wxString_in_helper(obj5
);
21444 if (arg6
== NULL
) SWIG_fail
;
21449 if (!wxPyCheckForApp()) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21470 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21471 PyObject
*resultobj
= 0;
21472 wxPyWindow
*result
= 0 ;
21474 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21476 if (!wxPyCheckForApp()) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 result
= (wxPyWindow
*)new wxPyWindow();
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21489 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21490 PyObject
*resultobj
= 0;
21491 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21492 PyObject
*arg2
= (PyObject
*) 0 ;
21493 PyObject
*arg3
= (PyObject
*) 0 ;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 PyObject
* obj2
= 0 ;
21499 char * kwnames
[] = {
21500 (char *) "self",(char *) "self",(char *) "_class", NULL
21503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21505 if (!SWIG_IsOK(res1
)) {
21506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21508 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_Py_Void();
21524 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
= 0;
21526 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 char * kwnames
[] = {
21534 (char *) "self",(char *) "size", NULL
21537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21539 if (!SWIG_IsOK(res1
)) {
21540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21542 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21545 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= SWIG_Py_Void();
21560 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
= 0;
21562 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21563 wxDC
*arg2
= (wxDC
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 char * kwnames
[] = {
21572 (char *) "self",(char *) "dc", NULL
21575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21577 if (!SWIG_IsOK(res1
)) {
21578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21580 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21582 if (!SWIG_IsOK(res2
)) {
21583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21585 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21601 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
= 0;
21603 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21618 PyObject
* obj0
= 0 ;
21619 PyObject
* obj1
= 0 ;
21620 PyObject
* obj2
= 0 ;
21621 PyObject
* obj3
= 0 ;
21622 PyObject
* obj4
= 0 ;
21623 char * kwnames
[] = {
21624 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21629 if (!SWIG_IsOK(res1
)) {
21630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21632 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21634 if (!SWIG_IsOK(ecode2
)) {
21635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21637 arg2
= static_cast< int >(val2
);
21638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21639 if (!SWIG_IsOK(ecode3
)) {
21640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21642 arg3
= static_cast< int >(val3
);
21643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21644 if (!SWIG_IsOK(ecode4
)) {
21645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21647 arg4
= static_cast< int >(val4
);
21648 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21649 if (!SWIG_IsOK(ecode5
)) {
21650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21652 arg5
= static_cast< int >(val5
);
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= SWIG_Py_Void();
21666 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
= 0;
21668 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21673 int arg6
= (int) wxSIZE_AUTO
;
21686 PyObject
* obj0
= 0 ;
21687 PyObject
* obj1
= 0 ;
21688 PyObject
* obj2
= 0 ;
21689 PyObject
* obj3
= 0 ;
21690 PyObject
* obj4
= 0 ;
21691 PyObject
* obj5
= 0 ;
21692 char * kwnames
[] = {
21693 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21698 if (!SWIG_IsOK(res1
)) {
21699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21701 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21703 if (!SWIG_IsOK(ecode2
)) {
21704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21706 arg2
= static_cast< int >(val2
);
21707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21708 if (!SWIG_IsOK(ecode3
)) {
21709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21711 arg3
= static_cast< int >(val3
);
21712 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21713 if (!SWIG_IsOK(ecode4
)) {
21714 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21716 arg4
= static_cast< int >(val4
);
21717 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21718 if (!SWIG_IsOK(ecode5
)) {
21719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21721 arg5
= static_cast< int >(val5
);
21723 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21724 if (!SWIG_IsOK(ecode6
)) {
21725 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21727 arg6
= static_cast< int >(val6
);
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= SWIG_Py_Void();
21742 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
= 0;
21744 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 PyObject
* obj2
= 0 ;
21756 char * kwnames
[] = {
21757 (char *) "self",(char *) "width",(char *) "height", NULL
21760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21762 if (!SWIG_IsOK(res1
)) {
21763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21765 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21767 if (!SWIG_IsOK(ecode2
)) {
21768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21770 arg2
= static_cast< int >(val2
);
21771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21772 if (!SWIG_IsOK(ecode3
)) {
21773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21775 arg3
= static_cast< int >(val3
);
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 (arg1
)->DoSetClientSize(arg2
,arg3
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_Py_Void();
21789 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
= 0;
21791 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 PyObject
* obj2
= 0 ;
21803 char * kwnames
[] = {
21804 (char *) "self",(char *) "x",(char *) "y", NULL
21807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21809 if (!SWIG_IsOK(res1
)) {
21810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21812 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21814 if (!SWIG_IsOK(ecode2
)) {
21815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21817 arg2
= static_cast< int >(val2
);
21818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21819 if (!SWIG_IsOK(ecode3
)) {
21820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21822 arg3
= static_cast< int >(val3
);
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= SWIG_Py_Void();
21836 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21837 PyObject
*resultobj
= 0;
21838 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21839 int *arg2
= (int *) 0 ;
21840 int *arg3
= (int *) 0 ;
21844 int res2
= SWIG_TMPOBJ
;
21846 int res3
= SWIG_TMPOBJ
;
21847 PyObject
*swig_obj
[1] ;
21851 if (!args
) SWIG_fail
;
21852 swig_obj
[0] = args
;
21853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21854 if (!SWIG_IsOK(res1
)) {
21855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21857 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= SWIG_Py_Void();
21865 if (SWIG_IsTmpObj(res2
)) {
21866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21868 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21871 if (SWIG_IsTmpObj(res3
)) {
21872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21874 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21883 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21884 PyObject
*resultobj
= 0;
21885 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21886 int *arg2
= (int *) 0 ;
21887 int *arg3
= (int *) 0 ;
21891 int res2
= SWIG_TMPOBJ
;
21893 int res3
= SWIG_TMPOBJ
;
21894 PyObject
*swig_obj
[1] ;
21898 if (!args
) SWIG_fail
;
21899 swig_obj
[0] = args
;
21900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21901 if (!SWIG_IsOK(res1
)) {
21902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21904 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= SWIG_Py_Void();
21912 if (SWIG_IsTmpObj(res2
)) {
21913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21915 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21918 if (SWIG_IsTmpObj(res3
)) {
21919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21921 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21930 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21931 PyObject
*resultobj
= 0;
21932 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21933 int *arg2
= (int *) 0 ;
21934 int *arg3
= (int *) 0 ;
21938 int res2
= SWIG_TMPOBJ
;
21940 int res3
= SWIG_TMPOBJ
;
21941 PyObject
*swig_obj
[1] ;
21945 if (!args
) SWIG_fail
;
21946 swig_obj
[0] = args
;
21947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21948 if (!SWIG_IsOK(res1
)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21951 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21958 resultobj
= SWIG_Py_Void();
21959 if (SWIG_IsTmpObj(res2
)) {
21960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21962 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21965 if (SWIG_IsTmpObj(res3
)) {
21966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21968 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21977 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21978 PyObject
*resultobj
= 0;
21979 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21983 PyObject
*swig_obj
[1] ;
21985 if (!args
) SWIG_fail
;
21986 swig_obj
[0] = args
;
21987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21988 if (!SWIG_IsOK(res1
)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21991 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21998 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22005 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22006 PyObject
*resultobj
= 0;
22007 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22011 PyObject
*swig_obj
[1] ;
22013 if (!args
) SWIG_fail
;
22014 swig_obj
[0] = args
;
22015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22016 if (!SWIG_IsOK(res1
)) {
22017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22019 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22033 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22034 PyObject
*resultobj
= 0;
22035 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22036 SwigValueWrapper
<wxVisualAttributes
> result
;
22039 PyObject
*swig_obj
[1] ;
22041 if (!args
) SWIG_fail
;
22042 swig_obj
[0] = args
;
22043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22044 if (!SWIG_IsOK(res1
)) {
22045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22047 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= (arg1
)->GetDefaultAttributes();
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22061 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22062 PyObject
*resultobj
= 0;
22063 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22066 PyObject
*swig_obj
[1] ;
22068 if (!args
) SWIG_fail
;
22069 swig_obj
[0] = args
;
22070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22071 if (!SWIG_IsOK(res1
)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22074 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 (arg1
)->OnInternalIdle();
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= SWIG_Py_Void();
22088 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22091 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22092 return SWIG_Py_Void();
22095 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22096 return SWIG_Python_InitShadowInstance(args
);
22099 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
= 0;
22101 wxWindow
*arg1
= (wxWindow
*) 0 ;
22102 int arg2
= (int) (int)-1 ;
22103 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22104 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22105 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22106 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22107 long arg5
= (long) 0 ;
22108 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22109 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22110 wxPyPanel
*result
= 0 ;
22119 bool temp6
= false ;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 PyObject
* obj2
= 0 ;
22123 PyObject
* obj3
= 0 ;
22124 PyObject
* obj4
= 0 ;
22125 PyObject
* obj5
= 0 ;
22126 char * kwnames
[] = {
22127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22132 if (!SWIG_IsOK(res1
)) {
22133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22135 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22138 if (!SWIG_IsOK(ecode2
)) {
22139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22141 arg2
= static_cast< int >(val2
);
22146 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22152 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22156 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22157 if (!SWIG_IsOK(ecode5
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22160 arg5
= static_cast< long >(val5
);
22164 arg6
= wxString_in_helper(obj5
);
22165 if (arg6
== NULL
) SWIG_fail
;
22170 if (!wxPyCheckForApp()) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22191 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22192 PyObject
*resultobj
= 0;
22193 wxPyPanel
*result
= 0 ;
22195 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22197 if (!wxPyCheckForApp()) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (wxPyPanel
*)new wxPyPanel();
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22210 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
= 0;
22212 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22213 PyObject
*arg2
= (PyObject
*) 0 ;
22214 PyObject
*arg3
= (PyObject
*) 0 ;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 PyObject
* obj2
= 0 ;
22220 char * kwnames
[] = {
22221 (char *) "self",(char *) "self",(char *) "_class", NULL
22224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22226 if (!SWIG_IsOK(res1
)) {
22227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22229 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22238 resultobj
= SWIG_Py_Void();
22245 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22246 PyObject
*resultobj
= 0;
22247 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 char * kwnames
[] = {
22255 (char *) "self",(char *) "size", NULL
22258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22260 if (!SWIG_IsOK(res1
)) {
22261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22263 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22266 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22270 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= SWIG_Py_Void();
22281 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
= 0;
22283 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22284 wxDC
*arg2
= (wxDC
*) 0 ;
22290 PyObject
* obj0
= 0 ;
22291 PyObject
* obj1
= 0 ;
22292 char * kwnames
[] = {
22293 (char *) "self",(char *) "dc", NULL
22296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22298 if (!SWIG_IsOK(res1
)) {
22299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22301 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22302 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22303 if (!SWIG_IsOK(res2
)) {
22304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22306 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22322 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
= 0;
22324 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22339 PyObject
* obj0
= 0 ;
22340 PyObject
* obj1
= 0 ;
22341 PyObject
* obj2
= 0 ;
22342 PyObject
* obj3
= 0 ;
22343 PyObject
* obj4
= 0 ;
22344 char * kwnames
[] = {
22345 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22353 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22355 if (!SWIG_IsOK(ecode2
)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22358 arg2
= static_cast< int >(val2
);
22359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22360 if (!SWIG_IsOK(ecode3
)) {
22361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22363 arg3
= static_cast< int >(val3
);
22364 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22365 if (!SWIG_IsOK(ecode4
)) {
22366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22368 arg4
= static_cast< int >(val4
);
22369 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22370 if (!SWIG_IsOK(ecode5
)) {
22371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22373 arg5
= static_cast< int >(val5
);
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= SWIG_Py_Void();
22387 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
= 0;
22389 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22394 int arg6
= (int) wxSIZE_AUTO
;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 PyObject
* obj2
= 0 ;
22410 PyObject
* obj3
= 0 ;
22411 PyObject
* obj4
= 0 ;
22412 PyObject
* obj5
= 0 ;
22413 char * kwnames
[] = {
22414 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22419 if (!SWIG_IsOK(res1
)) {
22420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22422 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22424 if (!SWIG_IsOK(ecode2
)) {
22425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22427 arg2
= static_cast< int >(val2
);
22428 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22429 if (!SWIG_IsOK(ecode3
)) {
22430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22432 arg3
= static_cast< int >(val3
);
22433 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22434 if (!SWIG_IsOK(ecode4
)) {
22435 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22437 arg4
= static_cast< int >(val4
);
22438 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22439 if (!SWIG_IsOK(ecode5
)) {
22440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22442 arg5
= static_cast< int >(val5
);
22444 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22445 if (!SWIG_IsOK(ecode6
)) {
22446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22448 arg6
= static_cast< int >(val6
);
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= SWIG_Py_Void();
22463 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
= 0;
22465 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22474 PyObject
* obj0
= 0 ;
22475 PyObject
* obj1
= 0 ;
22476 PyObject
* obj2
= 0 ;
22477 char * kwnames
[] = {
22478 (char *) "self",(char *) "width",(char *) "height", NULL
22481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22483 if (!SWIG_IsOK(res1
)) {
22484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22486 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22488 if (!SWIG_IsOK(ecode2
)) {
22489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22491 arg2
= static_cast< int >(val2
);
22492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22493 if (!SWIG_IsOK(ecode3
)) {
22494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22496 arg3
= static_cast< int >(val3
);
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 (arg1
)->DoSetClientSize(arg2
,arg3
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 resultobj
= SWIG_Py_Void();
22510 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
= 0;
22512 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 PyObject
* obj2
= 0 ;
22524 char * kwnames
[] = {
22525 (char *) "self",(char *) "x",(char *) "y", NULL
22528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22530 if (!SWIG_IsOK(res1
)) {
22531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22533 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22535 if (!SWIG_IsOK(ecode2
)) {
22536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22538 arg2
= static_cast< int >(val2
);
22539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22540 if (!SWIG_IsOK(ecode3
)) {
22541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22543 arg3
= static_cast< int >(val3
);
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= SWIG_Py_Void();
22557 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22558 PyObject
*resultobj
= 0;
22559 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22560 int *arg2
= (int *) 0 ;
22561 int *arg3
= (int *) 0 ;
22565 int res2
= SWIG_TMPOBJ
;
22567 int res3
= SWIG_TMPOBJ
;
22568 PyObject
*swig_obj
[1] ;
22572 if (!args
) SWIG_fail
;
22573 swig_obj
[0] = args
;
22574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22575 if (!SWIG_IsOK(res1
)) {
22576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22578 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22585 resultobj
= SWIG_Py_Void();
22586 if (SWIG_IsTmpObj(res2
)) {
22587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22589 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22592 if (SWIG_IsTmpObj(res3
)) {
22593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22595 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22604 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22605 PyObject
*resultobj
= 0;
22606 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22607 int *arg2
= (int *) 0 ;
22608 int *arg3
= (int *) 0 ;
22612 int res2
= SWIG_TMPOBJ
;
22614 int res3
= SWIG_TMPOBJ
;
22615 PyObject
*swig_obj
[1] ;
22619 if (!args
) SWIG_fail
;
22620 swig_obj
[0] = args
;
22621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22622 if (!SWIG_IsOK(res1
)) {
22623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22625 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= SWIG_Py_Void();
22633 if (SWIG_IsTmpObj(res2
)) {
22634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22636 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22639 if (SWIG_IsTmpObj(res3
)) {
22640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22642 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22651 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22652 PyObject
*resultobj
= 0;
22653 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22654 int *arg2
= (int *) 0 ;
22655 int *arg3
= (int *) 0 ;
22659 int res2
= SWIG_TMPOBJ
;
22661 int res3
= SWIG_TMPOBJ
;
22662 PyObject
*swig_obj
[1] ;
22666 if (!args
) SWIG_fail
;
22667 swig_obj
[0] = args
;
22668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22672 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 resultobj
= SWIG_Py_Void();
22680 if (SWIG_IsTmpObj(res2
)) {
22681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22683 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22686 if (SWIG_IsTmpObj(res3
)) {
22687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22689 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22698 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22699 PyObject
*resultobj
= 0;
22700 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22704 PyObject
*swig_obj
[1] ;
22706 if (!args
) SWIG_fail
;
22707 swig_obj
[0] = args
;
22708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22709 if (!SWIG_IsOK(res1
)) {
22710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22712 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22726 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22727 PyObject
*resultobj
= 0;
22728 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22732 PyObject
*swig_obj
[1] ;
22734 if (!args
) SWIG_fail
;
22735 swig_obj
[0] = args
;
22736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22737 if (!SWIG_IsOK(res1
)) {
22738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22740 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22754 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22755 PyObject
*resultobj
= 0;
22756 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22757 SwigValueWrapper
<wxVisualAttributes
> result
;
22760 PyObject
*swig_obj
[1] ;
22762 if (!args
) SWIG_fail
;
22763 swig_obj
[0] = args
;
22764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22765 if (!SWIG_IsOK(res1
)) {
22766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22768 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 result
= (arg1
)->GetDefaultAttributes();
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22782 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22783 PyObject
*resultobj
= 0;
22784 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22787 PyObject
*swig_obj
[1] ;
22789 if (!args
) SWIG_fail
;
22790 swig_obj
[0] = args
;
22791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22792 if (!SWIG_IsOK(res1
)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22795 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 (arg1
)->OnInternalIdle();
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= SWIG_Py_Void();
22809 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22812 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22813 return SWIG_Py_Void();
22816 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22817 return SWIG_Python_InitShadowInstance(args
);
22820 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
= 0;
22822 wxWindow
*arg1
= (wxWindow
*) 0 ;
22823 int arg2
= (int) (int)-1 ;
22824 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22825 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22826 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22827 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22828 long arg5
= (long) 0 ;
22829 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22830 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22831 wxPyScrolledWindow
*result
= 0 ;
22840 bool temp6
= false ;
22841 PyObject
* obj0
= 0 ;
22842 PyObject
* obj1
= 0 ;
22843 PyObject
* obj2
= 0 ;
22844 PyObject
* obj3
= 0 ;
22845 PyObject
* obj4
= 0 ;
22846 PyObject
* obj5
= 0 ;
22847 char * kwnames
[] = {
22848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22853 if (!SWIG_IsOK(res1
)) {
22854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22859 if (!SWIG_IsOK(ecode2
)) {
22860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22862 arg2
= static_cast< int >(val2
);
22867 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22873 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22877 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22878 if (!SWIG_IsOK(ecode5
)) {
22879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22881 arg5
= static_cast< long >(val5
);
22885 arg6
= wxString_in_helper(obj5
);
22886 if (arg6
== NULL
) SWIG_fail
;
22891 if (!wxPyCheckForApp()) SWIG_fail
;
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22912 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22913 PyObject
*resultobj
= 0;
22914 wxPyScrolledWindow
*result
= 0 ;
22916 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22918 if (!wxPyCheckForApp()) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22931 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
= 0;
22933 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22934 PyObject
*arg2
= (PyObject
*) 0 ;
22935 PyObject
*arg3
= (PyObject
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 PyObject
* obj1
= 0 ;
22940 PyObject
* obj2
= 0 ;
22941 char * kwnames
[] = {
22942 (char *) "self",(char *) "self",(char *) "_class", NULL
22945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22947 if (!SWIG_IsOK(res1
)) {
22948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22950 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= SWIG_Py_Void();
22966 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22967 PyObject
*resultobj
= 0;
22968 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22973 PyObject
* obj0
= 0 ;
22974 PyObject
* obj1
= 0 ;
22975 char * kwnames
[] = {
22976 (char *) "self",(char *) "size", NULL
22979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22981 if (!SWIG_IsOK(res1
)) {
22982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22984 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22987 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22991 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 resultobj
= SWIG_Py_Void();
23002 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
= 0;
23004 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23005 wxDC
*arg2
= (wxDC
*) 0 ;
23011 PyObject
* obj0
= 0 ;
23012 PyObject
* obj1
= 0 ;
23013 char * kwnames
[] = {
23014 (char *) "self",(char *) "dc", NULL
23017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23019 if (!SWIG_IsOK(res1
)) {
23020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23022 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23024 if (!SWIG_IsOK(res2
)) {
23025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23027 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23043 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
= 0;
23045 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23060 PyObject
* obj0
= 0 ;
23061 PyObject
* obj1
= 0 ;
23062 PyObject
* obj2
= 0 ;
23063 PyObject
* obj3
= 0 ;
23064 PyObject
* obj4
= 0 ;
23065 char * kwnames
[] = {
23066 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23071 if (!SWIG_IsOK(res1
)) {
23072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23074 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23076 if (!SWIG_IsOK(ecode2
)) {
23077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23079 arg2
= static_cast< int >(val2
);
23080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23081 if (!SWIG_IsOK(ecode3
)) {
23082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23084 arg3
= static_cast< int >(val3
);
23085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23086 if (!SWIG_IsOK(ecode4
)) {
23087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23089 arg4
= static_cast< int >(val4
);
23090 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23091 if (!SWIG_IsOK(ecode5
)) {
23092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23094 arg5
= static_cast< int >(val5
);
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= SWIG_Py_Void();
23108 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
= 0;
23110 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23115 int arg6
= (int) wxSIZE_AUTO
;
23128 PyObject
* obj0
= 0 ;
23129 PyObject
* obj1
= 0 ;
23130 PyObject
* obj2
= 0 ;
23131 PyObject
* obj3
= 0 ;
23132 PyObject
* obj4
= 0 ;
23133 PyObject
* obj5
= 0 ;
23134 char * kwnames
[] = {
23135 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23140 if (!SWIG_IsOK(res1
)) {
23141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23143 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23145 if (!SWIG_IsOK(ecode2
)) {
23146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23148 arg2
= static_cast< int >(val2
);
23149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23150 if (!SWIG_IsOK(ecode3
)) {
23151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23153 arg3
= static_cast< int >(val3
);
23154 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23155 if (!SWIG_IsOK(ecode4
)) {
23156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23158 arg4
= static_cast< int >(val4
);
23159 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23160 if (!SWIG_IsOK(ecode5
)) {
23161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23163 arg5
= static_cast< int >(val5
);
23165 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23166 if (!SWIG_IsOK(ecode6
)) {
23167 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23169 arg6
= static_cast< int >(val6
);
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 resultobj
= SWIG_Py_Void();
23184 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
= 0;
23186 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23195 PyObject
* obj0
= 0 ;
23196 PyObject
* obj1
= 0 ;
23197 PyObject
* obj2
= 0 ;
23198 char * kwnames
[] = {
23199 (char *) "self",(char *) "width",(char *) "height", NULL
23202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23204 if (!SWIG_IsOK(res1
)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23207 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23209 if (!SWIG_IsOK(ecode2
)) {
23210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23212 arg2
= static_cast< int >(val2
);
23213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23214 if (!SWIG_IsOK(ecode3
)) {
23215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23217 arg3
= static_cast< int >(val3
);
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 (arg1
)->DoSetClientSize(arg2
,arg3
);
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23224 resultobj
= SWIG_Py_Void();
23231 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
= 0;
23233 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 PyObject
* obj1
= 0 ;
23244 PyObject
* obj2
= 0 ;
23245 char * kwnames
[] = {
23246 (char *) "self",(char *) "x",(char *) "y", NULL
23249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23251 if (!SWIG_IsOK(res1
)) {
23252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23254 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23256 if (!SWIG_IsOK(ecode2
)) {
23257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23259 arg2
= static_cast< int >(val2
);
23260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23261 if (!SWIG_IsOK(ecode3
)) {
23262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23264 arg3
= static_cast< int >(val3
);
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= SWIG_Py_Void();
23278 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23279 PyObject
*resultobj
= 0;
23280 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23281 int *arg2
= (int *) 0 ;
23282 int *arg3
= (int *) 0 ;
23286 int res2
= SWIG_TMPOBJ
;
23288 int res3
= SWIG_TMPOBJ
;
23289 PyObject
*swig_obj
[1] ;
23293 if (!args
) SWIG_fail
;
23294 swig_obj
[0] = args
;
23295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23296 if (!SWIG_IsOK(res1
)) {
23297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23299 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23306 resultobj
= SWIG_Py_Void();
23307 if (SWIG_IsTmpObj(res2
)) {
23308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23310 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23313 if (SWIG_IsTmpObj(res3
)) {
23314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23316 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23317 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23325 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23326 PyObject
*resultobj
= 0;
23327 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23328 int *arg2
= (int *) 0 ;
23329 int *arg3
= (int *) 0 ;
23333 int res2
= SWIG_TMPOBJ
;
23335 int res3
= SWIG_TMPOBJ
;
23336 PyObject
*swig_obj
[1] ;
23340 if (!args
) SWIG_fail
;
23341 swig_obj
[0] = args
;
23342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23343 if (!SWIG_IsOK(res1
)) {
23344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23346 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_Py_Void();
23354 if (SWIG_IsTmpObj(res2
)) {
23355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23357 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23360 if (SWIG_IsTmpObj(res3
)) {
23361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23363 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23372 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23373 PyObject
*resultobj
= 0;
23374 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23375 int *arg2
= (int *) 0 ;
23376 int *arg3
= (int *) 0 ;
23380 int res2
= SWIG_TMPOBJ
;
23382 int res3
= SWIG_TMPOBJ
;
23383 PyObject
*swig_obj
[1] ;
23387 if (!args
) SWIG_fail
;
23388 swig_obj
[0] = args
;
23389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23390 if (!SWIG_IsOK(res1
)) {
23391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23393 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= SWIG_Py_Void();
23401 if (SWIG_IsTmpObj(res2
)) {
23402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23404 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23407 if (SWIG_IsTmpObj(res3
)) {
23408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23410 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23419 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23420 PyObject
*resultobj
= 0;
23421 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23425 PyObject
*swig_obj
[1] ;
23427 if (!args
) SWIG_fail
;
23428 swig_obj
[0] = args
;
23429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23430 if (!SWIG_IsOK(res1
)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23433 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23447 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23448 PyObject
*resultobj
= 0;
23449 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23453 PyObject
*swig_obj
[1] ;
23455 if (!args
) SWIG_fail
;
23456 swig_obj
[0] = args
;
23457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23458 if (!SWIG_IsOK(res1
)) {
23459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23461 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23475 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23476 PyObject
*resultobj
= 0;
23477 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23478 SwigValueWrapper
<wxVisualAttributes
> result
;
23481 PyObject
*swig_obj
[1] ;
23483 if (!args
) SWIG_fail
;
23484 swig_obj
[0] = args
;
23485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23486 if (!SWIG_IsOK(res1
)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23489 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (arg1
)->GetDefaultAttributes();
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23503 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23504 PyObject
*resultobj
= 0;
23505 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23508 PyObject
*swig_obj
[1] ;
23510 if (!args
) SWIG_fail
;
23511 swig_obj
[0] = args
;
23512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23513 if (!SWIG_IsOK(res1
)) {
23514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23516 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 (arg1
)->OnInternalIdle();
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_Py_Void();
23530 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23533 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23534 return SWIG_Py_Void();
23537 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23538 return SWIG_Python_InitShadowInstance(args
);
23541 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23542 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23547 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23548 PyObject
*pyobj
= 0;
23552 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23554 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23561 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23562 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23567 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23568 PyObject
*pyobj
= 0;
23572 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23574 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23581 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23582 PyObject
*resultobj
= 0;
23583 wxPrintData
*result
= 0 ;
23585 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 result
= (wxPrintData
*)new wxPrintData();
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23599 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23600 PyObject
*resultobj
= 0;
23601 wxPrintData
*arg1
= 0 ;
23602 wxPrintData
*result
= 0 ;
23606 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23608 if (!SWIG_IsOK(res1
)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23614 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23628 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23632 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23635 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23638 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23642 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23647 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23648 PyObject
*resultobj
= 0;
23649 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23652 PyObject
*swig_obj
[1] ;
23654 if (!args
) SWIG_fail
;
23655 swig_obj
[0] = args
;
23656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23657 if (!SWIG_IsOK(res1
)) {
23658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23660 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_Py_Void();
23675 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23676 PyObject
*resultobj
= 0;
23677 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23681 PyObject
*swig_obj
[1] ;
23683 if (!args
) SWIG_fail
;
23684 swig_obj
[0] = args
;
23685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23686 if (!SWIG_IsOK(res1
)) {
23687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23689 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= (int)(arg1
)->GetNoCopies();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= SWIG_From_int(static_cast< int >(result
));
23703 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23704 PyObject
*resultobj
= 0;
23705 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23709 PyObject
*swig_obj
[1] ;
23711 if (!args
) SWIG_fail
;
23712 swig_obj
[0] = args
;
23713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23714 if (!SWIG_IsOK(res1
)) {
23715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23717 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 result
= (bool)(arg1
)->GetCollate();
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23733 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23734 PyObject
*resultobj
= 0;
23735 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23739 PyObject
*swig_obj
[1] ;
23741 if (!args
) SWIG_fail
;
23742 swig_obj
[0] = args
;
23743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23744 if (!SWIG_IsOK(res1
)) {
23745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23747 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (int)(arg1
)->GetOrientation();
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_From_int(static_cast< int >(result
));
23761 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23762 PyObject
*resultobj
= 0;
23763 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23767 PyObject
*swig_obj
[1] ;
23769 if (!args
) SWIG_fail
;
23770 swig_obj
[0] = args
;
23771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23772 if (!SWIG_IsOK(res1
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23775 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (bool)(arg1
)->Ok();
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23791 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23792 PyObject
*resultobj
= 0;
23793 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23794 wxString
*result
= 0 ;
23797 PyObject
*swig_obj
[1] ;
23799 if (!args
) SWIG_fail
;
23800 swig_obj
[0] = args
;
23801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23802 if (!SWIG_IsOK(res1
)) {
23803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23805 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23810 result
= (wxString
*) &_result_ref
;
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23819 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23828 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23829 PyObject
*resultobj
= 0;
23830 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23834 PyObject
*swig_obj
[1] ;
23836 if (!args
) SWIG_fail
;
23837 swig_obj
[0] = args
;
23838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23839 if (!SWIG_IsOK(res1
)) {
23840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23842 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (bool)(arg1
)->GetColour();
23846 wxPyEndAllowThreads(__tstate
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23858 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23859 PyObject
*resultobj
= 0;
23860 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23861 wxDuplexMode result
;
23864 PyObject
*swig_obj
[1] ;
23866 if (!args
) SWIG_fail
;
23867 swig_obj
[0] = args
;
23868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23869 if (!SWIG_IsOK(res1
)) {
23870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23872 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= SWIG_From_int(static_cast< int >(result
));
23886 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23887 PyObject
*resultobj
= 0;
23888 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23889 wxPaperSize result
;
23892 PyObject
*swig_obj
[1] ;
23894 if (!args
) SWIG_fail
;
23895 swig_obj
[0] = args
;
23896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23897 if (!SWIG_IsOK(res1
)) {
23898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23900 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= SWIG_From_int(static_cast< int >(result
));
23914 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23915 PyObject
*resultobj
= 0;
23916 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23917 wxSize
*result
= 0 ;
23920 PyObject
*swig_obj
[1] ;
23922 if (!args
) SWIG_fail
;
23923 swig_obj
[0] = args
;
23924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23925 if (!SWIG_IsOK(res1
)) {
23926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23928 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23933 result
= (wxSize
*) &_result_ref
;
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23945 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23946 PyObject
*resultobj
= 0;
23947 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23951 PyObject
*swig_obj
[1] ;
23953 if (!args
) SWIG_fail
;
23954 swig_obj
[0] = args
;
23955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23956 if (!SWIG_IsOK(res1
)) {
23957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23959 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (int)(arg1
)->GetQuality();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_From_int(static_cast< int >(result
));
23973 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23974 PyObject
*resultobj
= 0;
23975 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23979 PyObject
*swig_obj
[1] ;
23981 if (!args
) SWIG_fail
;
23982 swig_obj
[0] = args
;
23983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23984 if (!SWIG_IsOK(res1
)) {
23985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23987 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= (wxPrintBin
)(arg1
)->GetBin();
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= SWIG_From_int(static_cast< int >(result
));
24001 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24002 PyObject
*resultobj
= 0;
24003 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24004 wxPrintMode result
;
24007 PyObject
*swig_obj
[1] ;
24009 if (!args
) SWIG_fail
;
24010 swig_obj
[0] = args
;
24011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24012 if (!SWIG_IsOK(res1
)) {
24013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24015 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= SWIG_From_int(static_cast< int >(result
));
24029 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
= 0;
24031 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24037 PyObject
* obj0
= 0 ;
24038 PyObject
* obj1
= 0 ;
24039 char * kwnames
[] = {
24040 (char *) "self",(char *) "v", NULL
24043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24045 if (!SWIG_IsOK(res1
)) {
24046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24048 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24050 if (!SWIG_IsOK(ecode2
)) {
24051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24053 arg2
= static_cast< int >(val2
);
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 (arg1
)->SetNoCopies(arg2
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= SWIG_Py_Void();
24067 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
= 0;
24069 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24075 PyObject
* obj0
= 0 ;
24076 PyObject
* obj1
= 0 ;
24077 char * kwnames
[] = {
24078 (char *) "self",(char *) "flag", NULL
24081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24083 if (!SWIG_IsOK(res1
)) {
24084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24086 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24087 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24088 if (!SWIG_IsOK(ecode2
)) {
24089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24091 arg2
= static_cast< bool >(val2
);
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 (arg1
)->SetCollate(arg2
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= SWIG_Py_Void();
24105 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
= 0;
24107 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24113 PyObject
* obj0
= 0 ;
24114 PyObject
* obj1
= 0 ;
24115 char * kwnames
[] = {
24116 (char *) "self",(char *) "orient", NULL
24119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24121 if (!SWIG_IsOK(res1
)) {
24122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24124 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24126 if (!SWIG_IsOK(ecode2
)) {
24127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24129 arg2
= static_cast< int >(val2
);
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 (arg1
)->SetOrientation(arg2
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= SWIG_Py_Void();
24143 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
= 0;
24145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24146 wxString
*arg2
= 0 ;
24149 bool temp2
= false ;
24150 PyObject
* obj0
= 0 ;
24151 PyObject
* obj1
= 0 ;
24152 char * kwnames
[] = {
24153 (char *) "self",(char *) "name", NULL
24156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24158 if (!SWIG_IsOK(res1
)) {
24159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24161 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24163 arg2
= wxString_in_helper(obj1
);
24164 if (arg2
== NULL
) SWIG_fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= SWIG_Py_Void();
24188 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
= 0;
24190 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24196 PyObject
* obj0
= 0 ;
24197 PyObject
* obj1
= 0 ;
24198 char * kwnames
[] = {
24199 (char *) "self",(char *) "colour", NULL
24202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24204 if (!SWIG_IsOK(res1
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24207 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24208 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24209 if (!SWIG_IsOK(ecode2
)) {
24210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24212 arg2
= static_cast< bool >(val2
);
24214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 (arg1
)->SetColour(arg2
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24219 resultobj
= SWIG_Py_Void();
24226 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24227 PyObject
*resultobj
= 0;
24228 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24229 wxDuplexMode arg2
;
24234 PyObject
* obj0
= 0 ;
24235 PyObject
* obj1
= 0 ;
24236 char * kwnames
[] = {
24237 (char *) "self",(char *) "duplex", NULL
24240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24242 if (!SWIG_IsOK(res1
)) {
24243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24245 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24247 if (!SWIG_IsOK(ecode2
)) {
24248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24250 arg2
= static_cast< wxDuplexMode
>(val2
);
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 (arg1
)->SetDuplex(arg2
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_Py_Void();
24264 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
= 0;
24266 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 char * kwnames
[] = {
24275 (char *) "self",(char *) "sizeId", NULL
24278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24280 if (!SWIG_IsOK(res1
)) {
24281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24283 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24285 if (!SWIG_IsOK(ecode2
)) {
24286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24288 arg2
= static_cast< wxPaperSize
>(val2
);
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 (arg1
)->SetPaperId(arg2
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= SWIG_Py_Void();
24302 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
= 0;
24304 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 char * kwnames
[] = {
24312 (char *) "self",(char *) "sz", NULL
24315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24317 if (!SWIG_IsOK(res1
)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24320 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24323 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= SWIG_Py_Void();
24338 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
= 0;
24340 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24346 PyObject
* obj0
= 0 ;
24347 PyObject
* obj1
= 0 ;
24348 char * kwnames
[] = {
24349 (char *) "self",(char *) "quality", NULL
24352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24354 if (!SWIG_IsOK(res1
)) {
24355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24357 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24359 if (!SWIG_IsOK(ecode2
)) {
24360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24362 arg2
= static_cast< int >(val2
);
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 (arg1
)->SetQuality(arg2
);
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 resultobj
= SWIG_Py_Void();
24376 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
= 0;
24378 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24384 PyObject
* obj0
= 0 ;
24385 PyObject
* obj1
= 0 ;
24386 char * kwnames
[] = {
24387 (char *) "self",(char *) "bin", NULL
24390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24392 if (!SWIG_IsOK(res1
)) {
24393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24395 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24397 if (!SWIG_IsOK(ecode2
)) {
24398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24400 arg2
= static_cast< wxPrintBin
>(val2
);
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 (arg1
)->SetBin(arg2
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= SWIG_Py_Void();
24414 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
= 0;
24416 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24422 PyObject
* obj0
= 0 ;
24423 PyObject
* obj1
= 0 ;
24424 char * kwnames
[] = {
24425 (char *) "self",(char *) "printMode", NULL
24428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24430 if (!SWIG_IsOK(res1
)) {
24431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24433 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24435 if (!SWIG_IsOK(ecode2
)) {
24436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24438 arg2
= static_cast< wxPrintMode
>(val2
);
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 (arg1
)->SetPrintMode(arg2
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24445 resultobj
= SWIG_Py_Void();
24452 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24453 PyObject
*resultobj
= 0;
24454 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24458 PyObject
*swig_obj
[1] ;
24460 if (!args
) SWIG_fail
;
24461 swig_obj
[0] = args
;
24462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24463 if (!SWIG_IsOK(res1
)) {
24464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24466 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24486 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
= 0;
24488 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24489 wxString
*arg2
= 0 ;
24492 bool temp2
= false ;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 char * kwnames
[] = {
24496 (char *) "self",(char *) "filename", NULL
24499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24501 if (!SWIG_IsOK(res1
)) {
24502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24504 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24506 arg2
= wxString_in_helper(obj1
);
24507 if (arg2
== NULL
) SWIG_fail
;
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 (arg1
)->SetFilename((wxString
const &)*arg2
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= SWIG_Py_Void();
24531 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24532 PyObject
*resultobj
= 0;
24533 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24534 PyObject
*result
= 0 ;
24537 PyObject
*swig_obj
[1] ;
24539 if (!args
) SWIG_fail
;
24540 swig_obj
[0] = args
;
24541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24542 if (!SWIG_IsOK(res1
)) {
24543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24545 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= result
;
24559 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
= 0;
24561 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24562 PyObject
*arg2
= (PyObject
*) 0 ;
24565 PyObject
* obj0
= 0 ;
24566 PyObject
* obj1
= 0 ;
24567 char * kwnames
[] = {
24568 (char *) "self",(char *) "data", NULL
24571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24573 if (!SWIG_IsOK(res1
)) {
24574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24576 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 wxPrintData_SetPrivData(arg1
,arg2
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= SWIG_Py_Void();
24591 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24594 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24595 return SWIG_Py_Void();
24598 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24599 return SWIG_Python_InitShadowInstance(args
);
24602 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24603 PyObject
*resultobj
= 0;
24604 wxPageSetupDialogData
*result
= 0 ;
24606 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24620 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24621 PyObject
*resultobj
= 0;
24622 wxPageSetupDialogData
*arg1
= 0 ;
24623 wxPageSetupDialogData
*result
= 0 ;
24627 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24635 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24649 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24650 PyObject
*resultobj
= 0;
24651 wxPrintData
*arg1
= 0 ;
24652 wxPageSetupDialogData
*result
= 0 ;
24656 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24658 if (!SWIG_IsOK(res1
)) {
24659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24664 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24678 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24682 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24685 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24690 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24691 _v
= SWIG_CheckState(res
);
24693 if (!_v
) goto check_2
;
24694 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24699 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24703 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24708 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24709 PyObject
*resultobj
= 0;
24710 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24713 PyObject
*swig_obj
[1] ;
24715 if (!args
) SWIG_fail
;
24716 swig_obj
[0] = args
;
24717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24718 if (!SWIG_IsOK(res1
)) {
24719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24721 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_Py_Void();
24736 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
= 0;
24738 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char * kwnames
[] = {
24747 (char *) "self",(char *) "flag", NULL
24750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24752 if (!SWIG_IsOK(res1
)) {
24753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24755 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24756 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24757 if (!SWIG_IsOK(ecode2
)) {
24758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24760 arg2
= static_cast< bool >(val2
);
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 (arg1
)->EnableHelp(arg2
);
24764 wxPyEndAllowThreads(__tstate
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= SWIG_Py_Void();
24774 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
= 0;
24776 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 char * kwnames
[] = {
24785 (char *) "self",(char *) "flag", NULL
24788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24790 if (!SWIG_IsOK(res1
)) {
24791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24793 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24794 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24795 if (!SWIG_IsOK(ecode2
)) {
24796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24798 arg2
= static_cast< bool >(val2
);
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 (arg1
)->EnableMargins(arg2
);
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= SWIG_Py_Void();
24812 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
= 0;
24814 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24820 PyObject
* obj0
= 0 ;
24821 PyObject
* obj1
= 0 ;
24822 char * kwnames
[] = {
24823 (char *) "self",(char *) "flag", NULL
24826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24828 if (!SWIG_IsOK(res1
)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24831 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24832 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24833 if (!SWIG_IsOK(ecode2
)) {
24834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24836 arg2
= static_cast< bool >(val2
);
24838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24839 (arg1
)->EnableOrientation(arg2
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= SWIG_Py_Void();
24850 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
= 0;
24852 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 char * kwnames
[] = {
24861 (char *) "self",(char *) "flag", NULL
24864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24866 if (!SWIG_IsOK(res1
)) {
24867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24869 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24870 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24871 if (!SWIG_IsOK(ecode2
)) {
24872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24874 arg2
= static_cast< bool >(val2
);
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 (arg1
)->EnablePaper(arg2
);
24878 wxPyEndAllowThreads(__tstate
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= SWIG_Py_Void();
24888 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
= 0;
24890 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 char * kwnames
[] = {
24899 (char *) "self",(char *) "flag", NULL
24902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24904 if (!SWIG_IsOK(res1
)) {
24905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24907 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24908 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24909 if (!SWIG_IsOK(ecode2
)) {
24910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24912 arg2
= static_cast< bool >(val2
);
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 (arg1
)->EnablePrinter(arg2
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 resultobj
= SWIG_Py_Void();
24926 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24927 PyObject
*resultobj
= 0;
24928 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24932 PyObject
*swig_obj
[1] ;
24934 if (!args
) SWIG_fail
;
24935 swig_obj
[0] = args
;
24936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24937 if (!SWIG_IsOK(res1
)) {
24938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24940 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= (bool)(arg1
)->GetDefaultMinMargins();
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24956 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24957 PyObject
*resultobj
= 0;
24958 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24962 PyObject
*swig_obj
[1] ;
24964 if (!args
) SWIG_fail
;
24965 swig_obj
[0] = args
;
24966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24967 if (!SWIG_IsOK(res1
)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24970 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (bool)(arg1
)->GetEnableMargins();
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24986 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24987 PyObject
*resultobj
= 0;
24988 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24992 PyObject
*swig_obj
[1] ;
24994 if (!args
) SWIG_fail
;
24995 swig_obj
[0] = args
;
24996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24997 if (!SWIG_IsOK(res1
)) {
24998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25000 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 result
= (bool)(arg1
)->GetEnableOrientation();
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25016 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25017 PyObject
*resultobj
= 0;
25018 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25022 PyObject
*swig_obj
[1] ;
25024 if (!args
) SWIG_fail
;
25025 swig_obj
[0] = args
;
25026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25027 if (!SWIG_IsOK(res1
)) {
25028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25030 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25033 result
= (bool)(arg1
)->GetEnablePaper();
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25046 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25047 PyObject
*resultobj
= 0;
25048 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25052 PyObject
*swig_obj
[1] ;
25054 if (!args
) SWIG_fail
;
25055 swig_obj
[0] = args
;
25056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25057 if (!SWIG_IsOK(res1
)) {
25058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25060 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 result
= (bool)(arg1
)->GetEnablePrinter();
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25076 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25077 PyObject
*resultobj
= 0;
25078 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25082 PyObject
*swig_obj
[1] ;
25084 if (!args
) SWIG_fail
;
25085 swig_obj
[0] = args
;
25086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25087 if (!SWIG_IsOK(res1
)) {
25088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25090 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 result
= (bool)(arg1
)->GetEnableHelp();
25094 wxPyEndAllowThreads(__tstate
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25106 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25107 PyObject
*resultobj
= 0;
25108 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25112 PyObject
*swig_obj
[1] ;
25114 if (!args
) SWIG_fail
;
25115 swig_obj
[0] = args
;
25116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25117 if (!SWIG_IsOK(res1
)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25120 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (bool)(arg1
)->GetDefaultInfo();
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25136 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25137 PyObject
*resultobj
= 0;
25138 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25142 PyObject
*swig_obj
[1] ;
25144 if (!args
) SWIG_fail
;
25145 swig_obj
[0] = args
;
25146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25147 if (!SWIG_IsOK(res1
)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25150 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (arg1
)->GetMarginTopLeft();
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25164 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25165 PyObject
*resultobj
= 0;
25166 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25170 PyObject
*swig_obj
[1] ;
25172 if (!args
) SWIG_fail
;
25173 swig_obj
[0] = args
;
25174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25175 if (!SWIG_IsOK(res1
)) {
25176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25178 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (arg1
)->GetMarginBottomRight();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25192 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25193 PyObject
*resultobj
= 0;
25194 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25198 PyObject
*swig_obj
[1] ;
25200 if (!args
) SWIG_fail
;
25201 swig_obj
[0] = args
;
25202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25203 if (!SWIG_IsOK(res1
)) {
25204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25206 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (arg1
)->GetMinMarginTopLeft();
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25220 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25221 PyObject
*resultobj
= 0;
25222 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25226 PyObject
*swig_obj
[1] ;
25228 if (!args
) SWIG_fail
;
25229 swig_obj
[0] = args
;
25230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25231 if (!SWIG_IsOK(res1
)) {
25232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25234 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 result
= (arg1
)->GetMinMarginBottomRight();
25238 wxPyEndAllowThreads(__tstate
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25241 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25248 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25249 PyObject
*resultobj
= 0;
25250 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25251 wxPaperSize result
;
25254 PyObject
*swig_obj
[1] ;
25256 if (!args
) SWIG_fail
;
25257 swig_obj
[0] = args
;
25258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25259 if (!SWIG_IsOK(res1
)) {
25260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25262 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= SWIG_From_int(static_cast< int >(result
));
25276 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25277 PyObject
*resultobj
= 0;
25278 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25282 PyObject
*swig_obj
[1] ;
25284 if (!args
) SWIG_fail
;
25285 swig_obj
[0] = args
;
25286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25287 if (!SWIG_IsOK(res1
)) {
25288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25290 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 result
= (arg1
)->GetPaperSize();
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25304 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25305 PyObject
*resultobj
= 0;
25306 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25307 wxPrintData
*result
= 0 ;
25310 PyObject
*swig_obj
[1] ;
25312 if (!args
) SWIG_fail
;
25313 swig_obj
[0] = args
;
25314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25315 if (!SWIG_IsOK(res1
)) {
25316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25318 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25323 result
= (wxPrintData
*) &_result_ref
;
25325 wxPyEndAllowThreads(__tstate
);
25326 if (PyErr_Occurred()) SWIG_fail
;
25328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25335 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25336 PyObject
*resultobj
= 0;
25337 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25341 PyObject
*swig_obj
[1] ;
25343 if (!args
) SWIG_fail
;
25344 swig_obj
[0] = args
;
25345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25346 if (!SWIG_IsOK(res1
)) {
25347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25349 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 result
= (bool)(arg1
)->Ok();
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25365 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
= 0;
25367 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25373 PyObject
* obj0
= 0 ;
25374 PyObject
* obj1
= 0 ;
25375 char * kwnames
[] = {
25376 (char *) "self",(char *) "flag", NULL
25379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25381 if (!SWIG_IsOK(res1
)) {
25382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25384 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25385 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25386 if (!SWIG_IsOK(ecode2
)) {
25387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25389 arg2
= static_cast< bool >(val2
);
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 (arg1
)->SetDefaultInfo(arg2
);
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25396 resultobj
= SWIG_Py_Void();
25403 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
= 0;
25405 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25411 PyObject
* obj0
= 0 ;
25412 PyObject
* obj1
= 0 ;
25413 char * kwnames
[] = {
25414 (char *) "self",(char *) "flag", NULL
25417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25419 if (!SWIG_IsOK(res1
)) {
25420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25422 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25423 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25424 if (!SWIG_IsOK(ecode2
)) {
25425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25427 arg2
= static_cast< bool >(val2
);
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 (arg1
)->SetDefaultMinMargins(arg2
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= SWIG_Py_Void();
25441 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
= 0;
25443 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25444 wxPoint
*arg2
= 0 ;
25448 PyObject
* obj0
= 0 ;
25449 PyObject
* obj1
= 0 ;
25450 char * kwnames
[] = {
25451 (char *) "self",(char *) "pt", NULL
25454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25456 if (!SWIG_IsOK(res1
)) {
25457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25459 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= SWIG_Py_Void();
25477 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
= 0;
25479 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25480 wxPoint
*arg2
= 0 ;
25484 PyObject
* obj0
= 0 ;
25485 PyObject
* obj1
= 0 ;
25486 char * kwnames
[] = {
25487 (char *) "self",(char *) "pt", NULL
25490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25492 if (!SWIG_IsOK(res1
)) {
25493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25495 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25498 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= SWIG_Py_Void();
25513 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25514 PyObject
*resultobj
= 0;
25515 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25516 wxPoint
*arg2
= 0 ;
25520 PyObject
* obj0
= 0 ;
25521 PyObject
* obj1
= 0 ;
25522 char * kwnames
[] = {
25523 (char *) "self",(char *) "pt", NULL
25526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25528 if (!SWIG_IsOK(res1
)) {
25529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25531 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25534 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25538 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= SWIG_Py_Void();
25549 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
= 0;
25551 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25552 wxPoint
*arg2
= 0 ;
25556 PyObject
* obj0
= 0 ;
25557 PyObject
* obj1
= 0 ;
25558 char * kwnames
[] = {
25559 (char *) "self",(char *) "pt", NULL
25562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25564 if (!SWIG_IsOK(res1
)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25567 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25570 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= SWIG_Py_Void();
25585 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25586 PyObject
*resultobj
= 0;
25587 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25593 PyObject
* obj0
= 0 ;
25594 PyObject
* obj1
= 0 ;
25595 char * kwnames
[] = {
25596 (char *) "self",(char *) "id", NULL
25599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25601 if (!SWIG_IsOK(res1
)) {
25602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25604 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25606 if (!SWIG_IsOK(ecode2
)) {
25607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25609 arg2
= static_cast< wxPaperSize
>(val2
);
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 (arg1
)->SetPaperId(arg2
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= SWIG_Py_Void();
25623 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
= 0;
25625 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 char * kwnames
[] = {
25633 (char *) "self",(char *) "size", NULL
25636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25641 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25644 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= SWIG_Py_Void();
25659 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
= 0;
25661 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25662 wxPrintData
*arg2
= 0 ;
25667 PyObject
* obj0
= 0 ;
25668 PyObject
* obj1
= 0 ;
25669 char * kwnames
[] = {
25670 (char *) "self",(char *) "printData", NULL
25673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25675 if (!SWIG_IsOK(res1
)) {
25676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25678 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25680 if (!SWIG_IsOK(res2
)) {
25681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25686 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_Py_Void();
25700 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25701 PyObject
*resultobj
= 0;
25702 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25705 PyObject
*swig_obj
[1] ;
25707 if (!args
) SWIG_fail
;
25708 swig_obj
[0] = args
;
25709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25710 if (!SWIG_IsOK(res1
)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25713 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 (arg1
)->CalculateIdFromPaperSize();
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= SWIG_Py_Void();
25727 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25728 PyObject
*resultobj
= 0;
25729 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25732 PyObject
*swig_obj
[1] ;
25734 if (!args
) SWIG_fail
;
25735 swig_obj
[0] = args
;
25736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25737 if (!SWIG_IsOK(res1
)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25740 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 (arg1
)->CalculatePaperSizeFromId();
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25747 resultobj
= SWIG_Py_Void();
25754 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25757 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25758 return SWIG_Py_Void();
25761 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25762 return SWIG_Python_InitShadowInstance(args
);
25765 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
= 0;
25767 wxWindow
*arg1
= (wxWindow
*) 0 ;
25768 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25769 wxPageSetupDialog
*result
= 0 ;
25774 PyObject
* obj0
= 0 ;
25775 PyObject
* obj1
= 0 ;
25776 char * kwnames
[] = {
25777 (char *) "parent",(char *) "data", NULL
25780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25782 if (!SWIG_IsOK(res1
)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25787 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25788 if (!SWIG_IsOK(res2
)) {
25789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25791 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25794 if (!wxPyCheckForApp()) SWIG_fail
;
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25807 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25808 PyObject
*resultobj
= 0;
25809 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25812 PyObject
*swig_obj
[1] ;
25814 if (!args
) SWIG_fail
;
25815 swig_obj
[0] = args
;
25816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25817 if (!SWIG_IsOK(res1
)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25820 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= SWIG_Py_Void();
25835 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25836 PyObject
*resultobj
= 0;
25837 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25838 wxPageSetupDialogData
*result
= 0 ;
25841 PyObject
*swig_obj
[1] ;
25843 if (!args
) SWIG_fail
;
25844 swig_obj
[0] = args
;
25845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25846 if (!SWIG_IsOK(res1
)) {
25847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25849 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25854 result
= (wxPageSetupDialogData
*) &_result_ref
;
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25866 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25867 PyObject
*resultobj
= 0;
25868 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25869 wxPageSetupDialogData
*result
= 0 ;
25872 PyObject
*swig_obj
[1] ;
25874 if (!args
) SWIG_fail
;
25875 swig_obj
[0] = args
;
25876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25877 if (!SWIG_IsOK(res1
)) {
25878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25880 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25885 result
= (wxPageSetupDialogData
*) &_result_ref
;
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25897 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25898 PyObject
*resultobj
= 0;
25899 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25903 PyObject
*swig_obj
[1] ;
25905 if (!args
) SWIG_fail
;
25906 swig_obj
[0] = args
;
25907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25908 if (!SWIG_IsOK(res1
)) {
25909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25911 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (int)(arg1
)->ShowModal();
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25918 resultobj
= SWIG_From_int(static_cast< int >(result
));
25925 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25928 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25929 return SWIG_Py_Void();
25932 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25933 return SWIG_Python_InitShadowInstance(args
);
25936 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25937 PyObject
*resultobj
= 0;
25938 wxPrintDialogData
*result
= 0 ;
25940 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25954 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25955 PyObject
*resultobj
= 0;
25956 wxPrintData
*arg1
= 0 ;
25957 wxPrintDialogData
*result
= 0 ;
25961 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25963 if (!SWIG_IsOK(res1
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25969 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25983 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25984 PyObject
*resultobj
= 0;
25985 wxPrintDialogData
*arg1
= 0 ;
25986 wxPrintDialogData
*result
= 0 ;
25990 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25992 if (!SWIG_IsOK(res1
)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25998 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26012 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26016 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26019 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26024 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26025 _v
= SWIG_CheckState(res
);
26027 if (!_v
) goto check_2
;
26028 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26033 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26037 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26042 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26043 PyObject
*resultobj
= 0;
26044 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26047 PyObject
*swig_obj
[1] ;
26049 if (!args
) SWIG_fail
;
26050 swig_obj
[0] = args
;
26051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26052 if (!SWIG_IsOK(res1
)) {
26053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26055 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 resultobj
= SWIG_Py_Void();
26070 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26071 PyObject
*resultobj
= 0;
26072 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26076 PyObject
*swig_obj
[1] ;
26078 if (!args
) SWIG_fail
;
26079 swig_obj
[0] = args
;
26080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26081 if (!SWIG_IsOK(res1
)) {
26082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26084 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= SWIG_From_int(static_cast< int >(result
));
26098 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26099 PyObject
*resultobj
= 0;
26100 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26104 PyObject
*swig_obj
[1] ;
26106 if (!args
) SWIG_fail
;
26107 swig_obj
[0] = args
;
26108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26109 if (!SWIG_IsOK(res1
)) {
26110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26112 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26119 resultobj
= SWIG_From_int(static_cast< int >(result
));
26126 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26127 PyObject
*resultobj
= 0;
26128 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26132 PyObject
*swig_obj
[1] ;
26134 if (!args
) SWIG_fail
;
26135 swig_obj
[0] = args
;
26136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26137 if (!SWIG_IsOK(res1
)) {
26138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26140 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 resultobj
= SWIG_From_int(static_cast< int >(result
));
26154 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26155 PyObject
*resultobj
= 0;
26156 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26160 PyObject
*swig_obj
[1] ;
26162 if (!args
) SWIG_fail
;
26163 swig_obj
[0] = args
;
26164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26165 if (!SWIG_IsOK(res1
)) {
26166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26168 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26175 resultobj
= SWIG_From_int(static_cast< int >(result
));
26182 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26183 PyObject
*resultobj
= 0;
26184 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26188 PyObject
*swig_obj
[1] ;
26190 if (!args
) SWIG_fail
;
26191 swig_obj
[0] = args
;
26192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26193 if (!SWIG_IsOK(res1
)) {
26194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26196 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_From_int(static_cast< int >(result
));
26210 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26211 PyObject
*resultobj
= 0;
26212 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26216 PyObject
*swig_obj
[1] ;
26218 if (!args
) SWIG_fail
;
26219 swig_obj
[0] = args
;
26220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26221 if (!SWIG_IsOK(res1
)) {
26222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26224 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26228 wxPyEndAllowThreads(__tstate
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26240 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26241 PyObject
*resultobj
= 0;
26242 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26246 PyObject
*swig_obj
[1] ;
26248 if (!args
) SWIG_fail
;
26249 swig_obj
[0] = args
;
26250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26254 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26270 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26271 PyObject
*resultobj
= 0;
26272 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26276 PyObject
*swig_obj
[1] ;
26278 if (!args
) SWIG_fail
;
26279 swig_obj
[0] = args
;
26280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26281 if (!SWIG_IsOK(res1
)) {
26282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26284 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26300 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26301 PyObject
*resultobj
= 0;
26302 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26306 PyObject
*swig_obj
[1] ;
26308 if (!args
) SWIG_fail
;
26309 swig_obj
[0] = args
;
26310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26311 if (!SWIG_IsOK(res1
)) {
26312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26314 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26330 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26331 PyObject
*resultobj
= 0;
26332 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26338 PyObject
* obj0
= 0 ;
26339 PyObject
* obj1
= 0 ;
26340 char * kwnames
[] = {
26341 (char *) "self",(char *) "v", NULL
26344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26346 if (!SWIG_IsOK(res1
)) {
26347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26349 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26351 if (!SWIG_IsOK(ecode2
)) {
26352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26354 arg2
= static_cast< int >(val2
);
26356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26357 (arg1
)->SetFromPage(arg2
);
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 resultobj
= SWIG_Py_Void();
26368 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
= 0;
26370 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26376 PyObject
* obj0
= 0 ;
26377 PyObject
* obj1
= 0 ;
26378 char * kwnames
[] = {
26379 (char *) "self",(char *) "v", NULL
26382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26384 if (!SWIG_IsOK(res1
)) {
26385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26387 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26389 if (!SWIG_IsOK(ecode2
)) {
26390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26392 arg2
= static_cast< int >(val2
);
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 (arg1
)->SetToPage(arg2
);
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26399 resultobj
= SWIG_Py_Void();
26406 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26407 PyObject
*resultobj
= 0;
26408 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26414 PyObject
* obj0
= 0 ;
26415 PyObject
* obj1
= 0 ;
26416 char * kwnames
[] = {
26417 (char *) "self",(char *) "v", NULL
26420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26422 if (!SWIG_IsOK(res1
)) {
26423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26425 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26427 if (!SWIG_IsOK(ecode2
)) {
26428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26430 arg2
= static_cast< int >(val2
);
26432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26433 (arg1
)->SetMinPage(arg2
);
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26437 resultobj
= SWIG_Py_Void();
26444 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26445 PyObject
*resultobj
= 0;
26446 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26452 PyObject
* obj0
= 0 ;
26453 PyObject
* obj1
= 0 ;
26454 char * kwnames
[] = {
26455 (char *) "self",(char *) "v", NULL
26458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26460 if (!SWIG_IsOK(res1
)) {
26461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26463 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26465 if (!SWIG_IsOK(ecode2
)) {
26466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26468 arg2
= static_cast< int >(val2
);
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 (arg1
)->SetMaxPage(arg2
);
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 resultobj
= SWIG_Py_Void();
26482 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26483 PyObject
*resultobj
= 0;
26484 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26490 PyObject
* obj0
= 0 ;
26491 PyObject
* obj1
= 0 ;
26492 char * kwnames
[] = {
26493 (char *) "self",(char *) "v", NULL
26496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26498 if (!SWIG_IsOK(res1
)) {
26499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26501 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26503 if (!SWIG_IsOK(ecode2
)) {
26504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26506 arg2
= static_cast< int >(val2
);
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 (arg1
)->SetNoCopies(arg2
);
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 resultobj
= SWIG_Py_Void();
26520 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26521 PyObject
*resultobj
= 0;
26522 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26528 PyObject
* obj0
= 0 ;
26529 PyObject
* obj1
= 0 ;
26530 char * kwnames
[] = {
26531 (char *) "self",(char *) "flag", NULL
26534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26536 if (!SWIG_IsOK(res1
)) {
26537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26539 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26540 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26541 if (!SWIG_IsOK(ecode2
)) {
26542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26544 arg2
= static_cast< bool >(val2
);
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 (arg1
)->SetAllPages(arg2
);
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= SWIG_Py_Void();
26558 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26559 PyObject
*resultobj
= 0;
26560 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26568 char * kwnames
[] = {
26569 (char *) "self",(char *) "flag", NULL
26572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26574 if (!SWIG_IsOK(res1
)) {
26575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26577 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26578 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26579 if (!SWIG_IsOK(ecode2
)) {
26580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26582 arg2
= static_cast< bool >(val2
);
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 (arg1
)->SetSelection(arg2
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= SWIG_Py_Void();
26596 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
= 0;
26598 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26604 PyObject
* obj0
= 0 ;
26605 PyObject
* obj1
= 0 ;
26606 char * kwnames
[] = {
26607 (char *) "self",(char *) "flag", NULL
26610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26612 if (!SWIG_IsOK(res1
)) {
26613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26615 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26616 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26617 if (!SWIG_IsOK(ecode2
)) {
26618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26620 arg2
= static_cast< bool >(val2
);
26622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26623 (arg1
)->SetCollate(arg2
);
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 resultobj
= SWIG_Py_Void();
26634 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
= 0;
26636 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26642 PyObject
* obj0
= 0 ;
26643 PyObject
* obj1
= 0 ;
26644 char * kwnames
[] = {
26645 (char *) "self",(char *) "flag", NULL
26648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26650 if (!SWIG_IsOK(res1
)) {
26651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26653 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26654 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26655 if (!SWIG_IsOK(ecode2
)) {
26656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26658 arg2
= static_cast< bool >(val2
);
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 (arg1
)->SetPrintToFile(arg2
);
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= SWIG_Py_Void();
26672 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26673 PyObject
*resultobj
= 0;
26674 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26680 PyObject
* obj0
= 0 ;
26681 PyObject
* obj1
= 0 ;
26682 char * kwnames
[] = {
26683 (char *) "self",(char *) "flag", NULL
26686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26688 if (!SWIG_IsOK(res1
)) {
26689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26691 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26692 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26693 if (!SWIG_IsOK(ecode2
)) {
26694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26696 arg2
= static_cast< bool >(val2
);
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 (arg1
)->EnablePrintToFile(arg2
);
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_Py_Void();
26710 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
= 0;
26712 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26718 PyObject
* obj0
= 0 ;
26719 PyObject
* obj1
= 0 ;
26720 char * kwnames
[] = {
26721 (char *) "self",(char *) "flag", NULL
26724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26726 if (!SWIG_IsOK(res1
)) {
26727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26729 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26730 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26731 if (!SWIG_IsOK(ecode2
)) {
26732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26734 arg2
= static_cast< bool >(val2
);
26736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26737 (arg1
)->EnableSelection(arg2
);
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= SWIG_Py_Void();
26748 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
= 0;
26750 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26756 PyObject
* obj0
= 0 ;
26757 PyObject
* obj1
= 0 ;
26758 char * kwnames
[] = {
26759 (char *) "self",(char *) "flag", NULL
26762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26764 if (!SWIG_IsOK(res1
)) {
26765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26767 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26768 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26769 if (!SWIG_IsOK(ecode2
)) {
26770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26772 arg2
= static_cast< bool >(val2
);
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 (arg1
)->EnablePageNumbers(arg2
);
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 resultobj
= SWIG_Py_Void();
26786 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
= 0;
26788 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26794 PyObject
* obj0
= 0 ;
26795 PyObject
* obj1
= 0 ;
26796 char * kwnames
[] = {
26797 (char *) "self",(char *) "flag", NULL
26800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26802 if (!SWIG_IsOK(res1
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26805 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26806 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26807 if (!SWIG_IsOK(ecode2
)) {
26808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26810 arg2
= static_cast< bool >(val2
);
26812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26813 (arg1
)->EnableHelp(arg2
);
26814 wxPyEndAllowThreads(__tstate
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26817 resultobj
= SWIG_Py_Void();
26824 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26825 PyObject
*resultobj
= 0;
26826 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26830 PyObject
*swig_obj
[1] ;
26832 if (!args
) SWIG_fail
;
26833 swig_obj
[0] = args
;
26834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26835 if (!SWIG_IsOK(res1
)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26838 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26854 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26855 PyObject
*resultobj
= 0;
26856 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26860 PyObject
*swig_obj
[1] ;
26862 if (!args
) SWIG_fail
;
26863 swig_obj
[0] = args
;
26864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26865 if (!SWIG_IsOK(res1
)) {
26866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26868 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26884 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26885 PyObject
*resultobj
= 0;
26886 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26890 PyObject
*swig_obj
[1] ;
26892 if (!args
) SWIG_fail
;
26893 swig_obj
[0] = args
;
26894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26895 if (!SWIG_IsOK(res1
)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26898 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26914 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26915 PyObject
*resultobj
= 0;
26916 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26920 PyObject
*swig_obj
[1] ;
26922 if (!args
) SWIG_fail
;
26923 swig_obj
[0] = args
;
26924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26925 if (!SWIG_IsOK(res1
)) {
26926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26928 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26931 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26932 wxPyEndAllowThreads(__tstate
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26944 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26945 PyObject
*resultobj
= 0;
26946 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26950 PyObject
*swig_obj
[1] ;
26952 if (!args
) SWIG_fail
;
26953 swig_obj
[0] = args
;
26954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26958 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26974 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26975 PyObject
*resultobj
= 0;
26976 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26977 wxPrintData
*result
= 0 ;
26980 PyObject
*swig_obj
[1] ;
26982 if (!args
) SWIG_fail
;
26983 swig_obj
[0] = args
;
26984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26985 if (!SWIG_IsOK(res1
)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26988 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26993 result
= (wxPrintData
*) &_result_ref
;
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27005 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
= 0;
27007 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27008 wxPrintData
*arg2
= 0 ;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 char * kwnames
[] = {
27016 (char *) "self",(char *) "printData", NULL
27019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27021 if (!SWIG_IsOK(res1
)) {
27022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27024 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27026 if (!SWIG_IsOK(res2
)) {
27027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27032 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27036 wxPyEndAllowThreads(__tstate
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27039 resultobj
= SWIG_Py_Void();
27046 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27049 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27050 return SWIG_Py_Void();
27053 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27054 return SWIG_Python_InitShadowInstance(args
);
27057 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
= 0;
27059 wxWindow
*arg1
= (wxWindow
*) 0 ;
27060 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27061 wxPrintDialog
*result
= 0 ;
27066 PyObject
* obj0
= 0 ;
27067 PyObject
* obj1
= 0 ;
27068 char * kwnames
[] = {
27069 (char *) "parent",(char *) "data", NULL
27072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27074 if (!SWIG_IsOK(res1
)) {
27075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27077 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27079 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27080 if (!SWIG_IsOK(res2
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27083 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27086 if (!wxPyCheckForApp()) SWIG_fail
;
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27099 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27100 PyObject
*resultobj
= 0;
27101 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27104 PyObject
*swig_obj
[1] ;
27106 if (!args
) SWIG_fail
;
27107 swig_obj
[0] = args
;
27108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27109 if (!SWIG_IsOK(res1
)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27112 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 wxPyEndAllowThreads(__tstate
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= SWIG_Py_Void();
27127 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27128 PyObject
*resultobj
= 0;
27129 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27133 PyObject
*swig_obj
[1] ;
27135 if (!args
) SWIG_fail
;
27136 swig_obj
[0] = args
;
27137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27138 if (!SWIG_IsOK(res1
)) {
27139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27141 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 result
= (int)(arg1
)->ShowModal();
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27148 resultobj
= SWIG_From_int(static_cast< int >(result
));
27155 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27156 PyObject
*resultobj
= 0;
27157 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27158 wxPrintDialogData
*result
= 0 ;
27161 PyObject
*swig_obj
[1] ;
27163 if (!args
) SWIG_fail
;
27164 swig_obj
[0] = args
;
27165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27166 if (!SWIG_IsOK(res1
)) {
27167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27169 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27174 result
= (wxPrintDialogData
*) &_result_ref
;
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27186 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27187 PyObject
*resultobj
= 0;
27188 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27189 wxPrintData
*result
= 0 ;
27192 PyObject
*swig_obj
[1] ;
27194 if (!args
) SWIG_fail
;
27195 swig_obj
[0] = args
;
27196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27197 if (!SWIG_IsOK(res1
)) {
27198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27200 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27205 result
= (wxPrintData
*) &_result_ref
;
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27217 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27218 PyObject
*resultobj
= 0;
27219 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27223 PyObject
*swig_obj
[1] ;
27225 if (!args
) SWIG_fail
;
27226 swig_obj
[0] = args
;
27227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27228 if (!SWIG_IsOK(res1
)) {
27229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27231 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= (wxDC
*)(arg1
)->GetPrintDC();
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27247 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27251 return SWIG_Py_Void();
27254 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27255 return SWIG_Python_InitShadowInstance(args
);
27258 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27259 PyObject
*resultobj
= 0;
27260 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27261 wxPrinter
*result
= 0 ;
27264 PyObject
* obj0
= 0 ;
27265 char * kwnames
[] = {
27266 (char *) "data", NULL
27269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27272 if (!SWIG_IsOK(res1
)) {
27273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27275 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27278 if (!wxPyCheckForApp()) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 result
= (wxPrinter
*)new wxPrinter(arg1
);
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27291 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27292 PyObject
*resultobj
= 0;
27293 wxPrinter
*arg1
= (wxPrinter
*) 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_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27301 if (!SWIG_IsOK(res1
)) {
27302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27304 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= SWIG_Py_Void();
27319 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
= 0;
27321 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27322 wxWindow
*arg2
= (wxWindow
*) 0 ;
27323 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27324 wxWindow
*result
= 0 ;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 PyObject
* obj2
= 0 ;
27334 char * kwnames
[] = {
27335 (char *) "self",(char *) "parent",(char *) "printout", NULL
27338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27340 if (!SWIG_IsOK(res1
)) {
27341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27343 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27345 if (!SWIG_IsOK(res2
)) {
27346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27348 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27349 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27350 if (!SWIG_IsOK(res3
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27353 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27357 wxPyEndAllowThreads(__tstate
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27361 resultobj
= wxPyMake_wxObject(result
, 0);
27369 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
= 0;
27371 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27372 wxWindow
*arg2
= (wxWindow
*) 0 ;
27373 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27374 wxString
*arg4
= 0 ;
27381 bool temp4
= false ;
27382 PyObject
* obj0
= 0 ;
27383 PyObject
* obj1
= 0 ;
27384 PyObject
* obj2
= 0 ;
27385 PyObject
* obj3
= 0 ;
27386 char * kwnames
[] = {
27387 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27392 if (!SWIG_IsOK(res1
)) {
27393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27395 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27396 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27397 if (!SWIG_IsOK(res2
)) {
27398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27400 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27401 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27402 if (!SWIG_IsOK(res3
)) {
27403 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27405 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27407 arg4
= wxString_in_helper(obj3
);
27408 if (arg4
== NULL
) SWIG_fail
;
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= SWIG_Py_Void();
27432 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
= 0;
27434 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27435 wxWindow
*arg2
= (wxWindow
*) 0 ;
27441 PyObject
* obj0
= 0 ;
27442 PyObject
* obj1
= 0 ;
27443 char * kwnames
[] = {
27444 (char *) "self",(char *) "parent", NULL
27447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27449 if (!SWIG_IsOK(res1
)) {
27450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27452 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27454 if (!SWIG_IsOK(res2
)) {
27455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27457 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (bool)(arg1
)->Setup(arg2
);
27461 wxPyEndAllowThreads(__tstate
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27473 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27474 PyObject
*resultobj
= 0;
27475 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27476 wxWindow
*arg2
= (wxWindow
*) 0 ;
27477 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27478 bool arg4
= (bool) true ;
27488 PyObject
* obj0
= 0 ;
27489 PyObject
* obj1
= 0 ;
27490 PyObject
* obj2
= 0 ;
27491 PyObject
* obj3
= 0 ;
27492 char * kwnames
[] = {
27493 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27498 if (!SWIG_IsOK(res1
)) {
27499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27501 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27502 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27503 if (!SWIG_IsOK(res2
)) {
27504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27506 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27507 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27508 if (!SWIG_IsOK(res3
)) {
27509 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27511 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27513 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27514 if (!SWIG_IsOK(ecode4
)) {
27515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27517 arg4
= static_cast< bool >(val4
);
27520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27521 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27534 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
= 0;
27536 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27537 wxWindow
*arg2
= (wxWindow
*) 0 ;
27543 PyObject
* obj0
= 0 ;
27544 PyObject
* obj1
= 0 ;
27545 char * kwnames
[] = {
27546 (char *) "self",(char *) "parent", NULL
27549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27551 if (!SWIG_IsOK(res1
)) {
27552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27554 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27555 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27556 if (!SWIG_IsOK(res2
)) {
27557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27559 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27562 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27575 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27576 PyObject
*resultobj
= 0;
27577 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27578 wxPrintDialogData
*result
= 0 ;
27581 PyObject
*swig_obj
[1] ;
27583 if (!args
) SWIG_fail
;
27584 swig_obj
[0] = args
;
27585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27586 if (!SWIG_IsOK(res1
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27589 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27594 result
= (wxPrintDialogData
*) &_result_ref
;
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27606 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27607 PyObject
*resultobj
= 0;
27608 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27612 PyObject
*swig_obj
[1] ;
27614 if (!args
) SWIG_fail
;
27615 swig_obj
[0] = args
;
27616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27617 if (!SWIG_IsOK(res1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27620 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 result
= (bool)(arg1
)->GetAbort();
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27636 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27637 PyObject
*resultobj
= 0;
27638 wxPrinterError result
;
27640 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 result
= (wxPrinterError
)wxPrinter::GetLastError();
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= SWIG_From_int(static_cast< int >(result
));
27654 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27657 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27658 return SWIG_Py_Void();
27661 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27662 return SWIG_Python_InitShadowInstance(args
);
27665 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27666 PyObject
*resultobj
= 0;
27667 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27668 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27669 wxPyPrintout
*result
= 0 ;
27670 bool temp1
= false ;
27671 PyObject
* obj0
= 0 ;
27672 char * kwnames
[] = {
27673 (char *) "title", NULL
27676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27679 arg1
= wxString_in_helper(obj0
);
27680 if (arg1
== NULL
) SWIG_fail
;
27685 if (!wxPyCheckForApp()) SWIG_fail
;
27686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27687 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27706 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27707 PyObject
*resultobj
= 0;
27708 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27711 PyObject
*swig_obj
[1] ;
27713 if (!args
) SWIG_fail
;
27714 swig_obj
[0] = args
;
27715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27716 if (!SWIG_IsOK(res1
)) {
27717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27719 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= SWIG_Py_Void();
27734 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
= 0;
27736 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27737 PyObject
*arg2
= (PyObject
*) 0 ;
27738 PyObject
*arg3
= (PyObject
*) 0 ;
27741 PyObject
* obj0
= 0 ;
27742 PyObject
* obj1
= 0 ;
27743 PyObject
* obj2
= 0 ;
27744 char * kwnames
[] = {
27745 (char *) "self",(char *) "self",(char *) "_class", NULL
27748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27750 if (!SWIG_IsOK(res1
)) {
27751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27753 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27762 resultobj
= SWIG_Py_Void();
27769 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27770 PyObject
*resultobj
= 0;
27771 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27775 PyObject
*swig_obj
[1] ;
27777 if (!args
) SWIG_fail
;
27778 swig_obj
[0] = args
;
27779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27780 if (!SWIG_IsOK(res1
)) {
27781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27783 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27786 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27803 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27804 PyObject
*resultobj
= 0;
27805 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27809 PyObject
*swig_obj
[1] ;
27811 if (!args
) SWIG_fail
;
27812 swig_obj
[0] = args
;
27813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27814 if (!SWIG_IsOK(res1
)) {
27815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27817 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27820 result
= (wxDC
*)(arg1
)->GetDC();
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27833 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27834 PyObject
*resultobj
= 0;
27835 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27836 wxDC
*arg2
= (wxDC
*) 0 ;
27841 PyObject
* obj0
= 0 ;
27842 PyObject
* obj1
= 0 ;
27843 char * kwnames
[] = {
27844 (char *) "self",(char *) "dc", NULL
27847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27849 if (!SWIG_IsOK(res1
)) {
27850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27852 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27854 if (!SWIG_IsOK(res2
)) {
27855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27857 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 (arg1
)->SetDC(arg2
);
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27864 resultobj
= SWIG_Py_Void();
27871 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27872 PyObject
*resultobj
= 0;
27873 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27882 PyObject
* obj0
= 0 ;
27883 PyObject
* obj1
= 0 ;
27884 PyObject
* obj2
= 0 ;
27885 char * kwnames
[] = {
27886 (char *) "self",(char *) "w",(char *) "h", NULL
27889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27891 if (!SWIG_IsOK(res1
)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27894 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27896 if (!SWIG_IsOK(ecode2
)) {
27897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27899 arg2
= static_cast< int >(val2
);
27900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27901 if (!SWIG_IsOK(ecode3
)) {
27902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27904 arg3
= static_cast< int >(val3
);
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= SWIG_Py_Void();
27918 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27919 PyObject
*resultobj
= 0;
27920 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27921 int *arg2
= (int *) 0 ;
27922 int *arg3
= (int *) 0 ;
27926 int res2
= SWIG_TMPOBJ
;
27928 int res3
= SWIG_TMPOBJ
;
27929 PyObject
*swig_obj
[1] ;
27933 if (!args
) SWIG_fail
;
27934 swig_obj
[0] = args
;
27935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27936 if (!SWIG_IsOK(res1
)) {
27937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27939 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27943 wxPyEndAllowThreads(__tstate
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 resultobj
= SWIG_Py_Void();
27947 if (SWIG_IsTmpObj(res2
)) {
27948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27950 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27953 if (SWIG_IsTmpObj(res3
)) {
27954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27956 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27965 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
= 0;
27967 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27976 PyObject
* obj0
= 0 ;
27977 PyObject
* obj1
= 0 ;
27978 PyObject
* obj2
= 0 ;
27979 char * kwnames
[] = {
27980 (char *) "self",(char *) "w",(char *) "h", NULL
27983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27985 if (!SWIG_IsOK(res1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27988 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27990 if (!SWIG_IsOK(ecode2
)) {
27991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27993 arg2
= static_cast< int >(val2
);
27994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27995 if (!SWIG_IsOK(ecode3
)) {
27996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27998 arg3
= static_cast< int >(val3
);
28000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28001 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28002 wxPyEndAllowThreads(__tstate
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28005 resultobj
= SWIG_Py_Void();
28012 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28013 PyObject
*resultobj
= 0;
28014 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28015 int *arg2
= (int *) 0 ;
28016 int *arg3
= (int *) 0 ;
28020 int res2
= SWIG_TMPOBJ
;
28022 int res3
= SWIG_TMPOBJ
;
28023 PyObject
*swig_obj
[1] ;
28027 if (!args
) SWIG_fail
;
28028 swig_obj
[0] = args
;
28029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28030 if (!SWIG_IsOK(res1
)) {
28031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28033 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28036 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28040 resultobj
= SWIG_Py_Void();
28041 if (SWIG_IsTmpObj(res2
)) {
28042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28044 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28047 if (SWIG_IsTmpObj(res3
)) {
28048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28050 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28059 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28060 PyObject
*resultobj
= 0;
28061 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28070 PyObject
* obj0
= 0 ;
28071 PyObject
* obj1
= 0 ;
28072 PyObject
* obj2
= 0 ;
28073 char * kwnames
[] = {
28074 (char *) "self",(char *) "x",(char *) "y", NULL
28077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28079 if (!SWIG_IsOK(res1
)) {
28080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28082 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28084 if (!SWIG_IsOK(ecode2
)) {
28085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28087 arg2
= static_cast< int >(val2
);
28088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28089 if (!SWIG_IsOK(ecode3
)) {
28090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28092 arg3
= static_cast< int >(val3
);
28094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 (arg1
)->SetPPIScreen(arg2
,arg3
);
28096 wxPyEndAllowThreads(__tstate
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28099 resultobj
= SWIG_Py_Void();
28106 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28107 PyObject
*resultobj
= 0;
28108 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28109 int *arg2
= (int *) 0 ;
28110 int *arg3
= (int *) 0 ;
28114 int res2
= SWIG_TMPOBJ
;
28116 int res3
= SWIG_TMPOBJ
;
28117 PyObject
*swig_obj
[1] ;
28121 if (!args
) SWIG_fail
;
28122 swig_obj
[0] = args
;
28123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28124 if (!SWIG_IsOK(res1
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28127 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28130 (arg1
)->GetPPIScreen(arg2
,arg3
);
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28134 resultobj
= SWIG_Py_Void();
28135 if (SWIG_IsTmpObj(res2
)) {
28136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28138 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28141 if (SWIG_IsTmpObj(res3
)) {
28142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28144 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28153 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
= 0;
28155 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 PyObject
* obj2
= 0 ;
28167 char * kwnames
[] = {
28168 (char *) "self",(char *) "x",(char *) "y", NULL
28171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28173 if (!SWIG_IsOK(res1
)) {
28174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28176 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28178 if (!SWIG_IsOK(ecode2
)) {
28179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28181 arg2
= static_cast< int >(val2
);
28182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28183 if (!SWIG_IsOK(ecode3
)) {
28184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28186 arg3
= static_cast< int >(val3
);
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= SWIG_Py_Void();
28200 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28201 PyObject
*resultobj
= 0;
28202 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28203 int *arg2
= (int *) 0 ;
28204 int *arg3
= (int *) 0 ;
28208 int res2
= SWIG_TMPOBJ
;
28210 int res3
= SWIG_TMPOBJ
;
28211 PyObject
*swig_obj
[1] ;
28215 if (!args
) SWIG_fail
;
28216 swig_obj
[0] = args
;
28217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28218 if (!SWIG_IsOK(res1
)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28221 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28225 wxPyEndAllowThreads(__tstate
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28228 resultobj
= SWIG_Py_Void();
28229 if (SWIG_IsTmpObj(res2
)) {
28230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28232 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28235 if (SWIG_IsTmpObj(res3
)) {
28236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28238 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28247 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28248 PyObject
*resultobj
= 0;
28249 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28253 PyObject
*swig_obj
[1] ;
28255 if (!args
) SWIG_fail
;
28256 swig_obj
[0] = args
;
28257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28258 if (!SWIG_IsOK(res1
)) {
28259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28261 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28264 result
= (bool)(arg1
)->IsPreview();
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28277 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
= 0;
28279 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28285 PyObject
* obj0
= 0 ;
28286 PyObject
* obj1
= 0 ;
28287 char * kwnames
[] = {
28288 (char *) "self",(char *) "p", NULL
28291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28293 if (!SWIG_IsOK(res1
)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28296 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28297 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28298 if (!SWIG_IsOK(ecode2
)) {
28299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28301 arg2
= static_cast< bool >(val2
);
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 (arg1
)->SetIsPreview(arg2
);
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= SWIG_Py_Void();
28315 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28316 PyObject
*resultobj
= 0;
28317 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28327 PyObject
* obj0
= 0 ;
28328 PyObject
* obj1
= 0 ;
28329 PyObject
* obj2
= 0 ;
28330 char * kwnames
[] = {
28331 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28336 if (!SWIG_IsOK(res1
)) {
28337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28339 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28341 if (!SWIG_IsOK(ecode2
)) {
28342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28344 arg2
= static_cast< int >(val2
);
28345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28346 if (!SWIG_IsOK(ecode3
)) {
28347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28349 arg3
= static_cast< int >(val3
);
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28353 wxPyEndAllowThreads(__tstate
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28365 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28366 PyObject
*resultobj
= 0;
28367 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28370 PyObject
*swig_obj
[1] ;
28372 if (!args
) SWIG_fail
;
28373 swig_obj
[0] = args
;
28374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28375 if (!SWIG_IsOK(res1
)) {
28376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28378 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 (arg1
)->OnEndDocument();
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 resultobj
= SWIG_Py_Void();
28392 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28393 PyObject
*resultobj
= 0;
28394 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28397 PyObject
*swig_obj
[1] ;
28399 if (!args
) SWIG_fail
;
28400 swig_obj
[0] = args
;
28401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28402 if (!SWIG_IsOK(res1
)) {
28403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28405 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 (arg1
)->OnBeginPrinting();
28409 wxPyEndAllowThreads(__tstate
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28412 resultobj
= SWIG_Py_Void();
28419 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28420 PyObject
*resultobj
= 0;
28421 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28424 PyObject
*swig_obj
[1] ;
28426 if (!args
) SWIG_fail
;
28427 swig_obj
[0] = args
;
28428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28429 if (!SWIG_IsOK(res1
)) {
28430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28432 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 (arg1
)->OnEndPrinting();
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_Py_Void();
28446 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28447 PyObject
*resultobj
= 0;
28448 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28451 PyObject
*swig_obj
[1] ;
28453 if (!args
) SWIG_fail
;
28454 swig_obj
[0] = args
;
28455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28456 if (!SWIG_IsOK(res1
)) {
28457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28459 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 (arg1
)->OnPreparePrinting();
28463 wxPyEndAllowThreads(__tstate
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= SWIG_Py_Void();
28473 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28474 PyObject
*resultobj
= 0;
28475 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28482 PyObject
* obj0
= 0 ;
28483 PyObject
* obj1
= 0 ;
28484 char * kwnames
[] = {
28485 (char *) "self",(char *) "page", NULL
28488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28490 if (!SWIG_IsOK(res1
)) {
28491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28493 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28495 if (!SWIG_IsOK(ecode2
)) {
28496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28498 arg2
= static_cast< int >(val2
);
28500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28501 result
= (bool)(arg1
)->HasPage(arg2
);
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28514 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28515 PyObject
*resultobj
= 0;
28516 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28517 int *arg2
= (int *) 0 ;
28518 int *arg3
= (int *) 0 ;
28519 int *arg4
= (int *) 0 ;
28520 int *arg5
= (int *) 0 ;
28524 int res2
= SWIG_TMPOBJ
;
28526 int res3
= SWIG_TMPOBJ
;
28528 int res4
= SWIG_TMPOBJ
;
28530 int res5
= SWIG_TMPOBJ
;
28531 PyObject
*swig_obj
[1] ;
28537 if (!args
) SWIG_fail
;
28538 swig_obj
[0] = args
;
28539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28540 if (!SWIG_IsOK(res1
)) {
28541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28543 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28546 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= SWIG_Py_Void();
28551 if (SWIG_IsTmpObj(res2
)) {
28552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28554 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28557 if (SWIG_IsTmpObj(res3
)) {
28558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28560 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28563 if (SWIG_IsTmpObj(res4
)) {
28564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28566 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28569 if (SWIG_IsTmpObj(res5
)) {
28570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28572 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28581 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28584 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28585 return SWIG_Py_Void();
28588 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28589 return SWIG_Python_InitShadowInstance(args
);
28592 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28593 PyObject
*resultobj
= 0;
28594 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28595 wxWindow
*arg2
= (wxWindow
*) 0 ;
28596 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28597 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28598 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28599 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28600 long arg5
= (long) 0 ;
28601 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28602 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28603 wxPreviewCanvas
*result
= 0 ;
28612 bool temp6
= false ;
28613 PyObject
* obj0
= 0 ;
28614 PyObject
* obj1
= 0 ;
28615 PyObject
* obj2
= 0 ;
28616 PyObject
* obj3
= 0 ;
28617 PyObject
* obj4
= 0 ;
28618 PyObject
* obj5
= 0 ;
28619 char * kwnames
[] = {
28620 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28625 if (!SWIG_IsOK(res1
)) {
28626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28628 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28630 if (!SWIG_IsOK(res2
)) {
28631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28633 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28637 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28643 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28647 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28648 if (!SWIG_IsOK(ecode5
)) {
28649 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28651 arg5
= static_cast< long >(val5
);
28655 arg6
= wxString_in_helper(obj5
);
28656 if (arg6
== NULL
) SWIG_fail
;
28661 if (!wxPyCheckForApp()) SWIG_fail
;
28662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28663 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28682 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28685 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28686 return SWIG_Py_Void();
28689 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28690 return SWIG_Python_InitShadowInstance(args
);
28693 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28694 PyObject
*resultobj
= 0;
28695 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28696 wxFrame
*arg2
= (wxFrame
*) 0 ;
28697 wxString
*arg3
= 0 ;
28698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28702 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28703 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28705 wxPreviewFrame
*result
= 0 ;
28709 bool temp3
= false ;
28714 bool temp7
= false ;
28715 PyObject
* obj0
= 0 ;
28716 PyObject
* obj1
= 0 ;
28717 PyObject
* obj2
= 0 ;
28718 PyObject
* obj3
= 0 ;
28719 PyObject
* obj4
= 0 ;
28720 PyObject
* obj5
= 0 ;
28721 PyObject
* obj6
= 0 ;
28722 char * kwnames
[] = {
28723 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28727 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28728 if (!SWIG_IsOK(res1
)) {
28729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28731 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28732 if (!SWIG_IsOK(res2
)) {
28733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28735 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28737 arg3
= wxString_in_helper(obj2
);
28738 if (arg3
== NULL
) SWIG_fail
;
28744 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28750 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28754 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28755 if (!SWIG_IsOK(ecode6
)) {
28756 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28758 arg6
= static_cast< long >(val6
);
28762 arg7
= wxString_in_helper(obj6
);
28763 if (arg7
== NULL
) SWIG_fail
;
28768 if (!wxPyCheckForApp()) SWIG_fail
;
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28797 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28798 PyObject
*resultobj
= 0;
28799 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28802 PyObject
*swig_obj
[1] ;
28804 if (!args
) SWIG_fail
;
28805 swig_obj
[0] = args
;
28806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28807 if (!SWIG_IsOK(res1
)) {
28808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28810 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 (arg1
)->Initialize();
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 resultobj
= SWIG_Py_Void();
28824 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28825 PyObject
*resultobj
= 0;
28826 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28829 PyObject
*swig_obj
[1] ;
28831 if (!args
) SWIG_fail
;
28832 swig_obj
[0] = args
;
28833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28834 if (!SWIG_IsOK(res1
)) {
28835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28837 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 (arg1
)->CreateControlBar();
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 resultobj
= SWIG_Py_Void();
28851 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28852 PyObject
*resultobj
= 0;
28853 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28856 PyObject
*swig_obj
[1] ;
28858 if (!args
) SWIG_fail
;
28859 swig_obj
[0] = args
;
28860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28861 if (!SWIG_IsOK(res1
)) {
28862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28864 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 (arg1
)->CreateCanvas();
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28871 resultobj
= SWIG_Py_Void();
28878 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28879 PyObject
*resultobj
= 0;
28880 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28881 wxPreviewControlBar
*result
= 0 ;
28884 PyObject
*swig_obj
[1] ;
28886 if (!args
) SWIG_fail
;
28887 swig_obj
[0] = args
;
28888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28889 if (!SWIG_IsOK(res1
)) {
28890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28892 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28896 wxPyEndAllowThreads(__tstate
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28906 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28909 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28910 return SWIG_Py_Void();
28913 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28914 return SWIG_Python_InitShadowInstance(args
);
28917 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28918 PyObject
*resultobj
= 0;
28919 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28921 wxWindow
*arg3
= (wxWindow
*) 0 ;
28922 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28923 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28924 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28925 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28926 long arg6
= (long) wxTAB_TRAVERSAL
;
28927 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28928 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28929 wxPreviewControlBar
*result
= 0 ;
28940 bool temp7
= false ;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 PyObject
* obj2
= 0 ;
28944 PyObject
* obj3
= 0 ;
28945 PyObject
* obj4
= 0 ;
28946 PyObject
* obj5
= 0 ;
28947 PyObject
* obj6
= 0 ;
28948 char * kwnames
[] = {
28949 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28954 if (!SWIG_IsOK(res1
)) {
28955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28957 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28958 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28959 if (!SWIG_IsOK(ecode2
)) {
28960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28962 arg2
= static_cast< long >(val2
);
28963 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28964 if (!SWIG_IsOK(res3
)) {
28965 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28967 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28971 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28977 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28981 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28982 if (!SWIG_IsOK(ecode6
)) {
28983 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28985 arg6
= static_cast< long >(val6
);
28989 arg7
= wxString_in_helper(obj6
);
28990 if (arg7
== NULL
) SWIG_fail
;
28995 if (!wxPyCheckForApp()) SWIG_fail
;
28996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28997 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28998 wxPyEndAllowThreads(__tstate
);
28999 if (PyErr_Occurred()) SWIG_fail
;
29001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29016 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29017 PyObject
*resultobj
= 0;
29018 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29022 PyObject
*swig_obj
[1] ;
29024 if (!args
) SWIG_fail
;
29025 swig_obj
[0] = args
;
29026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29027 if (!SWIG_IsOK(res1
)) {
29028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29030 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 result
= (int)(arg1
)->GetZoomControl();
29034 wxPyEndAllowThreads(__tstate
);
29035 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= SWIG_From_int(static_cast< int >(result
));
29044 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29045 PyObject
*resultobj
= 0;
29046 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29052 PyObject
* obj0
= 0 ;
29053 PyObject
* obj1
= 0 ;
29054 char * kwnames
[] = {
29055 (char *) "self",(char *) "zoom", NULL
29058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29060 if (!SWIG_IsOK(res1
)) {
29061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29063 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29065 if (!SWIG_IsOK(ecode2
)) {
29066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29068 arg2
= static_cast< int >(val2
);
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29071 (arg1
)->SetZoomControl(arg2
);
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= SWIG_Py_Void();
29082 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29083 PyObject
*resultobj
= 0;
29084 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29085 wxPrintPreview
*result
= 0 ;
29088 PyObject
*swig_obj
[1] ;
29090 if (!args
) SWIG_fail
;
29091 swig_obj
[0] = args
;
29092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29093 if (!SWIG_IsOK(res1
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29096 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29100 wxPyEndAllowThreads(__tstate
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29110 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29111 PyObject
*resultobj
= 0;
29112 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29115 PyObject
*swig_obj
[1] ;
29117 if (!args
) SWIG_fail
;
29118 swig_obj
[0] = args
;
29119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29120 if (!SWIG_IsOK(res1
)) {
29121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29123 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 wxPyEndAllowThreads(__tstate
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29130 resultobj
= SWIG_Py_Void();
29137 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29138 PyObject
*resultobj
= 0;
29139 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29142 PyObject
*swig_obj
[1] ;
29144 if (!args
) SWIG_fail
;
29145 swig_obj
[0] = args
;
29146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29147 if (!SWIG_IsOK(res1
)) {
29148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29150 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 (arg1
)->OnPrevious();
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29157 resultobj
= SWIG_Py_Void();
29164 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29165 PyObject
*resultobj
= 0;
29166 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29169 PyObject
*swig_obj
[1] ;
29171 if (!args
) SWIG_fail
;
29172 swig_obj
[0] = args
;
29173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29174 if (!SWIG_IsOK(res1
)) {
29175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29177 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 resultobj
= SWIG_Py_Void();
29191 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29192 PyObject
*resultobj
= 0;
29193 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29196 PyObject
*swig_obj
[1] ;
29198 if (!args
) SWIG_fail
;
29199 swig_obj
[0] = args
;
29200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29201 if (!SWIG_IsOK(res1
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29204 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= SWIG_Py_Void();
29218 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29219 PyObject
*resultobj
= 0;
29220 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29223 PyObject
*swig_obj
[1] ;
29225 if (!args
) SWIG_fail
;
29226 swig_obj
[0] = args
;
29227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29228 if (!SWIG_IsOK(res1
)) {
29229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29231 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29235 wxPyEndAllowThreads(__tstate
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= SWIG_Py_Void();
29245 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29249 return SWIG_Py_Void();
29252 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29253 return SWIG_Python_InitShadowInstance(args
);
29256 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29257 PyObject
*resultobj
= 0;
29258 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29259 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29260 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29261 wxPrintPreview
*result
= 0 ;
29267 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29268 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29269 if (!SWIG_IsOK(res1
)) {
29270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29272 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29273 if (!SWIG_IsOK(res2
)) {
29274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29277 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29278 if (!SWIG_IsOK(res3
)) {
29279 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29281 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29284 if (!wxPyCheckForApp()) SWIG_fail
;
29285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29287 wxPyEndAllowThreads(__tstate
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29297 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29298 PyObject
*resultobj
= 0;
29299 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29300 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29301 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29302 wxPrintPreview
*result
= 0 ;
29308 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29309 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29310 if (!SWIG_IsOK(res1
)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29313 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29314 if (!SWIG_IsOK(res2
)) {
29315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29317 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29318 if (!SWIG_IsOK(res3
)) {
29319 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29321 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29323 if (!wxPyCheckForApp()) SWIG_fail
;
29324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29325 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29336 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29340 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29342 if ((argc
>= 2) && (argc
<= 3)) {
29347 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29348 _v
= SWIG_CheckState(res
);
29350 if (!_v
) goto check_1
;
29352 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29357 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29361 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29366 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29367 PyObject
*resultobj
= 0;
29368 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29371 PyObject
*swig_obj
[1] ;
29373 if (!args
) SWIG_fail
;
29374 swig_obj
[0] = args
;
29375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29376 if (!SWIG_IsOK(res1
)) {
29377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29379 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29387 resultobj
= SWIG_Py_Void();
29394 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29395 PyObject
*resultobj
= 0;
29396 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29403 PyObject
* obj0
= 0 ;
29404 PyObject
* obj1
= 0 ;
29405 char * kwnames
[] = {
29406 (char *) "self",(char *) "pageNum", NULL
29409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29411 if (!SWIG_IsOK(res1
)) {
29412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29414 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29416 if (!SWIG_IsOK(ecode2
)) {
29417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29419 arg2
= static_cast< int >(val2
);
29421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29435 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29436 PyObject
*resultobj
= 0;
29437 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29441 PyObject
*swig_obj
[1] ;
29443 if (!args
) SWIG_fail
;
29444 swig_obj
[0] = args
;
29445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29446 if (!SWIG_IsOK(res1
)) {
29447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29449 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29452 result
= (int)(arg1
)->GetCurrentPage();
29453 wxPyEndAllowThreads(__tstate
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= SWIG_From_int(static_cast< int >(result
));
29463 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
= 0;
29465 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29466 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29470 PyObject
* obj0
= 0 ;
29471 PyObject
* obj1
= 0 ;
29472 char * kwnames
[] = {
29473 (char *) "self",(char *) "printout", NULL
29476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29478 if (!SWIG_IsOK(res1
)) {
29479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29481 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29482 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29483 if (!SWIG_IsOK(res2
)) {
29484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 (arg1
)->SetPrintout(arg2
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= SWIG_Py_Void();
29499 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29500 PyObject
*resultobj
= 0;
29501 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29502 wxPyPrintout
*result
= 0 ;
29505 PyObject
*swig_obj
[1] ;
29507 if (!args
) SWIG_fail
;
29508 swig_obj
[0] = args
;
29509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29510 if (!SWIG_IsOK(res1
)) {
29511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29513 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= wxPyMake_wxObject(result
, 0);
29529 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29530 PyObject
*resultobj
= 0;
29531 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29532 wxPyPrintout
*result
= 0 ;
29535 PyObject
*swig_obj
[1] ;
29537 if (!args
) SWIG_fail
;
29538 swig_obj
[0] = args
;
29539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29540 if (!SWIG_IsOK(res1
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29543 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29547 wxPyEndAllowThreads(__tstate
);
29548 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= wxPyMake_wxObject(result
, 0);
29559 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29560 PyObject
*resultobj
= 0;
29561 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29562 wxFrame
*arg2
= (wxFrame
*) 0 ;
29567 PyObject
* obj0
= 0 ;
29568 PyObject
* obj1
= 0 ;
29569 char * kwnames
[] = {
29570 (char *) "self",(char *) "frame", NULL
29573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29575 if (!SWIG_IsOK(res1
)) {
29576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29578 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29580 if (!SWIG_IsOK(res2
)) {
29581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29583 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29586 (arg1
)->SetFrame(arg2
);
29587 wxPyEndAllowThreads(__tstate
);
29588 if (PyErr_Occurred()) SWIG_fail
;
29590 resultobj
= SWIG_Py_Void();
29597 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29598 PyObject
*resultobj
= 0;
29599 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29600 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29605 PyObject
* obj0
= 0 ;
29606 PyObject
* obj1
= 0 ;
29607 char * kwnames
[] = {
29608 (char *) "self",(char *) "canvas", NULL
29611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29613 if (!SWIG_IsOK(res1
)) {
29614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29616 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29617 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29618 if (!SWIG_IsOK(res2
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29621 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 (arg1
)->SetCanvas(arg2
);
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= SWIG_Py_Void();
29635 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29636 PyObject
*resultobj
= 0;
29637 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29638 wxFrame
*result
= 0 ;
29641 PyObject
*swig_obj
[1] ;
29643 if (!args
) SWIG_fail
;
29644 swig_obj
[0] = args
;
29645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29649 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (wxFrame
*)(arg1
)->GetFrame();
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= wxPyMake_wxObject(result
, 0);
29665 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29666 PyObject
*resultobj
= 0;
29667 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29668 wxPreviewCanvas
*result
= 0 ;
29671 PyObject
*swig_obj
[1] ;
29673 if (!args
) SWIG_fail
;
29674 swig_obj
[0] = args
;
29675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29676 if (!SWIG_IsOK(res1
)) {
29677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29679 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29683 wxPyEndAllowThreads(__tstate
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29693 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29694 PyObject
*resultobj
= 0;
29695 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29696 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29705 PyObject
* obj0
= 0 ;
29706 PyObject
* obj1
= 0 ;
29707 PyObject
* obj2
= 0 ;
29708 char * kwnames
[] = {
29709 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29714 if (!SWIG_IsOK(res1
)) {
29715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29717 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29719 if (!SWIG_IsOK(res2
)) {
29720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29722 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29723 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29724 if (!SWIG_IsOK(res3
)) {
29725 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29730 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29746 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29747 PyObject
*resultobj
= 0;
29748 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29749 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29758 PyObject
* obj0
= 0 ;
29759 PyObject
* obj1
= 0 ;
29760 PyObject
* obj2
= 0 ;
29761 char * kwnames
[] = {
29762 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29770 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29772 if (!SWIG_IsOK(res2
)) {
29773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29775 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29776 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29777 if (!SWIG_IsOK(res3
)) {
29778 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29783 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29799 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29800 PyObject
*resultobj
= 0;
29801 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29808 PyObject
* obj0
= 0 ;
29809 PyObject
* obj1
= 0 ;
29810 char * kwnames
[] = {
29811 (char *) "self",(char *) "pageNum", NULL
29814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29816 if (!SWIG_IsOK(res1
)) {
29817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29819 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29821 if (!SWIG_IsOK(ecode2
)) {
29822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29824 arg2
= static_cast< int >(val2
);
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 result
= (bool)(arg1
)->RenderPage(arg2
);
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29840 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29841 PyObject
*resultobj
= 0;
29842 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29843 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29848 PyObject
* obj0
= 0 ;
29849 PyObject
* obj1
= 0 ;
29850 char * kwnames
[] = {
29851 (char *) "self",(char *) "canvas", NULL
29854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29856 if (!SWIG_IsOK(res1
)) {
29857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29859 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29861 if (!SWIG_IsOK(res2
)) {
29862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29864 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29867 (arg1
)->AdjustScrollbars(arg2
);
29868 wxPyEndAllowThreads(__tstate
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29871 resultobj
= SWIG_Py_Void();
29878 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29879 PyObject
*resultobj
= 0;
29880 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29881 wxPrintDialogData
*result
= 0 ;
29884 PyObject
*swig_obj
[1] ;
29886 if (!args
) SWIG_fail
;
29887 swig_obj
[0] = args
;
29888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29889 if (!SWIG_IsOK(res1
)) {
29890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29892 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29897 result
= (wxPrintDialogData
*) &_result_ref
;
29899 wxPyEndAllowThreads(__tstate
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29909 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29910 PyObject
*resultobj
= 0;
29911 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 char * kwnames
[] = {
29920 (char *) "self",(char *) "percent", NULL
29923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29928 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29930 if (!SWIG_IsOK(ecode2
)) {
29931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29933 arg2
= static_cast< int >(val2
);
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 (arg1
)->SetZoom(arg2
);
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29940 resultobj
= SWIG_Py_Void();
29947 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29948 PyObject
*resultobj
= 0;
29949 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29953 PyObject
*swig_obj
[1] ;
29955 if (!args
) SWIG_fail
;
29956 swig_obj
[0] = args
;
29957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29958 if (!SWIG_IsOK(res1
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29961 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 result
= (int)(arg1
)->GetZoom();
29965 wxPyEndAllowThreads(__tstate
);
29966 if (PyErr_Occurred()) SWIG_fail
;
29968 resultobj
= SWIG_From_int(static_cast< int >(result
));
29975 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29976 PyObject
*resultobj
= 0;
29977 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29981 PyObject
*swig_obj
[1] ;
29983 if (!args
) SWIG_fail
;
29984 swig_obj
[0] = args
;
29985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29986 if (!SWIG_IsOK(res1
)) {
29987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29989 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 result
= (int)(arg1
)->GetMaxPage();
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= SWIG_From_int(static_cast< int >(result
));
30003 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30004 PyObject
*resultobj
= 0;
30005 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30009 PyObject
*swig_obj
[1] ;
30011 if (!args
) SWIG_fail
;
30012 swig_obj
[0] = args
;
30013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30014 if (!SWIG_IsOK(res1
)) {
30015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30017 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 result
= (int)(arg1
)->GetMinPage();
30021 wxPyEndAllowThreads(__tstate
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30024 resultobj
= SWIG_From_int(static_cast< int >(result
));
30031 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30032 PyObject
*resultobj
= 0;
30033 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30037 PyObject
*swig_obj
[1] ;
30039 if (!args
) SWIG_fail
;
30040 swig_obj
[0] = args
;
30041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30042 if (!SWIG_IsOK(res1
)) {
30043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30045 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 result
= (bool)(arg1
)->Ok();
30049 wxPyEndAllowThreads(__tstate
);
30050 if (PyErr_Occurred()) SWIG_fail
;
30053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30061 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30062 PyObject
*resultobj
= 0;
30063 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30069 PyObject
* obj0
= 0 ;
30070 PyObject
* obj1
= 0 ;
30071 char * kwnames
[] = {
30072 (char *) "self",(char *) "ok", NULL
30075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30077 if (!SWIG_IsOK(res1
)) {
30078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30080 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30081 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30082 if (!SWIG_IsOK(ecode2
)) {
30083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30085 arg2
= static_cast< bool >(val2
);
30087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30088 (arg1
)->SetOk(arg2
);
30089 wxPyEndAllowThreads(__tstate
);
30090 if (PyErr_Occurred()) SWIG_fail
;
30092 resultobj
= SWIG_Py_Void();
30099 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30100 PyObject
*resultobj
= 0;
30101 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30108 PyObject
* obj0
= 0 ;
30109 PyObject
* obj1
= 0 ;
30110 char * kwnames
[] = {
30111 (char *) "self",(char *) "interactive", NULL
30114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30116 if (!SWIG_IsOK(res1
)) {
30117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30119 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30120 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30121 if (!SWIG_IsOK(ecode2
)) {
30122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30124 arg2
= static_cast< bool >(val2
);
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= (bool)(arg1
)->Print(arg2
);
30128 wxPyEndAllowThreads(__tstate
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30140 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30141 PyObject
*resultobj
= 0;
30142 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_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30153 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 (arg1
)->DetermineScaling();
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= SWIG_Py_Void();
30167 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30170 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30171 return SWIG_Py_Void();
30174 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30175 return SWIG_Python_InitShadowInstance(args
);
30178 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30179 PyObject
*resultobj
= 0;
30180 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30181 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30182 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30183 wxPyPrintPreview
*result
= 0 ;
30189 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30190 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30191 if (!SWIG_IsOK(res1
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30194 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30195 if (!SWIG_IsOK(res2
)) {
30196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30199 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30200 if (!SWIG_IsOK(res3
)) {
30201 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30203 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30206 if (!wxPyCheckForApp()) SWIG_fail
;
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30209 wxPyEndAllowThreads(__tstate
);
30210 if (PyErr_Occurred()) SWIG_fail
;
30212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30219 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30220 PyObject
*resultobj
= 0;
30221 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30222 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30223 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30224 wxPyPrintPreview
*result
= 0 ;
30230 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30231 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30232 if (!SWIG_IsOK(res1
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30235 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30236 if (!SWIG_IsOK(res2
)) {
30237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30239 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30240 if (!SWIG_IsOK(res3
)) {
30241 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30243 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30245 if (!wxPyCheckForApp()) SWIG_fail
;
30246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30247 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30258 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30262 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30264 if ((argc
>= 2) && (argc
<= 3)) {
30269 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30270 _v
= SWIG_CheckState(res
);
30272 if (!_v
) goto check_1
;
30274 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30279 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30283 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30288 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
= 0;
30290 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30291 PyObject
*arg2
= (PyObject
*) 0 ;
30292 PyObject
*arg3
= (PyObject
*) 0 ;
30295 PyObject
* obj0
= 0 ;
30296 PyObject
* obj1
= 0 ;
30297 PyObject
* obj2
= 0 ;
30298 char * kwnames
[] = {
30299 (char *) "self",(char *) "self",(char *) "_class", NULL
30302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30304 if (!SWIG_IsOK(res1
)) {
30305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30307 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30313 wxPyEndAllowThreads(__tstate
);
30314 if (PyErr_Occurred()) SWIG_fail
;
30316 resultobj
= SWIG_Py_Void();
30323 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30326 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30327 return SWIG_Py_Void();
30330 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30331 return SWIG_Python_InitShadowInstance(args
);
30334 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30335 PyObject
*resultobj
= 0;
30336 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30337 wxFrame
*arg2
= (wxFrame
*) 0 ;
30338 wxString
*arg3
= 0 ;
30339 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30340 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30341 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30342 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30343 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30344 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30345 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30346 wxPyPreviewFrame
*result
= 0 ;
30351 bool temp3
= false ;
30356 bool temp7
= false ;
30357 PyObject
* obj0
= 0 ;
30358 PyObject
* obj1
= 0 ;
30359 PyObject
* obj2
= 0 ;
30360 PyObject
* obj3
= 0 ;
30361 PyObject
* obj4
= 0 ;
30362 PyObject
* obj5
= 0 ;
30363 PyObject
* obj6
= 0 ;
30364 char * kwnames
[] = {
30365 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30370 if (!SWIG_IsOK(res1
)) {
30371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30373 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30375 if (!SWIG_IsOK(res2
)) {
30376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30378 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30380 arg3
= wxString_in_helper(obj2
);
30381 if (arg3
== NULL
) SWIG_fail
;
30387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30397 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30398 if (!SWIG_IsOK(ecode6
)) {
30399 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30401 arg6
= static_cast< long >(val6
);
30405 arg7
= wxString_in_helper(obj6
);
30406 if (arg7
== NULL
) SWIG_fail
;
30411 if (!wxPyCheckForApp()) SWIG_fail
;
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30440 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
= 0;
30442 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30443 PyObject
*arg2
= (PyObject
*) 0 ;
30444 PyObject
*arg3
= (PyObject
*) 0 ;
30447 PyObject
* obj0
= 0 ;
30448 PyObject
* obj1
= 0 ;
30449 PyObject
* obj2
= 0 ;
30450 char * kwnames
[] = {
30451 (char *) "self",(char *) "self",(char *) "_class", NULL
30454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30456 if (!SWIG_IsOK(res1
)) {
30457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30459 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30464 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= SWIG_Py_Void();
30475 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
= 0;
30477 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30478 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30483 PyObject
* obj0
= 0 ;
30484 PyObject
* obj1
= 0 ;
30485 char * kwnames
[] = {
30486 (char *) "self",(char *) "canvas", NULL
30489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30491 if (!SWIG_IsOK(res1
)) {
30492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30494 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30495 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30496 if (!SWIG_IsOK(res2
)) {
30497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30499 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30502 (arg1
)->SetPreviewCanvas(arg2
);
30503 wxPyEndAllowThreads(__tstate
);
30504 if (PyErr_Occurred()) SWIG_fail
;
30506 resultobj
= SWIG_Py_Void();
30513 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30514 PyObject
*resultobj
= 0;
30515 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30516 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30521 PyObject
* obj0
= 0 ;
30522 PyObject
* obj1
= 0 ;
30523 char * kwnames
[] = {
30524 (char *) "self",(char *) "bar", NULL
30527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30532 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30533 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30534 if (!SWIG_IsOK(res2
)) {
30535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30537 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 (arg1
)->SetControlBar(arg2
);
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30544 resultobj
= SWIG_Py_Void();
30551 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30552 PyObject
*resultobj
= 0;
30553 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30556 PyObject
*swig_obj
[1] ;
30558 if (!args
) SWIG_fail
;
30559 swig_obj
[0] = args
;
30560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30561 if (!SWIG_IsOK(res1
)) {
30562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30564 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30567 (arg1
)->Initialize();
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30571 resultobj
= SWIG_Py_Void();
30578 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30579 PyObject
*resultobj
= 0;
30580 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30583 PyObject
*swig_obj
[1] ;
30585 if (!args
) SWIG_fail
;
30586 swig_obj
[0] = args
;
30587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30588 if (!SWIG_IsOK(res1
)) {
30589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30591 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 (arg1
)->CreateCanvas();
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30598 resultobj
= SWIG_Py_Void();
30605 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30606 PyObject
*resultobj
= 0;
30607 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30610 PyObject
*swig_obj
[1] ;
30612 if (!args
) SWIG_fail
;
30613 swig_obj
[0] = args
;
30614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30615 if (!SWIG_IsOK(res1
)) {
30616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30618 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 (arg1
)->CreateControlBar();
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= SWIG_Py_Void();
30632 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30635 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30636 return SWIG_Py_Void();
30639 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30640 return SWIG_Python_InitShadowInstance(args
);
30643 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
= 0;
30645 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30647 wxWindow
*arg3
= (wxWindow
*) 0 ;
30648 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30649 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30650 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30651 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30652 long arg6
= (long) 0 ;
30653 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30654 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30655 wxPyPreviewControlBar
*result
= 0 ;
30666 bool temp7
= false ;
30667 PyObject
* obj0
= 0 ;
30668 PyObject
* obj1
= 0 ;
30669 PyObject
* obj2
= 0 ;
30670 PyObject
* obj3
= 0 ;
30671 PyObject
* obj4
= 0 ;
30672 PyObject
* obj5
= 0 ;
30673 PyObject
* obj6
= 0 ;
30674 char * kwnames
[] = {
30675 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30680 if (!SWIG_IsOK(res1
)) {
30681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30683 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30684 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30685 if (!SWIG_IsOK(ecode2
)) {
30686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30688 arg2
= static_cast< long >(val2
);
30689 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30690 if (!SWIG_IsOK(res3
)) {
30691 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30693 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30697 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30703 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30707 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30708 if (!SWIG_IsOK(ecode6
)) {
30709 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30711 arg6
= static_cast< long >(val6
);
30715 arg7
= wxString_in_helper(obj6
);
30716 if (arg7
== NULL
) SWIG_fail
;
30721 if (!wxPyCheckForApp()) SWIG_fail
;
30722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30742 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30743 PyObject
*resultobj
= 0;
30744 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30745 PyObject
*arg2
= (PyObject
*) 0 ;
30746 PyObject
*arg3
= (PyObject
*) 0 ;
30749 PyObject
* obj0
= 0 ;
30750 PyObject
* obj1
= 0 ;
30751 PyObject
* obj2
= 0 ;
30752 char * kwnames
[] = {
30753 (char *) "self",(char *) "self",(char *) "_class", NULL
30756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30758 if (!SWIG_IsOK(res1
)) {
30759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30761 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30766 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= SWIG_Py_Void();
30777 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30778 PyObject
*resultobj
= 0;
30779 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30780 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30785 PyObject
* obj0
= 0 ;
30786 PyObject
* obj1
= 0 ;
30787 char * kwnames
[] = {
30788 (char *) "self",(char *) "preview", NULL
30791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30793 if (!SWIG_IsOK(res1
)) {
30794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30796 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30797 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30798 if (!SWIG_IsOK(res2
)) {
30799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30801 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30804 (arg1
)->SetPrintPreview(arg2
);
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= SWIG_Py_Void();
30815 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30816 PyObject
*resultobj
= 0;
30817 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30820 PyObject
*swig_obj
[1] ;
30822 if (!args
) SWIG_fail
;
30823 swig_obj
[0] = args
;
30824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30825 if (!SWIG_IsOK(res1
)) {
30826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30828 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30831 (arg1
)->CreateButtons();
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30835 resultobj
= SWIG_Py_Void();
30842 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
= 0;
30844 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30850 PyObject
* obj0
= 0 ;
30851 PyObject
* obj1
= 0 ;
30852 char * kwnames
[] = {
30853 (char *) "self",(char *) "zoom", NULL
30856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30858 if (!SWIG_IsOK(res1
)) {
30859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30861 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30863 if (!SWIG_IsOK(ecode2
)) {
30864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30866 arg2
= static_cast< int >(val2
);
30868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30869 (arg1
)->SetZoomControl(arg2
);
30870 wxPyEndAllowThreads(__tstate
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30873 resultobj
= SWIG_Py_Void();
30880 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30883 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30884 return SWIG_Py_Void();
30887 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30888 return SWIG_Python_InitShadowInstance(args
);
30891 static PyMethodDef SwigMethods
[] = {
30892 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30893 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30894 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30896 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30897 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30898 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30899 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30901 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30908 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30910 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30912 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30913 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30914 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30915 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30916 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30919 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30922 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30923 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30925 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30927 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30928 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30929 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30930 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30934 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30936 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30938 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30939 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30941 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
30944 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
30947 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30948 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30950 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30952 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30954 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30957 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30964 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30966 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30971 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30972 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30974 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30977 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30978 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30979 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30981 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30985 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30986 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30989 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30990 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30992 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30994 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30995 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30998 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30999 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31000 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31002 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31003 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31004 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31005 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31006 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31008 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31011 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31020 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31021 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31023 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31024 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31026 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31028 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31029 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31031 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31037 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31038 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31041 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31042 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31044 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31046 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31048 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31050 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31052 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31054 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31055 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31058 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31059 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31060 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31061 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31062 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31063 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31065 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31073 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31075 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31078 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31079 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31082 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31083 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31085 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31086 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31087 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31090 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31092 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31094 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31095 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31096 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31099 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31101 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31103 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31105 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31107 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31108 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31109 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31112 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31114 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31115 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31116 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31118 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31120 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31121 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31125 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31126 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31127 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31128 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31132 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31133 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31135 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31138 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31139 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31141 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31144 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31145 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31146 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31149 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31150 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31151 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31153 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31162 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31163 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31164 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31165 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31167 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31168 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31171 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31172 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31174 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31177 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31178 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31179 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31182 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31183 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31185 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31186 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31188 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31193 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31194 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31200 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31201 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31203 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31207 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31209 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31210 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31211 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31212 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31214 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31215 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31216 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31218 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31220 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31221 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31223 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31224 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31225 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31226 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31227 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31228 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31233 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31234 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31236 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31237 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31238 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31241 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31242 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31245 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31246 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31254 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31255 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31256 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31257 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31258 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31259 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31260 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31261 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31262 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31263 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31266 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31267 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31268 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31270 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31271 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31273 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31274 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31276 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31278 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31279 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31281 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31282 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31284 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31285 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31286 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31287 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31288 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31290 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31291 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31292 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31293 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31294 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31295 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31302 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31303 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31305 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31306 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31307 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31310 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31311 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31314 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31315 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31316 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31318 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31319 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31320 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31321 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31325 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31326 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31328 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31329 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31330 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31331 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31335 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31336 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31338 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31340 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31342 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31343 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31345 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31347 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31348 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31349 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31350 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31351 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31352 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31353 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31355 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31356 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31358 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31360 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31361 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31362 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31364 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31366 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31367 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31369 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31377 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31378 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31379 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31380 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31381 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31382 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31383 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31384 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31385 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31387 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31395 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31396 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31397 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31398 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31399 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31400 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31401 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31402 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31403 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31405 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31413 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31414 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31415 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31416 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31417 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31418 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31419 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31420 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31421 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31422 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31423 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31424 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31425 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31426 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31427 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31428 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31429 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31430 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31431 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31432 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31433 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31434 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31435 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31447 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31449 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31451 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31452 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31453 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31454 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31460 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31461 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31462 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31463 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31464 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31465 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31466 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31467 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31468 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31469 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31470 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31471 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31472 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31473 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31474 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31484 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31485 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31486 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31487 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31489 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31490 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31491 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31492 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31493 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31494 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31495 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31496 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31497 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31498 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31499 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31500 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31501 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31502 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31503 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31504 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31505 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31519 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31520 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31521 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31522 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31523 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31524 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31526 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31527 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31529 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31530 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31531 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31532 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31533 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31534 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31535 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31537 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31543 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31544 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31545 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31546 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31547 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31549 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31551 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31552 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31555 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31557 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31559 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31561 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31562 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31565 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31566 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31567 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31568 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31570 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31571 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31572 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31574 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31575 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31577 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31578 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31579 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31580 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31581 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31582 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31584 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31586 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31587 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31588 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31589 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31590 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31591 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31592 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31593 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31594 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31595 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31597 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31599 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31600 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31603 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31604 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31609 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31611 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31612 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31613 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31614 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31617 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31618 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31619 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31620 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31622 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31623 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31628 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31629 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31630 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31631 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31632 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31636 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31638 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31639 { NULL
, NULL
, 0, NULL
}
31643 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31645 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31646 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31648 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31649 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31651 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31652 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31654 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31655 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31657 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31658 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31660 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31661 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31663 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31664 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31666 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31667 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31669 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31670 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31672 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31673 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31675 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31676 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31678 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31679 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31681 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
31682 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31684 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31685 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31687 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31688 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31690 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31691 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31693 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31694 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31696 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31697 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31699 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31700 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31702 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31703 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31705 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31706 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31708 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31709 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31711 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31712 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31714 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31715 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31717 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31718 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31720 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31721 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31723 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31724 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31726 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31727 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31729 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31730 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31732 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31733 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31735 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31736 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31738 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31739 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31741 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31742 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31744 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31745 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31747 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31748 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31750 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31751 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31753 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31754 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31756 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31757 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31759 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31760 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31762 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31763 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31765 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31766 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31768 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31769 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31771 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31772 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31774 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31775 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31777 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31778 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31780 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31781 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31783 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31784 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31786 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31789 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31792 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31795 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31796 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31798 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31799 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31801 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31802 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31804 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31805 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31807 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31808 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31810 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31811 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31813 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31814 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31816 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31819 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31820 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31822 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31825 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31826 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31828 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31829 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31831 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31832 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31834 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31835 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31837 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31838 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31840 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31843 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31844 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31846 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31849 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31850 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31852 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31853 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31855 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31856 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31858 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31859 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31861 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31862 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31864 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31865 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31867 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31868 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31870 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31871 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31873 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31874 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31876 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31879 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31880 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31882 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31885 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31888 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31889 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31891 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31892 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31894 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31895 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31897 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31898 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31900 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31901 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31903 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31904 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31906 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31907 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31909 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31912 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31913 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31915 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31916 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31918 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31919 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31921 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31924 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31925 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31927 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31928 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31930 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31931 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31933 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31936 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31937 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31939 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31940 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31942 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31943 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31945 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31946 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31948 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31949 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31951 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31952 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31954 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31955 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31957 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31958 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31960 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31961 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31963 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31964 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31966 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31969 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31972 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31973 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31975 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31976 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31978 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31981 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31982 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31984 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31985 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31987 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31988 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31990 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31991 return (void *)((wxObject
*) ((wxSizer
*) x
));
31993 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31994 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31996 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31997 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31999 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32002 static void *_p_wxEventTo_p_wxObject(void *x
) {
32003 return (void *)((wxObject
*) ((wxEvent
*) x
));
32005 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32006 return (void *)((wxObject
*) ((wxFontData
*) x
));
32008 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32009 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32011 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32012 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32014 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32015 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32017 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32018 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32020 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32021 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32023 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32026 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32029 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32032 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32035 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32038 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32041 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32044 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32047 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32050 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32053 static void *_p_wxControlTo_p_wxObject(void *x
) {
32054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32056 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32057 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32059 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32062 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32063 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32065 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32066 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32068 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32069 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32071 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32074 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32075 return (void *)((wxObject
*) ((wxColourData
*) x
));
32077 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32078 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32080 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32083 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32086 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32087 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32089 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32090 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32092 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32095 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32098 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32101 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32104 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32107 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32110 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32113 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32116 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32117 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32119 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32120 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32122 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32123 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32125 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32126 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32128 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32129 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32131 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32132 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32134 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32135 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32137 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32138 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32140 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32141 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32143 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32144 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32146 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32147 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32149 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32150 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32152 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32153 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32155 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32156 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32158 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32159 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32161 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32162 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32164 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32165 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32167 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32168 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32170 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32171 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32173 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32174 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32176 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32179 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32180 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32182 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32183 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32185 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32186 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32188 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32189 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32191 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32192 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32194 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32195 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32197 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32198 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32200 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32203 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32206 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32207 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32209 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32210 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32212 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32215 static void *_p_wxImageTo_p_wxObject(void *x
) {
32216 return (void *)((wxObject
*) ((wxImage
*) x
));
32218 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32221 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32222 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32224 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32225 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32227 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32228 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32230 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32231 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32233 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32234 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32236 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32237 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32239 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32240 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32242 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32243 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32245 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32246 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32248 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32249 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32251 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32252 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32254 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32257 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32260 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32263 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32266 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32269 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32272 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32275 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32278 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32281 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32284 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32285 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32287 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32288 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32290 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32291 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32293 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32294 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32296 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32297 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32299 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32302 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32303 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32305 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32306 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32308 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32309 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32311 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32314 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32317 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32320 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32323 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32326 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32329 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32332 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32335 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32338 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32341 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32344 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32347 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32350 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32353 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32356 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32359 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32362 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32365 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32368 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32371 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32374 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32377 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32378 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32380 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32381 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32383 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32384 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32386 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32387 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32389 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32390 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32392 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32393 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32395 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32396 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32398 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32399 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32401 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32402 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32404 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32405 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32407 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32408 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32410 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32411 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32413 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32414 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32416 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32417 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32419 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32420 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32422 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32423 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32425 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32426 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32428 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32429 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32431 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32432 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32434 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32435 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32437 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32438 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32440 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32441 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32443 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32444 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32446 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32447 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32449 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32450 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32452 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32453 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32455 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32456 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32458 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32459 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32461 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32462 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32464 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32465 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32467 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32468 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32470 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32471 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32473 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32474 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32476 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32477 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32479 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32480 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32482 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32483 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32485 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32486 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32488 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32489 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32491 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32492 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32494 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32495 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32497 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32498 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32500 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32501 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32503 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32504 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32506 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32507 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32509 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32510 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32512 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32513 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32515 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32516 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32518 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32519 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32521 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32522 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32524 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32525 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32527 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32528 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32530 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32531 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32533 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32534 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32536 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32537 return (void *)((wxWindow
*) ((wxControl
*) x
));
32539 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32540 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32542 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32543 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32545 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32546 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32548 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32549 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32551 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32552 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32554 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32555 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32557 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32558 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32560 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32561 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32563 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32564 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32566 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32567 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32569 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32570 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32572 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32573 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32575 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32576 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32578 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32579 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32581 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32582 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32584 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32585 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32587 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32588 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32590 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32591 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32593 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32594 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32596 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32597 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32599 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32600 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32602 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32603 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32605 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32606 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32608 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32609 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32611 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32612 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32614 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32615 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32617 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32618 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32620 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32621 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32623 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32624 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32626 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32627 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32629 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32630 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32632 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32633 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32635 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32636 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32638 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32639 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32641 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32642 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32644 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32645 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32647 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32648 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32650 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32651 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32653 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32654 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32656 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32657 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32659 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32660 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32662 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32663 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32665 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32666 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32668 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32669 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32671 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32672 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32674 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32675 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32677 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32678 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32680 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32681 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32683 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32684 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32686 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32687 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32689 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32690 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32692 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32693 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32695 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32696 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32698 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32699 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32700 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};
32701 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32702 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32703 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32704 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32705 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32706 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32707 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32708 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32709 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32710 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32711 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32712 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32713 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32714 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32715 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32716 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32717 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32718 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32719 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32720 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32721 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32722 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32723 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32724 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32725 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32726 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32727 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32728 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32729 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32730 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32731 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32732 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32733 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32734 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32735 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32736 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32737 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32738 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32739 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32740 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32741 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32742 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32743 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32744 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32745 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32746 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32747 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32748 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32749 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32750 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32751 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32752 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32753 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32754 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32755 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32756 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32757 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32758 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32759 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32760 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32761 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32762 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32763 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32764 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32765 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32766 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32767 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32768 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32769 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32770 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32771 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32772 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32775 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32783 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32784 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32785 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32786 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32787 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32788 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32789 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32790 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32791 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32792 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32793 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32794 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32795 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32796 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32797 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32798 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32799 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32800 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32801 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32802 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32803 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32804 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32805 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32806 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32807 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32808 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32809 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32810 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32811 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32812 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32813 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32814 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32815 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32816 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32817 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32818 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32819 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32820 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32821 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32822 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32823 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32824 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32825 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32826 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32827 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32828 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32829 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32830 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32831 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32832 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32833 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32834 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32835 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32836 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32837 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32838 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32839 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32840 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32841 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32842 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32843 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32844 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32845 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32846 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32847 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32848 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32849 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32850 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32851 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32852 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32853 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32854 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32855 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32856 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32857 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32858 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32859 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32860 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32861 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32862 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32864 static swig_type_info
*swig_type_initial
[] = {
32867 &_swigt__p_form_ops_t
,
32869 &_swigt__p_unsigned_char
,
32870 &_swigt__p_unsigned_int
,
32871 &_swigt__p_unsigned_long
,
32872 &_swigt__p_wxANIHandler
,
32873 &_swigt__p_wxAcceleratorTable
,
32874 &_swigt__p_wxActivateEvent
,
32875 &_swigt__p_wxArrayInt
,
32876 &_swigt__p_wxBMPHandler
,
32877 &_swigt__p_wxBitmap
,
32878 &_swigt__p_wxBoxSizer
,
32879 &_swigt__p_wxCURHandler
,
32880 &_swigt__p_wxCalculateLayoutEvent
,
32881 &_swigt__p_wxChildFocusEvent
,
32882 &_swigt__p_wxClipboardTextEvent
,
32883 &_swigt__p_wxCloseEvent
,
32884 &_swigt__p_wxColour
,
32885 &_swigt__p_wxColourData
,
32886 &_swigt__p_wxColourDialog
,
32887 &_swigt__p_wxCommandEvent
,
32888 &_swigt__p_wxContextMenuEvent
,
32889 &_swigt__p_wxControl
,
32890 &_swigt__p_wxControlWithItems
,
32892 &_swigt__p_wxDateEvent
,
32893 &_swigt__p_wxDialog
,
32894 &_swigt__p_wxDirDialog
,
32895 &_swigt__p_wxDisplayChangedEvent
,
32896 &_swigt__p_wxDropFilesEvent
,
32897 &_swigt__p_wxDuplexMode
,
32898 &_swigt__p_wxEraseEvent
,
32899 &_swigt__p_wxEvent
,
32900 &_swigt__p_wxEvtHandler
,
32901 &_swigt__p_wxFSFile
,
32902 &_swigt__p_wxFileDialog
,
32903 &_swigt__p_wxFileSystem
,
32904 &_swigt__p_wxFindDialogEvent
,
32905 &_swigt__p_wxFindReplaceData
,
32906 &_swigt__p_wxFindReplaceDialog
,
32907 &_swigt__p_wxFlexGridSizer
,
32908 &_swigt__p_wxFocusEvent
,
32910 &_swigt__p_wxFontData
,
32911 &_swigt__p_wxFontDialog
,
32912 &_swigt__p_wxFrame
,
32913 &_swigt__p_wxGBSizerItem
,
32914 &_swigt__p_wxGIFHandler
,
32915 &_swigt__p_wxGridBagSizer
,
32916 &_swigt__p_wxGridSizer
,
32917 &_swigt__p_wxHtmlLinkInfo
,
32918 &_swigt__p_wxICOHandler
,
32920 &_swigt__p_wxIconBundle
,
32921 &_swigt__p_wxIconizeEvent
,
32922 &_swigt__p_wxIdleEvent
,
32923 &_swigt__p_wxImage
,
32924 &_swigt__p_wxImageHandler
,
32925 &_swigt__p_wxIndividualLayoutConstraint
,
32926 &_swigt__p_wxInitDialogEvent
,
32927 &_swigt__p_wxJPEGHandler
,
32928 &_swigt__p_wxKeyEvent
,
32929 &_swigt__p_wxLayoutAlgorithm
,
32930 &_swigt__p_wxLayoutConstraints
,
32931 &_swigt__p_wxMDIChildFrame
,
32932 &_swigt__p_wxMDIClientWindow
,
32933 &_swigt__p_wxMDIParentFrame
,
32934 &_swigt__p_wxMaximizeEvent
,
32936 &_swigt__p_wxMenuBar
,
32937 &_swigt__p_wxMenuEvent
,
32938 &_swigt__p_wxMenuItem
,
32939 &_swigt__p_wxMessageDialog
,
32940 &_swigt__p_wxMiniFrame
,
32941 &_swigt__p_wxMouseCaptureChangedEvent
,
32942 &_swigt__p_wxMouseCaptureLostEvent
,
32943 &_swigt__p_wxMouseEvent
,
32944 &_swigt__p_wxMoveEvent
,
32945 &_swigt__p_wxMultiChoiceDialog
,
32946 &_swigt__p_wxNavigationKeyEvent
,
32947 &_swigt__p_wxNcPaintEvent
,
32948 &_swigt__p_wxNotifyEvent
,
32949 &_swigt__p_wxNumberEntryDialog
,
32950 &_swigt__p_wxObject
,
32951 &_swigt__p_wxPCXHandler
,
32952 &_swigt__p_wxPNGHandler
,
32953 &_swigt__p_wxPNMHandler
,
32954 &_swigt__p_wxPageSetupDialog
,
32955 &_swigt__p_wxPageSetupDialogData
,
32956 &_swigt__p_wxPaintEvent
,
32957 &_swigt__p_wxPaletteChangedEvent
,
32958 &_swigt__p_wxPanel
,
32959 &_swigt__p_wxPaperSize
,
32960 &_swigt__p_wxPasswordEntryDialog
,
32961 &_swigt__p_wxPoint
,
32962 &_swigt__p_wxPopupWindow
,
32963 &_swigt__p_wxPreviewCanvas
,
32964 &_swigt__p_wxPreviewControlBar
,
32965 &_swigt__p_wxPreviewFrame
,
32966 &_swigt__p_wxPrintData
,
32967 &_swigt__p_wxPrintDialog
,
32968 &_swigt__p_wxPrintDialogData
,
32969 &_swigt__p_wxPrintPreview
,
32970 &_swigt__p_wxPrinter
,
32971 &_swigt__p_wxProgressDialog
,
32972 &_swigt__p_wxPyApp
,
32973 &_swigt__p_wxPyCommandEvent
,
32974 &_swigt__p_wxPyEvent
,
32975 &_swigt__p_wxPyHtmlListBox
,
32976 &_swigt__p_wxPyImageHandler
,
32977 &_swigt__p_wxPyPanel
,
32978 &_swigt__p_wxPyPopupTransientWindow
,
32979 &_swigt__p_wxPyPreviewControlBar
,
32980 &_swigt__p_wxPyPreviewFrame
,
32981 &_swigt__p_wxPyPrintPreview
,
32982 &_swigt__p_wxPyPrintout
,
32983 &_swigt__p_wxPyScrolledWindow
,
32984 &_swigt__p_wxPySizer
,
32985 &_swigt__p_wxPyTaskBarIcon
,
32986 &_swigt__p_wxPyVListBox
,
32987 &_swigt__p_wxPyVScrolledWindow
,
32988 &_swigt__p_wxPyValidator
,
32989 &_swigt__p_wxPyWindow
,
32990 &_swigt__p_wxQueryLayoutInfoEvent
,
32991 &_swigt__p_wxQueryNewPaletteEvent
,
32993 &_swigt__p_wxRegion
,
32994 &_swigt__p_wxSashEvent
,
32995 &_swigt__p_wxSashLayoutWindow
,
32996 &_swigt__p_wxSashWindow
,
32997 &_swigt__p_wxScrollEvent
,
32998 &_swigt__p_wxScrollWinEvent
,
32999 &_swigt__p_wxScrolledWindow
,
33000 &_swigt__p_wxSetCursorEvent
,
33001 &_swigt__p_wxShowEvent
,
33002 &_swigt__p_wxSingleChoiceDialog
,
33004 &_swigt__p_wxSizeEvent
,
33005 &_swigt__p_wxSizer
,
33006 &_swigt__p_wxSizerItem
,
33007 &_swigt__p_wxSplashScreen
,
33008 &_swigt__p_wxSplashScreenWindow
,
33009 &_swigt__p_wxSplitterEvent
,
33010 &_swigt__p_wxSplitterWindow
,
33011 &_swigt__p_wxStaticBoxSizer
,
33012 &_swigt__p_wxStatusBar
,
33013 &_swigt__p_wxStdDialogButtonSizer
,
33014 &_swigt__p_wxString
,
33015 &_swigt__p_wxSysColourChangedEvent
,
33016 &_swigt__p_wxTIFFHandler
,
33017 &_swigt__p_wxTaskBarIcon
,
33018 &_swigt__p_wxTaskBarIconEvent
,
33019 &_swigt__p_wxTextEntryDialog
,
33020 &_swigt__p_wxTipWindow
,
33021 &_swigt__p_wxToolBar
,
33022 &_swigt__p_wxTopLevelWindow
,
33023 &_swigt__p_wxUpdateUIEvent
,
33024 &_swigt__p_wxValidator
,
33025 &_swigt__p_wxVisualAttributes
,
33026 &_swigt__p_wxWindow
,
33027 &_swigt__p_wxWindowCreateEvent
,
33028 &_swigt__p_wxWindowDestroyEvent
,
33029 &_swigt__p_wxXPMHandler
,
33032 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33036 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33038 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33039 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33053 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33054 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}};
33055 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33056 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}};
33057 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33063 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33064 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33066 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33067 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33069 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33070 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33071 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33072 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33073 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33075 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33076 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33077 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33080 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33081 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33083 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33084 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33085 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}};
33086 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33089 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33090 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33091 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}};
33092 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33093 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33094 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33096 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33097 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33098 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33100 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}};
33101 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33102 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33103 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33104 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33105 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33106 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33107 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33108 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33109 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33110 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33111 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33113 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}};
33114 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33115 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33117 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33118 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33119 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33120 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33121 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33126 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33127 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33128 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33129 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33130 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33131 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33132 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33134 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33135 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33136 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33137 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33138 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33139 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33140 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33141 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33142 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33143 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}};
33144 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33145 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33146 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}};
33147 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33148 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33149 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33150 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}};
33151 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33152 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}};
33153 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}};
33154 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33155 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33156 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33157 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}};
33158 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33159 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33160 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33161 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33162 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}};
33163 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33164 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33165 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33166 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33167 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33168 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33169 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}};
33170 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}};
33171 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33172 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33173 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33174 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33175 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33176 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33177 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}};
33178 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33179 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}};
33180 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33181 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33182 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33183 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33184 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33185 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33186 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33187 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33188 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33189 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33190 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33191 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}};
33192 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33193 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33194 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}};
33195 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33196 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}};
33198 static swig_cast_info
*swig_cast_initial
[] = {
33201 _swigc__p_form_ops_t
,
33203 _swigc__p_unsigned_char
,
33204 _swigc__p_unsigned_int
,
33205 _swigc__p_unsigned_long
,
33206 _swigc__p_wxANIHandler
,
33207 _swigc__p_wxAcceleratorTable
,
33208 _swigc__p_wxActivateEvent
,
33209 _swigc__p_wxArrayInt
,
33210 _swigc__p_wxBMPHandler
,
33211 _swigc__p_wxBitmap
,
33212 _swigc__p_wxBoxSizer
,
33213 _swigc__p_wxCURHandler
,
33214 _swigc__p_wxCalculateLayoutEvent
,
33215 _swigc__p_wxChildFocusEvent
,
33216 _swigc__p_wxClipboardTextEvent
,
33217 _swigc__p_wxCloseEvent
,
33218 _swigc__p_wxColour
,
33219 _swigc__p_wxColourData
,
33220 _swigc__p_wxColourDialog
,
33221 _swigc__p_wxCommandEvent
,
33222 _swigc__p_wxContextMenuEvent
,
33223 _swigc__p_wxControl
,
33224 _swigc__p_wxControlWithItems
,
33226 _swigc__p_wxDateEvent
,
33227 _swigc__p_wxDialog
,
33228 _swigc__p_wxDirDialog
,
33229 _swigc__p_wxDisplayChangedEvent
,
33230 _swigc__p_wxDropFilesEvent
,
33231 _swigc__p_wxDuplexMode
,
33232 _swigc__p_wxEraseEvent
,
33234 _swigc__p_wxEvtHandler
,
33235 _swigc__p_wxFSFile
,
33236 _swigc__p_wxFileDialog
,
33237 _swigc__p_wxFileSystem
,
33238 _swigc__p_wxFindDialogEvent
,
33239 _swigc__p_wxFindReplaceData
,
33240 _swigc__p_wxFindReplaceDialog
,
33241 _swigc__p_wxFlexGridSizer
,
33242 _swigc__p_wxFocusEvent
,
33244 _swigc__p_wxFontData
,
33245 _swigc__p_wxFontDialog
,
33247 _swigc__p_wxGBSizerItem
,
33248 _swigc__p_wxGIFHandler
,
33249 _swigc__p_wxGridBagSizer
,
33250 _swigc__p_wxGridSizer
,
33251 _swigc__p_wxHtmlLinkInfo
,
33252 _swigc__p_wxICOHandler
,
33254 _swigc__p_wxIconBundle
,
33255 _swigc__p_wxIconizeEvent
,
33256 _swigc__p_wxIdleEvent
,
33258 _swigc__p_wxImageHandler
,
33259 _swigc__p_wxIndividualLayoutConstraint
,
33260 _swigc__p_wxInitDialogEvent
,
33261 _swigc__p_wxJPEGHandler
,
33262 _swigc__p_wxKeyEvent
,
33263 _swigc__p_wxLayoutAlgorithm
,
33264 _swigc__p_wxLayoutConstraints
,
33265 _swigc__p_wxMDIChildFrame
,
33266 _swigc__p_wxMDIClientWindow
,
33267 _swigc__p_wxMDIParentFrame
,
33268 _swigc__p_wxMaximizeEvent
,
33270 _swigc__p_wxMenuBar
,
33271 _swigc__p_wxMenuEvent
,
33272 _swigc__p_wxMenuItem
,
33273 _swigc__p_wxMessageDialog
,
33274 _swigc__p_wxMiniFrame
,
33275 _swigc__p_wxMouseCaptureChangedEvent
,
33276 _swigc__p_wxMouseCaptureLostEvent
,
33277 _swigc__p_wxMouseEvent
,
33278 _swigc__p_wxMoveEvent
,
33279 _swigc__p_wxMultiChoiceDialog
,
33280 _swigc__p_wxNavigationKeyEvent
,
33281 _swigc__p_wxNcPaintEvent
,
33282 _swigc__p_wxNotifyEvent
,
33283 _swigc__p_wxNumberEntryDialog
,
33284 _swigc__p_wxObject
,
33285 _swigc__p_wxPCXHandler
,
33286 _swigc__p_wxPNGHandler
,
33287 _swigc__p_wxPNMHandler
,
33288 _swigc__p_wxPageSetupDialog
,
33289 _swigc__p_wxPageSetupDialogData
,
33290 _swigc__p_wxPaintEvent
,
33291 _swigc__p_wxPaletteChangedEvent
,
33293 _swigc__p_wxPaperSize
,
33294 _swigc__p_wxPasswordEntryDialog
,
33296 _swigc__p_wxPopupWindow
,
33297 _swigc__p_wxPreviewCanvas
,
33298 _swigc__p_wxPreviewControlBar
,
33299 _swigc__p_wxPreviewFrame
,
33300 _swigc__p_wxPrintData
,
33301 _swigc__p_wxPrintDialog
,
33302 _swigc__p_wxPrintDialogData
,
33303 _swigc__p_wxPrintPreview
,
33304 _swigc__p_wxPrinter
,
33305 _swigc__p_wxProgressDialog
,
33307 _swigc__p_wxPyCommandEvent
,
33308 _swigc__p_wxPyEvent
,
33309 _swigc__p_wxPyHtmlListBox
,
33310 _swigc__p_wxPyImageHandler
,
33311 _swigc__p_wxPyPanel
,
33312 _swigc__p_wxPyPopupTransientWindow
,
33313 _swigc__p_wxPyPreviewControlBar
,
33314 _swigc__p_wxPyPreviewFrame
,
33315 _swigc__p_wxPyPrintPreview
,
33316 _swigc__p_wxPyPrintout
,
33317 _swigc__p_wxPyScrolledWindow
,
33318 _swigc__p_wxPySizer
,
33319 _swigc__p_wxPyTaskBarIcon
,
33320 _swigc__p_wxPyVListBox
,
33321 _swigc__p_wxPyVScrolledWindow
,
33322 _swigc__p_wxPyValidator
,
33323 _swigc__p_wxPyWindow
,
33324 _swigc__p_wxQueryLayoutInfoEvent
,
33325 _swigc__p_wxQueryNewPaletteEvent
,
33327 _swigc__p_wxRegion
,
33328 _swigc__p_wxSashEvent
,
33329 _swigc__p_wxSashLayoutWindow
,
33330 _swigc__p_wxSashWindow
,
33331 _swigc__p_wxScrollEvent
,
33332 _swigc__p_wxScrollWinEvent
,
33333 _swigc__p_wxScrolledWindow
,
33334 _swigc__p_wxSetCursorEvent
,
33335 _swigc__p_wxShowEvent
,
33336 _swigc__p_wxSingleChoiceDialog
,
33338 _swigc__p_wxSizeEvent
,
33340 _swigc__p_wxSizerItem
,
33341 _swigc__p_wxSplashScreen
,
33342 _swigc__p_wxSplashScreenWindow
,
33343 _swigc__p_wxSplitterEvent
,
33344 _swigc__p_wxSplitterWindow
,
33345 _swigc__p_wxStaticBoxSizer
,
33346 _swigc__p_wxStatusBar
,
33347 _swigc__p_wxStdDialogButtonSizer
,
33348 _swigc__p_wxString
,
33349 _swigc__p_wxSysColourChangedEvent
,
33350 _swigc__p_wxTIFFHandler
,
33351 _swigc__p_wxTaskBarIcon
,
33352 _swigc__p_wxTaskBarIconEvent
,
33353 _swigc__p_wxTextEntryDialog
,
33354 _swigc__p_wxTipWindow
,
33355 _swigc__p_wxToolBar
,
33356 _swigc__p_wxTopLevelWindow
,
33357 _swigc__p_wxUpdateUIEvent
,
33358 _swigc__p_wxValidator
,
33359 _swigc__p_wxVisualAttributes
,
33360 _swigc__p_wxWindow
,
33361 _swigc__p_wxWindowCreateEvent
,
33362 _swigc__p_wxWindowDestroyEvent
,
33363 _swigc__p_wxXPMHandler
,
33367 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33369 static swig_const_info swig_const_table
[] = {
33370 {0, 0, 0, 0.0, 0, 0}};
33375 /* -----------------------------------------------------------------------------
33376 * Type initialization:
33377 * This problem is tough by the requirement that no dynamic
33378 * memory is used. Also, since swig_type_info structures store pointers to
33379 * swig_cast_info structures and swig_cast_info structures store pointers back
33380 * to swig_type_info structures, we need some lookup code at initialization.
33381 * The idea is that swig generates all the structures that are needed.
33382 * The runtime then collects these partially filled structures.
33383 * The SWIG_InitializeModule function takes these initial arrays out of
33384 * swig_module, and does all the lookup, filling in the swig_module.types
33385 * array with the correct data and linking the correct swig_cast_info
33386 * structures together.
33388 * The generated swig_type_info structures are assigned staticly to an initial
33389 * array. We just loop though that array, and handle each type individually.
33390 * First we lookup if this type has been already loaded, and if so, use the
33391 * loaded structure instead of the generated one. Then we have to fill in the
33392 * cast linked list. The cast data is initially stored in something like a
33393 * two-dimensional array. Each row corresponds to a type (there are the same
33394 * number of rows as there are in the swig_type_initial array). Each entry in
33395 * a column is one of the swig_cast_info structures for that type.
33396 * The cast_initial array is actually an array of arrays, because each row has
33397 * a variable number of columns. So to actually build the cast linked list,
33398 * we find the array of casts associated with the type, and loop through it
33399 * adding the casts to the list. The one last trick we need to do is making
33400 * sure the type pointer in the swig_cast_info struct is correct.
33402 * First off, we lookup the cast->type name to see if it is already loaded.
33403 * There are three cases to handle:
33404 * 1) If the cast->type has already been loaded AND the type we are adding
33405 * casting info to has not been loaded (it is in this module), THEN we
33406 * replace the cast->type pointer with the type pointer that has already
33408 * 2) If BOTH types (the one we are adding casting info to, and the
33409 * cast->type) are loaded, THEN the cast info has already been loaded by
33410 * the previous module so we just ignore it.
33411 * 3) Finally, if cast->type has not already been loaded, then we add that
33412 * swig_cast_info to the linked list (because the cast->type) pointer will
33414 * ----------------------------------------------------------------------------- */
33424 #define SWIGRUNTIME_DEBUG
33428 SWIG_InitializeModule(void *clientdata
) {
33430 swig_module_info
*module_head
;
33431 static int init_run
= 0;
33433 clientdata
= clientdata
;
33435 if (init_run
) return;
33438 /* Initialize the swig_module */
33439 swig_module
.type_initial
= swig_type_initial
;
33440 swig_module
.cast_initial
= swig_cast_initial
;
33442 /* Try and load any already created modules */
33443 module_head
= SWIG_GetModule(clientdata
);
33445 swig_module
.next
= module_head
->next
;
33446 module_head
->next
= &swig_module
;
33448 /* This is the first module loaded */
33449 swig_module
.next
= &swig_module
;
33450 SWIG_SetModule(clientdata
, &swig_module
);
33453 /* Now work on filling in swig_module.types */
33454 #ifdef SWIGRUNTIME_DEBUG
33455 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33457 for (i
= 0; i
< swig_module
.size
; ++i
) {
33458 swig_type_info
*type
= 0;
33459 swig_type_info
*ret
;
33460 swig_cast_info
*cast
;
33462 #ifdef SWIGRUNTIME_DEBUG
33463 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33466 /* if there is another module already loaded */
33467 if (swig_module
.next
!= &swig_module
) {
33468 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33471 /* Overwrite clientdata field */
33472 #ifdef SWIGRUNTIME_DEBUG
33473 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33475 if (swig_module
.type_initial
[i
]->clientdata
) {
33476 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33477 #ifdef SWIGRUNTIME_DEBUG
33478 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33482 type
= swig_module
.type_initial
[i
];
33485 /* Insert casting types */
33486 cast
= swig_module
.cast_initial
[i
];
33487 while (cast
->type
) {
33488 /* Don't need to add information already in the list */
33490 #ifdef SWIGRUNTIME_DEBUG
33491 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33493 if (swig_module
.next
!= &swig_module
) {
33494 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33495 #ifdef SWIGRUNTIME_DEBUG
33496 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33500 if (type
== swig_module
.type_initial
[i
]) {
33501 #ifdef SWIGRUNTIME_DEBUG
33502 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33507 /* Check for casting already in the list */
33508 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33509 #ifdef SWIGRUNTIME_DEBUG
33510 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33512 if (!ocast
) ret
= 0;
33517 #ifdef SWIGRUNTIME_DEBUG
33518 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33521 type
->cast
->prev
= cast
;
33522 cast
->next
= type
->cast
;
33528 /* Set entry in modules->types array equal to the type */
33529 swig_module
.types
[i
] = type
;
33531 swig_module
.types
[i
] = 0;
33533 #ifdef SWIGRUNTIME_DEBUG
33534 printf("**** SWIG_InitializeModule: Cast List ******\n");
33535 for (i
= 0; i
< swig_module
.size
; ++i
) {
33537 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33538 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33539 while (cast
->type
) {
33540 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33544 printf("---- Total casts: %d\n",j
);
33546 printf("**** SWIG_InitializeModule: Cast List ******\n");
33550 /* This function will propagate the clientdata field of type to
33551 * any new swig_type_info structures that have been added into the list
33552 * of equivalent types. It is like calling
33553 * SWIG_TypeClientData(type, clientdata) a second time.
33556 SWIG_PropagateClientData(void) {
33558 swig_cast_info
*equiv
;
33559 static int init_run
= 0;
33561 if (init_run
) return;
33564 for (i
= 0; i
< swig_module
.size
; i
++) {
33565 if (swig_module
.types
[i
]->clientdata
) {
33566 equiv
= swig_module
.types
[i
]->cast
;
33568 if (!equiv
->converter
) {
33569 if (equiv
->type
&& !equiv
->type
->clientdata
)
33570 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33572 equiv
= equiv
->next
;
33592 /* Python-specific SWIG API */
33593 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33594 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33595 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33597 /* -----------------------------------------------------------------------------
33598 * global variable support code.
33599 * ----------------------------------------------------------------------------- */
33601 typedef struct swig_globalvar
{
33602 char *name
; /* Name of global variable */
33603 PyObject
*(*get_attr
)(void); /* Return the current value */
33604 int (*set_attr
)(PyObject
*); /* Set the value */
33605 struct swig_globalvar
*next
;
33608 typedef struct swig_varlinkobject
{
33610 swig_globalvar
*vars
;
33611 } swig_varlinkobject
;
33613 SWIGINTERN PyObject
*
33614 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33615 return PyString_FromString("<Swig global variables>");
33618 SWIGINTERN PyObject
*
33619 swig_varlink_str(swig_varlinkobject
*v
) {
33620 PyObject
*str
= PyString_FromString("(");
33621 swig_globalvar
*var
;
33622 for (var
= v
->vars
; var
; var
=var
->next
) {
33623 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33624 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33626 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33631 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33632 PyObject
*str
= swig_varlink_str(v
);
33633 fprintf(fp
,"Swig global variables ");
33634 fprintf(fp
,"%s\n", PyString_AsString(str
));
33640 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33641 swig_globalvar
*var
= v
->vars
;
33643 swig_globalvar
*n
= var
->next
;
33650 SWIGINTERN PyObject
*
33651 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33652 PyObject
*res
= NULL
;
33653 swig_globalvar
*var
= v
->vars
;
33655 if (strcmp(var
->name
,n
) == 0) {
33656 res
= (*var
->get_attr
)();
33661 if (res
== NULL
&& !PyErr_Occurred()) {
33662 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33668 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33670 swig_globalvar
*var
= v
->vars
;
33672 if (strcmp(var
->name
,n
) == 0) {
33673 res
= (*var
->set_attr
)(p
);
33678 if (res
== 1 && !PyErr_Occurred()) {
33679 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33684 SWIGINTERN PyTypeObject
*
33685 swig_varlink_type(void) {
33686 static char varlink__doc__
[] = "Swig var link object";
33687 static PyTypeObject varlink_type
;
33688 static int type_init
= 0;
33690 const PyTypeObject tmp
33692 PyObject_HEAD_INIT(NULL
)
33693 0, /* Number of items in variable part (ob_size) */
33694 (char *)"swigvarlink", /* Type name (tp_name) */
33695 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33696 0, /* Itemsize (tp_itemsize) */
33697 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33698 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33699 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33700 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33701 0, /* tp_compare */
33702 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33703 0, /* tp_as_number */
33704 0, /* tp_as_sequence */
33705 0, /* tp_as_mapping */
33708 (reprfunc
)swig_varlink_str
, /* tp_str */
33709 0, /* tp_getattro */
33710 0, /* tp_setattro */
33711 0, /* tp_as_buffer */
33713 varlink__doc__
, /* tp_doc */
33714 0, /* tp_traverse */
33716 0, /* tp_richcompare */
33717 0, /* tp_weaklistoffset */
33718 #if PY_VERSION_HEX >= 0x02020000
33719 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33721 #if PY_VERSION_HEX >= 0x02030000
33724 #ifdef COUNT_ALLOCS
33725 0,0,0,0 /* tp_alloc -> tp_next */
33728 varlink_type
= tmp
;
33729 varlink_type
.ob_type
= &PyType_Type
;
33732 return &varlink_type
;
33735 /* Create a variable linking object for use later */
33736 SWIGINTERN PyObject
*
33737 SWIG_Python_newvarlink(void) {
33738 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33742 return ((PyObject
*) result
);
33746 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33747 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33748 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33750 size_t size
= strlen(name
)+1;
33751 gv
->name
= (char *)malloc(size
);
33753 strncpy(gv
->name
,name
,size
);
33754 gv
->get_attr
= get_attr
;
33755 gv
->set_attr
= set_attr
;
33756 gv
->next
= v
->vars
;
33762 SWIGINTERN PyObject
*
33764 static PyObject
*_SWIG_globals
= 0;
33765 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33766 return _SWIG_globals
;
33769 /* -----------------------------------------------------------------------------
33770 * constants/methods manipulation
33771 * ----------------------------------------------------------------------------- */
33773 /* Install Constants */
33775 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33778 for (i
= 0; constants
[i
].type
; ++i
) {
33779 switch(constants
[i
].type
) {
33780 case SWIG_PY_POINTER
:
33781 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33783 case SWIG_PY_BINARY
:
33784 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33791 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33797 /* -----------------------------------------------------------------------------*/
33798 /* Fix SwigMethods to carry the callback ptrs when needed */
33799 /* -----------------------------------------------------------------------------*/
33802 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33803 swig_const_info
*const_table
,
33804 swig_type_info
**types
,
33805 swig_type_info
**types_initial
) {
33807 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33808 const char *c
= methods
[i
].ml_doc
;
33809 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33811 swig_const_info
*ci
= 0;
33812 const char *name
= c
+ 10;
33813 for (j
= 0; const_table
[j
].type
; ++j
) {
33814 if (strncmp(const_table
[j
].name
, name
,
33815 strlen(const_table
[j
].name
)) == 0) {
33816 ci
= &(const_table
[j
]);
33821 size_t shift
= (ci
->ptype
) - types
;
33822 swig_type_info
*ty
= types_initial
[shift
];
33823 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33824 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33825 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33828 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33830 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33832 strncpy(buff
, "swig_ptr: ", 10);
33834 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33835 methods
[i
].ml_doc
= ndoc
;
33847 /* -----------------------------------------------------------------------------*
33848 * Partial Init method
33849 * -----------------------------------------------------------------------------*/
33854 SWIGEXPORT
void SWIG_init(void) {
33857 /* Fix SwigMethods to carry the callback ptrs when needed */
33858 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33860 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33861 d
= PyModule_GetDict(m
);
33863 SWIG_InitializeModule(0);
33864 SWIG_InstallConstants(d
,swig_const_table
);
33867 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33868 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33869 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33870 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33871 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33872 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33873 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33874 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33875 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33876 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33877 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33878 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33879 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33880 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33881 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33882 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33883 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33884 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33885 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33886 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33887 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33888 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33889 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33890 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33891 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33892 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33893 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33894 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33895 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33896 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
33897 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33898 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33899 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33900 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33901 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
33902 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
33903 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33904 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33905 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33906 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33907 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33908 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33909 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33910 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33911 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33912 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33913 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33914 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33915 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33916 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33917 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33918 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33919 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33920 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33921 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33922 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33923 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33924 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33925 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33926 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33927 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33928 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33929 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33930 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33931 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33932 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33933 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33934 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33935 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33936 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33937 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33938 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33939 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33940 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33941 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33942 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33943 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33944 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33945 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33946 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33947 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33948 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33949 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33950 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33951 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33952 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33953 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33954 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33955 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33956 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33957 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33958 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33959 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33960 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33961 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33962 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33963 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33964 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33965 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33966 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33967 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33968 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33969 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33970 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33971 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33973 // Map renamed classes back to their common name for OOR
33974 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33975 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33976 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33978 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33979 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33980 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33981 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33982 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33983 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33984 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33985 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33986 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33987 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33988 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33989 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33990 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33991 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33992 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33993 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33994 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33995 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33996 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33997 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33998 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33999 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34000 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34001 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34002 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34003 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34004 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34005 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34006 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34007 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34008 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34009 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34010 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34011 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34012 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34013 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34014 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34015 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34016 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34017 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34018 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34019 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34020 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34021 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34022 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34023 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34024 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34025 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34026 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34027 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34028 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34029 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34030 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34031 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34032 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34033 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34034 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34035 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34036 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34037 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34038 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34039 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34040 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34041 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34042 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34043 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34044 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34045 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34046 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34047 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34048 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34049 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34050 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34051 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34052 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34053 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34054 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34055 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34056 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34057 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34058 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34059 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34060 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34061 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34062 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34063 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34064 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34065 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34066 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34067 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34068 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34069 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34070 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34071 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34072 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34073 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34075 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");