1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2652 #define SWIG_name "_windows_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2735 # define LLONG_MIN LONG_LONG_MIN
2738 # define LLONG_MAX LONG_LONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2746 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2748 if (PyNumber_Check(obj
)) {
2749 if (val
) *val
= PyInt_AsLong(obj
);
2752 return SWIG_TypeError
;
2757 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2760 int res
= SWIG_AsVal_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< int >(v
);
2773 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2775 if (obj
== Py_True
) {
2776 if (val
) *val
= true;
2778 } else if (obj
== Py_False
) {
2779 if (val
) *val
= false;
2783 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2784 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2790 #define SWIG_From_long PyInt_FromLong
2793 SWIGINTERNINLINE PyObject
*
2794 SWIG_From_int (int value
)
2796 return SWIG_From_long (value
);
2801 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2803 if (PyNumber_Check(obj
)) {
2804 if (val
) *val
= PyFloat_AsDouble(obj
);
2807 return SWIG_TypeError
;
2811 #define SWIG_From_double PyFloat_FromDouble
2813 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2814 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2815 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2816 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2817 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2818 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2821 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2823 self
->GetFieldRect(i
, r
);
2826 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2827 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2828 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2830 #include <wx/popupwin.h>
2833 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2836 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2837 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2838 : wxPopupTransientWindow(parent
, style
) {}
2840 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2841 DEC_PYCALLBACK__(OnDismiss
);
2842 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2847 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2848 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2849 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2852 #include <wx/tipwin.h>
2854 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2855 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2858 #include <wx/tipwin.h>
2861 #include <wx/vscroll.h>
2864 class wxPyVScrolledWindow
: public wxVScrolledWindow
2866 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2868 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2870 wxPyVScrolledWindow(wxWindow
*parent
,
2871 wxWindowID id
= wxID_ANY
,
2872 const wxPoint
& pos
= wxDefaultPosition
,
2873 const wxSize
& size
= wxDefaultSize
,
2875 const wxString
& name
= wxPyPanelNameStr
)
2876 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2879 // Overridable virtuals
2881 // this function must be overridden in the derived class and it should
2882 // return the height of the given line in pixels
2883 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2886 // this function doesn't have to be overridden but it may be useful to do
2887 // it if calculating the lines heights is a relatively expensive operation
2888 // as it gives the user code a possibility to calculate several of them at
2891 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2892 // shouldn't rely on the latter being called for all lines in the interval
2893 // specified here. It is also possible that OnGetLineHeight() will be
2894 // called for the lines outside of this interval, so this is really just a
2895 // hint, not a promise.
2897 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2899 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2902 // when the number of lines changes, we try to estimate the total height
2903 // of all lines which is a rather expensive operation in terms of lines
2904 // access, so if the user code may estimate the average height
2905 // better/faster than we do, it should override this function to implement
2908 // this function should return the best guess for the total height it may
2910 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2913 // Also expose some other interesting protected methods
2916 // find the index of the line we need to show at the top of the window such
2917 // that the last (fully or partially) visible line is the given one
2918 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2919 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2921 // get the total height of the lines between lineMin (inclusive) and
2922 // lineMax (exclusive)
2923 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2924 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2926 // update the thumb size shown by the scrollbar
2927 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2929 // remove the scrollbar completely because we don't need it
2930 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2935 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2937 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2938 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2939 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2943 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2946 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2947 return SWIG_TypeError
;
2950 *val
= (unsigned long)v
;
2955 SWIGINTERNINLINE
int
2956 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2959 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2960 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2965 SWIGINTERNINLINE PyObject
*
2966 SWIG_From_unsigned_SS_long (unsigned long value
)
2968 return (value
> LONG_MAX
) ?
2969 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2973 SWIGINTERNINLINE PyObject
*
2974 SWIG_From_size_t (size_t value
)
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2980 #include <wx/vlbox.h>
2982 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2984 class wxPyVListBox
: public wxVListBox
2986 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2988 wxPyVListBox() : wxVListBox() {}
2990 wxPyVListBox(wxWindow
*parent
,
2991 wxWindowID id
= wxID_ANY
,
2992 const wxPoint
& pos
= wxDefaultPosition
,
2993 const wxSize
& size
= wxDefaultSize
,
2995 const wxString
& name
= wxPyVListBoxNameStr
)
2996 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2999 // Overridable virtuals
3001 // the derived class must implement this function to actually draw the item
3002 // with the given index on the provided DC
3003 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3004 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3007 // the derived class must implement this method to return the height of the
3009 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3010 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3013 // this method may be used to draw separators between the lines; note that
3014 // the rectangle may be modified, typically to deflate it a bit before
3015 // passing to OnDrawItem()
3017 // the base class version doesn't do anything
3018 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3019 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3022 // this method is used to draw the items background and, maybe, a border
3025 // the base class version implements a reasonable default behaviour which
3026 // consists in drawing the selected item with the standard background
3027 // colour and drawing a border around the item if it is either selected or
3029 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3030 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3036 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3038 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3039 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3040 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3041 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3044 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3045 unsigned long cookie
= 0;
3046 int selected
= self
->GetFirstSelected(cookie
);
3047 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3048 PyObject
* tup
= PyTuple_New(2);
3049 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3050 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3051 wxPyEndBlockThreads(blocked
);
3054 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3055 int selected
= self
->GetNextSelected(cookie
);
3056 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3057 PyObject
* tup
= PyTuple_New(2);
3058 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3059 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3060 wxPyEndBlockThreads(blocked
);
3064 #include <wx/htmllbox.h>
3067 class wxPyHtmlListBox
: public wxHtmlListBox
3069 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3071 wxPyHtmlListBox() : wxHtmlListBox() {}
3073 wxPyHtmlListBox(wxWindow
*parent
,
3074 wxWindowID id
= wxID_ANY
,
3075 const wxPoint
& pos
= wxDefaultPosition
,
3076 const wxSize
& size
= wxDefaultSize
,
3078 const wxString
& name
= wxPyVListBoxNameStr
)
3079 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3082 // Overridable virtuals
3084 // this method must be implemented in the derived class and should return
3085 // the body (i.e. without <html>) of the HTML for the given item
3086 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3088 // this function may be overridden to decorate HTML returned by OnGetItem()
3089 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3091 // These are from wxVListBox
3092 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3093 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3096 // // this method allows to customize the selection appearance: it may be used
3097 // // to specify the colour of the text which normally has the given colour
3098 // // colFg when it is inside the selection
3100 // // by default, the original colour is not used at all and all text has the
3101 // // same (default for this system) colour inside selection
3102 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3104 // // this is the same as GetSelectedTextColour() but allows to customize the
3105 // // background colour -- this is even more rarely used as you can change it
3106 // // globally using SetSelectionBackground()
3107 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3110 // This method may be overriden to handle clicking on a link in
3111 // the listbox. By default, clicking links is ignored.
3112 virtual void OnLinkClicked(size_t n
,
3113 const wxHtmlLinkInfo
& link
);
3119 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3121 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3122 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3123 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3124 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3127 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3128 const wxHtmlLinkInfo
& link
) {
3130 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3131 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3132 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3133 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3136 wxPyEndBlockThreads(blocked
);
3138 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3145 #ifndef wxHAS_TASK_BAR_ICON
3146 // implement dummy classes for platforms that don't have it
3148 class wxTaskBarIcon
: public wxEvtHandler
3151 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3155 class wxTaskBarIconEvent
: public wxEvent
3158 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3159 { wxPyRaiseNotImplemented(); }
3160 virtual wxEvent
* Clone() const { return NULL
; }
3161 bool IsOk() const { return false; }
3162 bool IsIconInstalled() const { return false; }
3163 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3164 bool RemoveIcon() { return false; }
3165 bool PopupMenu(wxMenu
*menu
) { return false; }
3169 wxEVT_TASKBAR_MOVE
= 0,
3170 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3171 wxEVT_TASKBAR_LEFT_UP
= 0,
3172 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3173 wxEVT_TASKBAR_RIGHT_UP
= 0,
3174 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3175 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3180 // Otherwise make a class that can virtualize CreatePopupMenu
3181 class wxPyTaskBarIcon
: public wxTaskBarIcon
3183 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3185 wxPyTaskBarIcon() : wxTaskBarIcon()
3188 wxMenu
* CreatePopupMenu() {
3189 wxMenu
*rval
= NULL
;
3191 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3192 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3195 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3197 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3202 wxPyEndBlockThreads(blocked
);
3204 rval
= wxTaskBarIcon::CreatePopupMenu();
3211 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3215 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3219 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3220 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3221 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3222 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3223 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3224 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3225 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3227 self
->GetFilenames(arr
);
3228 return wxArrayString2PyList_helper(arr
);
3230 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3232 self
->GetPaths(arr
);
3233 return wxArrayString2PyList_helper(arr
);
3235 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3236 return wxArrayInt2PyList_helper(self
->GetSelections());
3238 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
){
3239 return new wxSingleChoiceDialog(parent
, message
, caption
,
3240 choices
, choices_array
, NULL
, style
, pos
);
3242 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3244 SWIGINTERNINLINE PyObject
*
3245 SWIG_From_bool (bool value
)
3247 return PyBool_FromLong(value
? 1 : 0);
3253 // C++ version of Python aware wxWindow
3254 class wxPyWindow
: public wxWindow
3256 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3258 wxPyWindow() : wxWindow() {}
3259 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3260 const wxPoint
& pos
= wxDefaultPosition
,
3261 const wxSize
& size
= wxDefaultSize
,
3263 const wxString
& name
= wxPyPanelNameStr
)
3264 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3266 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3268 bool DoEraseBackground(wxDC
* dc
) {
3270 return wxWindow::DoEraseBackground(dc
->GetHDC());
3272 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3278 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3279 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3280 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3287 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3288 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3290 DEC_PYCALLBACK__(InitDialog
);
3291 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3292 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3293 DEC_PYCALLBACK_BOOL_(Validate
);
3295 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3297 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3299 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3302 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3307 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3312 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3314 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3315 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3316 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3323 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3324 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3326 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3327 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3328 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3329 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3331 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3332 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3335 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3338 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3339 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3343 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3345 // C++ version of Python aware wxPanel
3346 class wxPyPanel
: public wxPanel
3348 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3350 wxPyPanel() : wxPanel() {}
3351 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3352 const wxPoint
& pos
= wxDefaultPosition
,
3353 const wxSize
& size
= wxDefaultSize
,
3355 const wxString
& name
= wxPyPanelNameStr
)
3356 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3358 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3359 bool DoEraseBackground(wxDC
* dc
) {
3361 return wxWindow::DoEraseBackground(dc
->GetHDC());
3363 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3370 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3371 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3372 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3373 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3375 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3379 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3380 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3382 DEC_PYCALLBACK__(InitDialog
);
3383 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3384 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3385 DEC_PYCALLBACK_BOOL_(Validate
);
3387 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3388 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3389 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3391 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3392 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3394 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3395 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3397 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3399 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3404 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3406 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3407 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3408 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3409 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3411 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3412 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3413 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3415 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3416 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3418 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3419 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3420 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3421 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3423 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3424 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3427 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3428 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3430 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3431 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3435 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3437 // C++ version of Python aware wxScrolledWindow
3438 class wxPyScrolledWindow
: public wxScrolledWindow
3440 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3442 wxPyScrolledWindow() : wxScrolledWindow() {}
3443 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3444 const wxPoint
& pos
= wxDefaultPosition
,
3445 const wxSize
& size
= wxDefaultSize
,
3447 const wxString
& name
= wxPyPanelNameStr
)
3448 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3450 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3451 bool DoEraseBackground(wxDC
* dc
) {
3453 return wxWindow::DoEraseBackground(dc
->GetHDC());
3455 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3461 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3462 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3463 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3464 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3466 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3470 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3471 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3473 DEC_PYCALLBACK__(InitDialog
);
3474 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3475 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3476 DEC_PYCALLBACK_BOOL_(Validate
);
3478 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3479 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3480 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3482 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3483 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3485 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3486 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3488 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3490 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3495 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3497 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3498 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3499 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3500 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3502 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3503 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3504 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3506 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3507 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3509 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3510 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3511 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3512 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3514 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3515 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3518 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3519 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3521 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3522 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3526 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3529 #include "wx/wxPython/printfw.h"
3532 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3533 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3534 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3536 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3537 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3538 self
->GetPrivDataLen());
3539 wxPyEndBlockThreads(blocked
);
3542 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3543 if (! PyString_Check(data
)) {
3544 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3545 "Expected string object"));
3549 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3550 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3551 wxPyEndBlockThreads(blocked
);
3555 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3557 // Since this one would be tough and ugly to do with the Macros...
3558 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3559 bool hadErr
= false;
3562 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3563 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3564 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3565 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3568 val
= PyTuple_GetItem(result
, 0);
3569 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3572 val
= PyTuple_GetItem(result
, 1);
3573 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3576 val
= PyTuple_GetItem(result
, 2);
3577 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3580 val
= PyTuple_GetItem(result
, 3);
3581 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3588 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3593 wxPyEndBlockThreads(blocked
);
3595 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3600 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3601 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3602 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3603 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3604 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3605 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3606 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3612 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3613 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3616 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3617 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3620 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3621 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3622 PyObject* win = wxPyMake_wxObject(a,false); \
3623 PyObject* dc = wxPyMake_wxObject(&b,false); \
3624 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3628 wxPyEndBlockThreads(blocked); \
3630 rval = PCLASS::CBNAME(a, b); \
3637 class wxPyPrintPreview
: public wxPrintPreview
3639 DECLARE_CLASS(wxPyPrintPreview
)
3641 wxPyPrintPreview(wxPyPrintout
* printout
,
3642 wxPyPrintout
* printoutForPrinting
,
3643 wxPrintDialogData
* data
=NULL
)
3644 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3646 wxPyPrintPreview(wxPyPrintout
* printout
,
3647 wxPyPrintout
* printoutForPrinting
,
3649 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3652 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3653 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3654 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3655 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3656 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3657 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3658 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3663 // Stupid renamed classes... Fix this in 2.5...
3664 #if defined(__WXMSW__)
3665 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3666 #elif defined(__WXMAC__)
3667 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3669 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3672 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3673 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3674 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3675 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3676 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3677 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3678 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3681 class wxPyPreviewFrame
: public wxPreviewFrame
3683 DECLARE_CLASS(wxPyPreviewFrame
)
3685 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3686 const wxString
& title
,
3687 const wxPoint
& pos
= wxDefaultPosition
,
3688 const wxSize
& size
= wxDefaultSize
,
3689 long style
= wxDEFAULT_FRAME_STYLE
,
3690 const wxString
& name
= wxPyFrameNameStr
)
3691 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3694 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3695 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3697 DEC_PYCALLBACK_VOID_(Initialize
);
3698 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3699 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3704 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3706 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3707 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3708 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3711 class wxPyPreviewControlBar
: public wxPreviewControlBar
3713 DECLARE_CLASS(wxPyPreviewControlBar
)
3715 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3718 const wxPoint
& pos
= wxDefaultPosition
,
3719 const wxSize
& size
= wxDefaultSize
,
3721 const wxString
& name
= wxPyPanelNameStr
)
3722 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3725 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3727 DEC_PYCALLBACK_VOID_(CreateButtons
);
3728 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3733 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3735 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3740 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
= 0;
3742 wxWindow
*arg1
= (wxWindow
*) 0 ;
3743 int arg2
= (int) (int)-1 ;
3744 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3745 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3746 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3747 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3748 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3749 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3750 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3751 wxPanel
*result
= 0 ;
3760 bool temp6
= false ;
3761 PyObject
* obj0
= 0 ;
3762 PyObject
* obj1
= 0 ;
3763 PyObject
* obj2
= 0 ;
3764 PyObject
* obj3
= 0 ;
3765 PyObject
* obj4
= 0 ;
3766 PyObject
* obj5
= 0 ;
3767 char * kwnames
[] = {
3768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3773 if (!SWIG_IsOK(res1
)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3776 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3779 if (!SWIG_IsOK(ecode2
)) {
3780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3782 arg2
= static_cast< int >(val2
);
3787 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3793 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3797 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3798 if (!SWIG_IsOK(ecode5
)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3801 arg5
= static_cast< long >(val5
);
3805 arg6
= wxString_in_helper(obj5
);
3806 if (arg6
== NULL
) SWIG_fail
;
3811 if (!wxPyCheckForApp()) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3832 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3833 PyObject
*resultobj
= 0;
3834 wxPanel
*result
= 0 ;
3836 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3838 if (!wxPyCheckForApp()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (wxPanel
*)new wxPanel();
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3851 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
= 0;
3853 wxPanel
*arg1
= (wxPanel
*) 0 ;
3854 wxWindow
*arg2
= (wxWindow
*) 0 ;
3855 int arg3
= (int) (int)-1 ;
3856 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3857 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3858 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3859 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3860 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3861 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3862 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3874 bool temp7
= false ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3877 PyObject
* obj2
= 0 ;
3878 PyObject
* obj3
= 0 ;
3879 PyObject
* obj4
= 0 ;
3880 PyObject
* obj5
= 0 ;
3881 PyObject
* obj6
= 0 ;
3882 char * kwnames
[] = {
3883 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3888 if (!SWIG_IsOK(res1
)) {
3889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3891 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3893 if (!SWIG_IsOK(res2
)) {
3894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3896 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3899 if (!SWIG_IsOK(ecode3
)) {
3900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3902 arg3
= static_cast< int >(val3
);
3907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3917 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3918 if (!SWIG_IsOK(ecode6
)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3921 arg6
= static_cast< long >(val6
);
3925 arg7
= wxString_in_helper(obj6
);
3926 if (arg7
== NULL
) SWIG_fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3953 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3954 PyObject
*resultobj
= 0;
3955 wxPanel
*arg1
= (wxPanel
*) 0 ;
3958 PyObject
*swig_obj
[1] ;
3960 if (!args
) SWIG_fail
;
3962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3963 if (!SWIG_IsOK(res1
)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3966 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3969 (arg1
)->SetFocusIgnoringChildren();
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3973 resultobj
= SWIG_Py_Void();
3980 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
= 0;
3982 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3983 SwigValueWrapper
<wxVisualAttributes
> result
;
3986 PyObject
* obj0
= 0 ;
3987 char * kwnames
[] = {
3988 (char *) "variant", NULL
3991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3993 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3994 if (!SWIG_IsOK(ecode1
)) {
3995 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3997 arg1
= static_cast< wxWindowVariant
>(val1
);
4000 if (!wxPyCheckForApp()) SWIG_fail
;
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4013 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4017 return SWIG_Py_Void();
4020 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4021 return SWIG_Python_InitShadowInstance(args
);
4024 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
= 0;
4026 wxWindow
*arg1
= (wxWindow
*) 0 ;
4027 int arg2
= (int) (int)-1 ;
4028 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4029 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4030 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4031 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4032 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4033 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4034 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4035 wxScrolledWindow
*result
= 0 ;
4044 bool temp6
= false ;
4045 PyObject
* obj0
= 0 ;
4046 PyObject
* obj1
= 0 ;
4047 PyObject
* obj2
= 0 ;
4048 PyObject
* obj3
= 0 ;
4049 PyObject
* obj4
= 0 ;
4050 PyObject
* obj5
= 0 ;
4051 char * kwnames
[] = {
4052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4060 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4063 if (!SWIG_IsOK(ecode2
)) {
4064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4066 arg2
= static_cast< int >(val2
);
4071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4077 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4081 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4082 if (!SWIG_IsOK(ecode5
)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4085 arg5
= static_cast< long >(val5
);
4089 arg6
= wxString_in_helper(obj5
);
4090 if (arg6
== NULL
) SWIG_fail
;
4095 if (!wxPyCheckForApp()) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4116 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4117 PyObject
*resultobj
= 0;
4118 wxScrolledWindow
*result
= 0 ;
4120 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4122 if (!wxPyCheckForApp()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4135 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
= 0;
4137 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4138 wxWindow
*arg2
= (wxWindow
*) 0 ;
4139 int arg3
= (int) (int)-1 ;
4140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4144 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4145 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4146 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4158 bool temp7
= false ;
4159 PyObject
* obj0
= 0 ;
4160 PyObject
* obj1
= 0 ;
4161 PyObject
* obj2
= 0 ;
4162 PyObject
* obj3
= 0 ;
4163 PyObject
* obj4
= 0 ;
4164 PyObject
* obj5
= 0 ;
4165 PyObject
* obj6
= 0 ;
4166 char * kwnames
[] = {
4167 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4172 if (!SWIG_IsOK(res1
)) {
4173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4175 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4177 if (!SWIG_IsOK(res2
)) {
4178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4180 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4183 if (!SWIG_IsOK(ecode3
)) {
4184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4186 arg3
= static_cast< int >(val3
);
4191 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4197 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4201 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4202 if (!SWIG_IsOK(ecode6
)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4205 arg6
= static_cast< long >(val6
);
4209 arg7
= wxString_in_helper(obj6
);
4210 if (arg7
== NULL
) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4237 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4244 int arg6
= (int) 0 ;
4245 int arg7
= (int) 0 ;
4246 bool arg8
= (bool) false ;
4263 PyObject
* obj0
= 0 ;
4264 PyObject
* obj1
= 0 ;
4265 PyObject
* obj2
= 0 ;
4266 PyObject
* obj3
= 0 ;
4267 PyObject
* obj4
= 0 ;
4268 PyObject
* obj5
= 0 ;
4269 PyObject
* obj6
= 0 ;
4270 PyObject
* obj7
= 0 ;
4271 char * kwnames
[] = {
4272 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4277 if (!SWIG_IsOK(res1
)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4280 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4282 if (!SWIG_IsOK(ecode2
)) {
4283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4285 arg2
= static_cast< int >(val2
);
4286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4287 if (!SWIG_IsOK(ecode3
)) {
4288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4290 arg3
= static_cast< int >(val3
);
4291 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4292 if (!SWIG_IsOK(ecode4
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4295 arg4
= static_cast< int >(val4
);
4296 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4297 if (!SWIG_IsOK(ecode5
)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4300 arg5
= static_cast< int >(val5
);
4302 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4303 if (!SWIG_IsOK(ecode6
)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4306 arg6
= static_cast< int >(val6
);
4309 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4310 if (!SWIG_IsOK(ecode7
)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4313 arg7
= static_cast< int >(val7
);
4316 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4317 if (!SWIG_IsOK(ecode8
)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4320 arg8
= static_cast< bool >(val8
);
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= SWIG_Py_Void();
4335 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
= 0;
4337 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4348 PyObject
* obj2
= 0 ;
4349 char * kwnames
[] = {
4350 (char *) "self",(char *) "x",(char *) "y", NULL
4353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4355 if (!SWIG_IsOK(res1
)) {
4356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4358 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4360 if (!SWIG_IsOK(ecode2
)) {
4361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4363 arg2
= static_cast< int >(val2
);
4364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4365 if (!SWIG_IsOK(ecode3
)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4368 arg3
= static_cast< int >(val3
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 (arg1
)->Scroll(arg2
,arg3
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_Py_Void();
4382 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
= 0;
4384 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4393 char * kwnames
[] = {
4394 (char *) "self",(char *) "orient", NULL
4397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4399 if (!SWIG_IsOK(res1
)) {
4400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4402 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4404 if (!SWIG_IsOK(ecode2
)) {
4405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4407 arg2
= static_cast< int >(val2
);
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_From_int(static_cast< int >(result
));
4421 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
= 0;
4423 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4434 PyObject
* obj2
= 0 ;
4435 char * kwnames
[] = {
4436 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4441 if (!SWIG_IsOK(res1
)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4444 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4446 if (!SWIG_IsOK(ecode2
)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4449 arg2
= static_cast< int >(val2
);
4450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4451 if (!SWIG_IsOK(ecode3
)) {
4452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4454 arg3
= static_cast< int >(val3
);
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_Py_Void();
4468 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
= 0;
4470 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4481 PyObject
* obj2
= 0 ;
4482 char * kwnames
[] = {
4483 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4488 if (!SWIG_IsOK(res1
)) {
4489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4491 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4493 if (!SWIG_IsOK(ecode2
)) {
4494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4496 arg2
= static_cast< int >(val2
);
4497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4498 if (!SWIG_IsOK(ecode3
)) {
4499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4501 arg3
= static_cast< int >(val3
);
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 (arg1
)->SetScrollRate(arg2
,arg3
);
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_Py_Void();
4515 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4516 PyObject
*resultobj
= 0;
4517 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4518 int *arg2
= (int *) 0 ;
4519 int *arg3
= (int *) 0 ;
4523 int res2
= SWIG_TMPOBJ
;
4525 int res3
= SWIG_TMPOBJ
;
4526 PyObject
*swig_obj
[1] ;
4530 if (!args
) SWIG_fail
;
4532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4533 if (!SWIG_IsOK(res1
)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4536 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 resultobj
= SWIG_Py_Void();
4544 if (SWIG_IsTmpObj(res2
)) {
4545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4547 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4550 if (SWIG_IsTmpObj(res3
)) {
4551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4553 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4562 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
= 0;
4564 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4575 PyObject
* obj2
= 0 ;
4576 char * kwnames
[] = {
4577 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4582 if (!SWIG_IsOK(res1
)) {
4583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4585 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4586 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4587 if (!SWIG_IsOK(ecode2
)) {
4588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4590 arg2
= static_cast< bool >(val2
);
4591 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4592 if (!SWIG_IsOK(ecode3
)) {
4593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4595 arg3
= static_cast< bool >(val3
);
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 (arg1
)->EnableScrolling(arg2
,arg3
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= SWIG_Py_Void();
4609 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4610 PyObject
*resultobj
= 0;
4611 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4612 int *arg2
= (int *) 0 ;
4613 int *arg3
= (int *) 0 ;
4617 int res2
= SWIG_TMPOBJ
;
4619 int res3
= SWIG_TMPOBJ
;
4620 PyObject
*swig_obj
[1] ;
4624 if (!args
) SWIG_fail
;
4626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4627 if (!SWIG_IsOK(res1
)) {
4628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4630 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= SWIG_Py_Void();
4638 if (SWIG_IsTmpObj(res2
)) {
4639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4641 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4644 if (SWIG_IsTmpObj(res3
)) {
4645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4647 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4656 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
= 0;
4658 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4670 char * kwnames
[] = {
4671 (char *) "self",(char *) "xs",(char *) "ys", NULL
4674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4676 if (!SWIG_IsOK(res1
)) {
4677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4679 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4680 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4681 if (!SWIG_IsOK(ecode2
)) {
4682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4684 arg2
= static_cast< double >(val2
);
4685 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4686 if (!SWIG_IsOK(ecode3
)) {
4687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4689 arg3
= static_cast< double >(val3
);
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 (arg1
)->SetScale(arg2
,arg3
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 resultobj
= SWIG_Py_Void();
4703 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4704 PyObject
*resultobj
= 0;
4705 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4709 PyObject
*swig_obj
[1] ;
4711 if (!args
) SWIG_fail
;
4713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4714 if (!SWIG_IsOK(res1
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4717 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_From_double(static_cast< double >(result
));
4731 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4732 PyObject
*resultobj
= 0;
4733 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4737 PyObject
*swig_obj
[1] ;
4739 if (!args
) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4745 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= SWIG_From_double(static_cast< double >(result
));
4759 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4760 PyObject
*resultobj
= 0;
4761 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4768 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4770 if (!SWIG_IsOK(res1
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4773 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4776 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4791 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4792 PyObject
*resultobj
= 0;
4793 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4796 int *arg4
= (int *) 0 ;
4797 int *arg5
= (int *) 0 ;
4805 int res4
= SWIG_TMPOBJ
;
4807 int res5
= SWIG_TMPOBJ
;
4811 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4813 if (!SWIG_IsOK(res1
)) {
4814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4816 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4817 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4818 if (!SWIG_IsOK(ecode2
)) {
4819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4821 arg2
= static_cast< int >(val2
);
4822 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4823 if (!SWIG_IsOK(ecode3
)) {
4824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4826 arg3
= static_cast< int >(val3
);
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= SWIG_Py_Void();
4834 if (SWIG_IsTmpObj(res4
)) {
4835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4837 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4840 if (SWIG_IsTmpObj(res5
)) {
4841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4843 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4852 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4856 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4859 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4862 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4866 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4871 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4872 PyObject
*resultobj
= 0;
4873 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4880 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4882 if (!SWIG_IsOK(res1
)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4885 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4888 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4903 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4904 PyObject
*resultobj
= 0;
4905 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4908 int *arg4
= (int *) 0 ;
4909 int *arg5
= (int *) 0 ;
4917 int res4
= SWIG_TMPOBJ
;
4919 int res5
= SWIG_TMPOBJ
;
4923 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4925 if (!SWIG_IsOK(res1
)) {
4926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4928 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4929 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4930 if (!SWIG_IsOK(ecode2
)) {
4931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4933 arg2
= static_cast< int >(val2
);
4934 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4935 if (!SWIG_IsOK(ecode3
)) {
4936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4938 arg3
= static_cast< int >(val3
);
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= SWIG_Py_Void();
4946 if (SWIG_IsTmpObj(res4
)) {
4947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4949 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4952 if (SWIG_IsTmpObj(res5
)) {
4953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4955 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4964 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4968 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4971 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4974 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4978 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4983 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4984 PyObject
*resultobj
= 0;
4985 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4988 PyObject
*swig_obj
[1] ;
4990 if (!args
) SWIG_fail
;
4992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4993 if (!SWIG_IsOK(res1
)) {
4994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4996 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 (arg1
)->AdjustScrollbars();
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 resultobj
= SWIG_Py_Void();
5010 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
= 0;
5012 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5013 wxScrollWinEvent
*arg2
= 0 ;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5021 char * kwnames
[] = {
5022 (char *) "self",(char *) "event", NULL
5025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5027 if (!SWIG_IsOK(res1
)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5030 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5032 if (!SWIG_IsOK(res2
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5038 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= SWIG_From_int(static_cast< int >(result
));
5052 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
= 0;
5054 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5055 wxWindow
*arg2
= (wxWindow
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5061 PyObject
* obj1
= 0 ;
5062 char * kwnames
[] = {
5063 (char *) "self",(char *) "target", NULL
5066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5068 if (!SWIG_IsOK(res1
)) {
5069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5071 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5073 if (!SWIG_IsOK(res2
)) {
5074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5076 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 (arg1
)->SetTargetWindow(arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= SWIG_Py_Void();
5090 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5091 PyObject
*resultobj
= 0;
5092 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5093 wxWindow
*result
= 0 ;
5096 PyObject
*swig_obj
[1] ;
5098 if (!args
) SWIG_fail
;
5100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5101 if (!SWIG_IsOK(res1
)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5104 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= wxPyMake_wxObject(result
, 0);
5120 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
= 0;
5122 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5130 char * kwnames
[] = {
5131 (char *) "self",(char *) "dc", NULL
5134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5136 if (!SWIG_IsOK(res1
)) {
5137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5139 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5141 if (!SWIG_IsOK(res2
)) {
5142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5147 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 (arg1
)->DoPrepareDC(*arg2
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_Py_Void();
5161 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
= 0;
5163 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5164 SwigValueWrapper
<wxVisualAttributes
> result
;
5167 PyObject
* obj0
= 0 ;
5168 char * kwnames
[] = {
5169 (char *) "variant", NULL
5172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5174 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5175 if (!SWIG_IsOK(ecode1
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5178 arg1
= static_cast< wxWindowVariant
>(val1
);
5181 if (!wxPyCheckForApp()) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5194 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5197 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5198 return SWIG_Py_Void();
5201 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5202 return SWIG_Python_InitShadowInstance(args
);
5205 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5206 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5211 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5212 PyObject
*pyobj
= 0;
5216 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5218 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5225 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5226 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5231 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5232 PyObject
*pyobj
= 0;
5236 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5238 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5245 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5246 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5251 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5252 PyObject
*pyobj
= 0;
5256 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5258 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5265 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5266 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5271 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5272 PyObject
*pyobj
= 0;
5276 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5278 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5285 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
= 0;
5287 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5288 bool arg2
= (bool) true ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 char * kwnames
[] = {
5296 (char *) "self",(char *) "maximize", NULL
5299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5301 if (!SWIG_IsOK(res1
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5304 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5306 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5307 if (!SWIG_IsOK(ecode2
)) {
5308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5310 arg2
= static_cast< bool >(val2
);
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 (arg1
)->Maximize(arg2
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= SWIG_Py_Void();
5325 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5326 PyObject
*resultobj
= 0;
5327 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5330 PyObject
*swig_obj
[1] ;
5332 if (!args
) SWIG_fail
;
5334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5335 if (!SWIG_IsOK(res1
)) {
5336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5338 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= SWIG_Py_Void();
5352 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
= 0;
5354 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5355 bool arg2
= (bool) true ;
5360 PyObject
* obj0
= 0 ;
5361 PyObject
* obj1
= 0 ;
5362 char * kwnames
[] = {
5363 (char *) "self",(char *) "iconize", NULL
5366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5368 if (!SWIG_IsOK(res1
)) {
5369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5371 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5374 if (!SWIG_IsOK(ecode2
)) {
5375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5377 arg2
= static_cast< bool >(val2
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->Iconize(arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_Py_Void();
5392 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5393 PyObject
*resultobj
= 0;
5394 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5398 PyObject
*swig_obj
[1] ;
5400 if (!args
) SWIG_fail
;
5402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5403 if (!SWIG_IsOK(res1
)) {
5404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5406 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5422 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5423 PyObject
*resultobj
= 0;
5424 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5428 PyObject
*swig_obj
[1] ;
5430 if (!args
) SWIG_fail
;
5432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5433 if (!SWIG_IsOK(res1
)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5436 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5452 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 PyObject
*resultobj
= 0;
5454 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5458 PyObject
*swig_obj
[1] ;
5460 if (!args
) SWIG_fail
;
5462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5463 if (!SWIG_IsOK(res1
)) {
5464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5466 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5482 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5483 PyObject
*resultobj
= 0;
5484 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5488 PyObject
*swig_obj
[1] ;
5490 if (!args
) SWIG_fail
;
5492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5493 if (!SWIG_IsOK(res1
)) {
5494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5496 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5510 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
= 0;
5512 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5518 PyObject
* obj0
= 0 ;
5519 PyObject
* obj1
= 0 ;
5520 char * kwnames
[] = {
5521 (char *) "self",(char *) "icon", NULL
5524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5526 if (!SWIG_IsOK(res1
)) {
5527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5529 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5531 if (!SWIG_IsOK(res2
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5537 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_Py_Void();
5551 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
= 0;
5553 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5554 wxIconBundle
*arg2
= 0 ;
5559 PyObject
* obj0
= 0 ;
5560 PyObject
* obj1
= 0 ;
5561 char * kwnames
[] = {
5562 (char *) "self",(char *) "icons", NULL
5565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5567 if (!SWIG_IsOK(res1
)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5570 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5572 if (!SWIG_IsOK(res2
)) {
5573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5578 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 resultobj
= SWIG_Py_Void();
5592 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
= 0;
5594 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5596 long arg3
= (long) wxFULLSCREEN_ALL
;
5604 PyObject
* obj0
= 0 ;
5605 PyObject
* obj1
= 0 ;
5606 PyObject
* obj2
= 0 ;
5607 char * kwnames
[] = {
5608 (char *) "self",(char *) "show",(char *) "style", NULL
5611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5613 if (!SWIG_IsOK(res1
)) {
5614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5616 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5618 if (!SWIG_IsOK(ecode2
)) {
5619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5621 arg2
= static_cast< bool >(val2
);
5623 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5624 if (!SWIG_IsOK(ecode3
)) {
5625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5627 arg3
= static_cast< long >(val3
);
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5644 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5645 PyObject
*resultobj
= 0;
5646 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5650 PyObject
*swig_obj
[1] ;
5652 if (!args
) SWIG_fail
;
5654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5655 if (!SWIG_IsOK(res1
)) {
5656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5658 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5674 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
= 0;
5676 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5677 wxString
*arg2
= 0 ;
5680 bool temp2
= false ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5683 char * kwnames
[] = {
5684 (char *) "self",(char *) "title", NULL
5687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5692 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5694 arg2
= wxString_in_helper(obj1
);
5695 if (arg2
== NULL
) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 (arg1
)->SetTitle((wxString
const &)*arg2
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_Py_Void();
5719 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5720 PyObject
*resultobj
= 0;
5721 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5725 PyObject
*swig_obj
[1] ;
5727 if (!args
) SWIG_fail
;
5729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5730 if (!SWIG_IsOK(res1
)) {
5731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5733 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5753 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
= 0;
5755 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5756 wxRegion
*arg2
= 0 ;
5762 PyObject
* obj0
= 0 ;
5763 PyObject
* obj1
= 0 ;
5764 char * kwnames
[] = {
5765 (char *) "self",(char *) "region", NULL
5768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5770 if (!SWIG_IsOK(res1
)) {
5771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5773 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5775 if (!SWIG_IsOK(res2
)) {
5776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5781 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5797 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
= 0;
5799 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5800 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5805 PyObject
* obj0
= 0 ;
5806 PyObject
* obj1
= 0 ;
5807 char * kwnames
[] = {
5808 (char *) "self",(char *) "flags", NULL
5811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5813 if (!SWIG_IsOK(res1
)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5816 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5819 if (!SWIG_IsOK(ecode2
)) {
5820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5822 arg2
= static_cast< int >(val2
);
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 (arg1
)->RequestUserAttention(arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= SWIG_Py_Void();
5837 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5838 PyObject
*resultobj
= 0;
5839 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5843 PyObject
*swig_obj
[1] ;
5845 if (!args
) SWIG_fail
;
5847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5848 if (!SWIG_IsOK(res1
)) {
5849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5851 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (bool)(arg1
)->IsActive();
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5867 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
= 0;
5869 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5875 PyObject
* obj0
= 0 ;
5876 PyObject
* obj1
= 0 ;
5877 char * kwnames
[] = {
5878 (char *) "self",(char *) "on", NULL
5881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5886 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5887 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5888 if (!SWIG_IsOK(ecode2
)) {
5889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5891 arg2
= static_cast< bool >(val2
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= SWIG_Py_Void();
5905 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5906 PyObject
*resultobj
= 0;
5907 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5911 PyObject
*swig_obj
[1] ;
5913 if (!args
) SWIG_fail
;
5915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5916 if (!SWIG_IsOK(res1
)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5919 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5935 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
= 0;
5937 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5938 int arg2
= (int) wxBOTH
;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5945 char * kwnames
[] = {
5946 (char *) "self",(char *) "dir", NULL
5949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5951 if (!SWIG_IsOK(res1
)) {
5952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5954 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5957 if (!SWIG_IsOK(ecode2
)) {
5958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5960 arg2
= static_cast< int >(val2
);
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 (arg1
)->CenterOnScreen(arg2
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= SWIG_Py_Void();
5975 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5978 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5979 return SWIG_Py_Void();
5982 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
= 0;
5984 wxWindow
*arg1
= (wxWindow
*) 0 ;
5985 int arg2
= (int) (int)-1 ;
5986 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5987 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5988 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5989 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5990 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5991 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5992 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
5993 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
5994 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5995 wxFrame
*result
= 0 ;
6000 bool temp3
= false ;
6005 bool temp7
= false ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6008 PyObject
* obj2
= 0 ;
6009 PyObject
* obj3
= 0 ;
6010 PyObject
* obj4
= 0 ;
6011 PyObject
* obj5
= 0 ;
6012 PyObject
* obj6
= 0 ;
6013 char * kwnames
[] = {
6014 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6019 if (!SWIG_IsOK(res1
)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6022 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6025 if (!SWIG_IsOK(ecode2
)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6028 arg2
= static_cast< int >(val2
);
6032 arg3
= wxString_in_helper(obj2
);
6033 if (arg3
== NULL
) SWIG_fail
;
6040 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6046 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6050 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6051 if (!SWIG_IsOK(ecode6
)) {
6052 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6054 arg6
= static_cast< long >(val6
);
6058 arg7
= wxString_in_helper(obj6
);
6059 if (arg7
== NULL
) SWIG_fail
;
6064 if (!wxPyCheckForApp()) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6093 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6094 PyObject
*resultobj
= 0;
6095 wxFrame
*result
= 0 ;
6097 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6099 if (!wxPyCheckForApp()) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (wxFrame
*)new wxFrame();
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6112 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
= 0;
6114 wxFrame
*arg1
= (wxFrame
*) 0 ;
6115 wxWindow
*arg2
= (wxWindow
*) 0 ;
6116 int arg3
= (int) (int)-1 ;
6117 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6118 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6119 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6120 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6121 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6122 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6123 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6124 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6125 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6133 bool temp4
= false ;
6138 bool temp8
= false ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6141 PyObject
* obj2
= 0 ;
6142 PyObject
* obj3
= 0 ;
6143 PyObject
* obj4
= 0 ;
6144 PyObject
* obj5
= 0 ;
6145 PyObject
* obj6
= 0 ;
6146 PyObject
* obj7
= 0 ;
6147 char * kwnames
[] = {
6148 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6153 if (!SWIG_IsOK(res1
)) {
6154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6156 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6158 if (!SWIG_IsOK(res2
)) {
6159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6161 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6164 if (!SWIG_IsOK(ecode3
)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6167 arg3
= static_cast< int >(val3
);
6171 arg4
= wxString_in_helper(obj3
);
6172 if (arg4
== NULL
) SWIG_fail
;
6179 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6185 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6189 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6190 if (!SWIG_IsOK(ecode7
)) {
6191 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6193 arg7
= static_cast< long >(val7
);
6197 arg8
= wxString_in_helper(obj7
);
6198 if (arg8
== NULL
) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6233 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6234 PyObject
*resultobj
= 0;
6235 wxFrame
*arg1
= (wxFrame
*) 0 ;
6238 PyObject
*swig_obj
[1] ;
6240 if (!args
) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6246 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 (arg1
)->SendSizeEvent();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_Py_Void();
6260 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
= 0;
6262 wxFrame
*arg1
= (wxFrame
*) 0 ;
6263 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 char * kwnames
[] = {
6271 (char *) "self",(char *) "menubar", NULL
6274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6276 if (!SWIG_IsOK(res1
)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6279 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6281 if (!SWIG_IsOK(res2
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6284 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 (arg1
)->SetMenuBar(arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= SWIG_Py_Void();
6298 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6299 PyObject
*resultobj
= 0;
6300 wxFrame
*arg1
= (wxFrame
*) 0 ;
6301 wxMenuBar
*result
= 0 ;
6304 PyObject
*swig_obj
[1] ;
6306 if (!args
) SWIG_fail
;
6308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6309 if (!SWIG_IsOK(res1
)) {
6310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6312 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6315 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= wxPyMake_wxObject(result
, 0);
6328 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
= 0;
6330 wxFrame
*arg1
= (wxFrame
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 char * kwnames
[] = {
6340 (char *) "self",(char *) "winid", NULL
6343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6345 if (!SWIG_IsOK(res1
)) {
6346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6348 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6350 if (!SWIG_IsOK(ecode2
)) {
6351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6353 arg2
= static_cast< int >(val2
);
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6369 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
= 0;
6371 wxFrame
*arg1
= (wxFrame
*) 0 ;
6372 int arg2
= (int) 1 ;
6373 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6374 int arg4
= (int) 0 ;
6375 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6376 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6377 wxStatusBar
*result
= 0 ;
6386 bool temp5
= false ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6390 PyObject
* obj3
= 0 ;
6391 PyObject
* obj4
= 0 ;
6392 char * kwnames
[] = {
6393 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6398 if (!SWIG_IsOK(res1
)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6401 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6404 if (!SWIG_IsOK(ecode2
)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6407 arg2
= static_cast< int >(val2
);
6410 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6411 if (!SWIG_IsOK(ecode3
)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6414 arg3
= static_cast< long >(val3
);
6417 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6418 if (!SWIG_IsOK(ecode4
)) {
6419 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6421 arg4
= static_cast< int >(val4
);
6425 arg5
= wxString_in_helper(obj4
);
6426 if (arg5
== NULL
) SWIG_fail
;
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6453 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6454 PyObject
*resultobj
= 0;
6455 wxFrame
*arg1
= (wxFrame
*) 0 ;
6456 wxStatusBar
*result
= 0 ;
6459 PyObject
*swig_obj
[1] ;
6461 if (!args
) SWIG_fail
;
6463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6464 if (!SWIG_IsOK(res1
)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6467 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6483 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
*resultobj
= 0;
6485 wxFrame
*arg1
= (wxFrame
*) 0 ;
6486 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6493 char * kwnames
[] = {
6494 (char *) "self",(char *) "statBar", NULL
6497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6499 if (!SWIG_IsOK(res1
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6502 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6503 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6504 if (!SWIG_IsOK(res2
)) {
6505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6507 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 (arg1
)->SetStatusBar(arg2
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_Py_Void();
6521 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
= 0;
6523 wxFrame
*arg1
= (wxFrame
*) 0 ;
6524 wxString
*arg2
= 0 ;
6525 int arg3
= (int) 0 ;
6528 bool temp2
= false ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6533 PyObject
* obj2
= 0 ;
6534 char * kwnames
[] = {
6535 (char *) "self",(char *) "text",(char *) "number", NULL
6538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6540 if (!SWIG_IsOK(res1
)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6543 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6545 arg2
= wxString_in_helper(obj1
);
6546 if (arg2
== NULL
) SWIG_fail
;
6550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6551 if (!SWIG_IsOK(ecode3
)) {
6552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6554 arg3
= static_cast< int >(val3
);
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_Py_Void();
6577 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
= 0;
6579 wxFrame
*arg1
= (wxFrame
*) 0 ;
6581 int *arg3
= (int *) 0 ;
6584 PyObject
* obj0
= 0 ;
6585 PyObject
* obj1
= 0 ;
6586 char * kwnames
[] = {
6587 (char *) "self",(char *) "widths", NULL
6590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6592 if (!SWIG_IsOK(res1
)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6595 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6597 arg2
= PyList_Size(obj1
);
6598 arg3
= int_LIST_helper(obj1
);
6599 if (arg3
== NULL
) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= SWIG_Py_Void();
6609 if (arg3
) delete [] arg3
;
6614 if (arg3
) delete [] arg3
;
6620 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
= 0;
6622 wxFrame
*arg1
= (wxFrame
*) 0 ;
6623 wxString
*arg2
= 0 ;
6624 int arg3
= (int) 0 ;
6627 bool temp2
= false ;
6630 PyObject
* obj0
= 0 ;
6631 PyObject
* obj1
= 0 ;
6632 PyObject
* obj2
= 0 ;
6633 char * kwnames
[] = {
6634 (char *) "self",(char *) "text",(char *) "number", NULL
6637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6639 if (!SWIG_IsOK(res1
)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6642 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6644 arg2
= wxString_in_helper(obj1
);
6645 if (arg2
== NULL
) SWIG_fail
;
6649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6650 if (!SWIG_IsOK(ecode3
)) {
6651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6653 arg3
= static_cast< int >(val3
);
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_Py_Void();
6676 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= 0;
6678 wxFrame
*arg1
= (wxFrame
*) 0 ;
6679 int arg2
= (int) 0 ;
6684 PyObject
* obj0
= 0 ;
6685 PyObject
* obj1
= 0 ;
6686 char * kwnames
[] = {
6687 (char *) "self",(char *) "number", NULL
6690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",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_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6695 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6698 if (!SWIG_IsOK(ecode2
)) {
6699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6701 arg2
= static_cast< int >(val2
);
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 (arg1
)->PopStatusText(arg2
);
6706 wxPyEndAllowThreads(__tstate
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6709 resultobj
= SWIG_Py_Void();
6716 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
*resultobj
= 0;
6718 wxFrame
*arg1
= (wxFrame
*) 0 ;
6724 PyObject
* obj0
= 0 ;
6725 PyObject
* obj1
= 0 ;
6726 char * kwnames
[] = {
6727 (char *) "self",(char *) "n", NULL
6730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6732 if (!SWIG_IsOK(res1
)) {
6733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6735 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6737 if (!SWIG_IsOK(ecode2
)) {
6738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6740 arg2
= static_cast< int >(val2
);
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 (arg1
)->SetStatusBarPane(arg2
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= SWIG_Py_Void();
6754 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6755 PyObject
*resultobj
= 0;
6756 wxFrame
*arg1
= (wxFrame
*) 0 ;
6760 PyObject
*swig_obj
[1] ;
6762 if (!args
) SWIG_fail
;
6764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6765 if (!SWIG_IsOK(res1
)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6768 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= SWIG_From_int(static_cast< int >(result
));
6782 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
= 0;
6784 wxFrame
*arg1
= (wxFrame
*) 0 ;
6785 long arg2
= (long) -1 ;
6786 int arg3
= (int) -1 ;
6787 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6788 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6789 wxToolBar
*result
= 0 ;
6796 bool temp4
= false ;
6797 PyObject
* obj0
= 0 ;
6798 PyObject
* obj1
= 0 ;
6799 PyObject
* obj2
= 0 ;
6800 PyObject
* obj3
= 0 ;
6801 char * kwnames
[] = {
6802 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6807 if (!SWIG_IsOK(res1
)) {
6808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6810 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6812 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6813 if (!SWIG_IsOK(ecode2
)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6816 arg2
= static_cast< long >(val2
);
6819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6820 if (!SWIG_IsOK(ecode3
)) {
6821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6823 arg3
= static_cast< int >(val3
);
6827 arg4
= wxString_in_helper(obj3
);
6828 if (arg4
== NULL
) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6855 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6856 PyObject
*resultobj
= 0;
6857 wxFrame
*arg1
= (wxFrame
*) 0 ;
6858 wxToolBar
*result
= 0 ;
6861 PyObject
*swig_obj
[1] ;
6863 if (!args
) SWIG_fail
;
6865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6866 if (!SWIG_IsOK(res1
)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6869 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6885 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
= 0;
6887 wxFrame
*arg1
= (wxFrame
*) 0 ;
6888 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 char * kwnames
[] = {
6896 (char *) "self",(char *) "toolbar", NULL
6899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6901 if (!SWIG_IsOK(res1
)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6904 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6906 if (!SWIG_IsOK(res2
)) {
6907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6909 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 (arg1
)->SetToolBar(arg2
);
6913 wxPyEndAllowThreads(__tstate
);
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_Py_Void();
6923 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
= 0;
6925 wxFrame
*arg1
= (wxFrame
*) 0 ;
6926 wxString
*arg2
= 0 ;
6930 bool temp2
= false ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 PyObject
* obj2
= 0 ;
6936 char * kwnames
[] = {
6937 (char *) "self",(char *) "text",(char *) "show", NULL
6940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6945 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6947 arg2
= wxString_in_helper(obj1
);
6948 if (arg2
== NULL
) SWIG_fail
;
6951 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6952 if (!SWIG_IsOK(ecode3
)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6955 arg3
= static_cast< bool >(val3
);
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_Py_Void();
6977 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
= 0;
6979 wxFrame
*arg1
= (wxFrame
*) 0 ;
6980 wxMenu
*arg2
= (wxMenu
*) NULL
;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6987 char * kwnames
[] = {
6988 (char *) "self",(char *) "menu", NULL
6991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6993 if (!SWIG_IsOK(res1
)) {
6994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6996 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
6999 if (!SWIG_IsOK(res2
)) {
7000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7002 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 (arg1
)->DoMenuUpdates(arg2
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_Py_Void();
7017 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
= 0;
7019 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7020 SwigValueWrapper
<wxVisualAttributes
> result
;
7023 PyObject
* obj0
= 0 ;
7024 char * kwnames
[] = {
7025 (char *) "variant", NULL
7028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7031 if (!SWIG_IsOK(ecode1
)) {
7032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7034 arg1
= static_cast< wxWindowVariant
>(val1
);
7037 if (!wxPyCheckForApp()) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7050 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7053 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7054 return SWIG_Py_Void();
7057 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7058 return SWIG_Python_InitShadowInstance(args
);
7061 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
= 0;
7063 wxWindow
*arg1
= (wxWindow
*) 0 ;
7064 int arg2
= (int) (int)-1 ;
7065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7071 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7072 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7074 wxDialog
*result
= 0 ;
7079 bool temp3
= false ;
7084 bool temp7
= false ;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7087 PyObject
* obj2
= 0 ;
7088 PyObject
* obj3
= 0 ;
7089 PyObject
* obj4
= 0 ;
7090 PyObject
* obj5
= 0 ;
7091 PyObject
* obj6
= 0 ;
7092 char * kwnames
[] = {
7093 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7098 if (!SWIG_IsOK(res1
)) {
7099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7104 if (!SWIG_IsOK(ecode2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7107 arg2
= static_cast< int >(val2
);
7111 arg3
= wxString_in_helper(obj2
);
7112 if (arg3
== NULL
) SWIG_fail
;
7119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7129 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7130 if (!SWIG_IsOK(ecode6
)) {
7131 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7133 arg6
= static_cast< long >(val6
);
7137 arg7
= wxString_in_helper(obj6
);
7138 if (arg7
== NULL
) SWIG_fail
;
7143 if (!wxPyCheckForApp()) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7172 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7173 PyObject
*resultobj
= 0;
7174 wxDialog
*result
= 0 ;
7176 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7178 if (!wxPyCheckForApp()) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (wxDialog
*)new wxDialog();
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7191 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
= 0;
7193 wxDialog
*arg1
= (wxDialog
*) 0 ;
7194 wxWindow
*arg2
= (wxWindow
*) 0 ;
7195 int arg3
= (int) (int)-1 ;
7196 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7197 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7198 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7199 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7200 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7201 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7202 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7203 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7204 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7212 bool temp4
= false ;
7217 bool temp8
= false ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7220 PyObject
* obj2
= 0 ;
7221 PyObject
* obj3
= 0 ;
7222 PyObject
* obj4
= 0 ;
7223 PyObject
* obj5
= 0 ;
7224 PyObject
* obj6
= 0 ;
7225 PyObject
* obj7
= 0 ;
7226 char * kwnames
[] = {
7227 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7232 if (!SWIG_IsOK(res1
)) {
7233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7235 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7237 if (!SWIG_IsOK(res2
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7240 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7243 if (!SWIG_IsOK(ecode3
)) {
7244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7246 arg3
= static_cast< int >(val3
);
7250 arg4
= wxString_in_helper(obj3
);
7251 if (arg4
== NULL
) SWIG_fail
;
7258 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7264 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7268 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7269 if (!SWIG_IsOK(ecode7
)) {
7270 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7272 arg7
= static_cast< long >(val7
);
7276 arg8
= wxString_in_helper(obj7
);
7277 if (arg8
== NULL
) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7312 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
= 0;
7314 wxDialog
*arg1
= (wxDialog
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7322 char * kwnames
[] = {
7323 (char *) "self",(char *) "returnCode", NULL
7326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7328 if (!SWIG_IsOK(res1
)) {
7329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7331 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7333 if (!SWIG_IsOK(ecode2
)) {
7334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7336 arg2
= static_cast< int >(val2
);
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 (arg1
)->SetReturnCode(arg2
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= SWIG_Py_Void();
7350 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7351 PyObject
*resultobj
= 0;
7352 wxDialog
*arg1
= (wxDialog
*) 0 ;
7356 PyObject
*swig_obj
[1] ;
7358 if (!args
) SWIG_fail
;
7360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7361 if (!SWIG_IsOK(res1
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7364 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_From_int(static_cast< int >(result
));
7378 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
= 0;
7380 wxDialog
*arg1
= (wxDialog
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7388 char * kwnames
[] = {
7389 (char *) "self",(char *) "affirmativeId", NULL
7392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7394 if (!SWIG_IsOK(res1
)) {
7395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7397 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7399 if (!SWIG_IsOK(ecode2
)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7402 arg2
= static_cast< int >(val2
);
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 (arg1
)->SetAffirmativeId(arg2
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= SWIG_Py_Void();
7416 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7417 PyObject
*resultobj
= 0;
7418 wxDialog
*arg1
= (wxDialog
*) 0 ;
7422 PyObject
*swig_obj
[1] ;
7424 if (!args
) SWIG_fail
;
7426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7427 if (!SWIG_IsOK(res1
)) {
7428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7430 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= SWIG_From_int(static_cast< int >(result
));
7444 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
= 0;
7446 wxDialog
*arg1
= (wxDialog
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7454 char * kwnames
[] = {
7455 (char *) "self",(char *) "escapeId", NULL
7458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7460 if (!SWIG_IsOK(res1
)) {
7461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7463 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7465 if (!SWIG_IsOK(ecode2
)) {
7466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7468 arg2
= static_cast< int >(val2
);
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 (arg1
)->SetEscapeId(arg2
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= SWIG_Py_Void();
7482 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7483 PyObject
*resultobj
= 0;
7484 wxDialog
*arg1
= (wxDialog
*) 0 ;
7488 PyObject
*swig_obj
[1] ;
7490 if (!args
) SWIG_fail
;
7492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7493 if (!SWIG_IsOK(res1
)) {
7494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7496 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_From_int(static_cast< int >(result
));
7510 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
= 0;
7512 wxDialog
*arg1
= (wxDialog
*) 0 ;
7513 wxString
*arg2
= 0 ;
7514 wxSizer
*result
= 0 ;
7517 bool temp2
= false ;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7520 char * kwnames
[] = {
7521 (char *) "self",(char *) "message", NULL
7524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7526 if (!SWIG_IsOK(res1
)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7529 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7531 arg2
= wxString_in_helper(obj1
);
7532 if (arg2
== NULL
) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7558 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
= 0;
7560 wxDialog
*arg1
= (wxDialog
*) 0 ;
7562 bool arg3
= (bool) false ;
7563 int arg4
= (int) 0 ;
7564 wxSizer
*result
= 0 ;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7575 PyObject
* obj2
= 0 ;
7576 PyObject
* obj3
= 0 ;
7577 char * kwnames
[] = {
7578 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7583 if (!SWIG_IsOK(res1
)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7586 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7587 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7588 if (!SWIG_IsOK(ecode2
)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7591 arg2
= static_cast< long >(val2
);
7593 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7594 if (!SWIG_IsOK(ecode3
)) {
7595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7597 arg3
= static_cast< bool >(val3
);
7600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7601 if (!SWIG_IsOK(ecode4
)) {
7602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7604 arg4
= static_cast< int >(val4
);
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7621 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
= 0;
7623 wxDialog
*arg1
= (wxDialog
*) 0 ;
7625 wxStdDialogButtonSizer
*result
= 0 ;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7632 char * kwnames
[] = {
7633 (char *) "self",(char *) "flags", NULL
7636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7638 if (!SWIG_IsOK(res1
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7641 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7642 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7643 if (!SWIG_IsOK(ecode2
)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7646 arg2
= static_cast< long >(val2
);
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7660 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7661 PyObject
*resultobj
= 0;
7662 wxDialog
*arg1
= (wxDialog
*) 0 ;
7666 PyObject
*swig_obj
[1] ;
7668 if (!args
) SWIG_fail
;
7670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7671 if (!SWIG_IsOK(res1
)) {
7672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7674 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7690 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7691 PyObject
*resultobj
= 0;
7692 wxDialog
*arg1
= (wxDialog
*) 0 ;
7696 PyObject
*swig_obj
[1] ;
7698 if (!args
) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7704 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= (int)(arg1
)->ShowModal();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_From_int(static_cast< int >(result
));
7718 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
= 0;
7720 wxDialog
*arg1
= (wxDialog
*) 0 ;
7726 PyObject
* obj0
= 0 ;
7727 PyObject
* obj1
= 0 ;
7728 char * kwnames
[] = {
7729 (char *) "self",(char *) "retCode", NULL
7732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7734 if (!SWIG_IsOK(res1
)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7737 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7739 if (!SWIG_IsOK(ecode2
)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7742 arg2
= static_cast< int >(val2
);
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 (arg1
)->EndModal(arg2
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_Py_Void();
7756 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= 0;
7758 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7759 SwigValueWrapper
<wxVisualAttributes
> result
;
7762 PyObject
* obj0
= 0 ;
7763 char * kwnames
[] = {
7764 (char *) "variant", NULL
7767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7769 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7770 if (!SWIG_IsOK(ecode1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7773 arg1
= static_cast< wxWindowVariant
>(val1
);
7776 if (!wxPyCheckForApp()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7789 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7792 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7793 return SWIG_Py_Void();
7796 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7797 return SWIG_Python_InitShadowInstance(args
);
7800 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
= 0;
7802 wxWindow
*arg1
= (wxWindow
*) 0 ;
7803 int arg2
= (int) (int)-1 ;
7804 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7805 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7806 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7807 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7808 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7809 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7810 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7811 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7812 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7813 wxMiniFrame
*result
= 0 ;
7818 bool temp3
= false ;
7823 bool temp7
= false ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7826 PyObject
* obj2
= 0 ;
7827 PyObject
* obj3
= 0 ;
7828 PyObject
* obj4
= 0 ;
7829 PyObject
* obj5
= 0 ;
7830 PyObject
* obj6
= 0 ;
7831 char * kwnames
[] = {
7832 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7837 if (!SWIG_IsOK(res1
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7843 if (!SWIG_IsOK(ecode2
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7846 arg2
= static_cast< int >(val2
);
7850 arg3
= wxString_in_helper(obj2
);
7851 if (arg3
== NULL
) SWIG_fail
;
7858 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7864 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7868 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7869 if (!SWIG_IsOK(ecode6
)) {
7870 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7872 arg6
= static_cast< long >(val6
);
7876 arg7
= wxString_in_helper(obj6
);
7877 if (arg7
== NULL
) SWIG_fail
;
7882 if (!wxPyCheckForApp()) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7911 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7912 PyObject
*resultobj
= 0;
7913 wxMiniFrame
*result
= 0 ;
7915 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7917 if (!wxPyCheckForApp()) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (wxMiniFrame
*)new wxMiniFrame();
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7930 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
= 0;
7932 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7933 wxWindow
*arg2
= (wxWindow
*) 0 ;
7934 int arg3
= (int) (int)-1 ;
7935 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7936 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7937 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7938 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7939 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7940 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7941 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7942 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7943 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7951 bool temp4
= false ;
7956 bool temp8
= false ;
7957 PyObject
* obj0
= 0 ;
7958 PyObject
* obj1
= 0 ;
7959 PyObject
* obj2
= 0 ;
7960 PyObject
* obj3
= 0 ;
7961 PyObject
* obj4
= 0 ;
7962 PyObject
* obj5
= 0 ;
7963 PyObject
* obj6
= 0 ;
7964 PyObject
* obj7
= 0 ;
7965 char * kwnames
[] = {
7966 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7971 if (!SWIG_IsOK(res1
)) {
7972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7974 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7976 if (!SWIG_IsOK(res2
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7979 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7982 if (!SWIG_IsOK(ecode3
)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7985 arg3
= static_cast< int >(val3
);
7989 arg4
= wxString_in_helper(obj3
);
7990 if (arg4
== NULL
) SWIG_fail
;
7997 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8003 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8007 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8008 if (!SWIG_IsOK(ecode7
)) {
8009 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8011 arg7
= static_cast< long >(val7
);
8015 arg8
= wxString_in_helper(obj7
);
8016 if (arg8
== NULL
) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8051 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8054 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8055 return SWIG_Py_Void();
8058 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8059 return SWIG_Python_InitShadowInstance(args
);
8062 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
= 0;
8064 wxBitmap
*arg1
= 0 ;
8065 wxWindow
*arg2
= (wxWindow
*) 0 ;
8067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8071 long arg6
= (long) wxNO_BORDER
;
8072 wxSplashScreenWindow
*result
= 0 ;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8086 PyObject
* obj3
= 0 ;
8087 PyObject
* obj4
= 0 ;
8088 PyObject
* obj5
= 0 ;
8089 char * kwnames
[] = {
8090 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8101 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8102 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8103 if (!SWIG_IsOK(res2
)) {
8104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8106 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8108 if (!SWIG_IsOK(ecode3
)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8111 arg3
= static_cast< int >(val3
);
8115 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8121 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8125 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8126 if (!SWIG_IsOK(ecode6
)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8129 arg6
= static_cast< long >(val6
);
8132 if (!wxPyCheckForApp()) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8145 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
= 0;
8147 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8148 wxBitmap
*arg2
= 0 ;
8153 PyObject
* obj0
= 0 ;
8154 PyObject
* obj1
= 0 ;
8155 char * kwnames
[] = {
8156 (char *) "self",(char *) "bitmap", NULL
8159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8161 if (!SWIG_IsOK(res1
)) {
8162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8164 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8166 if (!SWIG_IsOK(res2
)) {
8167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8172 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8179 resultobj
= SWIG_Py_Void();
8186 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8187 PyObject
*resultobj
= 0;
8188 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8189 wxBitmap
*result
= 0 ;
8192 PyObject
*swig_obj
[1] ;
8194 if (!args
) SWIG_fail
;
8196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8197 if (!SWIG_IsOK(res1
)) {
8198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8200 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8205 result
= (wxBitmap
*) &_result_ref
;
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8211 wxBitmap
* resultptr
= new wxBitmap(*result
);
8212 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8220 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8223 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8224 return SWIG_Py_Void();
8227 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8228 return SWIG_Python_InitShadowInstance(args
);
8231 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
= 0;
8233 wxBitmap
*arg1
= 0 ;
8236 wxWindow
*arg4
= (wxWindow
*) 0 ;
8237 int arg5
= (int) -1 ;
8238 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8239 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8240 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8241 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8242 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8243 wxSplashScreen
*result
= 0 ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8260 PyObject
* obj2
= 0 ;
8261 PyObject
* obj3
= 0 ;
8262 PyObject
* obj4
= 0 ;
8263 PyObject
* obj5
= 0 ;
8264 PyObject
* obj6
= 0 ;
8265 PyObject
* obj7
= 0 ;
8266 char * kwnames
[] = {
8267 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8271 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8272 if (!SWIG_IsOK(res1
)) {
8273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8278 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8279 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8280 if (!SWIG_IsOK(ecode2
)) {
8281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8283 arg2
= static_cast< long >(val2
);
8284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8285 if (!SWIG_IsOK(ecode3
)) {
8286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8288 arg3
= static_cast< int >(val3
);
8289 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8290 if (!SWIG_IsOK(res4
)) {
8291 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8293 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8295 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8296 if (!SWIG_IsOK(ecode5
)) {
8297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8299 arg5
= static_cast< int >(val5
);
8304 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8310 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8314 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8315 if (!SWIG_IsOK(ecode8
)) {
8316 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8318 arg8
= static_cast< long >(val8
);
8321 if (!wxPyCheckForApp()) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8334 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8335 PyObject
*resultobj
= 0;
8336 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8340 PyObject
*swig_obj
[1] ;
8342 if (!args
) SWIG_fail
;
8344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8345 if (!SWIG_IsOK(res1
)) {
8346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8348 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_From_long(static_cast< long >(result
));
8362 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8363 PyObject
*resultobj
= 0;
8364 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8365 wxSplashScreenWindow
*result
= 0 ;
8368 PyObject
*swig_obj
[1] ;
8370 if (!args
) SWIG_fail
;
8372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8373 if (!SWIG_IsOK(res1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8376 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8390 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8391 PyObject
*resultobj
= 0;
8392 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8396 PyObject
*swig_obj
[1] ;
8398 if (!args
) SWIG_fail
;
8400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8401 if (!SWIG_IsOK(res1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8404 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_From_int(static_cast< int >(result
));
8418 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8421 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8422 return SWIG_Py_Void();
8425 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8426 return SWIG_Python_InitShadowInstance(args
);
8429 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
= 0;
8431 wxWindow
*arg1
= (wxWindow
*) 0 ;
8432 int arg2
= (int) -1 ;
8433 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8434 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8435 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8436 wxStatusBar
*result
= 0 ;
8443 bool temp4
= false ;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8446 PyObject
* obj2
= 0 ;
8447 PyObject
* obj3
= 0 ;
8448 char * kwnames
[] = {
8449 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8454 if (!SWIG_IsOK(res1
)) {
8455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8457 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8460 if (!SWIG_IsOK(ecode2
)) {
8461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8463 arg2
= static_cast< int >(val2
);
8466 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8467 if (!SWIG_IsOK(ecode3
)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8470 arg3
= static_cast< long >(val3
);
8474 arg4
= wxString_in_helper(obj3
);
8475 if (arg4
== NULL
) SWIG_fail
;
8480 if (!wxPyCheckForApp()) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8501 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8502 PyObject
*resultobj
= 0;
8503 wxStatusBar
*result
= 0 ;
8505 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8507 if (!wxPyCheckForApp()) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (wxStatusBar
*)new wxStatusBar();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8520 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
= 0;
8522 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8523 wxWindow
*arg2
= (wxWindow
*) 0 ;
8524 int arg3
= (int) -1 ;
8525 long arg4
= (long) wxST_SIZEGRIP
;
8526 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8527 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8537 bool temp5
= false ;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8540 PyObject
* obj2
= 0 ;
8541 PyObject
* obj3
= 0 ;
8542 PyObject
* obj4
= 0 ;
8543 char * kwnames
[] = {
8544 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8549 if (!SWIG_IsOK(res1
)) {
8550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8552 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8553 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8554 if (!SWIG_IsOK(res2
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8557 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8560 if (!SWIG_IsOK(ecode3
)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8563 arg3
= static_cast< int >(val3
);
8566 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8567 if (!SWIG_IsOK(ecode4
)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8570 arg4
= static_cast< long >(val4
);
8574 arg5
= wxString_in_helper(obj4
);
8575 if (arg5
== NULL
) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8602 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
= 0;
8604 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8605 int arg2
= (int) 1 ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 char * kwnames
[] = {
8613 (char *) "self",(char *) "number", NULL
8616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8621 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8624 if (!SWIG_IsOK(ecode2
)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8627 arg2
= static_cast< int >(val2
);
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 (arg1
)->SetFieldsCount(arg2
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_Py_Void();
8642 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8643 PyObject
*resultobj
= 0;
8644 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8648 PyObject
*swig_obj
[1] ;
8650 if (!args
) SWIG_fail
;
8652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8653 if (!SWIG_IsOK(res1
)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8656 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_From_int(static_cast< int >(result
));
8670 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
= 0;
8672 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8673 wxString
*arg2
= 0 ;
8674 int arg3
= (int) 0 ;
8677 bool temp2
= false ;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8682 PyObject
* obj2
= 0 ;
8683 char * kwnames
[] = {
8684 (char *) "self",(char *) "text",(char *) "number", NULL
8687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8689 if (!SWIG_IsOK(res1
)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8692 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8694 arg2
= wxString_in_helper(obj1
);
8695 if (arg2
== NULL
) SWIG_fail
;
8699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8700 if (!SWIG_IsOK(ecode3
)) {
8701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8703 arg3
= static_cast< int >(val3
);
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_Py_Void();
8726 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
= 0;
8728 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8729 int arg2
= (int) 0 ;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8737 char * kwnames
[] = {
8738 (char *) "self",(char *) "number", NULL
8741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8743 if (!SWIG_IsOK(res1
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8746 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8749 if (!SWIG_IsOK(ecode2
)) {
8750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8752 arg2
= static_cast< int >(val2
);
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8773 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
= 0;
8775 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8776 wxString
*arg2
= 0 ;
8777 int arg3
= (int) 0 ;
8780 bool temp2
= false ;
8783 PyObject
* obj0
= 0 ;
8784 PyObject
* obj1
= 0 ;
8785 PyObject
* obj2
= 0 ;
8786 char * kwnames
[] = {
8787 (char *) "self",(char *) "text",(char *) "number", NULL
8790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8792 if (!SWIG_IsOK(res1
)) {
8793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8795 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8797 arg2
= wxString_in_helper(obj1
);
8798 if (arg2
== NULL
) SWIG_fail
;
8802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8803 if (!SWIG_IsOK(ecode3
)) {
8804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8806 arg3
= static_cast< int >(val3
);
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= SWIG_Py_Void();
8829 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
= 0;
8831 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8832 int arg2
= (int) 0 ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 char * kwnames
[] = {
8840 (char *) "self",(char *) "number", NULL
8843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8845 if (!SWIG_IsOK(res1
)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8848 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8851 if (!SWIG_IsOK(ecode2
)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8854 arg2
= static_cast< int >(val2
);
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 (arg1
)->PopStatusText(arg2
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_Py_Void();
8869 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
= 0;
8871 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8873 int *arg3
= (int *) 0 ;
8876 PyObject
* obj0
= 0 ;
8877 PyObject
* obj1
= 0 ;
8878 char * kwnames
[] = {
8879 (char *) "self",(char *) "widths", NULL
8882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8884 if (!SWIG_IsOK(res1
)) {
8885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8887 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8889 arg2
= PyList_Size(obj1
);
8890 arg3
= int_LIST_helper(obj1
);
8891 if (arg3
== NULL
) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_Py_Void();
8901 if (arg3
) delete [] arg3
;
8906 if (arg3
) delete [] arg3
;
8912 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
= 0;
8914 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8916 int *arg3
= (int *) 0 ;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8921 char * kwnames
[] = {
8922 (char *) "self",(char *) "styles", NULL
8925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8927 if (!SWIG_IsOK(res1
)) {
8928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8930 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8932 arg2
= PyList_Size(obj1
);
8933 arg3
= int_LIST_helper(obj1
);
8934 if (arg3
== NULL
) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= SWIG_Py_Void();
8944 if (arg3
) delete [] arg3
;
8949 if (arg3
) delete [] arg3
;
8955 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
= 0;
8957 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8964 PyObject
* obj0
= 0 ;
8965 PyObject
* obj1
= 0 ;
8966 char * kwnames
[] = {
8967 (char *) "self",(char *) "i", NULL
8970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8972 if (!SWIG_IsOK(res1
)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8975 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8977 if (!SWIG_IsOK(ecode2
)) {
8978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8980 arg2
= static_cast< int >(val2
);
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8994 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
= 0;
8996 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9003 PyObject
* obj1
= 0 ;
9004 char * kwnames
[] = {
9005 (char *) "self",(char *) "height", NULL
9008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9010 if (!SWIG_IsOK(res1
)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9013 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9015 if (!SWIG_IsOK(ecode2
)) {
9016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9018 arg2
= static_cast< int >(val2
);
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 (arg1
)->SetMinHeight(arg2
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= SWIG_Py_Void();
9032 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9033 PyObject
*resultobj
= 0;
9034 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9038 PyObject
*swig_obj
[1] ;
9040 if (!args
) SWIG_fail
;
9042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9043 if (!SWIG_IsOK(res1
)) {
9044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9046 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= SWIG_From_int(static_cast< int >(result
));
9060 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9061 PyObject
*resultobj
= 0;
9062 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9066 PyObject
*swig_obj
[1] ;
9068 if (!args
) SWIG_fail
;
9070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9071 if (!SWIG_IsOK(res1
)) {
9072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9074 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= SWIG_From_int(static_cast< int >(result
));
9088 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
= 0;
9090 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9091 SwigValueWrapper
<wxVisualAttributes
> result
;
9094 PyObject
* obj0
= 0 ;
9095 char * kwnames
[] = {
9096 (char *) "variant", NULL
9099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9101 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9102 if (!SWIG_IsOK(ecode1
)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9105 arg1
= static_cast< wxWindowVariant
>(val1
);
9108 if (!wxPyCheckForApp()) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9121 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9124 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9125 return SWIG_Py_Void();
9128 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9129 return SWIG_Python_InitShadowInstance(args
);
9132 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9133 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9138 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9139 PyObject
*pyobj
= 0;
9143 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9145 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9152 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxWindow
*arg1
= (wxWindow
*) 0 ;
9155 int arg2
= (int) -1 ;
9156 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9157 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9158 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9159 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9160 long arg5
= (long) wxSP_3D
;
9161 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9162 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9163 wxSplitterWindow
*result
= 0 ;
9172 bool temp6
= false ;
9173 PyObject
* obj0
= 0 ;
9174 PyObject
* obj1
= 0 ;
9175 PyObject
* obj2
= 0 ;
9176 PyObject
* obj3
= 0 ;
9177 PyObject
* obj4
= 0 ;
9178 PyObject
* obj5
= 0 ;
9179 char * kwnames
[] = {
9180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9185 if (!SWIG_IsOK(res1
)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9191 if (!SWIG_IsOK(ecode2
)) {
9192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9194 arg2
= static_cast< int >(val2
);
9199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9209 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9210 if (!SWIG_IsOK(ecode5
)) {
9211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9213 arg5
= static_cast< long >(val5
);
9217 arg6
= wxString_in_helper(obj5
);
9218 if (arg6
== NULL
) SWIG_fail
;
9223 if (!wxPyCheckForApp()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9244 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9245 PyObject
*resultobj
= 0;
9246 wxSplitterWindow
*result
= 0 ;
9248 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9250 if (!wxPyCheckForApp()) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9263 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
= 0;
9265 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9266 wxWindow
*arg2
= (wxWindow
*) 0 ;
9267 int arg3
= (int) -1 ;
9268 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9269 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9270 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9271 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9272 long arg6
= (long) wxSP_3D
;
9273 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9274 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9286 bool temp7
= false ;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9289 PyObject
* obj2
= 0 ;
9290 PyObject
* obj3
= 0 ;
9291 PyObject
* obj4
= 0 ;
9292 PyObject
* obj5
= 0 ;
9293 PyObject
* obj6
= 0 ;
9294 char * kwnames
[] = {
9295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9300 if (!SWIG_IsOK(res1
)) {
9301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9303 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9305 if (!SWIG_IsOK(res2
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9311 if (!SWIG_IsOK(ecode3
)) {
9312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9314 arg3
= static_cast< int >(val3
);
9319 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9325 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9329 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9330 if (!SWIG_IsOK(ecode6
)) {
9331 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9333 arg6
= static_cast< long >(val6
);
9337 arg7
= wxString_in_helper(obj6
);
9338 if (arg7
== NULL
) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9365 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9366 PyObject
*resultobj
= 0;
9367 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9368 wxWindow
*result
= 0 ;
9371 PyObject
*swig_obj
[1] ;
9373 if (!args
) SWIG_fail
;
9375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9376 if (!SWIG_IsOK(res1
)) {
9377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9379 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= wxPyMake_wxObject(result
, 0);
9395 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9396 PyObject
*resultobj
= 0;
9397 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9398 wxWindow
*result
= 0 ;
9401 PyObject
*swig_obj
[1] ;
9403 if (!args
) SWIG_fail
;
9405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9406 if (!SWIG_IsOK(res1
)) {
9407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9409 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= wxPyMake_wxObject(result
, 0);
9425 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
= 0;
9427 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 char * kwnames
[] = {
9436 (char *) "self",(char *) "mode", NULL
9439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9441 if (!SWIG_IsOK(res1
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9444 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9446 if (!SWIG_IsOK(ecode2
)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9449 arg2
= static_cast< int >(val2
);
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 (arg1
)->SetSplitMode(arg2
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_Py_Void();
9463 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9464 PyObject
*resultobj
= 0;
9465 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9469 PyObject
*swig_obj
[1] ;
9471 if (!args
) SWIG_fail
;
9473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9474 if (!SWIG_IsOK(res1
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9477 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= SWIG_From_int(static_cast< int >(result
));
9491 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
= 0;
9493 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9494 wxWindow
*arg2
= (wxWindow
*) 0 ;
9499 PyObject
* obj0
= 0 ;
9500 PyObject
* obj1
= 0 ;
9501 char * kwnames
[] = {
9502 (char *) "self",(char *) "window", NULL
9505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9507 if (!SWIG_IsOK(res1
)) {
9508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9510 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9512 if (!SWIG_IsOK(res2
)) {
9513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9515 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 (arg1
)->Initialize(arg2
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 resultobj
= SWIG_Py_Void();
9529 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
= 0;
9531 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9532 wxWindow
*arg2
= (wxWindow
*) 0 ;
9533 wxWindow
*arg3
= (wxWindow
*) 0 ;
9534 int arg4
= (int) 0 ;
9544 PyObject
* obj0
= 0 ;
9545 PyObject
* obj1
= 0 ;
9546 PyObject
* obj2
= 0 ;
9547 PyObject
* obj3
= 0 ;
9548 char * kwnames
[] = {
9549 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9554 if (!SWIG_IsOK(res1
)) {
9555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9557 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9559 if (!SWIG_IsOK(res2
)) {
9560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9562 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9563 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9564 if (!SWIG_IsOK(res3
)) {
9565 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9567 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9570 if (!SWIG_IsOK(ecode4
)) {
9571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9573 arg4
= static_cast< int >(val4
);
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9590 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
= 0;
9592 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9593 wxWindow
*arg2
= (wxWindow
*) 0 ;
9594 wxWindow
*arg3
= (wxWindow
*) 0 ;
9595 int arg4
= (int) 0 ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9607 PyObject
* obj2
= 0 ;
9608 PyObject
* obj3
= 0 ;
9609 char * kwnames
[] = {
9610 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9615 if (!SWIG_IsOK(res1
)) {
9616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9618 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9620 if (!SWIG_IsOK(res2
)) {
9621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9623 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9624 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9625 if (!SWIG_IsOK(res3
)) {
9626 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9628 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9630 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9631 if (!SWIG_IsOK(ecode4
)) {
9632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9634 arg4
= static_cast< int >(val4
);
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9651 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
= 0;
9653 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9654 wxWindow
*arg2
= (wxWindow
*) NULL
;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9662 char * kwnames
[] = {
9663 (char *) "self",(char *) "toRemove", NULL
9666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9668 if (!SWIG_IsOK(res1
)) {
9669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9671 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9674 if (!SWIG_IsOK(res2
)) {
9675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9677 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 result
= (bool)(arg1
)->Unsplit(arg2
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9694 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
= 0;
9696 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9697 wxWindow
*arg2
= (wxWindow
*) 0 ;
9698 wxWindow
*arg3
= (wxWindow
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 PyObject
* obj2
= 0 ;
9709 char * kwnames
[] = {
9710 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9715 if (!SWIG_IsOK(res1
)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9718 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9720 if (!SWIG_IsOK(res2
)) {
9721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9723 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9724 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9725 if (!SWIG_IsOK(res3
)) {
9726 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9728 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9744 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 PyObject
*resultobj
= 0;
9746 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9749 PyObject
*swig_obj
[1] ;
9751 if (!args
) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9757 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 (arg1
)->UpdateSize();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= SWIG_Py_Void();
9771 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9772 PyObject
*resultobj
= 0;
9773 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9777 PyObject
*swig_obj
[1] ;
9779 if (!args
) SWIG_fail
;
9781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9782 if (!SWIG_IsOK(res1
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9785 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9801 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
= 0;
9803 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9811 char * kwnames
[] = {
9812 (char *) "self",(char *) "width", NULL
9815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9817 if (!SWIG_IsOK(res1
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9820 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9822 if (!SWIG_IsOK(ecode2
)) {
9823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9825 arg2
= static_cast< int >(val2
);
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 (arg1
)->SetSashSize(arg2
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_Py_Void();
9839 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
= 0;
9841 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9849 char * kwnames
[] = {
9850 (char *) "self",(char *) "width", NULL
9853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9855 if (!SWIG_IsOK(res1
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9858 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9860 if (!SWIG_IsOK(ecode2
)) {
9861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9863 arg2
= static_cast< int >(val2
);
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 (arg1
)->SetBorderSize(arg2
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= SWIG_Py_Void();
9877 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9878 PyObject
*resultobj
= 0;
9879 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9883 PyObject
*swig_obj
[1] ;
9885 if (!args
) SWIG_fail
;
9887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9888 if (!SWIG_IsOK(res1
)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9891 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= SWIG_From_int(static_cast< int >(result
));
9905 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9906 PyObject
*resultobj
= 0;
9907 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9911 PyObject
*swig_obj
[1] ;
9913 if (!args
) SWIG_fail
;
9915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9916 if (!SWIG_IsOK(res1
)) {
9917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9919 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_From_int(static_cast< int >(result
));
9933 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
= 0;
9935 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9937 bool arg3
= (bool) true ;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9946 PyObject
* obj2
= 0 ;
9947 char * kwnames
[] = {
9948 (char *) "self",(char *) "position",(char *) "redraw", NULL
9951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9953 if (!SWIG_IsOK(res1
)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9956 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9958 if (!SWIG_IsOK(ecode2
)) {
9959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9961 arg2
= static_cast< int >(val2
);
9963 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9964 if (!SWIG_IsOK(ecode3
)) {
9965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9967 arg3
= static_cast< bool >(val3
);
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 (arg1
)->SetSashPosition(arg2
,arg3
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_Py_Void();
9982 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9983 PyObject
*resultobj
= 0;
9984 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9988 PyObject
*swig_obj
[1] ;
9990 if (!args
) SWIG_fail
;
9992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9993 if (!SWIG_IsOK(res1
)) {
9994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9996 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= SWIG_From_int(static_cast< int >(result
));
10010 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
= 0;
10012 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 char * kwnames
[] = {
10021 (char *) "self",(char *) "gravity", NULL
10024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10026 if (!SWIG_IsOK(res1
)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10030 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10031 if (!SWIG_IsOK(ecode2
)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10034 arg2
= static_cast< double >(val2
);
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 (arg1
)->SetSashGravity(arg2
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_Py_Void();
10048 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10049 PyObject
*resultobj
= 0;
10050 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10054 PyObject
*swig_obj
[1] ;
10056 if (!args
) SWIG_fail
;
10057 swig_obj
[0] = args
;
10058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10059 if (!SWIG_IsOK(res1
)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10062 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 resultobj
= SWIG_From_double(static_cast< double >(result
));
10076 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= 0;
10078 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char * kwnames
[] = {
10087 (char *) "self",(char *) "min", NULL
10090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10092 if (!SWIG_IsOK(res1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10095 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10097 if (!SWIG_IsOK(ecode2
)) {
10098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10100 arg2
= static_cast< int >(val2
);
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 (arg1
)->SetMinimumPaneSize(arg2
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_Py_Void();
10114 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10120 PyObject
*swig_obj
[1] ;
10122 if (!args
) SWIG_fail
;
10123 swig_obj
[0] = args
;
10124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10128 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_From_int(static_cast< int >(result
));
10142 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
= 0;
10144 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10147 int arg4
= (int) 5 ;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 PyObject
* obj2
= 0 ;
10160 PyObject
* obj3
= 0 ;
10161 char * kwnames
[] = {
10162 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10167 if (!SWIG_IsOK(res1
)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10170 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10172 if (!SWIG_IsOK(ecode2
)) {
10173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10175 arg2
= static_cast< int >(val2
);
10176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10177 if (!SWIG_IsOK(ecode3
)) {
10178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10180 arg3
= static_cast< int >(val3
);
10182 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10183 if (!SWIG_IsOK(ecode4
)) {
10184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10186 arg4
= static_cast< int >(val4
);
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10203 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10204 PyObject
*resultobj
= 0;
10205 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10208 PyObject
*swig_obj
[1] ;
10210 if (!args
) SWIG_fail
;
10211 swig_obj
[0] = args
;
10212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10213 if (!SWIG_IsOK(res1
)) {
10214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10216 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 (arg1
)->SizeWindows();
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_Py_Void();
10230 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
= 0;
10232 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10240 char * kwnames
[] = {
10241 (char *) "self",(char *) "needUpdating", NULL
10244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10246 if (!SWIG_IsOK(res1
)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10249 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10250 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10251 if (!SWIG_IsOK(ecode2
)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10254 arg2
= static_cast< bool >(val2
);
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 (arg1
)->SetNeedUpdating(arg2
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= SWIG_Py_Void();
10268 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10269 PyObject
*resultobj
= 0;
10270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10274 PyObject
*swig_obj
[1] ;
10276 if (!args
) SWIG_fail
;
10277 swig_obj
[0] = args
;
10278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10279 if (!SWIG_IsOK(res1
)) {
10280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10282 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10298 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
= 0;
10300 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10301 SwigValueWrapper
<wxVisualAttributes
> result
;
10304 PyObject
* obj0
= 0 ;
10305 char * kwnames
[] = {
10306 (char *) "variant", NULL
10309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10311 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10312 if (!SWIG_IsOK(ecode1
)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10315 arg1
= static_cast< wxWindowVariant
>(val1
);
10318 if (!wxPyCheckForApp()) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10331 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10334 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10335 return SWIG_Py_Void();
10338 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10339 return SWIG_Python_InitShadowInstance(args
);
10342 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
= 0;
10344 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10345 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10346 wxSplitterEvent
*result
= 0 ;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10353 char * kwnames
[] = {
10354 (char *) "type",(char *) "splitter", NULL
10357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10360 if (!SWIG_IsOK(ecode1
)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10363 arg1
= static_cast< wxEventType
>(val1
);
10366 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10367 if (!SWIG_IsOK(res2
)) {
10368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10370 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10385 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
= 0;
10387 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10393 PyObject
* obj0
= 0 ;
10394 PyObject
* obj1
= 0 ;
10395 char * kwnames
[] = {
10396 (char *) "self",(char *) "pos", NULL
10399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10401 if (!SWIG_IsOK(res1
)) {
10402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10404 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10406 if (!SWIG_IsOK(ecode2
)) {
10407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10409 arg2
= static_cast< int >(val2
);
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 (arg1
)->SetSashPosition(arg2
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_Py_Void();
10423 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10424 PyObject
*resultobj
= 0;
10425 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10429 PyObject
*swig_obj
[1] ;
10431 if (!args
) SWIG_fail
;
10432 swig_obj
[0] = args
;
10433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10434 if (!SWIG_IsOK(res1
)) {
10435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10437 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_From_int(static_cast< int >(result
));
10451 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10452 PyObject
*resultobj
= 0;
10453 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10454 wxWindow
*result
= 0 ;
10457 PyObject
*swig_obj
[1] ;
10459 if (!args
) SWIG_fail
;
10460 swig_obj
[0] = args
;
10461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10465 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= wxPyMake_wxObject(result
, 0);
10481 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10482 PyObject
*resultobj
= 0;
10483 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10487 PyObject
*swig_obj
[1] ;
10489 if (!args
) SWIG_fail
;
10490 swig_obj
[0] = args
;
10491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10492 if (!SWIG_IsOK(res1
)) {
10493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10495 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_From_int(static_cast< int >(result
));
10509 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10510 PyObject
*resultobj
= 0;
10511 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10515 PyObject
*swig_obj
[1] ;
10517 if (!args
) SWIG_fail
;
10518 swig_obj
[0] = args
;
10519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10520 if (!SWIG_IsOK(res1
)) {
10521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10523 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 resultobj
= SWIG_From_int(static_cast< int >(result
));
10537 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10540 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10541 return SWIG_Py_Void();
10544 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10545 return SWIG_Python_InitShadowInstance(args
);
10548 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10549 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10554 SWIGINTERN PyObject
*SashNameStr_get(void) {
10555 PyObject
*pyobj
= 0;
10559 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10561 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10568 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10569 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10574 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10575 PyObject
*pyobj
= 0;
10579 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10581 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10588 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxWindow
*arg1
= (wxWindow
*) 0 ;
10591 int arg2
= (int) -1 ;
10592 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10593 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10594 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10595 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10596 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10597 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10598 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10599 wxSashWindow
*result
= 0 ;
10608 bool temp6
= false ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 PyObject
* obj2
= 0 ;
10612 PyObject
* obj3
= 0 ;
10613 PyObject
* obj4
= 0 ;
10614 PyObject
* obj5
= 0 ;
10615 char * kwnames
[] = {
10616 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10621 if (!SWIG_IsOK(res1
)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10627 if (!SWIG_IsOK(ecode2
)) {
10628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10630 arg2
= static_cast< int >(val2
);
10635 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10641 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10645 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10646 if (!SWIG_IsOK(ecode5
)) {
10647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10649 arg5
= static_cast< long >(val5
);
10653 arg6
= wxString_in_helper(obj5
);
10654 if (arg6
== NULL
) SWIG_fail
;
10659 if (!wxPyCheckForApp()) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10680 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10681 PyObject
*resultobj
= 0;
10682 wxSashWindow
*result
= 0 ;
10684 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10686 if (!wxPyCheckForApp()) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (wxSashWindow
*)new wxSashWindow();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10699 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
= 0;
10701 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10702 wxWindow
*arg2
= (wxWindow
*) 0 ;
10703 int arg3
= (int) -1 ;
10704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10708 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10709 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10722 bool temp7
= false ;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 PyObject
* obj2
= 0 ;
10726 PyObject
* obj3
= 0 ;
10727 PyObject
* obj4
= 0 ;
10728 PyObject
* obj5
= 0 ;
10729 PyObject
* obj6
= 0 ;
10730 char * kwnames
[] = {
10731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10736 if (!SWIG_IsOK(res1
)) {
10737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10739 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10741 if (!SWIG_IsOK(res2
)) {
10742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10744 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10747 if (!SWIG_IsOK(ecode3
)) {
10748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10750 arg3
= static_cast< int >(val3
);
10755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10765 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10766 if (!SWIG_IsOK(ecode6
)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10769 arg6
= static_cast< long >(val6
);
10773 arg7
= wxString_in_helper(obj6
);
10774 if (arg7
== NULL
) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10801 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
= 0;
10803 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10804 wxSashEdgePosition arg2
;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 PyObject
* obj2
= 0 ;
10815 char * kwnames
[] = {
10816 (char *) "self",(char *) "edge",(char *) "sash", NULL
10819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10824 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10826 if (!SWIG_IsOK(ecode2
)) {
10827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10829 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10830 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10831 if (!SWIG_IsOK(ecode3
)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10834 arg3
= static_cast< bool >(val3
);
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->SetSashVisible(arg2
,arg3
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= SWIG_Py_Void();
10848 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
= 0;
10850 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10851 wxSashEdgePosition arg2
;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 char * kwnames
[] = {
10860 (char *) "self",(char *) "edge", NULL
10863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10865 if (!SWIG_IsOK(res1
)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10868 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10870 if (!SWIG_IsOK(ecode2
)) {
10871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10873 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10889 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
= 0;
10891 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10892 wxSashEdgePosition arg2
;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 PyObject
* obj2
= 0 ;
10903 char * kwnames
[] = {
10904 (char *) "self",(char *) "edge",(char *) "border", NULL
10907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10909 if (!SWIG_IsOK(res1
)) {
10910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10912 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10914 if (!SWIG_IsOK(ecode2
)) {
10915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10917 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10918 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10919 if (!SWIG_IsOK(ecode3
)) {
10920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10922 arg3
= static_cast< bool >(val3
);
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 (arg1
)->SetSashBorder(arg2
,arg3
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 resultobj
= SWIG_Py_Void();
10936 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
*resultobj
= 0;
10938 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10939 wxSashEdgePosition arg2
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char * kwnames
[] = {
10948 (char *) "self",(char *) "edge", NULL
10951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10956 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10958 if (!SWIG_IsOK(ecode2
)) {
10959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10961 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10977 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
= 0;
10979 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10980 wxSashEdgePosition arg2
;
10986 PyObject
* obj0
= 0 ;
10987 PyObject
* obj1
= 0 ;
10988 char * kwnames
[] = {
10989 (char *) "self",(char *) "edge", NULL
10992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10994 if (!SWIG_IsOK(res1
)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10997 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10999 if (!SWIG_IsOK(ecode2
)) {
11000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11002 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= SWIG_From_int(static_cast< int >(result
));
11016 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
= 0;
11018 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11024 PyObject
* obj0
= 0 ;
11025 PyObject
* obj1
= 0 ;
11026 char * kwnames
[] = {
11027 (char *) "self",(char *) "width", NULL
11030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11032 if (!SWIG_IsOK(res1
)) {
11033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11035 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11037 if (!SWIG_IsOK(ecode2
)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11040 arg2
= static_cast< int >(val2
);
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 (arg1
)->SetDefaultBorderSize(arg2
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= SWIG_Py_Void();
11054 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11055 PyObject
*resultobj
= 0;
11056 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11060 PyObject
*swig_obj
[1] ;
11062 if (!args
) SWIG_fail
;
11063 swig_obj
[0] = args
;
11064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11065 if (!SWIG_IsOK(res1
)) {
11066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11068 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_From_int(static_cast< int >(result
));
11082 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
= 0;
11084 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 PyObject
* obj1
= 0 ;
11092 char * kwnames
[] = {
11093 (char *) "self",(char *) "width", NULL
11096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11098 if (!SWIG_IsOK(res1
)) {
11099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11101 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11103 if (!SWIG_IsOK(ecode2
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11106 arg2
= static_cast< int >(val2
);
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 (arg1
)->SetExtraBorderSize(arg2
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_Py_Void();
11120 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11121 PyObject
*resultobj
= 0;
11122 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11126 PyObject
*swig_obj
[1] ;
11128 if (!args
) SWIG_fail
;
11129 swig_obj
[0] = args
;
11130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11131 if (!SWIG_IsOK(res1
)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11134 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_From_int(static_cast< int >(result
));
11148 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
= 0;
11150 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char * kwnames
[] = {
11159 (char *) "self",(char *) "min", NULL
11162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11167 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11169 if (!SWIG_IsOK(ecode2
)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11172 arg2
= static_cast< int >(val2
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 (arg1
)->SetMinimumSizeX(arg2
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= SWIG_Py_Void();
11186 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= 0;
11188 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 char * kwnames
[] = {
11197 (char *) "self",(char *) "min", NULL
11200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11205 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11207 if (!SWIG_IsOK(ecode2
)) {
11208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11210 arg2
= static_cast< int >(val2
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 (arg1
)->SetMinimumSizeY(arg2
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= SWIG_Py_Void();
11224 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11225 PyObject
*resultobj
= 0;
11226 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11230 PyObject
*swig_obj
[1] ;
11232 if (!args
) SWIG_fail
;
11233 swig_obj
[0] = args
;
11234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11235 if (!SWIG_IsOK(res1
)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11238 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_From_int(static_cast< int >(result
));
11252 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11253 PyObject
*resultobj
= 0;
11254 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11258 PyObject
*swig_obj
[1] ;
11260 if (!args
) SWIG_fail
;
11261 swig_obj
[0] = args
;
11262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11263 if (!SWIG_IsOK(res1
)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11266 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_From_int(static_cast< int >(result
));
11280 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
= 0;
11282 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 char * kwnames
[] = {
11291 (char *) "self",(char *) "max", NULL
11294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11296 if (!SWIG_IsOK(res1
)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11299 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11301 if (!SWIG_IsOK(ecode2
)) {
11302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11304 arg2
= static_cast< int >(val2
);
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 (arg1
)->SetMaximumSizeX(arg2
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= SWIG_Py_Void();
11318 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
= 0;
11320 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 char * kwnames
[] = {
11329 (char *) "self",(char *) "max", NULL
11332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11334 if (!SWIG_IsOK(res1
)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11337 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11339 if (!SWIG_IsOK(ecode2
)) {
11340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11342 arg2
= static_cast< int >(val2
);
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 (arg1
)->SetMaximumSizeY(arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= SWIG_Py_Void();
11356 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11357 PyObject
*resultobj
= 0;
11358 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11362 PyObject
*swig_obj
[1] ;
11364 if (!args
) SWIG_fail
;
11365 swig_obj
[0] = args
;
11366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11367 if (!SWIG_IsOK(res1
)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11370 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= SWIG_From_int(static_cast< int >(result
));
11384 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11385 PyObject
*resultobj
= 0;
11386 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11390 PyObject
*swig_obj
[1] ;
11392 if (!args
) SWIG_fail
;
11393 swig_obj
[0] = args
;
11394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11395 if (!SWIG_IsOK(res1
)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11398 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 resultobj
= SWIG_From_int(static_cast< int >(result
));
11412 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
= 0;
11414 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11417 int arg4
= (int) 2 ;
11418 wxSashEdgePosition result
;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 PyObject
* obj2
= 0 ;
11430 PyObject
* obj3
= 0 ;
11431 char * kwnames
[] = {
11432 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11437 if (!SWIG_IsOK(res1
)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11440 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11442 if (!SWIG_IsOK(ecode2
)) {
11443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11445 arg2
= static_cast< int >(val2
);
11446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11447 if (!SWIG_IsOK(ecode3
)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11450 arg3
= static_cast< int >(val3
);
11452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11453 if (!SWIG_IsOK(ecode4
)) {
11454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11456 arg4
= static_cast< int >(val4
);
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_From_int(static_cast< int >(result
));
11471 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11472 PyObject
*resultobj
= 0;
11473 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11476 PyObject
*swig_obj
[1] ;
11478 if (!args
) SWIG_fail
;
11479 swig_obj
[0] = args
;
11480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11481 if (!SWIG_IsOK(res1
)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11484 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->SizeWindows();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_Py_Void();
11498 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11501 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11502 return SWIG_Py_Void();
11505 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11506 return SWIG_Python_InitShadowInstance(args
);
11509 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
= 0;
11511 int arg1
= (int) 0 ;
11512 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11513 wxSashEvent
*result
= 0 ;
11518 PyObject
* obj0
= 0 ;
11519 PyObject
* obj1
= 0 ;
11520 char * kwnames
[] = {
11521 (char *) "id",(char *) "edge", NULL
11524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11526 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11527 if (!SWIG_IsOK(ecode1
)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11530 arg1
= static_cast< int >(val1
);
11533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11534 if (!SWIG_IsOK(ecode2
)) {
11535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11537 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11552 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
= 0;
11554 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11555 wxSashEdgePosition arg2
;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char * kwnames
[] = {
11563 (char *) "self",(char *) "edge", NULL
11566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11571 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11573 if (!SWIG_IsOK(ecode2
)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11576 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 (arg1
)->SetEdge(arg2
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= SWIG_Py_Void();
11590 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11591 PyObject
*resultobj
= 0;
11592 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11593 wxSashEdgePosition result
;
11596 PyObject
*swig_obj
[1] ;
11598 if (!args
) SWIG_fail
;
11599 swig_obj
[0] = args
;
11600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11601 if (!SWIG_IsOK(res1
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11604 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_From_int(static_cast< int >(result
));
11618 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11619 PyObject
*resultobj
= 0;
11620 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char * kwnames
[] = {
11628 (char *) "self",(char *) "rect", NULL
11631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11633 if (!SWIG_IsOK(res1
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11636 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11639 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= SWIG_Py_Void();
11654 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11655 PyObject
*resultobj
= 0;
11656 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11660 PyObject
*swig_obj
[1] ;
11662 if (!args
) SWIG_fail
;
11663 swig_obj
[0] = args
;
11664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11665 if (!SWIG_IsOK(res1
)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11668 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11682 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
= 0;
11684 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11685 wxSashDragStatus arg2
;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char * kwnames
[] = {
11693 (char *) "self",(char *) "status", NULL
11696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11698 if (!SWIG_IsOK(res1
)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11701 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11703 if (!SWIG_IsOK(ecode2
)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11706 arg2
= static_cast< wxSashDragStatus
>(val2
);
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 (arg1
)->SetDragStatus(arg2
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_Py_Void();
11720 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 PyObject
*resultobj
= 0;
11722 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11723 wxSashDragStatus result
;
11726 PyObject
*swig_obj
[1] ;
11728 if (!args
) SWIG_fail
;
11729 swig_obj
[0] = args
;
11730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11731 if (!SWIG_IsOK(res1
)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11734 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_From_int(static_cast< int >(result
));
11748 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11751 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11752 return SWIG_Py_Void();
11755 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11756 return SWIG_Python_InitShadowInstance(args
);
11759 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
= 0;
11761 int arg1
= (int) 0 ;
11762 wxQueryLayoutInfoEvent
*result
= 0 ;
11765 PyObject
* obj0
= 0 ;
11766 char * kwnames
[] = {
11767 (char *) "id", NULL
11770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11772 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11773 if (!SWIG_IsOK(ecode1
)) {
11774 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11776 arg1
= static_cast< int >(val1
);
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11791 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
= 0;
11793 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj1
= 0 ;
11801 char * kwnames
[] = {
11802 (char *) "self",(char *) "length", NULL
11805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11807 if (!SWIG_IsOK(res1
)) {
11808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11810 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11812 if (!SWIG_IsOK(ecode2
)) {
11813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11815 arg2
= static_cast< int >(val2
);
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 (arg1
)->SetRequestedLength(arg2
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 resultobj
= SWIG_Py_Void();
11829 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11830 PyObject
*resultobj
= 0;
11831 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11835 PyObject
*swig_obj
[1] ;
11837 if (!args
) SWIG_fail
;
11838 swig_obj
[0] = args
;
11839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11843 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_From_int(static_cast< int >(result
));
11857 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
= 0;
11859 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 char * kwnames
[] = {
11868 (char *) "self",(char *) "flags", NULL
11871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11873 if (!SWIG_IsOK(res1
)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11876 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11878 if (!SWIG_IsOK(ecode2
)) {
11879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11881 arg2
= static_cast< int >(val2
);
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->SetFlags(arg2
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_Py_Void();
11895 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11896 PyObject
*resultobj
= 0;
11897 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11901 PyObject
*swig_obj
[1] ;
11903 if (!args
) SWIG_fail
;
11904 swig_obj
[0] = args
;
11905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11909 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= SWIG_From_int(static_cast< int >(result
));
11923 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
= 0;
11925 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "self",(char *) "size", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11941 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11944 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 (arg1
)->SetSize((wxSize
const &)*arg2
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_Py_Void();
11959 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 PyObject
*resultobj
= 0;
11961 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11965 PyObject
*swig_obj
[1] ;
11967 if (!args
) SWIG_fail
;
11968 swig_obj
[0] = args
;
11969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11973 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11987 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
= 0;
11989 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11990 wxLayoutOrientation arg2
;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char * kwnames
[] = {
11998 (char *) "self",(char *) "orient", NULL
12001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12006 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12008 if (!SWIG_IsOK(ecode2
)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12011 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 (arg1
)->SetOrientation(arg2
);
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_Py_Void();
12025 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12026 PyObject
*resultobj
= 0;
12027 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12028 wxLayoutOrientation result
;
12031 PyObject
*swig_obj
[1] ;
12033 if (!args
) SWIG_fail
;
12034 swig_obj
[0] = args
;
12035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12036 if (!SWIG_IsOK(res1
)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12039 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= SWIG_From_int(static_cast< int >(result
));
12053 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
= 0;
12055 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12056 wxLayoutAlignment arg2
;
12061 PyObject
* obj0
= 0 ;
12062 PyObject
* obj1
= 0 ;
12063 char * kwnames
[] = {
12064 (char *) "self",(char *) "align", NULL
12067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12072 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12074 if (!SWIG_IsOK(ecode2
)) {
12075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12077 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 (arg1
)->SetAlignment(arg2
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_Py_Void();
12091 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12092 PyObject
*resultobj
= 0;
12093 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12094 wxLayoutAlignment result
;
12097 PyObject
*swig_obj
[1] ;
12099 if (!args
) SWIG_fail
;
12100 swig_obj
[0] = args
;
12101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12102 if (!SWIG_IsOK(res1
)) {
12103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12105 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= SWIG_From_int(static_cast< int >(result
));
12119 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12122 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12123 return SWIG_Py_Void();
12126 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12127 return SWIG_Python_InitShadowInstance(args
);
12130 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
= 0;
12132 int arg1
= (int) 0 ;
12133 wxCalculateLayoutEvent
*result
= 0 ;
12136 PyObject
* obj0
= 0 ;
12137 char * kwnames
[] = {
12138 (char *) "id", NULL
12141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12144 if (!SWIG_IsOK(ecode1
)) {
12145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12147 arg1
= static_cast< int >(val1
);
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12162 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
= 0;
12164 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 char * kwnames
[] = {
12173 (char *) "self",(char *) "flags", NULL
12176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12178 if (!SWIG_IsOK(res1
)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12181 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12183 if (!SWIG_IsOK(ecode2
)) {
12184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12186 arg2
= static_cast< int >(val2
);
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 (arg1
)->SetFlags(arg2
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= SWIG_Py_Void();
12200 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12201 PyObject
*resultobj
= 0;
12202 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12206 PyObject
*swig_obj
[1] ;
12208 if (!args
) SWIG_fail
;
12209 swig_obj
[0] = args
;
12210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12211 if (!SWIG_IsOK(res1
)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12214 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_From_int(static_cast< int >(result
));
12228 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
= 0;
12230 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 char * kwnames
[] = {
12238 (char *) "self",(char *) "rect", NULL
12241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12246 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12249 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 (arg1
)->SetRect((wxRect
const &)*arg2
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_Py_Void();
12264 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12265 PyObject
*resultobj
= 0;
12266 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12270 PyObject
*swig_obj
[1] ;
12272 if (!args
) SWIG_fail
;
12273 swig_obj
[0] = args
;
12274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12275 if (!SWIG_IsOK(res1
)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12278 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12292 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12295 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12296 return SWIG_Py_Void();
12299 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12300 return SWIG_Python_InitShadowInstance(args
);
12303 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
= 0;
12305 wxWindow
*arg1
= (wxWindow
*) 0 ;
12306 int arg2
= (int) -1 ;
12307 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12308 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12309 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12310 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12311 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12312 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12313 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12314 wxSashLayoutWindow
*result
= 0 ;
12323 bool temp6
= false ;
12324 PyObject
* obj0
= 0 ;
12325 PyObject
* obj1
= 0 ;
12326 PyObject
* obj2
= 0 ;
12327 PyObject
* obj3
= 0 ;
12328 PyObject
* obj4
= 0 ;
12329 PyObject
* obj5
= 0 ;
12330 char * kwnames
[] = {
12331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12336 if (!SWIG_IsOK(res1
)) {
12337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12339 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12342 if (!SWIG_IsOK(ecode2
)) {
12343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12345 arg2
= static_cast< int >(val2
);
12350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12356 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12360 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12361 if (!SWIG_IsOK(ecode5
)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12364 arg5
= static_cast< long >(val5
);
12368 arg6
= wxString_in_helper(obj5
);
12369 if (arg6
== NULL
) SWIG_fail
;
12374 if (!wxPyCheckForApp()) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12395 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12396 PyObject
*resultobj
= 0;
12397 wxSashLayoutWindow
*result
= 0 ;
12399 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12401 if (!wxPyCheckForApp()) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12414 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
= 0;
12416 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12417 wxWindow
*arg2
= (wxWindow
*) 0 ;
12418 int arg3
= (int) -1 ;
12419 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12420 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12421 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12422 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12423 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12424 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12425 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12437 bool temp7
= false ;
12438 PyObject
* obj0
= 0 ;
12439 PyObject
* obj1
= 0 ;
12440 PyObject
* obj2
= 0 ;
12441 PyObject
* obj3
= 0 ;
12442 PyObject
* obj4
= 0 ;
12443 PyObject
* obj5
= 0 ;
12444 PyObject
* obj6
= 0 ;
12445 char * kwnames
[] = {
12446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12451 if (!SWIG_IsOK(res1
)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12454 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12456 if (!SWIG_IsOK(res2
)) {
12457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12459 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12462 if (!SWIG_IsOK(ecode3
)) {
12463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12465 arg3
= static_cast< int >(val3
);
12470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12480 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12481 if (!SWIG_IsOK(ecode6
)) {
12482 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12484 arg6
= static_cast< long >(val6
);
12488 arg7
= wxString_in_helper(obj6
);
12489 if (arg7
== NULL
) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12516 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12517 PyObject
*resultobj
= 0;
12518 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12519 wxLayoutAlignment result
;
12522 PyObject
*swig_obj
[1] ;
12524 if (!args
) SWIG_fail
;
12525 swig_obj
[0] = args
;
12526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12527 if (!SWIG_IsOK(res1
)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12530 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_From_int(static_cast< int >(result
));
12544 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12545 PyObject
*resultobj
= 0;
12546 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12547 wxLayoutOrientation result
;
12550 PyObject
*swig_obj
[1] ;
12552 if (!args
) SWIG_fail
;
12553 swig_obj
[0] = args
;
12554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12555 if (!SWIG_IsOK(res1
)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12558 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_From_int(static_cast< int >(result
));
12572 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
= 0;
12574 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12575 wxLayoutAlignment arg2
;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 char * kwnames
[] = {
12583 (char *) "self",(char *) "alignment", NULL
12586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12588 if (!SWIG_IsOK(res1
)) {
12589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12591 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12593 if (!SWIG_IsOK(ecode2
)) {
12594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12596 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->SetAlignment(arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_Py_Void();
12610 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
= 0;
12612 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 PyObject
* obj1
= 0 ;
12619 char * kwnames
[] = {
12620 (char *) "self",(char *) "size", NULL
12623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12625 if (!SWIG_IsOK(res1
)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12628 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12631 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_Py_Void();
12646 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
= 0;
12648 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12649 wxLayoutOrientation arg2
;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char * kwnames
[] = {
12657 (char *) "self",(char *) "orientation", NULL
12660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12662 if (!SWIG_IsOK(res1
)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12665 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12667 if (!SWIG_IsOK(ecode2
)) {
12668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12670 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 (arg1
)->SetOrientation(arg2
);
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_Py_Void();
12684 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12687 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12688 return SWIG_Py_Void();
12691 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12692 return SWIG_Python_InitShadowInstance(args
);
12695 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12696 PyObject
*resultobj
= 0;
12697 wxLayoutAlgorithm
*result
= 0 ;
12699 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12713 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12714 PyObject
*resultobj
= 0;
12715 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12718 PyObject
*swig_obj
[1] ;
12720 if (!args
) SWIG_fail
;
12721 swig_obj
[0] = args
;
12722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12723 if (!SWIG_IsOK(res1
)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12726 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= SWIG_Py_Void();
12741 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
= 0;
12743 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12744 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12745 wxRect
*arg3
= (wxRect
*) NULL
;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 PyObject
* obj2
= 0 ;
12756 char * kwnames
[] = {
12757 (char *) "self",(char *) "frame",(char *) "rect", NULL
12760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12765 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12767 if (!SWIG_IsOK(res2
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12770 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12772 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12773 if (!SWIG_IsOK(res3
)) {
12774 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12776 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12793 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
= 0;
12795 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12796 wxFrame
*arg2
= (wxFrame
*) 0 ;
12797 wxWindow
*arg3
= (wxWindow
*) NULL
;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 PyObject
* obj2
= 0 ;
12808 char * kwnames
[] = {
12809 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12814 if (!SWIG_IsOK(res1
)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12817 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12819 if (!SWIG_IsOK(res2
)) {
12820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12822 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12824 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12825 if (!SWIG_IsOK(res3
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12828 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12845 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
= 0;
12847 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12848 wxWindow
*arg2
= (wxWindow
*) 0 ;
12849 wxWindow
*arg3
= (wxWindow
*) NULL
;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 PyObject
* obj2
= 0 ;
12860 char * kwnames
[] = {
12861 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12866 if (!SWIG_IsOK(res1
)) {
12867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12869 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12871 if (!SWIG_IsOK(res2
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12874 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12876 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12877 if (!SWIG_IsOK(res3
)) {
12878 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12880 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12897 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12900 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12901 return SWIG_Py_Void();
12904 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12905 return SWIG_Python_InitShadowInstance(args
);
12908 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
= 0;
12910 wxWindow
*arg1
= (wxWindow
*) 0 ;
12911 int arg2
= (int) wxBORDER_NONE
;
12912 wxPopupWindow
*result
= 0 ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 char * kwnames
[] = {
12920 (char *) "parent",(char *) "flags", NULL
12923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12925 if (!SWIG_IsOK(res1
)) {
12926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12931 if (!SWIG_IsOK(ecode2
)) {
12932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12934 arg2
= static_cast< int >(val2
);
12937 if (!wxPyCheckForApp()) SWIG_fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
12950 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12951 PyObject
*resultobj
= 0;
12952 wxPopupWindow
*result
= 0 ;
12954 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
12956 if (!wxPyCheckForApp()) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (wxPopupWindow
*)new wxPopupWindow();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12969 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
= 0;
12971 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12972 wxWindow
*arg2
= (wxWindow
*) 0 ;
12973 int arg3
= (int) wxBORDER_NONE
;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 PyObject
* obj2
= 0 ;
12984 char * kwnames
[] = {
12985 (char *) "self",(char *) "parent",(char *) "flags", NULL
12988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12990 if (!SWIG_IsOK(res1
)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12993 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
12994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12995 if (!SWIG_IsOK(res2
)) {
12996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12998 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13001 if (!SWIG_IsOK(ecode3
)) {
13002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13004 arg3
= static_cast< int >(val3
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13021 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
= 0;
13023 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13024 wxPoint
*arg2
= 0 ;
13030 PyObject
* obj0
= 0 ;
13031 PyObject
* obj1
= 0 ;
13032 PyObject
* obj2
= 0 ;
13033 char * kwnames
[] = {
13034 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13039 if (!SWIG_IsOK(res1
)) {
13040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13042 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13049 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= SWIG_Py_Void();
13064 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13067 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13068 return SWIG_Py_Void();
13071 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13072 return SWIG_Python_InitShadowInstance(args
);
13075 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
= 0;
13077 wxWindow
*arg1
= (wxWindow
*) 0 ;
13078 int arg2
= (int) wxBORDER_NONE
;
13079 wxPyPopupTransientWindow
*result
= 0 ;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 char * kwnames
[] = {
13087 (char *) "parent",(char *) "style", NULL
13090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13092 if (!SWIG_IsOK(res1
)) {
13093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13098 if (!SWIG_IsOK(ecode2
)) {
13099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13101 arg2
= static_cast< int >(val2
);
13104 if (!wxPyCheckForApp()) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13117 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13118 PyObject
*resultobj
= 0;
13119 wxPyPopupTransientWindow
*result
= 0 ;
13121 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13123 if (!wxPyCheckForApp()) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13136 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
= 0;
13138 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13139 PyObject
*arg2
= (PyObject
*) 0 ;
13140 PyObject
*arg3
= (PyObject
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 PyObject
* obj2
= 0 ;
13146 char * kwnames
[] = {
13147 (char *) "self",(char *) "self",(char *) "_class", NULL
13150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13152 if (!SWIG_IsOK(res1
)) {
13153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13155 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= SWIG_Py_Void();
13171 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
= 0;
13173 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13174 wxWindow
*arg2
= (wxWindow
*) NULL
;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 char * kwnames
[] = {
13182 (char *) "self",(char *) "focus", NULL
13185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13187 if (!SWIG_IsOK(res1
)) {
13188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13190 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13193 if (!SWIG_IsOK(res2
)) {
13194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 (arg1
)->Popup(arg2
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= SWIG_Py_Void();
13211 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13212 PyObject
*resultobj
= 0;
13213 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13216 PyObject
*swig_obj
[1] ;
13218 if (!args
) SWIG_fail
;
13219 swig_obj
[0] = args
;
13220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13221 if (!SWIG_IsOK(res1
)) {
13222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13224 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_Py_Void();
13238 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13241 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13242 return SWIG_Py_Void();
13245 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13246 return SWIG_Python_InitShadowInstance(args
);
13249 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
= 0;
13251 wxWindow
*arg1
= (wxWindow
*) 0 ;
13252 wxString
*arg2
= 0 ;
13253 int arg3
= (int) 100 ;
13254 wxRect
*arg4
= (wxRect
*) NULL
;
13255 wxTipWindow
*result
= 0 ;
13258 bool temp2
= false ;
13263 PyObject
* obj0
= 0 ;
13264 PyObject
* obj1
= 0 ;
13265 PyObject
* obj2
= 0 ;
13266 PyObject
* obj3
= 0 ;
13267 char * kwnames
[] = {
13268 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13273 if (!SWIG_IsOK(res1
)) {
13274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13278 arg2
= wxString_in_helper(obj1
);
13279 if (arg2
== NULL
) SWIG_fail
;
13283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13284 if (!SWIG_IsOK(ecode3
)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13287 arg3
= static_cast< int >(val3
);
13290 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13291 if (!SWIG_IsOK(res4
)) {
13292 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13294 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13297 if (!wxPyCheckForApp()) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13318 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
= 0;
13320 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 char * kwnames
[] = {
13328 (char *) "self",(char *) "rectBound", NULL
13331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13336 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13339 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_Py_Void();
13354 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13355 PyObject
*resultobj
= 0;
13356 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13359 PyObject
*swig_obj
[1] ;
13361 if (!args
) SWIG_fail
;
13362 swig_obj
[0] = args
;
13363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13364 if (!SWIG_IsOK(res1
)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13367 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_Py_Void();
13381 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13384 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13385 return SWIG_Py_Void();
13388 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13389 return SWIG_Python_InitShadowInstance(args
);
13392 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
= 0;
13394 wxWindow
*arg1
= (wxWindow
*) 0 ;
13395 int arg2
= (int) wxID_ANY
;
13396 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13397 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13398 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13399 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13400 long arg5
= (long) 0 ;
13401 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13402 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13403 wxPyVScrolledWindow
*result
= 0 ;
13412 bool temp6
= false ;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 PyObject
* obj2
= 0 ;
13416 PyObject
* obj3
= 0 ;
13417 PyObject
* obj4
= 0 ;
13418 PyObject
* obj5
= 0 ;
13419 char * kwnames
[] = {
13420 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13425 if (!SWIG_IsOK(res1
)) {
13426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13431 if (!SWIG_IsOK(ecode2
)) {
13432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13434 arg2
= static_cast< int >(val2
);
13439 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13445 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13449 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13450 if (!SWIG_IsOK(ecode5
)) {
13451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13453 arg5
= static_cast< long >(val5
);
13457 arg6
= wxString_in_helper(obj5
);
13458 if (arg6
== NULL
) SWIG_fail
;
13463 if (!wxPyCheckForApp()) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13484 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13486 wxPyVScrolledWindow
*result
= 0 ;
13488 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13490 if (!wxPyCheckForApp()) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13503 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
= 0;
13505 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13506 PyObject
*arg2
= (PyObject
*) 0 ;
13507 PyObject
*arg3
= (PyObject
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 PyObject
* obj1
= 0 ;
13512 PyObject
* obj2
= 0 ;
13513 char * kwnames
[] = {
13514 (char *) "self",(char *) "self",(char *) "_class", NULL
13517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13519 if (!SWIG_IsOK(res1
)) {
13520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13522 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= SWIG_Py_Void();
13538 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
= 0;
13540 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13541 wxWindow
*arg2
= (wxWindow
*) 0 ;
13542 int arg3
= (int) wxID_ANY
;
13543 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13544 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13545 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13546 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13547 long arg6
= (long) 0 ;
13548 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13549 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13561 bool temp7
= false ;
13562 PyObject
* obj0
= 0 ;
13563 PyObject
* obj1
= 0 ;
13564 PyObject
* obj2
= 0 ;
13565 PyObject
* obj3
= 0 ;
13566 PyObject
* obj4
= 0 ;
13567 PyObject
* obj5
= 0 ;
13568 PyObject
* obj6
= 0 ;
13569 char * kwnames
[] = {
13570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13575 if (!SWIG_IsOK(res1
)) {
13576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13578 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13580 if (!SWIG_IsOK(res2
)) {
13581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13586 if (!SWIG_IsOK(ecode3
)) {
13587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13589 arg3
= static_cast< int >(val3
);
13594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13604 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13605 if (!SWIG_IsOK(ecode6
)) {
13606 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13608 arg6
= static_cast< long >(val6
);
13612 arg7
= wxString_in_helper(obj6
);
13613 if (arg7
== NULL
) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13640 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
= 0;
13642 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char * kwnames
[] = {
13651 (char *) "self",(char *) "count", NULL
13654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13656 if (!SWIG_IsOK(res1
)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13659 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13660 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13661 if (!SWIG_IsOK(ecode2
)) {
13662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13664 arg2
= static_cast< size_t >(val2
);
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 (arg1
)->SetLineCount(arg2
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_Py_Void();
13678 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
= 0;
13680 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 char * kwnames
[] = {
13690 (char *) "self",(char *) "line", NULL
13693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13695 if (!SWIG_IsOK(res1
)) {
13696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13698 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13699 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13700 if (!SWIG_IsOK(ecode2
)) {
13701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13703 arg2
= static_cast< size_t >(val2
);
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13719 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
= 0;
13721 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 char * kwnames
[] = {
13730 (char *) "self",(char *) "line", NULL
13733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13735 if (!SWIG_IsOK(res1
)) {
13736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13738 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13739 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13740 if (!SWIG_IsOK(ecode2
)) {
13741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13743 arg2
= static_cast< size_t >(val2
);
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 (arg1
)->RefreshLine(arg2
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= SWIG_Py_Void();
13757 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
= 0;
13759 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 PyObject
* obj1
= 0 ;
13770 PyObject
* obj2
= 0 ;
13771 char * kwnames
[] = {
13772 (char *) "self",(char *) "from",(char *) "to", NULL
13775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13777 if (!SWIG_IsOK(res1
)) {
13778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13780 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13781 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13782 if (!SWIG_IsOK(ecode2
)) {
13783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13785 arg2
= static_cast< size_t >(val2
);
13786 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13787 if (!SWIG_IsOK(ecode3
)) {
13788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13790 arg3
= static_cast< size_t >(val3
);
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 (arg1
)->RefreshLines(arg2
,arg3
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= SWIG_Py_Void();
13804 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
= 0;
13806 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 PyObject
* obj1
= 0 ;
13818 PyObject
* obj2
= 0 ;
13819 char * kwnames
[] = {
13820 (char *) "self",(char *) "x",(char *) "y", NULL
13823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13825 if (!SWIG_IsOK(res1
)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13828 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13830 if (!SWIG_IsOK(ecode2
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13833 arg2
= static_cast< int >(val2
);
13834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13835 if (!SWIG_IsOK(ecode3
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13838 arg3
= static_cast< int >(val3
);
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_From_int(static_cast< int >(result
));
13852 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
= 0;
13854 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13855 wxPoint
*arg2
= 0 ;
13860 PyObject
* obj0
= 0 ;
13861 PyObject
* obj1
= 0 ;
13862 char * kwnames
[] = {
13863 (char *) "self",(char *) "pt", NULL
13866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13868 if (!SWIG_IsOK(res1
)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13871 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13874 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= SWIG_From_int(static_cast< int >(result
));
13889 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13890 PyObject
*resultobj
= 0;
13891 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13894 PyObject
*swig_obj
[1] ;
13896 if (!args
) SWIG_fail
;
13897 swig_obj
[0] = args
;
13898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13899 if (!SWIG_IsOK(res1
)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13902 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 (arg1
)->RefreshAll();
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= SWIG_Py_Void();
13916 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13917 PyObject
*resultobj
= 0;
13918 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13922 PyObject
*swig_obj
[1] ;
13924 if (!args
) SWIG_fail
;
13925 swig_obj
[0] = args
;
13926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13927 if (!SWIG_IsOK(res1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13930 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13944 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13945 PyObject
*resultobj
= 0;
13946 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13950 PyObject
*swig_obj
[1] ;
13952 if (!args
) SWIG_fail
;
13953 swig_obj
[0] = args
;
13954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13955 if (!SWIG_IsOK(res1
)) {
13956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13958 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13972 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13973 PyObject
*resultobj
= 0;
13974 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13978 PyObject
*swig_obj
[1] ;
13980 if (!args
) SWIG_fail
;
13981 swig_obj
[0] = args
;
13982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13983 if (!SWIG_IsOK(res1
)) {
13984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13986 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14000 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
= 0;
14002 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 char * kwnames
[] = {
14012 (char *) "self",(char *) "line", NULL
14015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14017 if (!SWIG_IsOK(res1
)) {
14018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14020 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14021 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14022 if (!SWIG_IsOK(ecode2
)) {
14023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14025 arg2
= static_cast< size_t >(val2
);
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14041 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14042 PyObject
*resultobj
= 0;
14043 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14047 PyObject
*swig_obj
[1] ;
14049 if (!args
) SWIG_fail
;
14050 swig_obj
[0] = args
;
14051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14052 if (!SWIG_IsOK(res1
)) {
14053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14055 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14069 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14070 PyObject
*resultobj
= 0;
14071 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14075 PyObject
*swig_obj
[1] ;
14077 if (!args
) SWIG_fail
;
14078 swig_obj
[0] = args
;
14079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14080 if (!SWIG_IsOK(res1
)) {
14081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14083 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14097 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
= 0;
14099 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14101 bool arg3
= (bool) false ;
14109 PyObject
* obj0
= 0 ;
14110 PyObject
* obj1
= 0 ;
14111 PyObject
* obj2
= 0 ;
14112 char * kwnames
[] = {
14113 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14118 if (!SWIG_IsOK(res1
)) {
14119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14121 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14122 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14123 if (!SWIG_IsOK(ecode2
)) {
14124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14126 arg2
= static_cast< size_t >(val2
);
14128 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14129 if (!SWIG_IsOK(ecode3
)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14132 arg3
= static_cast< bool >(val3
);
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14147 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
= 0;
14149 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 PyObject
* obj1
= 0 ;
14161 PyObject
* obj2
= 0 ;
14162 char * kwnames
[] = {
14163 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14168 if (!SWIG_IsOK(res1
)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14171 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14172 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14173 if (!SWIG_IsOK(ecode2
)) {
14174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14176 arg2
= static_cast< size_t >(val2
);
14177 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14178 if (!SWIG_IsOK(ecode3
)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14181 arg3
= static_cast< size_t >(val3
);
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= SWIG_From_int(static_cast< int >(result
));
14195 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14198 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14199 return SWIG_Py_Void();
14202 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14203 return SWIG_Python_InitShadowInstance(args
);
14206 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14207 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14212 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14213 PyObject
*pyobj
= 0;
14217 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14219 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14226 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
= 0;
14228 wxWindow
*arg1
= (wxWindow
*) 0 ;
14229 int arg2
= (int) wxID_ANY
;
14230 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14231 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14232 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14233 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14234 long arg5
= (long) 0 ;
14235 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14236 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14237 wxPyVListBox
*result
= 0 ;
14246 bool temp6
= false ;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 PyObject
* obj2
= 0 ;
14250 PyObject
* obj3
= 0 ;
14251 PyObject
* obj4
= 0 ;
14252 PyObject
* obj5
= 0 ;
14253 char * kwnames
[] = {
14254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14259 if (!SWIG_IsOK(res1
)) {
14260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14262 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14265 if (!SWIG_IsOK(ecode2
)) {
14266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14268 arg2
= static_cast< int >(val2
);
14273 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14279 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14283 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14284 if (!SWIG_IsOK(ecode5
)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14287 arg5
= static_cast< long >(val5
);
14291 arg6
= wxString_in_helper(obj5
);
14292 if (arg6
== NULL
) SWIG_fail
;
14297 if (!wxPyCheckForApp()) SWIG_fail
;
14298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14299 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14318 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14319 PyObject
*resultobj
= 0;
14320 wxPyVListBox
*result
= 0 ;
14322 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14324 if (!wxPyCheckForApp()) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (wxPyVListBox
*)new wxPyVListBox();
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14337 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
= 0;
14339 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14340 PyObject
*arg2
= (PyObject
*) 0 ;
14341 PyObject
*arg3
= (PyObject
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 PyObject
* obj1
= 0 ;
14346 PyObject
* obj2
= 0 ;
14347 char * kwnames
[] = {
14348 (char *) "self",(char *) "self",(char *) "_class", NULL
14351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14356 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= SWIG_Py_Void();
14372 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
= 0;
14374 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14375 wxWindow
*arg2
= (wxWindow
*) 0 ;
14376 int arg3
= (int) wxID_ANY
;
14377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14381 long arg6
= (long) 0 ;
14382 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14383 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14395 bool temp7
= false ;
14396 PyObject
* obj0
= 0 ;
14397 PyObject
* obj1
= 0 ;
14398 PyObject
* obj2
= 0 ;
14399 PyObject
* obj3
= 0 ;
14400 PyObject
* obj4
= 0 ;
14401 PyObject
* obj5
= 0 ;
14402 PyObject
* obj6
= 0 ;
14403 char * kwnames
[] = {
14404 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14409 if (!SWIG_IsOK(res1
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14412 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14414 if (!SWIG_IsOK(res2
)) {
14415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14417 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14420 if (!SWIG_IsOK(ecode3
)) {
14421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14423 arg3
= static_cast< int >(val3
);
14428 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14434 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14438 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14439 if (!SWIG_IsOK(ecode6
)) {
14440 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14442 arg6
= static_cast< long >(val6
);
14446 arg7
= wxString_in_helper(obj6
);
14447 if (arg7
== NULL
) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14474 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14475 PyObject
*resultobj
= 0;
14476 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14480 PyObject
*swig_obj
[1] ;
14482 if (!args
) SWIG_fail
;
14483 swig_obj
[0] = args
;
14484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14488 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14502 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14503 PyObject
*resultobj
= 0;
14504 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14508 PyObject
*swig_obj
[1] ;
14510 if (!args
) SWIG_fail
;
14511 swig_obj
[0] = args
;
14512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14513 if (!SWIG_IsOK(res1
)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14516 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14532 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14533 PyObject
*resultobj
= 0;
14534 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14538 PyObject
*swig_obj
[1] ;
14540 if (!args
) SWIG_fail
;
14541 swig_obj
[0] = args
;
14542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14543 if (!SWIG_IsOK(res1
)) {
14544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14546 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14553 resultobj
= SWIG_From_int(static_cast< int >(result
));
14560 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
= 0;
14562 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14569 PyObject
* obj0
= 0 ;
14570 PyObject
* obj1
= 0 ;
14571 char * kwnames
[] = {
14572 (char *) "self",(char *) "item", NULL
14575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14580 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14581 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14582 if (!SWIG_IsOK(ecode2
)) {
14583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14585 arg2
= static_cast< size_t >(val2
);
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14601 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
= 0;
14603 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14610 PyObject
* obj0
= 0 ;
14611 PyObject
* obj1
= 0 ;
14612 char * kwnames
[] = {
14613 (char *) "self",(char *) "item", NULL
14616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14618 if (!SWIG_IsOK(res1
)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14621 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14622 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14623 if (!SWIG_IsOK(ecode2
)) {
14624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14626 arg2
= static_cast< size_t >(val2
);
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14642 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14643 PyObject
*resultobj
= 0;
14644 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14648 PyObject
*swig_obj
[1] ;
14650 if (!args
) SWIG_fail
;
14651 swig_obj
[0] = args
;
14652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14653 if (!SWIG_IsOK(res1
)) {
14654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14656 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14670 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14671 PyObject
*resultobj
= 0;
14672 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14673 PyObject
*result
= 0 ;
14676 PyObject
*swig_obj
[1] ;
14678 if (!args
) SWIG_fail
;
14679 swig_obj
[0] = args
;
14680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14681 if (!SWIG_IsOK(res1
)) {
14682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14684 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= result
;
14698 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
= 0;
14700 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14701 unsigned long arg2
;
14702 PyObject
*result
= 0 ;
14705 unsigned long val2
;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj1
= 0 ;
14709 char * kwnames
[] = {
14710 (char *) "self",(char *) "cookie", NULL
14713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14715 if (!SWIG_IsOK(res1
)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14718 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14719 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14720 if (!SWIG_IsOK(ecode2
)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14723 arg2
= static_cast< unsigned long >(val2
);
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= result
;
14737 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14738 PyObject
*resultobj
= 0;
14739 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14743 PyObject
*swig_obj
[1] ;
14745 if (!args
) SWIG_fail
;
14746 swig_obj
[0] = args
;
14747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14748 if (!SWIG_IsOK(res1
)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14751 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14765 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14766 PyObject
*resultobj
= 0;
14767 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14768 wxColour
*result
= 0 ;
14771 PyObject
*swig_obj
[1] ;
14773 if (!args
) SWIG_fail
;
14774 swig_obj
[0] = args
;
14775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14776 if (!SWIG_IsOK(res1
)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14779 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14784 result
= (wxColour
*) &_result_ref
;
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14796 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
= 0;
14798 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14804 PyObject
* obj0
= 0 ;
14805 PyObject
* obj1
= 0 ;
14806 char * kwnames
[] = {
14807 (char *) "self",(char *) "count", NULL
14810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14812 if (!SWIG_IsOK(res1
)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14815 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14816 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14817 if (!SWIG_IsOK(ecode2
)) {
14818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14820 arg2
= static_cast< size_t >(val2
);
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 (arg1
)->SetItemCount(arg2
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= SWIG_Py_Void();
14834 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14835 PyObject
*resultobj
= 0;
14836 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14839 PyObject
*swig_obj
[1] ;
14841 if (!args
) SWIG_fail
;
14842 swig_obj
[0] = args
;
14843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14844 if (!SWIG_IsOK(res1
)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14847 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= SWIG_Py_Void();
14861 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
= 0;
14863 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14869 PyObject
* obj0
= 0 ;
14870 PyObject
* obj1
= 0 ;
14871 char * kwnames
[] = {
14872 (char *) "self",(char *) "selection", NULL
14875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14877 if (!SWIG_IsOK(res1
)) {
14878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14880 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14882 if (!SWIG_IsOK(ecode2
)) {
14883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14885 arg2
= static_cast< int >(val2
);
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 (arg1
)->SetSelection(arg2
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_Py_Void();
14899 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
= 0;
14901 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14903 bool arg3
= (bool) true ;
14911 PyObject
* obj0
= 0 ;
14912 PyObject
* obj1
= 0 ;
14913 PyObject
* obj2
= 0 ;
14914 char * kwnames
[] = {
14915 (char *) "self",(char *) "item",(char *) "select", NULL
14918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14920 if (!SWIG_IsOK(res1
)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14923 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14924 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14925 if (!SWIG_IsOK(ecode2
)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14928 arg2
= static_cast< size_t >(val2
);
14930 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14931 if (!SWIG_IsOK(ecode3
)) {
14932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14934 arg3
= static_cast< bool >(val3
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14951 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
= 0;
14953 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 PyObject
* obj2
= 0 ;
14966 char * kwnames
[] = {
14967 (char *) "self",(char *) "from",(char *) "to", NULL
14970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14972 if (!SWIG_IsOK(res1
)) {
14973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14975 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14976 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14977 if (!SWIG_IsOK(ecode2
)) {
14978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14980 arg2
= static_cast< size_t >(val2
);
14981 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14982 if (!SWIG_IsOK(ecode3
)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14985 arg3
= static_cast< size_t >(val3
);
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15001 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
= 0;
15003 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 char * kwnames
[] = {
15012 (char *) "self",(char *) "item", NULL
15015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15017 if (!SWIG_IsOK(res1
)) {
15018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15020 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15021 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15022 if (!SWIG_IsOK(ecode2
)) {
15023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15025 arg2
= static_cast< size_t >(val2
);
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 (arg1
)->Toggle(arg2
);
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= SWIG_Py_Void();
15039 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15040 PyObject
*resultobj
= 0;
15041 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15045 PyObject
*swig_obj
[1] ;
15047 if (!args
) SWIG_fail
;
15048 swig_obj
[0] = args
;
15049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15050 if (!SWIG_IsOK(res1
)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15053 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 result
= (bool)(arg1
)->SelectAll();
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15069 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15070 PyObject
*resultobj
= 0;
15071 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15075 PyObject
*swig_obj
[1] ;
15077 if (!args
) SWIG_fail
;
15078 swig_obj
[0] = args
;
15079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15080 if (!SWIG_IsOK(res1
)) {
15081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15083 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (bool)(arg1
)->DeselectAll();
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15099 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
= 0;
15101 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15102 wxPoint
*arg2
= 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 char * kwnames
[] = {
15109 (char *) "self",(char *) "pt", NULL
15112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15117 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= SWIG_Py_Void();
15135 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
= 0;
15137 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 PyObject
* obj2
= 0 ;
15149 char * kwnames
[] = {
15150 (char *) "self",(char *) "x",(char *) "y", NULL
15153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15155 if (!SWIG_IsOK(res1
)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15158 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15160 if (!SWIG_IsOK(ecode2
)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15163 arg2
= static_cast< int >(val2
);
15164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15165 if (!SWIG_IsOK(ecode3
)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15168 arg3
= static_cast< int >(val3
);
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 (arg1
)->SetMargins(arg2
,arg3
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_Py_Void();
15182 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
= 0;
15184 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15185 wxColour
*arg2
= 0 ;
15189 PyObject
* obj0
= 0 ;
15190 PyObject
* obj1
= 0 ;
15191 char * kwnames
[] = {
15192 (char *) "self",(char *) "col", NULL
15195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15197 if (!SWIG_IsOK(res1
)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15200 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15203 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= SWIG_Py_Void();
15218 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
= 0;
15220 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 PyObject
* obj2
= 0 ;
15234 PyObject
* obj3
= 0 ;
15235 char * kwnames
[] = {
15236 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15241 if (!SWIG_IsOK(res1
)) {
15242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15244 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15246 if (!SWIG_IsOK(res2
)) {
15247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15252 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15255 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15257 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15258 if (!SWIG_IsOK(ecode4
)) {
15259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15261 arg4
= static_cast< size_t >(val4
);
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= SWIG_Py_Void();
15275 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
= 0;
15277 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 PyObject
* obj2
= 0 ;
15291 PyObject
* obj3
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15301 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15303 if (!SWIG_IsOK(res2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15309 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15312 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15314 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15315 if (!SWIG_IsOK(ecode4
)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15318 arg4
= static_cast< size_t >(val4
);
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_Py_Void();
15332 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15335 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15336 return SWIG_Py_Void();
15339 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15340 return SWIG_Python_InitShadowInstance(args
);
15343 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
= 0;
15345 wxWindow
*arg1
= (wxWindow
*) 0 ;
15346 int arg2
= (int) wxID_ANY
;
15347 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15348 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15349 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15350 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15351 long arg5
= (long) 0 ;
15352 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15353 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15354 wxPyHtmlListBox
*result
= 0 ;
15363 bool temp6
= false ;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 PyObject
* obj3
= 0 ;
15368 PyObject
* obj4
= 0 ;
15369 PyObject
* obj5
= 0 ;
15370 char * kwnames
[] = {
15371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15376 if (!SWIG_IsOK(res1
)) {
15377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15379 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15382 if (!SWIG_IsOK(ecode2
)) {
15383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15385 arg2
= static_cast< int >(val2
);
15390 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15396 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15400 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15401 if (!SWIG_IsOK(ecode5
)) {
15402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15404 arg5
= static_cast< long >(val5
);
15408 arg6
= wxString_in_helper(obj5
);
15409 if (arg6
== NULL
) SWIG_fail
;
15414 if (!wxPyCheckForApp()) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15435 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15436 PyObject
*resultobj
= 0;
15437 wxPyHtmlListBox
*result
= 0 ;
15439 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15441 if (!wxPyCheckForApp()) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15454 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
= 0;
15456 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15457 PyObject
*arg2
= (PyObject
*) 0 ;
15458 PyObject
*arg3
= (PyObject
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 PyObject
* obj2
= 0 ;
15464 char * kwnames
[] = {
15465 (char *) "self",(char *) "self",(char *) "_class", NULL
15468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15470 if (!SWIG_IsOK(res1
)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15473 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= SWIG_Py_Void();
15489 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
= 0;
15491 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15492 wxWindow
*arg2
= (wxWindow
*) 0 ;
15493 int arg3
= (int) wxID_ANY
;
15494 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15495 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15496 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15497 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15498 long arg6
= (long) 0 ;
15499 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15500 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15512 bool temp7
= false ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 PyObject
* obj2
= 0 ;
15516 PyObject
* obj3
= 0 ;
15517 PyObject
* obj4
= 0 ;
15518 PyObject
* obj5
= 0 ;
15519 PyObject
* obj6
= 0 ;
15520 char * kwnames
[] = {
15521 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15526 if (!SWIG_IsOK(res1
)) {
15527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15529 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15530 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15531 if (!SWIG_IsOK(res2
)) {
15532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15534 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15537 if (!SWIG_IsOK(ecode3
)) {
15538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15540 arg3
= static_cast< int >(val3
);
15545 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15551 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15555 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15556 if (!SWIG_IsOK(ecode6
)) {
15557 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15559 arg6
= static_cast< long >(val6
);
15563 arg7
= wxString_in_helper(obj6
);
15564 if (arg7
== NULL
) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15591 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
= 0;
15593 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15599 PyObject
* obj0
= 0 ;
15600 PyObject
* obj1
= 0 ;
15601 char * kwnames
[] = {
15602 (char *) "self",(char *) "count", NULL
15605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15607 if (!SWIG_IsOK(res1
)) {
15608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15610 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15611 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15612 if (!SWIG_IsOK(ecode2
)) {
15613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15615 arg2
= static_cast< size_t >(val2
);
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 (arg1
)->SetItemCount(arg2
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= SWIG_Py_Void();
15629 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15630 PyObject
*resultobj
= 0;
15631 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15632 wxFileSystem
*result
= 0 ;
15635 PyObject
*swig_obj
[1] ;
15637 if (!args
) SWIG_fail
;
15638 swig_obj
[0] = args
;
15639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15640 if (!SWIG_IsOK(res1
)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15643 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15648 result
= (wxFileSystem
*) &_result_ref
;
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15660 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
= 0;
15662 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15664 wxHtmlLinkInfo
*arg3
= 0 ;
15671 PyObject
* obj0
= 0 ;
15672 PyObject
* obj1
= 0 ;
15673 PyObject
* obj2
= 0 ;
15674 char * kwnames
[] = {
15675 (char *) "self",(char *) "n",(char *) "link", NULL
15678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15680 if (!SWIG_IsOK(res1
)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15683 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15684 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15685 if (!SWIG_IsOK(ecode2
)) {
15686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15688 arg2
= static_cast< size_t >(val2
);
15689 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15690 if (!SWIG_IsOK(res3
)) {
15691 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15696 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= SWIG_Py_Void();
15710 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15713 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15714 return SWIG_Py_Void();
15717 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15718 return SWIG_Python_InitShadowInstance(args
);
15721 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15722 PyObject
*resultobj
= 0;
15723 wxPyTaskBarIcon
*result
= 0 ;
15725 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15727 if (!wxPyCheckForApp()) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15740 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15741 PyObject
*resultobj
= 0;
15742 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15745 PyObject
*swig_obj
[1] ;
15747 if (!args
) SWIG_fail
;
15748 swig_obj
[0] = args
;
15749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15750 if (!SWIG_IsOK(res1
)) {
15751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15753 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_Py_Void();
15768 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
= 0;
15770 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15771 PyObject
*arg2
= (PyObject
*) 0 ;
15772 PyObject
*arg3
= (PyObject
*) 0 ;
15778 PyObject
* obj0
= 0 ;
15779 PyObject
* obj1
= 0 ;
15780 PyObject
* obj2
= 0 ;
15781 PyObject
* obj3
= 0 ;
15782 char * kwnames
[] = {
15783 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15788 if (!SWIG_IsOK(res1
)) {
15789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15791 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15794 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15795 if (!SWIG_IsOK(ecode4
)) {
15796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15798 arg4
= static_cast< int >(val4
);
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_Py_Void();
15812 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15813 PyObject
*resultobj
= 0;
15814 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15817 PyObject
*swig_obj
[1] ;
15819 if (!args
) SWIG_fail
;
15820 swig_obj
[0] = args
;
15821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15822 if (!SWIG_IsOK(res1
)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15825 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 wxPyTaskBarIcon_Destroy(arg1
);
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= SWIG_Py_Void();
15839 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 PyObject
*resultobj
= 0;
15841 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15845 PyObject
*swig_obj
[1] ;
15847 if (!args
) SWIG_fail
;
15848 swig_obj
[0] = args
;
15849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15853 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15869 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 PyObject
*resultobj
= 0;
15871 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15875 PyObject
*swig_obj
[1] ;
15877 if (!args
) SWIG_fail
;
15878 swig_obj
[0] = args
;
15879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15883 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15899 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
= 0;
15901 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15903 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15904 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15910 bool temp3
= false ;
15911 PyObject
* obj0
= 0 ;
15912 PyObject
* obj1
= 0 ;
15913 PyObject
* obj2
= 0 ;
15914 char * kwnames
[] = {
15915 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15920 if (!SWIG_IsOK(res1
)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15923 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15925 if (!SWIG_IsOK(res2
)) {
15926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15931 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15934 arg3
= wxString_in_helper(obj2
);
15935 if (arg3
== NULL
) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15962 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15963 PyObject
*resultobj
= 0;
15964 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15968 PyObject
*swig_obj
[1] ;
15970 if (!args
) SWIG_fail
;
15971 swig_obj
[0] = args
;
15972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15973 if (!SWIG_IsOK(res1
)) {
15974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15976 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= (bool)(arg1
)->RemoveIcon();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15992 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
= 0;
15994 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15995 wxMenu
*arg2
= (wxMenu
*) 0 ;
16001 PyObject
* obj0
= 0 ;
16002 PyObject
* obj1
= 0 ;
16003 char * kwnames
[] = {
16004 (char *) "self",(char *) "menu", NULL
16007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16009 if (!SWIG_IsOK(res1
)) {
16010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16012 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16014 if (!SWIG_IsOK(res2
)) {
16015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16017 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= (bool)(arg1
)->PopupMenu(arg2
);
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16033 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16036 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16037 return SWIG_Py_Void();
16040 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16041 return SWIG_Python_InitShadowInstance(args
);
16044 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
= 0;
16047 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16048 wxTaskBarIconEvent
*result
= 0 ;
16053 PyObject
* obj0
= 0 ;
16054 PyObject
* obj1
= 0 ;
16055 char * kwnames
[] = {
16056 (char *) "evtType",(char *) "tbIcon", NULL
16059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16060 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16061 if (!SWIG_IsOK(ecode1
)) {
16062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16064 arg1
= static_cast< wxEventType
>(val1
);
16065 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16066 if (!SWIG_IsOK(res2
)) {
16067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16069 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16083 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16086 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16087 return SWIG_Py_Void();
16090 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16091 return SWIG_Python_InitShadowInstance(args
);
16094 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16095 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16100 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16101 PyObject
*pyobj
= 0;
16105 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16107 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16114 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16115 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16120 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16121 PyObject
*pyobj
= 0;
16125 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16127 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16134 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16135 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16140 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16141 PyObject
*pyobj
= 0;
16145 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16147 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16154 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16155 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16160 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16161 PyObject
*pyobj
= 0;
16165 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16167 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16174 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16175 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16180 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16181 PyObject
*pyobj
= 0;
16185 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16187 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16194 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16195 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16200 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16201 PyObject
*pyobj
= 0;
16205 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16207 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16214 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16215 PyObject
*resultobj
= 0;
16216 wxColourData
*result
= 0 ;
16218 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (wxColourData
*)new wxColourData();
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16232 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16233 PyObject
*resultobj
= 0;
16234 wxColourData
*arg1
= (wxColourData
*) 0 ;
16237 PyObject
*swig_obj
[1] ;
16239 if (!args
) SWIG_fail
;
16240 swig_obj
[0] = args
;
16241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16242 if (!SWIG_IsOK(res1
)) {
16243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16245 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= SWIG_Py_Void();
16260 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16261 PyObject
*resultobj
= 0;
16262 wxColourData
*arg1
= (wxColourData
*) 0 ;
16266 PyObject
*swig_obj
[1] ;
16268 if (!args
) SWIG_fail
;
16269 swig_obj
[0] = args
;
16270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16271 if (!SWIG_IsOK(res1
)) {
16272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16274 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= (bool)(arg1
)->GetChooseFull();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16290 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16291 PyObject
*resultobj
= 0;
16292 wxColourData
*arg1
= (wxColourData
*) 0 ;
16296 PyObject
*swig_obj
[1] ;
16298 if (!args
) SWIG_fail
;
16299 swig_obj
[0] = args
;
16300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16301 if (!SWIG_IsOK(res1
)) {
16302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16304 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 result
= (arg1
)->GetColour();
16308 wxPyEndAllowThreads(__tstate
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16318 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
= 0;
16320 wxColourData
*arg1
= (wxColourData
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 char * kwnames
[] = {
16330 (char *) "self",(char *) "i", NULL
16333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16335 if (!SWIG_IsOK(res1
)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16338 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16340 if (!SWIG_IsOK(ecode2
)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16343 arg2
= static_cast< int >(val2
);
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (arg1
)->GetCustomColour(arg2
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16357 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
= 0;
16359 wxColourData
*arg1
= (wxColourData
*) 0 ;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 char * kwnames
[] = {
16368 (char *) "self",(char *) "flag", NULL
16371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16373 if (!SWIG_IsOK(res1
)) {
16374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16376 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16378 if (!SWIG_IsOK(ecode2
)) {
16379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16381 arg2
= static_cast< int >(val2
);
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 (arg1
)->SetChooseFull(arg2
);
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= SWIG_Py_Void();
16395 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
= 0;
16397 wxColourData
*arg1
= (wxColourData
*) 0 ;
16398 wxColour
*arg2
= 0 ;
16402 PyObject
* obj0
= 0 ;
16403 PyObject
* obj1
= 0 ;
16404 char * kwnames
[] = {
16405 (char *) "self",(char *) "colour", NULL
16408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16410 if (!SWIG_IsOK(res1
)) {
16411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16413 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16416 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 (arg1
)->SetColour((wxColour
const &)*arg2
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= SWIG_Py_Void();
16431 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
= 0;
16433 wxColourData
*arg1
= (wxColourData
*) 0 ;
16435 wxColour
*arg3
= 0 ;
16441 PyObject
* obj0
= 0 ;
16442 PyObject
* obj1
= 0 ;
16443 PyObject
* obj2
= 0 ;
16444 char * kwnames
[] = {
16445 (char *) "self",(char *) "i",(char *) "colour", NULL
16448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16450 if (!SWIG_IsOK(res1
)) {
16451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16453 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16455 if (!SWIG_IsOK(ecode2
)) {
16456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16458 arg2
= static_cast< int >(val2
);
16461 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= SWIG_Py_Void();
16476 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16479 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16480 return SWIG_Py_Void();
16483 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16484 return SWIG_Python_InitShadowInstance(args
);
16487 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
= 0;
16489 wxWindow
*arg1
= (wxWindow
*) 0 ;
16490 wxColourData
*arg2
= (wxColourData
*) NULL
;
16491 wxColourDialog
*result
= 0 ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 char * kwnames
[] = {
16499 (char *) "parent",(char *) "data", NULL
16502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16504 if (!SWIG_IsOK(res1
)) {
16505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16507 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16510 if (!SWIG_IsOK(res2
)) {
16511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16513 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16516 if (!wxPyCheckForApp()) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16529 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16530 PyObject
*resultobj
= 0;
16531 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16532 wxColourData
*result
= 0 ;
16535 PyObject
*swig_obj
[1] ;
16537 if (!args
) SWIG_fail
;
16538 swig_obj
[0] = args
;
16539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16540 if (!SWIG_IsOK(res1
)) {
16541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16543 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16548 result
= (wxColourData
*) &_result_ref
;
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16560 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16563 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16564 return SWIG_Py_Void();
16567 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16568 return SWIG_Python_InitShadowInstance(args
);
16571 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
= 0;
16573 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16574 wxColour
const &arg2_defvalue
= wxNullColour
;
16575 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16576 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16577 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16582 bool temp3
= false ;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 PyObject
* obj2
= 0 ;
16586 char * kwnames
[] = {
16587 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16593 if (!SWIG_IsOK(res1
)) {
16594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16601 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16606 arg3
= wxString_in_helper(obj2
);
16607 if (arg3
== NULL
) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16632 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
= 0;
16634 wxWindow
*arg1
= (wxWindow
*) 0 ;
16635 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16636 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16637 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16638 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16639 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16640 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16641 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16642 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16643 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16644 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16645 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16646 wxDirDialog
*result
= 0 ;
16649 bool temp2
= false ;
16650 bool temp3
= false ;
16655 bool temp7
= false ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 PyObject
* obj2
= 0 ;
16659 PyObject
* obj3
= 0 ;
16660 PyObject
* obj4
= 0 ;
16661 PyObject
* obj5
= 0 ;
16662 PyObject
* obj6
= 0 ;
16663 char * kwnames
[] = {
16664 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16669 if (!SWIG_IsOK(res1
)) {
16670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16672 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16675 arg2
= wxString_in_helper(obj1
);
16676 if (arg2
== NULL
) SWIG_fail
;
16682 arg3
= wxString_in_helper(obj2
);
16683 if (arg3
== NULL
) SWIG_fail
;
16688 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16689 if (!SWIG_IsOK(ecode4
)) {
16690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16692 arg4
= static_cast< long >(val4
);
16697 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16703 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16708 arg7
= wxString_in_helper(obj6
);
16709 if (arg7
== NULL
) SWIG_fail
;
16714 if (!wxPyCheckForApp()) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16751 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16752 PyObject
*resultobj
= 0;
16753 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16757 PyObject
*swig_obj
[1] ;
16759 if (!args
) SWIG_fail
;
16760 swig_obj
[0] = args
;
16761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16762 if (!SWIG_IsOK(res1
)) {
16763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16765 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 result
= (arg1
)->GetPath();
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16785 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16786 PyObject
*resultobj
= 0;
16787 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16791 PyObject
*swig_obj
[1] ;
16793 if (!args
) SWIG_fail
;
16794 swig_obj
[0] = args
;
16795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16796 if (!SWIG_IsOK(res1
)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16799 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (arg1
)->GetMessage();
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16819 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
= 0;
16821 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16822 wxString
*arg2
= 0 ;
16825 bool temp2
= false ;
16826 PyObject
* obj0
= 0 ;
16827 PyObject
* obj1
= 0 ;
16828 char * kwnames
[] = {
16829 (char *) "self",(char *) "message", NULL
16832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16834 if (!SWIG_IsOK(res1
)) {
16835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16837 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16839 arg2
= wxString_in_helper(obj1
);
16840 if (arg2
== NULL
) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 (arg1
)->SetMessage((wxString
const &)*arg2
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= SWIG_Py_Void();
16864 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
= 0;
16866 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16867 wxString
*arg2
= 0 ;
16870 bool temp2
= false ;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 char * kwnames
[] = {
16874 (char *) "self",(char *) "path", NULL
16877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16879 if (!SWIG_IsOK(res1
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16882 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16884 arg2
= wxString_in_helper(obj1
);
16885 if (arg2
== NULL
) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 (arg1
)->SetPath((wxString
const &)*arg2
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= SWIG_Py_Void();
16909 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16911 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16912 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16913 return SWIG_Py_Void();
16916 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16917 return SWIG_Python_InitShadowInstance(args
);
16920 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
= 0;
16922 wxWindow
*arg1
= (wxWindow
*) 0 ;
16923 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16924 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16925 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16926 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16927 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16928 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16929 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16930 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16931 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16932 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16933 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16934 wxFileDialog
*result
= 0 ;
16937 bool temp2
= false ;
16938 bool temp3
= false ;
16939 bool temp4
= false ;
16940 bool temp5
= false ;
16944 PyObject
* obj0
= 0 ;
16945 PyObject
* obj1
= 0 ;
16946 PyObject
* obj2
= 0 ;
16947 PyObject
* obj3
= 0 ;
16948 PyObject
* obj4
= 0 ;
16949 PyObject
* obj5
= 0 ;
16950 PyObject
* obj6
= 0 ;
16951 char * kwnames
[] = {
16952 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16957 if (!SWIG_IsOK(res1
)) {
16958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16960 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16963 arg2
= wxString_in_helper(obj1
);
16964 if (arg2
== NULL
) SWIG_fail
;
16970 arg3
= wxString_in_helper(obj2
);
16971 if (arg3
== NULL
) SWIG_fail
;
16977 arg4
= wxString_in_helper(obj3
);
16978 if (arg4
== NULL
) SWIG_fail
;
16984 arg5
= wxString_in_helper(obj4
);
16985 if (arg5
== NULL
) SWIG_fail
;
16990 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16991 if (!SWIG_IsOK(ecode6
)) {
16992 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16994 arg6
= static_cast< long >(val6
);
16999 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17003 if (!wxPyCheckForApp()) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17048 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
= 0;
17050 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17051 wxString
*arg2
= 0 ;
17054 bool temp2
= false ;
17055 PyObject
* obj0
= 0 ;
17056 PyObject
* obj1
= 0 ;
17057 char * kwnames
[] = {
17058 (char *) "self",(char *) "message", NULL
17061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17063 if (!SWIG_IsOK(res1
)) {
17064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17066 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17068 arg2
= wxString_in_helper(obj1
);
17069 if (arg2
== NULL
) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 (arg1
)->SetMessage((wxString
const &)*arg2
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= SWIG_Py_Void();
17093 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
= 0;
17095 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17096 wxString
*arg2
= 0 ;
17099 bool temp2
= false ;
17100 PyObject
* obj0
= 0 ;
17101 PyObject
* obj1
= 0 ;
17102 char * kwnames
[] = {
17103 (char *) "self",(char *) "path", NULL
17106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17108 if (!SWIG_IsOK(res1
)) {
17109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17111 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17113 arg2
= wxString_in_helper(obj1
);
17114 if (arg2
== NULL
) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 (arg1
)->SetPath((wxString
const &)*arg2
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_Py_Void();
17138 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
= 0;
17140 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17141 wxString
*arg2
= 0 ;
17144 bool temp2
= false ;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 char * kwnames
[] = {
17148 (char *) "self",(char *) "dir", NULL
17151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17153 if (!SWIG_IsOK(res1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17156 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17158 arg2
= wxString_in_helper(obj1
);
17159 if (arg2
== NULL
) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= SWIG_Py_Void();
17183 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
= 0;
17185 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17186 wxString
*arg2
= 0 ;
17189 bool temp2
= false ;
17190 PyObject
* obj0
= 0 ;
17191 PyObject
* obj1
= 0 ;
17192 char * kwnames
[] = {
17193 (char *) "self",(char *) "name", NULL
17196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17198 if (!SWIG_IsOK(res1
)) {
17199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17201 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17203 arg2
= wxString_in_helper(obj1
);
17204 if (arg2
== NULL
) SWIG_fail
;
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 (arg1
)->SetFilename((wxString
const &)*arg2
);
17210 wxPyEndAllowThreads(__tstate
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17213 resultobj
= SWIG_Py_Void();
17228 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
= 0;
17230 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17231 wxString
*arg2
= 0 ;
17234 bool temp2
= false ;
17235 PyObject
* obj0
= 0 ;
17236 PyObject
* obj1
= 0 ;
17237 char * kwnames
[] = {
17238 (char *) "self",(char *) "wildCard", NULL
17241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17243 if (!SWIG_IsOK(res1
)) {
17244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17246 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17248 arg2
= wxString_in_helper(obj1
);
17249 if (arg2
== NULL
) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= SWIG_Py_Void();
17273 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
= 0;
17275 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char * kwnames
[] = {
17284 (char *) "self",(char *) "filterIndex", NULL
17287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17289 if (!SWIG_IsOK(res1
)) {
17290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17292 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17294 if (!SWIG_IsOK(ecode2
)) {
17295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17297 arg2
= static_cast< int >(val2
);
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 (arg1
)->SetFilterIndex(arg2
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= SWIG_Py_Void();
17311 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17312 PyObject
*resultobj
= 0;
17313 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17317 PyObject
*swig_obj
[1] ;
17319 if (!args
) SWIG_fail
;
17320 swig_obj
[0] = args
;
17321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17322 if (!SWIG_IsOK(res1
)) {
17323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17325 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17345 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17346 PyObject
*resultobj
= 0;
17347 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17351 PyObject
*swig_obj
[1] ;
17353 if (!args
) SWIG_fail
;
17354 swig_obj
[0] = args
;
17355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17356 if (!SWIG_IsOK(res1
)) {
17357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17359 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17379 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17380 PyObject
*resultobj
= 0;
17381 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17385 PyObject
*swig_obj
[1] ;
17387 if (!args
) SWIG_fail
;
17388 swig_obj
[0] = args
;
17389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17390 if (!SWIG_IsOK(res1
)) {
17391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17393 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17413 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17414 PyObject
*resultobj
= 0;
17415 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17419 PyObject
*swig_obj
[1] ;
17421 if (!args
) SWIG_fail
;
17422 swig_obj
[0] = args
;
17423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17424 if (!SWIG_IsOK(res1
)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17427 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17447 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17448 PyObject
*resultobj
= 0;
17449 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17453 PyObject
*swig_obj
[1] ;
17455 if (!args
) SWIG_fail
;
17456 swig_obj
[0] = args
;
17457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17458 if (!SWIG_IsOK(res1
)) {
17459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17461 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17481 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17482 PyObject
*resultobj
= 0;
17483 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17487 PyObject
*swig_obj
[1] ;
17489 if (!args
) SWIG_fail
;
17490 swig_obj
[0] = args
;
17491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17492 if (!SWIG_IsOK(res1
)) {
17493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17495 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17502 resultobj
= SWIG_From_int(static_cast< int >(result
));
17509 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17510 PyObject
*resultobj
= 0;
17511 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17512 PyObject
*result
= 0 ;
17515 PyObject
*swig_obj
[1] ;
17517 if (!args
) SWIG_fail
;
17518 swig_obj
[0] = args
;
17519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17520 if (!SWIG_IsOK(res1
)) {
17521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17523 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= result
;
17537 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17538 PyObject
*resultobj
= 0;
17539 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17540 PyObject
*result
= 0 ;
17543 PyObject
*swig_obj
[1] ;
17545 if (!args
) SWIG_fail
;
17546 swig_obj
[0] = args
;
17547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17548 if (!SWIG_IsOK(res1
)) {
17549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17551 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17554 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= result
;
17565 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17568 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17569 return SWIG_Py_Void();
17572 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17573 return SWIG_Python_InitShadowInstance(args
);
17576 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
= 0;
17578 wxWindow
*arg1
= (wxWindow
*) 0 ;
17579 wxString
*arg2
= 0 ;
17580 wxString
*arg3
= 0 ;
17581 int arg4
= (int) 0 ;
17582 wxString
*arg5
= (wxString
*) NULL
;
17583 long arg6
= (long) wxCHOICEDLG_STYLE
;
17584 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17585 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17586 wxMultiChoiceDialog
*result
= 0 ;
17589 bool temp2
= false ;
17590 bool temp3
= false ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 PyObject
* obj2
= 0 ;
17597 PyObject
* obj3
= 0 ;
17598 PyObject
* obj4
= 0 ;
17599 PyObject
* obj5
= 0 ;
17600 char * kwnames
[] = {
17601 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17606 if (!SWIG_IsOK(res1
)) {
17607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17609 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17611 arg2
= wxString_in_helper(obj1
);
17612 if (arg2
== NULL
) SWIG_fail
;
17616 arg3
= wxString_in_helper(obj2
);
17617 if (arg3
== NULL
) SWIG_fail
;
17622 arg4
= PyList_Size(obj3
);
17623 arg5
= wxString_LIST_helper(obj3
);
17624 if (arg5
== NULL
) SWIG_fail
;
17628 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17629 if (!SWIG_IsOK(ecode6
)) {
17630 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17632 arg6
= static_cast< long >(val6
);
17637 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17641 if (!wxPyCheckForApp()) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17657 if (arg5
) delete [] arg5
;
17670 if (arg5
) delete [] arg5
;
17676 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
= 0;
17678 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17679 wxArrayInt
*arg2
= 0 ;
17682 bool temp2
= false ;
17683 PyObject
* obj0
= 0 ;
17684 PyObject
* obj1
= 0 ;
17685 char * kwnames
[] = {
17686 (char *) "self",(char *) "selections", NULL
17689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17691 if (!SWIG_IsOK(res1
)) {
17692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17694 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17696 if (! PySequence_Check(obj1
)) {
17697 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17700 arg2
= new wxArrayInt
;
17702 int i
, len
=PySequence_Length(obj1
);
17703 for (i
=0; i
<len
; i
++) {
17704 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17705 PyObject
* number
= PyNumber_Int(item
);
17706 arg2
->Add(PyInt_AS_LONG(number
));
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 resultobj
= SWIG_Py_Void();
17719 if (temp2
) delete arg2
;
17724 if (temp2
) delete arg2
;
17730 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17731 PyObject
*resultobj
= 0;
17732 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 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_wxMultiChoiceDialog
, 0 | 0 );
17741 if (!SWIG_IsOK(res1
)) {
17742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17744 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= result
;
17758 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17761 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17762 return SWIG_Py_Void();
17765 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17766 return SWIG_Python_InitShadowInstance(args
);
17769 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
= 0;
17771 wxWindow
*arg1
= (wxWindow
*) 0 ;
17772 wxString
*arg2
= 0 ;
17773 wxString
*arg3
= 0 ;
17775 wxString
*arg5
= (wxString
*) 0 ;
17776 long arg6
= (long) wxCHOICEDLG_STYLE
;
17777 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17778 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17779 wxSingleChoiceDialog
*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 *)"OOOO|OO:new_SingleChoiceDialog",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_SingleChoiceDialog" "', 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
;
17814 arg4
= PyList_Size(obj3
);
17815 arg5
= wxString_LIST_helper(obj3
);
17816 if (arg5
== NULL
) SWIG_fail
;
17819 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17820 if (!SWIG_IsOK(ecode6
)) {
17821 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17823 arg6
= static_cast< long >(val6
);
17828 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17832 if (!wxPyCheckForApp()) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17848 if (arg5
) delete [] arg5
;
17861 if (arg5
) delete [] arg5
;
17867 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17868 PyObject
*resultobj
= 0;
17869 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17873 PyObject
*swig_obj
[1] ;
17875 if (!args
) SWIG_fail
;
17876 swig_obj
[0] = args
;
17877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17878 if (!SWIG_IsOK(res1
)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17881 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 result
= (int)(arg1
)->GetSelection();
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= SWIG_From_int(static_cast< int >(result
));
17895 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17896 PyObject
*resultobj
= 0;
17897 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17901 PyObject
*swig_obj
[1] ;
17903 if (!args
) SWIG_fail
;
17904 swig_obj
[0] = args
;
17905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17906 if (!SWIG_IsOK(res1
)) {
17907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17909 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (arg1
)->GetStringSelection();
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17929 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
= 0;
17931 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 char * kwnames
[] = {
17940 (char *) "self",(char *) "sel", NULL
17943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17945 if (!SWIG_IsOK(res1
)) {
17946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17948 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17950 if (!SWIG_IsOK(ecode2
)) {
17951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17953 arg2
= static_cast< int >(val2
);
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 (arg1
)->SetSelection(arg2
);
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= SWIG_Py_Void();
17967 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17970 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17971 return SWIG_Py_Void();
17974 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17975 return SWIG_Python_InitShadowInstance(args
);
17978 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
= 0;
17980 wxWindow
*arg1
= (wxWindow
*) 0 ;
17981 wxString
*arg2
= 0 ;
17982 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17983 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17984 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17985 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17986 long arg5
= (long) wxTextEntryDialogStyle
;
17987 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17988 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17989 wxTextEntryDialog
*result
= 0 ;
17992 bool temp2
= false ;
17993 bool temp3
= false ;
17994 bool temp4
= false ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 PyObject
* obj2
= 0 ;
18001 PyObject
* obj3
= 0 ;
18002 PyObject
* obj4
= 0 ;
18003 PyObject
* obj5
= 0 ;
18004 char * kwnames
[] = {
18005 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18010 if (!SWIG_IsOK(res1
)) {
18011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18013 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18015 arg2
= wxString_in_helper(obj1
);
18016 if (arg2
== NULL
) SWIG_fail
;
18021 arg3
= wxString_in_helper(obj2
);
18022 if (arg3
== NULL
) SWIG_fail
;
18028 arg4
= wxString_in_helper(obj3
);
18029 if (arg4
== NULL
) SWIG_fail
;
18034 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18035 if (!SWIG_IsOK(ecode5
)) {
18036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18038 arg5
= static_cast< long >(val5
);
18043 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18047 if (!wxPyCheckForApp()) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18084 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18085 PyObject
*resultobj
= 0;
18086 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18090 PyObject
*swig_obj
[1] ;
18092 if (!args
) SWIG_fail
;
18093 swig_obj
[0] = args
;
18094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18095 if (!SWIG_IsOK(res1
)) {
18096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18098 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (arg1
)->GetValue();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18118 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
= 0;
18120 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18121 wxString
*arg2
= 0 ;
18124 bool temp2
= false ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 char * kwnames
[] = {
18128 (char *) "self",(char *) "value", NULL
18131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18133 if (!SWIG_IsOK(res1
)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18136 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18138 arg2
= wxString_in_helper(obj1
);
18139 if (arg2
== NULL
) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 (arg1
)->SetValue((wxString
const &)*arg2
);
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= SWIG_Py_Void();
18163 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18166 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18167 return SWIG_Py_Void();
18170 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18171 return SWIG_Python_InitShadowInstance(args
);
18174 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18175 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18180 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18181 PyObject
*pyobj
= 0;
18185 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18187 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18194 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
= 0;
18196 wxWindow
*arg1
= (wxWindow
*) 0 ;
18197 wxString
*arg2
= 0 ;
18198 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18200 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18202 long arg5
= (long) wxTextEntryDialogStyle
;
18203 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18204 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18205 wxPasswordEntryDialog
*result
= 0 ;
18208 bool temp2
= false ;
18209 bool temp3
= false ;
18210 bool temp4
= false ;
18214 PyObject
* obj0
= 0 ;
18215 PyObject
* obj1
= 0 ;
18216 PyObject
* obj2
= 0 ;
18217 PyObject
* obj3
= 0 ;
18218 PyObject
* obj4
= 0 ;
18219 PyObject
* obj5
= 0 ;
18220 char * kwnames
[] = {
18221 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18226 if (!SWIG_IsOK(res1
)) {
18227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18229 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18231 arg2
= wxString_in_helper(obj1
);
18232 if (arg2
== NULL
) SWIG_fail
;
18237 arg3
= wxString_in_helper(obj2
);
18238 if (arg3
== NULL
) SWIG_fail
;
18244 arg4
= wxString_in_helper(obj3
);
18245 if (arg4
== NULL
) SWIG_fail
;
18250 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18251 if (!SWIG_IsOK(ecode5
)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18254 arg5
= static_cast< long >(val5
);
18259 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18299 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18302 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18303 return SWIG_Py_Void();
18306 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18307 return SWIG_Python_InitShadowInstance(args
);
18310 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18311 PyObject
*resultobj
= 0;
18312 wxFontData
*result
= 0 ;
18314 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 result
= (wxFontData
*)new wxFontData();
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18328 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18329 PyObject
*resultobj
= 0;
18330 wxFontData
*arg1
= (wxFontData
*) 0 ;
18333 PyObject
*swig_obj
[1] ;
18335 if (!args
) SWIG_fail
;
18336 swig_obj
[0] = args
;
18337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18338 if (!SWIG_IsOK(res1
)) {
18339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18341 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= SWIG_Py_Void();
18356 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
= 0;
18358 wxFontData
*arg1
= (wxFontData
*) 0 ;
18364 PyObject
* obj0
= 0 ;
18365 PyObject
* obj1
= 0 ;
18366 char * kwnames
[] = {
18367 (char *) "self",(char *) "enable", NULL
18370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18372 if (!SWIG_IsOK(res1
)) {
18373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18375 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18376 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18377 if (!SWIG_IsOK(ecode2
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18380 arg2
= static_cast< bool >(val2
);
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 (arg1
)->EnableEffects(arg2
);
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= SWIG_Py_Void();
18394 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18395 PyObject
*resultobj
= 0;
18396 wxFontData
*arg1
= (wxFontData
*) 0 ;
18400 PyObject
*swig_obj
[1] ;
18402 if (!args
) SWIG_fail
;
18403 swig_obj
[0] = args
;
18404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18405 if (!SWIG_IsOK(res1
)) {
18406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18408 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18411 result
= (bool)(arg1
)->GetAllowSymbols();
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18424 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18425 PyObject
*resultobj
= 0;
18426 wxFontData
*arg1
= (wxFontData
*) 0 ;
18430 PyObject
*swig_obj
[1] ;
18432 if (!args
) SWIG_fail
;
18433 swig_obj
[0] = args
;
18434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18435 if (!SWIG_IsOK(res1
)) {
18436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18438 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (arg1
)->GetColour();
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18452 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18453 PyObject
*resultobj
= 0;
18454 wxFontData
*arg1
= (wxFontData
*) 0 ;
18458 PyObject
*swig_obj
[1] ;
18460 if (!args
) SWIG_fail
;
18461 swig_obj
[0] = args
;
18462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18463 if (!SWIG_IsOK(res1
)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18466 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (arg1
)->GetChosenFont();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18480 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18481 PyObject
*resultobj
= 0;
18482 wxFontData
*arg1
= (wxFontData
*) 0 ;
18486 PyObject
*swig_obj
[1] ;
18488 if (!args
) SWIG_fail
;
18489 swig_obj
[0] = args
;
18490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18491 if (!SWIG_IsOK(res1
)) {
18492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18494 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (bool)(arg1
)->GetEnableEffects();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18510 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18511 PyObject
*resultobj
= 0;
18512 wxFontData
*arg1
= (wxFontData
*) 0 ;
18516 PyObject
*swig_obj
[1] ;
18518 if (!args
) SWIG_fail
;
18519 swig_obj
[0] = args
;
18520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18521 if (!SWIG_IsOK(res1
)) {
18522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18524 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= (arg1
)->GetInitialFont();
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18538 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18539 PyObject
*resultobj
= 0;
18540 wxFontData
*arg1
= (wxFontData
*) 0 ;
18544 PyObject
*swig_obj
[1] ;
18546 if (!args
) SWIG_fail
;
18547 swig_obj
[0] = args
;
18548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18549 if (!SWIG_IsOK(res1
)) {
18550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18552 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 result
= (bool)(arg1
)->GetShowHelp();
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18568 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
= 0;
18570 wxFontData
*arg1
= (wxFontData
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 char * kwnames
[] = {
18579 (char *) "self",(char *) "allowSymbols", NULL
18582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18584 if (!SWIG_IsOK(res1
)) {
18585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18587 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18588 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18589 if (!SWIG_IsOK(ecode2
)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18592 arg2
= static_cast< bool >(val2
);
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 (arg1
)->SetAllowSymbols(arg2
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_Py_Void();
18606 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
= 0;
18608 wxFontData
*arg1
= (wxFontData
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 char * kwnames
[] = {
18617 (char *) "self",(char *) "font", NULL
18620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18622 if (!SWIG_IsOK(res1
)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18625 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18627 if (!SWIG_IsOK(res2
)) {
18628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18633 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_Py_Void();
18647 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
= 0;
18649 wxFontData
*arg1
= (wxFontData
*) 0 ;
18650 wxColour
*arg2
= 0 ;
18654 PyObject
* obj0
= 0 ;
18655 PyObject
* obj1
= 0 ;
18656 char * kwnames
[] = {
18657 (char *) "self",(char *) "colour", NULL
18660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18662 if (!SWIG_IsOK(res1
)) {
18663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18665 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18668 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 (arg1
)->SetColour((wxColour
const &)*arg2
);
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_Py_Void();
18683 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
= 0;
18685 wxFontData
*arg1
= (wxFontData
*) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 PyObject
* obj1
= 0 ;
18693 char * kwnames
[] = {
18694 (char *) "self",(char *) "font", NULL
18697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18699 if (!SWIG_IsOK(res1
)) {
18700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18702 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18704 if (!SWIG_IsOK(res2
)) {
18705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18710 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18717 resultobj
= SWIG_Py_Void();
18724 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
= 0;
18726 wxFontData
*arg1
= (wxFontData
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj1
= 0 ;
18737 PyObject
* obj2
= 0 ;
18738 char * kwnames
[] = {
18739 (char *) "self",(char *) "min",(char *) "max", NULL
18742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18744 if (!SWIG_IsOK(res1
)) {
18745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18747 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18749 if (!SWIG_IsOK(ecode2
)) {
18750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18752 arg2
= static_cast< int >(val2
);
18753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18754 if (!SWIG_IsOK(ecode3
)) {
18755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18757 arg3
= static_cast< int >(val3
);
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 (arg1
)->SetRange(arg2
,arg3
);
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18764 resultobj
= SWIG_Py_Void();
18771 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
= 0;
18773 wxFontData
*arg1
= (wxFontData
*) 0 ;
18779 PyObject
* obj0
= 0 ;
18780 PyObject
* obj1
= 0 ;
18781 char * kwnames
[] = {
18782 (char *) "self",(char *) "showHelp", NULL
18785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18787 if (!SWIG_IsOK(res1
)) {
18788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18790 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18791 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18792 if (!SWIG_IsOK(ecode2
)) {
18793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18795 arg2
= static_cast< bool >(val2
);
18797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18798 (arg1
)->SetShowHelp(arg2
);
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 resultobj
= SWIG_Py_Void();
18809 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18812 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18813 return SWIG_Py_Void();
18816 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18817 return SWIG_Python_InitShadowInstance(args
);
18820 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
= 0;
18822 wxWindow
*arg1
= (wxWindow
*) 0 ;
18823 wxFontData
*arg2
= 0 ;
18824 wxFontDialog
*result
= 0 ;
18829 PyObject
* obj0
= 0 ;
18830 PyObject
* obj1
= 0 ;
18831 char * kwnames
[] = {
18832 (char *) "parent",(char *) "data", NULL
18835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18837 if (!SWIG_IsOK(res1
)) {
18838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18841 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18842 if (!SWIG_IsOK(res2
)) {
18843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18848 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18850 if (!wxPyCheckForApp()) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18863 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18864 PyObject
*resultobj
= 0;
18865 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18866 wxFontData
*result
= 0 ;
18869 PyObject
*swig_obj
[1] ;
18871 if (!args
) SWIG_fail
;
18872 swig_obj
[0] = args
;
18873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18874 if (!SWIG_IsOK(res1
)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18877 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18882 result
= (wxFontData
*) &_result_ref
;
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18894 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18897 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18898 return SWIG_Py_Void();
18901 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18902 return SWIG_Python_InitShadowInstance(args
);
18905 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
= 0;
18907 wxWindow
*arg1
= (wxWindow
*) NULL
;
18908 wxFont
const &arg2_defvalue
= wxNullFont
;
18909 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18910 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18911 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18917 bool temp3
= false ;
18918 PyObject
* obj0
= 0 ;
18919 PyObject
* obj1
= 0 ;
18920 PyObject
* obj2
= 0 ;
18921 char * kwnames
[] = {
18922 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18928 if (!SWIG_IsOK(res1
)) {
18929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18931 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18935 if (!SWIG_IsOK(res2
)) {
18936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18941 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18945 arg3
= wxString_in_helper(obj2
);
18946 if (arg3
== NULL
) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18971 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
= 0;
18973 wxWindow
*arg1
= (wxWindow
*) 0 ;
18974 wxString
*arg2
= 0 ;
18975 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18976 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18977 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18978 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18979 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18980 wxMessageDialog
*result
= 0 ;
18983 bool temp2
= false ;
18984 bool temp3
= false ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 PyObject
* obj2
= 0 ;
18991 PyObject
* obj3
= 0 ;
18992 PyObject
* obj4
= 0 ;
18993 char * kwnames
[] = {
18994 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18999 if (!SWIG_IsOK(res1
)) {
19000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19002 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19004 arg2
= wxString_in_helper(obj1
);
19005 if (arg2
== NULL
) SWIG_fail
;
19010 arg3
= wxString_in_helper(obj2
);
19011 if (arg3
== NULL
) SWIG_fail
;
19016 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19017 if (!SWIG_IsOK(ecode4
)) {
19018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19020 arg4
= static_cast< long >(val4
);
19025 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19029 if (!wxPyCheckForApp()) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19058 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19061 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19062 return SWIG_Py_Void();
19065 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19066 return SWIG_Python_InitShadowInstance(args
);
19069 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
= 0;
19071 wxString
*arg1
= 0 ;
19072 wxString
*arg2
= 0 ;
19073 int arg3
= (int) 100 ;
19074 wxWindow
*arg4
= (wxWindow
*) NULL
;
19075 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19076 wxProgressDialog
*result
= 0 ;
19077 bool temp1
= false ;
19078 bool temp2
= false ;
19085 PyObject
* obj0
= 0 ;
19086 PyObject
* obj1
= 0 ;
19087 PyObject
* obj2
= 0 ;
19088 PyObject
* obj3
= 0 ;
19089 PyObject
* obj4
= 0 ;
19090 char * kwnames
[] = {
19091 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19096 arg1
= wxString_in_helper(obj0
);
19097 if (arg1
== NULL
) SWIG_fail
;
19101 arg2
= wxString_in_helper(obj1
);
19102 if (arg2
== NULL
) SWIG_fail
;
19106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19107 if (!SWIG_IsOK(ecode3
)) {
19108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19110 arg3
= static_cast< int >(val3
);
19113 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19114 if (!SWIG_IsOK(res4
)) {
19115 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19117 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19120 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19121 if (!SWIG_IsOK(ecode5
)) {
19122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19124 arg5
= static_cast< int >(val5
);
19127 if (!wxPyCheckForApp()) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19156 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
= 0;
19158 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19160 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19161 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19162 bool *arg4
= (bool *) 0 ;
19168 bool temp3
= false ;
19170 int res4
= SWIG_TMPOBJ
;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 PyObject
* obj2
= 0 ;
19174 char * kwnames
[] = {
19175 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19181 if (!SWIG_IsOK(res1
)) {
19182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19184 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19186 if (!SWIG_IsOK(ecode2
)) {
19187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19189 arg2
= static_cast< int >(val2
);
19192 arg3
= wxString_in_helper(obj2
);
19193 if (arg3
== NULL
) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19206 if (SWIG_IsTmpObj(res4
)) {
19207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19209 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19226 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19227 PyObject
*resultobj
= 0;
19228 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19231 PyObject
*swig_obj
[1] ;
19233 if (!args
) SWIG_fail
;
19234 swig_obj
[0] = args
;
19235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19236 if (!SWIG_IsOK(res1
)) {
19237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19239 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= SWIG_Py_Void();
19253 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19256 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19257 return SWIG_Py_Void();
19260 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19261 return SWIG_Python_InitShadowInstance(args
);
19264 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
= 0;
19266 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19267 int arg2
= (int) 0 ;
19268 wxFindDialogEvent
*result
= 0 ;
19273 PyObject
* obj0
= 0 ;
19274 PyObject
* obj1
= 0 ;
19275 char * kwnames
[] = {
19276 (char *) "commandType",(char *) "id", NULL
19279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19281 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19282 if (!SWIG_IsOK(ecode1
)) {
19283 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19285 arg1
= static_cast< wxEventType
>(val1
);
19288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19289 if (!SWIG_IsOK(ecode2
)) {
19290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19292 arg2
= static_cast< int >(val2
);
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19307 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19308 PyObject
*resultobj
= 0;
19309 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19313 PyObject
*swig_obj
[1] ;
19315 if (!args
) SWIG_fail
;
19316 swig_obj
[0] = args
;
19317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19318 if (!SWIG_IsOK(res1
)) {
19319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19321 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 result
= (int)(arg1
)->GetFlags();
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_From_int(static_cast< int >(result
));
19335 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19336 PyObject
*resultobj
= 0;
19337 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19338 wxString
*result
= 0 ;
19341 PyObject
*swig_obj
[1] ;
19343 if (!args
) SWIG_fail
;
19344 swig_obj
[0] = args
;
19345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19346 if (!SWIG_IsOK(res1
)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19349 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19353 wxString
const &_result_ref
= (arg1
)->GetFindString();
19354 result
= (wxString
*) &_result_ref
;
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19363 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19372 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19373 PyObject
*resultobj
= 0;
19374 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19375 wxString
*result
= 0 ;
19378 PyObject
*swig_obj
[1] ;
19380 if (!args
) SWIG_fail
;
19381 swig_obj
[0] = args
;
19382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19383 if (!SWIG_IsOK(res1
)) {
19384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19386 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19391 result
= (wxString
*) &_result_ref
;
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19400 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19409 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19410 PyObject
*resultobj
= 0;
19411 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19412 wxFindReplaceDialog
*result
= 0 ;
19415 PyObject
*swig_obj
[1] ;
19417 if (!args
) SWIG_fail
;
19418 swig_obj
[0] = args
;
19419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19420 if (!SWIG_IsOK(res1
)) {
19421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19423 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19437 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
= 0;
19439 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 char * kwnames
[] = {
19448 (char *) "self",(char *) "flags", NULL
19451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19453 if (!SWIG_IsOK(res1
)) {
19454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19456 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19458 if (!SWIG_IsOK(ecode2
)) {
19459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19461 arg2
= static_cast< int >(val2
);
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 (arg1
)->SetFlags(arg2
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_Py_Void();
19475 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
= 0;
19477 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19478 wxString
*arg2
= 0 ;
19481 bool temp2
= false ;
19482 PyObject
* obj0
= 0 ;
19483 PyObject
* obj1
= 0 ;
19484 char * kwnames
[] = {
19485 (char *) "self",(char *) "str", NULL
19488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19490 if (!SWIG_IsOK(res1
)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19493 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19495 arg2
= wxString_in_helper(obj1
);
19496 if (arg2
== NULL
) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 (arg1
)->SetFindString((wxString
const &)*arg2
);
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 resultobj
= SWIG_Py_Void();
19520 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
= 0;
19522 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19523 wxString
*arg2
= 0 ;
19526 bool temp2
= false ;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char * kwnames
[] = {
19530 (char *) "self",(char *) "str", NULL
19533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19535 if (!SWIG_IsOK(res1
)) {
19536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19538 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19540 arg2
= wxString_in_helper(obj1
);
19541 if (arg2
== NULL
) SWIG_fail
;
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= SWIG_Py_Void();
19565 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19568 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19569 return SWIG_Py_Void();
19572 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19573 return SWIG_Python_InitShadowInstance(args
);
19576 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
= 0;
19578 int arg1
= (int) 0 ;
19579 wxFindReplaceData
*result
= 0 ;
19582 PyObject
* obj0
= 0 ;
19583 char * kwnames
[] = {
19584 (char *) "flags", NULL
19587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19589 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19590 if (!SWIG_IsOK(ecode1
)) {
19591 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19593 arg1
= static_cast< int >(val1
);
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19608 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19609 PyObject
*resultobj
= 0;
19610 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19613 PyObject
*swig_obj
[1] ;
19615 if (!args
) SWIG_fail
;
19616 swig_obj
[0] = args
;
19617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19618 if (!SWIG_IsOK(res1
)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19621 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= SWIG_Py_Void();
19636 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19637 PyObject
*resultobj
= 0;
19638 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19639 wxString
*result
= 0 ;
19642 PyObject
*swig_obj
[1] ;
19644 if (!args
) SWIG_fail
;
19645 swig_obj
[0] = args
;
19646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19647 if (!SWIG_IsOK(res1
)) {
19648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19650 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 wxString
const &_result_ref
= (arg1
)->GetFindString();
19655 result
= (wxString
*) &_result_ref
;
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19664 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19673 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19674 PyObject
*resultobj
= 0;
19675 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19676 wxString
*result
= 0 ;
19679 PyObject
*swig_obj
[1] ;
19681 if (!args
) SWIG_fail
;
19682 swig_obj
[0] = args
;
19683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19684 if (!SWIG_IsOK(res1
)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19687 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19692 result
= (wxString
*) &_result_ref
;
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19699 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19701 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19710 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19711 PyObject
*resultobj
= 0;
19712 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19716 PyObject
*swig_obj
[1] ;
19718 if (!args
) SWIG_fail
;
19719 swig_obj
[0] = args
;
19720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19721 if (!SWIG_IsOK(res1
)) {
19722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19724 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= (int)(arg1
)->GetFlags();
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= SWIG_From_int(static_cast< int >(result
));
19738 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
= 0;
19740 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19746 PyObject
* obj0
= 0 ;
19747 PyObject
* obj1
= 0 ;
19748 char * kwnames
[] = {
19749 (char *) "self",(char *) "flags", NULL
19752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19754 if (!SWIG_IsOK(res1
)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19757 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19759 if (!SWIG_IsOK(ecode2
)) {
19760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19762 arg2
= static_cast< int >(val2
);
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 (arg1
)->SetFlags(arg2
);
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= SWIG_Py_Void();
19776 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
= 0;
19778 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19779 wxString
*arg2
= 0 ;
19782 bool temp2
= false ;
19783 PyObject
* obj0
= 0 ;
19784 PyObject
* obj1
= 0 ;
19785 char * kwnames
[] = {
19786 (char *) "self",(char *) "str", NULL
19789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19791 if (!SWIG_IsOK(res1
)) {
19792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19794 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19796 arg2
= wxString_in_helper(obj1
);
19797 if (arg2
== NULL
) SWIG_fail
;
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 (arg1
)->SetFindString((wxString
const &)*arg2
);
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= SWIG_Py_Void();
19821 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
= 0;
19823 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19824 wxString
*arg2
= 0 ;
19827 bool temp2
= false ;
19828 PyObject
* obj0
= 0 ;
19829 PyObject
* obj1
= 0 ;
19830 char * kwnames
[] = {
19831 (char *) "self",(char *) "str", NULL
19834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19836 if (!SWIG_IsOK(res1
)) {
19837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19839 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19841 arg2
= wxString_in_helper(obj1
);
19842 if (arg2
== NULL
) SWIG_fail
;
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 resultobj
= SWIG_Py_Void();
19866 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19869 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19870 return SWIG_Py_Void();
19873 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19874 return SWIG_Python_InitShadowInstance(args
);
19877 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
= 0;
19879 wxWindow
*arg1
= (wxWindow
*) 0 ;
19880 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19881 wxString
*arg3
= 0 ;
19882 int arg4
= (int) 0 ;
19883 wxFindReplaceDialog
*result
= 0 ;
19888 bool temp3
= false ;
19891 PyObject
* obj0
= 0 ;
19892 PyObject
* obj1
= 0 ;
19893 PyObject
* obj2
= 0 ;
19894 PyObject
* obj3
= 0 ;
19895 char * kwnames
[] = {
19896 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19901 if (!SWIG_IsOK(res1
)) {
19902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19906 if (!SWIG_IsOK(res2
)) {
19907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19909 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19911 arg3
= wxString_in_helper(obj2
);
19912 if (arg3
== NULL
) SWIG_fail
;
19916 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19917 if (!SWIG_IsOK(ecode4
)) {
19918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19920 arg4
= static_cast< int >(val4
);
19923 if (!wxPyCheckForApp()) SWIG_fail
;
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19944 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19945 PyObject
*resultobj
= 0;
19946 wxFindReplaceDialog
*result
= 0 ;
19948 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19950 if (!wxPyCheckForApp()) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19963 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
= 0;
19965 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19966 wxWindow
*arg2
= (wxWindow
*) 0 ;
19967 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19968 wxString
*arg4
= 0 ;
19969 int arg5
= (int) 0 ;
19977 bool temp4
= false ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 PyObject
* obj2
= 0 ;
19983 PyObject
* obj3
= 0 ;
19984 PyObject
* obj4
= 0 ;
19985 char * kwnames
[] = {
19986 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19991 if (!SWIG_IsOK(res1
)) {
19992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19994 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19995 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19996 if (!SWIG_IsOK(res2
)) {
19997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19999 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20000 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20001 if (!SWIG_IsOK(res3
)) {
20002 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20004 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20006 arg4
= wxString_in_helper(obj3
);
20007 if (arg4
== NULL
) SWIG_fail
;
20011 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20012 if (!SWIG_IsOK(ecode5
)) {
20013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20015 arg5
= static_cast< int >(val5
);
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20040 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20041 PyObject
*resultobj
= 0;
20042 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20043 wxFindReplaceData
*result
= 0 ;
20046 PyObject
*swig_obj
[1] ;
20048 if (!args
) SWIG_fail
;
20049 swig_obj
[0] = args
;
20050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20051 if (!SWIG_IsOK(res1
)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20054 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20068 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
= 0;
20070 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20071 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 char * kwnames
[] = {
20079 (char *) "self",(char *) "data", NULL
20082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20084 if (!SWIG_IsOK(res1
)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20087 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20088 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20089 if (!SWIG_IsOK(res2
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20092 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 (arg1
)->SetData(arg2
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= SWIG_Py_Void();
20106 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20109 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20110 return SWIG_Py_Void();
20113 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20114 return SWIG_Python_InitShadowInstance(args
);
20117 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
= 0;
20119 wxWindow
*arg1
= (wxWindow
*) 0 ;
20120 int arg2
= (int) (int)-1 ;
20121 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20122 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20123 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20124 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20125 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20126 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20127 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20128 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20129 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20130 wxMDIParentFrame
*result
= 0 ;
20135 bool temp3
= false ;
20140 bool temp7
= false ;
20141 PyObject
* obj0
= 0 ;
20142 PyObject
* obj1
= 0 ;
20143 PyObject
* obj2
= 0 ;
20144 PyObject
* obj3
= 0 ;
20145 PyObject
* obj4
= 0 ;
20146 PyObject
* obj5
= 0 ;
20147 PyObject
* obj6
= 0 ;
20148 char * kwnames
[] = {
20149 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20154 if (!SWIG_IsOK(res1
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20157 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20160 if (!SWIG_IsOK(ecode2
)) {
20161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20163 arg2
= static_cast< int >(val2
);
20167 arg3
= wxString_in_helper(obj2
);
20168 if (arg3
== NULL
) SWIG_fail
;
20175 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20181 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20185 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20186 if (!SWIG_IsOK(ecode6
)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20189 arg6
= static_cast< long >(val6
);
20193 arg7
= wxString_in_helper(obj6
);
20194 if (arg7
== NULL
) SWIG_fail
;
20199 if (!wxPyCheckForApp()) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20228 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20229 PyObject
*resultobj
= 0;
20230 wxMDIParentFrame
*result
= 0 ;
20232 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20234 if (!wxPyCheckForApp()) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20247 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
= 0;
20249 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20250 wxWindow
*arg2
= (wxWindow
*) 0 ;
20251 int arg3
= (int) (int)-1 ;
20252 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20253 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20254 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20255 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20256 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20257 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20258 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20259 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20260 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20268 bool temp4
= false ;
20273 bool temp8
= false ;
20274 PyObject
* obj0
= 0 ;
20275 PyObject
* obj1
= 0 ;
20276 PyObject
* obj2
= 0 ;
20277 PyObject
* obj3
= 0 ;
20278 PyObject
* obj4
= 0 ;
20279 PyObject
* obj5
= 0 ;
20280 PyObject
* obj6
= 0 ;
20281 PyObject
* obj7
= 0 ;
20282 char * kwnames
[] = {
20283 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20288 if (!SWIG_IsOK(res1
)) {
20289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20291 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20292 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20293 if (!SWIG_IsOK(res2
)) {
20294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20296 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20299 if (!SWIG_IsOK(ecode3
)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20302 arg3
= static_cast< int >(val3
);
20306 arg4
= wxString_in_helper(obj3
);
20307 if (arg4
== NULL
) SWIG_fail
;
20314 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20320 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20324 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20325 if (!SWIG_IsOK(ecode7
)) {
20326 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20328 arg7
= static_cast< long >(val7
);
20332 arg8
= wxString_in_helper(obj7
);
20333 if (arg8
== NULL
) SWIG_fail
;
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20368 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20369 PyObject
*resultobj
= 0;
20370 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20373 PyObject
*swig_obj
[1] ;
20375 if (!args
) SWIG_fail
;
20376 swig_obj
[0] = args
;
20377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20378 if (!SWIG_IsOK(res1
)) {
20379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20381 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20384 (arg1
)->ActivateNext();
20385 wxPyEndAllowThreads(__tstate
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20388 resultobj
= SWIG_Py_Void();
20395 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20396 PyObject
*resultobj
= 0;
20397 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20400 PyObject
*swig_obj
[1] ;
20402 if (!args
) SWIG_fail
;
20403 swig_obj
[0] = args
;
20404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20405 if (!SWIG_IsOK(res1
)) {
20406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20408 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 (arg1
)->ActivatePrevious();
20412 wxPyEndAllowThreads(__tstate
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20415 resultobj
= SWIG_Py_Void();
20422 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20423 PyObject
*resultobj
= 0;
20424 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20427 PyObject
*swig_obj
[1] ;
20429 if (!args
) SWIG_fail
;
20430 swig_obj
[0] = args
;
20431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20432 if (!SWIG_IsOK(res1
)) {
20433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20435 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 (arg1
)->ArrangeIcons();
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= SWIG_Py_Void();
20449 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20450 PyObject
*resultobj
= 0;
20451 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20454 PyObject
*swig_obj
[1] ;
20456 if (!args
) SWIG_fail
;
20457 swig_obj
[0] = args
;
20458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20459 if (!SWIG_IsOK(res1
)) {
20460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20462 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_Py_Void();
20476 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20477 PyObject
*resultobj
= 0;
20478 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20479 wxMDIChildFrame
*result
= 0 ;
20482 PyObject
*swig_obj
[1] ;
20484 if (!args
) SWIG_fail
;
20485 swig_obj
[0] = args
;
20486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20487 if (!SWIG_IsOK(res1
)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20490 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20498 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20506 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20507 PyObject
*resultobj
= 0;
20508 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20509 wxMDIClientWindow
*result
= 0 ;
20512 PyObject
*swig_obj
[1] ;
20514 if (!args
) SWIG_fail
;
20515 swig_obj
[0] = args
;
20516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20517 if (!SWIG_IsOK(res1
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20520 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20528 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20536 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20537 PyObject
*resultobj
= 0;
20538 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20539 wxWindow
*result
= 0 ;
20542 PyObject
*swig_obj
[1] ;
20544 if (!args
) SWIG_fail
;
20545 swig_obj
[0] = args
;
20546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20547 if (!SWIG_IsOK(res1
)) {
20548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20550 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 result
= (wxWindow
*)(arg1
)->GetToolBar();
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= wxPyMake_wxObject(result
, 0);
20566 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
= 0;
20568 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20569 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20576 char * kwnames
[] = {
20577 (char *) "self",(char *) "orient", NULL
20580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20582 if (!SWIG_IsOK(res1
)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20585 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20588 if (!SWIG_IsOK(ecode2
)) {
20589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20591 arg2
= static_cast< wxOrientation
>(val2
);
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 (arg1
)->Tile(arg2
);
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= SWIG_Py_Void();
20606 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20609 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20610 return SWIG_Py_Void();
20613 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20614 return SWIG_Python_InitShadowInstance(args
);
20617 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
= 0;
20619 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20620 int arg2
= (int) (int)-1 ;
20621 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20622 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20623 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20624 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20625 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20626 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20627 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20628 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20629 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20630 wxMDIChildFrame
*result
= 0 ;
20635 bool temp3
= false ;
20640 bool temp7
= false ;
20641 PyObject
* obj0
= 0 ;
20642 PyObject
* obj1
= 0 ;
20643 PyObject
* obj2
= 0 ;
20644 PyObject
* obj3
= 0 ;
20645 PyObject
* obj4
= 0 ;
20646 PyObject
* obj5
= 0 ;
20647 PyObject
* obj6
= 0 ;
20648 char * kwnames
[] = {
20649 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20654 if (!SWIG_IsOK(res1
)) {
20655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20657 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20660 if (!SWIG_IsOK(ecode2
)) {
20661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20663 arg2
= static_cast< int >(val2
);
20667 arg3
= wxString_in_helper(obj2
);
20668 if (arg3
== NULL
) SWIG_fail
;
20675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20685 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20686 if (!SWIG_IsOK(ecode6
)) {
20687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20689 arg6
= static_cast< long >(val6
);
20693 arg7
= wxString_in_helper(obj6
);
20694 if (arg7
== NULL
) SWIG_fail
;
20699 if (!wxPyCheckForApp()) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20702 wxPyEndAllowThreads(__tstate
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20728 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20729 PyObject
*resultobj
= 0;
20730 wxMDIChildFrame
*result
= 0 ;
20732 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20734 if (!wxPyCheckForApp()) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20747 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
= 0;
20749 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20750 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20751 int arg3
= (int) (int)-1 ;
20752 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20753 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20754 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20755 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20756 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20757 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20758 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20759 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20760 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20768 bool temp4
= false ;
20773 bool temp8
= false ;
20774 PyObject
* obj0
= 0 ;
20775 PyObject
* obj1
= 0 ;
20776 PyObject
* obj2
= 0 ;
20777 PyObject
* obj3
= 0 ;
20778 PyObject
* obj4
= 0 ;
20779 PyObject
* obj5
= 0 ;
20780 PyObject
* obj6
= 0 ;
20781 PyObject
* obj7
= 0 ;
20782 char * kwnames
[] = {
20783 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20788 if (!SWIG_IsOK(res1
)) {
20789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20791 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20793 if (!SWIG_IsOK(res2
)) {
20794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20796 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20799 if (!SWIG_IsOK(ecode3
)) {
20800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20802 arg3
= static_cast< int >(val3
);
20806 arg4
= wxString_in_helper(obj3
);
20807 if (arg4
== NULL
) SWIG_fail
;
20814 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20820 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20824 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20825 if (!SWIG_IsOK(ecode7
)) {
20826 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20828 arg7
= static_cast< long >(val7
);
20832 arg8
= wxString_in_helper(obj7
);
20833 if (arg8
== NULL
) SWIG_fail
;
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20868 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20869 PyObject
*resultobj
= 0;
20870 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20873 PyObject
*swig_obj
[1] ;
20875 if (!args
) SWIG_fail
;
20876 swig_obj
[0] = args
;
20877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20878 if (!SWIG_IsOK(res1
)) {
20879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20881 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 (arg1
)->Activate();
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= SWIG_Py_Void();
20895 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20898 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20899 return SWIG_Py_Void();
20902 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20903 return SWIG_Python_InitShadowInstance(args
);
20906 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
= 0;
20908 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20909 long arg2
= (long) 0 ;
20910 wxMDIClientWindow
*result
= 0 ;
20915 PyObject
* obj0
= 0 ;
20916 PyObject
* obj1
= 0 ;
20917 char * kwnames
[] = {
20918 (char *) "parent",(char *) "style", NULL
20921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20923 if (!SWIG_IsOK(res1
)) {
20924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20926 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20928 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20929 if (!SWIG_IsOK(ecode2
)) {
20930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20932 arg2
= static_cast< long >(val2
);
20935 if (!wxPyCheckForApp()) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20948 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20949 PyObject
*resultobj
= 0;
20950 wxMDIClientWindow
*result
= 0 ;
20952 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20954 if (!wxPyCheckForApp()) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20957 wxPyEndAllowThreads(__tstate
);
20958 if (PyErr_Occurred()) SWIG_fail
;
20960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20967 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20968 PyObject
*resultobj
= 0;
20969 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20970 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20971 long arg3
= (long) 0 ;
20979 PyObject
* obj0
= 0 ;
20980 PyObject
* obj1
= 0 ;
20981 PyObject
* obj2
= 0 ;
20982 char * kwnames
[] = {
20983 (char *) "self",(char *) "parent",(char *) "style", NULL
20986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20988 if (!SWIG_IsOK(res1
)) {
20989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20991 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
20992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20993 if (!SWIG_IsOK(res2
)) {
20994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20996 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20998 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20999 if (!SWIG_IsOK(ecode3
)) {
21000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21002 arg3
= static_cast< long >(val3
);
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21019 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21022 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21023 return SWIG_Py_Void();
21026 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21027 return SWIG_Python_InitShadowInstance(args
);
21030 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
= 0;
21032 wxWindow
*arg1
= (wxWindow
*) 0 ;
21033 int arg2
= (int) (int)-1 ;
21034 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21035 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21036 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21037 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21038 long arg5
= (long) 0 ;
21039 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21040 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21041 wxPyWindow
*result
= 0 ;
21050 bool temp6
= false ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 PyObject
* obj2
= 0 ;
21054 PyObject
* obj3
= 0 ;
21055 PyObject
* obj4
= 0 ;
21056 PyObject
* obj5
= 0 ;
21057 char * kwnames
[] = {
21058 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21063 if (!SWIG_IsOK(res1
)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21066 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21069 if (!SWIG_IsOK(ecode2
)) {
21070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21072 arg2
= static_cast< int >(val2
);
21077 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21083 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21087 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21088 if (!SWIG_IsOK(ecode5
)) {
21089 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21091 arg5
= static_cast< long >(val5
);
21095 arg6
= wxString_in_helper(obj5
);
21096 if (arg6
== NULL
) SWIG_fail
;
21101 if (!wxPyCheckForApp()) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21122 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21123 PyObject
*resultobj
= 0;
21124 wxPyWindow
*result
= 0 ;
21126 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21128 if (!wxPyCheckForApp()) SWIG_fail
;
21129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 result
= (wxPyWindow
*)new wxPyWindow();
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21141 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
= 0;
21143 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21144 PyObject
*arg2
= (PyObject
*) 0 ;
21145 PyObject
*arg3
= (PyObject
*) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 PyObject
* obj1
= 0 ;
21150 PyObject
* obj2
= 0 ;
21151 char * kwnames
[] = {
21152 (char *) "self",(char *) "self",(char *) "_class", NULL
21155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21157 if (!SWIG_IsOK(res1
)) {
21158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21160 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= SWIG_Py_Void();
21176 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
= 0;
21178 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21183 PyObject
* obj0
= 0 ;
21184 PyObject
* obj1
= 0 ;
21185 char * kwnames
[] = {
21186 (char *) "self",(char *) "size", NULL
21189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21191 if (!SWIG_IsOK(res1
)) {
21192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21194 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21197 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= SWIG_Py_Void();
21212 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
= 0;
21214 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21215 wxDC
*arg2
= (wxDC
*) 0 ;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 char * kwnames
[] = {
21224 (char *) "self",(char *) "dc", NULL
21227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21229 if (!SWIG_IsOK(res1
)) {
21230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21232 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21234 if (!SWIG_IsOK(res2
)) {
21235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21237 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21253 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
= 0;
21255 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 PyObject
* obj2
= 0 ;
21273 PyObject
* obj3
= 0 ;
21274 PyObject
* obj4
= 0 ;
21275 char * kwnames
[] = {
21276 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21281 if (!SWIG_IsOK(res1
)) {
21282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21284 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21286 if (!SWIG_IsOK(ecode2
)) {
21287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21289 arg2
= static_cast< int >(val2
);
21290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21291 if (!SWIG_IsOK(ecode3
)) {
21292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21294 arg3
= static_cast< int >(val3
);
21295 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21296 if (!SWIG_IsOK(ecode4
)) {
21297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21299 arg4
= static_cast< int >(val4
);
21300 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21301 if (!SWIG_IsOK(ecode5
)) {
21302 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21304 arg5
= static_cast< int >(val5
);
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 resultobj
= SWIG_Py_Void();
21318 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
= 0;
21320 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21325 int arg6
= (int) wxSIZE_AUTO
;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 PyObject
* obj2
= 0 ;
21341 PyObject
* obj3
= 0 ;
21342 PyObject
* obj4
= 0 ;
21343 PyObject
* obj5
= 0 ;
21344 char * kwnames
[] = {
21345 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21350 if (!SWIG_IsOK(res1
)) {
21351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21353 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21355 if (!SWIG_IsOK(ecode2
)) {
21356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21358 arg2
= static_cast< int >(val2
);
21359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21360 if (!SWIG_IsOK(ecode3
)) {
21361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21363 arg3
= static_cast< int >(val3
);
21364 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21365 if (!SWIG_IsOK(ecode4
)) {
21366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21368 arg4
= static_cast< int >(val4
);
21369 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21370 if (!SWIG_IsOK(ecode5
)) {
21371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21373 arg5
= static_cast< int >(val5
);
21375 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21376 if (!SWIG_IsOK(ecode6
)) {
21377 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21379 arg6
= static_cast< int >(val6
);
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= SWIG_Py_Void();
21394 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
= 0;
21396 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 PyObject
* obj2
= 0 ;
21408 char * kwnames
[] = {
21409 (char *) "self",(char *) "width",(char *) "height", NULL
21412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21414 if (!SWIG_IsOK(res1
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21417 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21419 if (!SWIG_IsOK(ecode2
)) {
21420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21422 arg2
= static_cast< int >(val2
);
21423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21424 if (!SWIG_IsOK(ecode3
)) {
21425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21427 arg3
= static_cast< int >(val3
);
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 (arg1
)->DoSetClientSize(arg2
,arg3
);
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 resultobj
= SWIG_Py_Void();
21441 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21442 PyObject
*resultobj
= 0;
21443 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 PyObject
* obj2
= 0 ;
21455 char * kwnames
[] = {
21456 (char *) "self",(char *) "x",(char *) "y", NULL
21459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21461 if (!SWIG_IsOK(res1
)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21464 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21466 if (!SWIG_IsOK(ecode2
)) {
21467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21469 arg2
= static_cast< int >(val2
);
21470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21471 if (!SWIG_IsOK(ecode3
)) {
21472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21474 arg3
= static_cast< int >(val3
);
21476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21477 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21481 resultobj
= SWIG_Py_Void();
21488 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21489 PyObject
*resultobj
= 0;
21490 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21491 int *arg2
= (int *) 0 ;
21492 int *arg3
= (int *) 0 ;
21496 int res2
= SWIG_TMPOBJ
;
21498 int res3
= SWIG_TMPOBJ
;
21499 PyObject
*swig_obj
[1] ;
21503 if (!args
) SWIG_fail
;
21504 swig_obj
[0] = args
;
21505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21506 if (!SWIG_IsOK(res1
)) {
21507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21509 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= SWIG_Py_Void();
21517 if (SWIG_IsTmpObj(res2
)) {
21518 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21520 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21523 if (SWIG_IsTmpObj(res3
)) {
21524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21526 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21535 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21536 PyObject
*resultobj
= 0;
21537 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21538 int *arg2
= (int *) 0 ;
21539 int *arg3
= (int *) 0 ;
21543 int res2
= SWIG_TMPOBJ
;
21545 int res3
= SWIG_TMPOBJ
;
21546 PyObject
*swig_obj
[1] ;
21550 if (!args
) SWIG_fail
;
21551 swig_obj
[0] = args
;
21552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21553 if (!SWIG_IsOK(res1
)) {
21554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21556 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= SWIG_Py_Void();
21564 if (SWIG_IsTmpObj(res2
)) {
21565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21567 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21570 if (SWIG_IsTmpObj(res3
)) {
21571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21573 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21582 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21583 PyObject
*resultobj
= 0;
21584 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21585 int *arg2
= (int *) 0 ;
21586 int *arg3
= (int *) 0 ;
21590 int res2
= SWIG_TMPOBJ
;
21592 int res3
= SWIG_TMPOBJ
;
21593 PyObject
*swig_obj
[1] ;
21597 if (!args
) SWIG_fail
;
21598 swig_obj
[0] = args
;
21599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21600 if (!SWIG_IsOK(res1
)) {
21601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21603 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= SWIG_Py_Void();
21611 if (SWIG_IsTmpObj(res2
)) {
21612 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21614 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21615 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21617 if (SWIG_IsTmpObj(res3
)) {
21618 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21620 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21621 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21629 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21630 PyObject
*resultobj
= 0;
21631 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21635 PyObject
*swig_obj
[1] ;
21637 if (!args
) SWIG_fail
;
21638 swig_obj
[0] = args
;
21639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21640 if (!SWIG_IsOK(res1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21643 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21657 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21658 PyObject
*resultobj
= 0;
21659 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21663 PyObject
*swig_obj
[1] ;
21665 if (!args
) SWIG_fail
;
21666 swig_obj
[0] = args
;
21667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21668 if (!SWIG_IsOK(res1
)) {
21669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21671 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21685 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21686 PyObject
*resultobj
= 0;
21687 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21688 SwigValueWrapper
<wxVisualAttributes
> result
;
21691 PyObject
*swig_obj
[1] ;
21693 if (!args
) SWIG_fail
;
21694 swig_obj
[0] = args
;
21695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21696 if (!SWIG_IsOK(res1
)) {
21697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21699 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= (arg1
)->GetDefaultAttributes();
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21713 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21714 PyObject
*resultobj
= 0;
21715 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21718 PyObject
*swig_obj
[1] ;
21720 if (!args
) SWIG_fail
;
21721 swig_obj
[0] = args
;
21722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21723 if (!SWIG_IsOK(res1
)) {
21724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21726 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 (arg1
)->OnInternalIdle();
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= SWIG_Py_Void();
21740 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21743 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21744 return SWIG_Py_Void();
21747 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21748 return SWIG_Python_InitShadowInstance(args
);
21751 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
= 0;
21753 wxWindow
*arg1
= (wxWindow
*) 0 ;
21754 int arg2
= (int) (int)-1 ;
21755 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21756 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21757 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21758 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21759 long arg5
= (long) 0 ;
21760 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21762 wxPyPanel
*result
= 0 ;
21771 bool temp6
= false ;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 PyObject
* obj2
= 0 ;
21775 PyObject
* obj3
= 0 ;
21776 PyObject
* obj4
= 0 ;
21777 PyObject
* obj5
= 0 ;
21778 char * kwnames
[] = {
21779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21784 if (!SWIG_IsOK(res1
)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21790 if (!SWIG_IsOK(ecode2
)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21793 arg2
= static_cast< int >(val2
);
21798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21808 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21809 if (!SWIG_IsOK(ecode5
)) {
21810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21812 arg5
= static_cast< long >(val5
);
21816 arg6
= wxString_in_helper(obj5
);
21817 if (arg6
== NULL
) SWIG_fail
;
21822 if (!wxPyCheckForApp()) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21843 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21844 PyObject
*resultobj
= 0;
21845 wxPyPanel
*result
= 0 ;
21847 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21849 if (!wxPyCheckForApp()) SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 result
= (wxPyPanel
*)new wxPyPanel();
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21862 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
= 0;
21864 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21865 PyObject
*arg2
= (PyObject
*) 0 ;
21866 PyObject
*arg3
= (PyObject
*) 0 ;
21869 PyObject
* obj0
= 0 ;
21870 PyObject
* obj1
= 0 ;
21871 PyObject
* obj2
= 0 ;
21872 char * kwnames
[] = {
21873 (char *) "self",(char *) "self",(char *) "_class", NULL
21876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21878 if (!SWIG_IsOK(res1
)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21881 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_Py_Void();
21897 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
= 0;
21899 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 char * kwnames
[] = {
21907 (char *) "self",(char *) "size", NULL
21910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21912 if (!SWIG_IsOK(res1
)) {
21913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21915 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21918 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= SWIG_Py_Void();
21933 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
= 0;
21935 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21936 wxDC
*arg2
= (wxDC
*) 0 ;
21942 PyObject
* obj0
= 0 ;
21943 PyObject
* obj1
= 0 ;
21944 char * kwnames
[] = {
21945 (char *) "self",(char *) "dc", NULL
21948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21950 if (!SWIG_IsOK(res1
)) {
21951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21953 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21955 if (!SWIG_IsOK(res2
)) {
21956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21958 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21974 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21975 PyObject
*resultobj
= 0;
21976 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21991 PyObject
* obj0
= 0 ;
21992 PyObject
* obj1
= 0 ;
21993 PyObject
* obj2
= 0 ;
21994 PyObject
* obj3
= 0 ;
21995 PyObject
* obj4
= 0 ;
21996 char * kwnames
[] = {
21997 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22002 if (!SWIG_IsOK(res1
)) {
22003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22005 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22007 if (!SWIG_IsOK(ecode2
)) {
22008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22010 arg2
= static_cast< int >(val2
);
22011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22012 if (!SWIG_IsOK(ecode3
)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22015 arg3
= static_cast< int >(val3
);
22016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22017 if (!SWIG_IsOK(ecode4
)) {
22018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22020 arg4
= static_cast< int >(val4
);
22021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22022 if (!SWIG_IsOK(ecode5
)) {
22023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22025 arg5
= static_cast< int >(val5
);
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_Py_Void();
22039 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
= 0;
22041 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22046 int arg6
= (int) wxSIZE_AUTO
;
22059 PyObject
* obj0
= 0 ;
22060 PyObject
* obj1
= 0 ;
22061 PyObject
* obj2
= 0 ;
22062 PyObject
* obj3
= 0 ;
22063 PyObject
* obj4
= 0 ;
22064 PyObject
* obj5
= 0 ;
22065 char * kwnames
[] = {
22066 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22071 if (!SWIG_IsOK(res1
)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22074 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22076 if (!SWIG_IsOK(ecode2
)) {
22077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22079 arg2
= static_cast< int >(val2
);
22080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22081 if (!SWIG_IsOK(ecode3
)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22084 arg3
= static_cast< int >(val3
);
22085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22086 if (!SWIG_IsOK(ecode4
)) {
22087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22089 arg4
= static_cast< int >(val4
);
22090 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22091 if (!SWIG_IsOK(ecode5
)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22094 arg5
= static_cast< int >(val5
);
22096 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22097 if (!SWIG_IsOK(ecode6
)) {
22098 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22100 arg6
= static_cast< int >(val6
);
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= SWIG_Py_Void();
22115 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
= 0;
22117 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 PyObject
* obj2
= 0 ;
22129 char * kwnames
[] = {
22130 (char *) "self",(char *) "width",(char *) "height", NULL
22133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22135 if (!SWIG_IsOK(res1
)) {
22136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22138 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22140 if (!SWIG_IsOK(ecode2
)) {
22141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22143 arg2
= static_cast< int >(val2
);
22144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22145 if (!SWIG_IsOK(ecode3
)) {
22146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22148 arg3
= static_cast< int >(val3
);
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 (arg1
)->DoSetClientSize(arg2
,arg3
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= SWIG_Py_Void();
22162 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
= 0;
22164 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22173 PyObject
* obj0
= 0 ;
22174 PyObject
* obj1
= 0 ;
22175 PyObject
* obj2
= 0 ;
22176 char * kwnames
[] = {
22177 (char *) "self",(char *) "x",(char *) "y", NULL
22180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22182 if (!SWIG_IsOK(res1
)) {
22183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22185 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22187 if (!SWIG_IsOK(ecode2
)) {
22188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22190 arg2
= static_cast< int >(val2
);
22191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22192 if (!SWIG_IsOK(ecode3
)) {
22193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22195 arg3
= static_cast< int >(val3
);
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22202 resultobj
= SWIG_Py_Void();
22209 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22210 PyObject
*resultobj
= 0;
22211 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22212 int *arg2
= (int *) 0 ;
22213 int *arg3
= (int *) 0 ;
22217 int res2
= SWIG_TMPOBJ
;
22219 int res3
= SWIG_TMPOBJ
;
22220 PyObject
*swig_obj
[1] ;
22224 if (!args
) SWIG_fail
;
22225 swig_obj
[0] = args
;
22226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22227 if (!SWIG_IsOK(res1
)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22230 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22233 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= SWIG_Py_Void();
22238 if (SWIG_IsTmpObj(res2
)) {
22239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22241 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22244 if (SWIG_IsTmpObj(res3
)) {
22245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22247 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22256 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22257 PyObject
*resultobj
= 0;
22258 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22259 int *arg2
= (int *) 0 ;
22260 int *arg3
= (int *) 0 ;
22264 int res2
= SWIG_TMPOBJ
;
22266 int res3
= SWIG_TMPOBJ
;
22267 PyObject
*swig_obj
[1] ;
22271 if (!args
) SWIG_fail
;
22272 swig_obj
[0] = args
;
22273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22274 if (!SWIG_IsOK(res1
)) {
22275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22277 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22284 resultobj
= SWIG_Py_Void();
22285 if (SWIG_IsTmpObj(res2
)) {
22286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22288 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22291 if (SWIG_IsTmpObj(res3
)) {
22292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22294 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22303 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22304 PyObject
*resultobj
= 0;
22305 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22306 int *arg2
= (int *) 0 ;
22307 int *arg3
= (int *) 0 ;
22311 int res2
= SWIG_TMPOBJ
;
22313 int res3
= SWIG_TMPOBJ
;
22314 PyObject
*swig_obj
[1] ;
22318 if (!args
) SWIG_fail
;
22319 swig_obj
[0] = args
;
22320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22321 if (!SWIG_IsOK(res1
)) {
22322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22324 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= SWIG_Py_Void();
22332 if (SWIG_IsTmpObj(res2
)) {
22333 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22335 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22338 if (SWIG_IsTmpObj(res3
)) {
22339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22341 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22350 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22351 PyObject
*resultobj
= 0;
22352 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22356 PyObject
*swig_obj
[1] ;
22358 if (!args
) SWIG_fail
;
22359 swig_obj
[0] = args
;
22360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22361 if (!SWIG_IsOK(res1
)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22364 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22378 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22379 PyObject
*resultobj
= 0;
22380 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22384 PyObject
*swig_obj
[1] ;
22386 if (!args
) SWIG_fail
;
22387 swig_obj
[0] = args
;
22388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22392 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22406 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22407 PyObject
*resultobj
= 0;
22408 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22409 SwigValueWrapper
<wxVisualAttributes
> result
;
22412 PyObject
*swig_obj
[1] ;
22414 if (!args
) SWIG_fail
;
22415 swig_obj
[0] = args
;
22416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22417 if (!SWIG_IsOK(res1
)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22420 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= (arg1
)->GetDefaultAttributes();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22434 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22435 PyObject
*resultobj
= 0;
22436 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22439 PyObject
*swig_obj
[1] ;
22441 if (!args
) SWIG_fail
;
22442 swig_obj
[0] = args
;
22443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22444 if (!SWIG_IsOK(res1
)) {
22445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22447 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 (arg1
)->OnInternalIdle();
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 resultobj
= SWIG_Py_Void();
22461 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22464 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22465 return SWIG_Py_Void();
22468 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22469 return SWIG_Python_InitShadowInstance(args
);
22472 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
= 0;
22474 wxWindow
*arg1
= (wxWindow
*) 0 ;
22475 int arg2
= (int) (int)-1 ;
22476 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22477 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22478 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22479 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22480 long arg5
= (long) 0 ;
22481 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22482 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22483 wxPyScrolledWindow
*result
= 0 ;
22492 bool temp6
= false ;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 PyObject
* obj2
= 0 ;
22496 PyObject
* obj3
= 0 ;
22497 PyObject
* obj4
= 0 ;
22498 PyObject
* obj5
= 0 ;
22499 char * kwnames
[] = {
22500 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22505 if (!SWIG_IsOK(res1
)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22508 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22511 if (!SWIG_IsOK(ecode2
)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22514 arg2
= static_cast< int >(val2
);
22519 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22525 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22529 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22530 if (!SWIG_IsOK(ecode5
)) {
22531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22533 arg5
= static_cast< long >(val5
);
22537 arg6
= wxString_in_helper(obj5
);
22538 if (arg6
== NULL
) SWIG_fail
;
22543 if (!wxPyCheckForApp()) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22564 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22565 PyObject
*resultobj
= 0;
22566 wxPyScrolledWindow
*result
= 0 ;
22568 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22570 if (!wxPyCheckForApp()) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22583 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
= 0;
22585 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22586 PyObject
*arg2
= (PyObject
*) 0 ;
22587 PyObject
*arg3
= (PyObject
*) 0 ;
22590 PyObject
* obj0
= 0 ;
22591 PyObject
* obj1
= 0 ;
22592 PyObject
* obj2
= 0 ;
22593 char * kwnames
[] = {
22594 (char *) "self",(char *) "self",(char *) "_class", NULL
22597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22599 if (!SWIG_IsOK(res1
)) {
22600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22602 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 resultobj
= SWIG_Py_Void();
22618 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22619 PyObject
*resultobj
= 0;
22620 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 char * kwnames
[] = {
22628 (char *) "self",(char *) "size", NULL
22631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22633 if (!SWIG_IsOK(res1
)) {
22634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22636 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22639 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= SWIG_Py_Void();
22654 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
= 0;
22656 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22657 wxDC
*arg2
= (wxDC
*) 0 ;
22663 PyObject
* obj0
= 0 ;
22664 PyObject
* obj1
= 0 ;
22665 char * kwnames
[] = {
22666 (char *) "self",(char *) "dc", NULL
22669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22671 if (!SWIG_IsOK(res1
)) {
22672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22674 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22675 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22676 if (!SWIG_IsOK(res2
)) {
22677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22679 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22695 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
= 0;
22697 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 PyObject
* obj2
= 0 ;
22715 PyObject
* obj3
= 0 ;
22716 PyObject
* obj4
= 0 ;
22717 char * kwnames
[] = {
22718 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22723 if (!SWIG_IsOK(res1
)) {
22724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22726 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22728 if (!SWIG_IsOK(ecode2
)) {
22729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22731 arg2
= static_cast< int >(val2
);
22732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22733 if (!SWIG_IsOK(ecode3
)) {
22734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22736 arg3
= static_cast< int >(val3
);
22737 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22738 if (!SWIG_IsOK(ecode4
)) {
22739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22741 arg4
= static_cast< int >(val4
);
22742 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22743 if (!SWIG_IsOK(ecode5
)) {
22744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22746 arg5
= static_cast< int >(val5
);
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 resultobj
= SWIG_Py_Void();
22760 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
= 0;
22762 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22767 int arg6
= (int) wxSIZE_AUTO
;
22780 PyObject
* obj0
= 0 ;
22781 PyObject
* obj1
= 0 ;
22782 PyObject
* obj2
= 0 ;
22783 PyObject
* obj3
= 0 ;
22784 PyObject
* obj4
= 0 ;
22785 PyObject
* obj5
= 0 ;
22786 char * kwnames
[] = {
22787 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22792 if (!SWIG_IsOK(res1
)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22795 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22797 if (!SWIG_IsOK(ecode2
)) {
22798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22800 arg2
= static_cast< int >(val2
);
22801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22802 if (!SWIG_IsOK(ecode3
)) {
22803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22805 arg3
= static_cast< int >(val3
);
22806 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22807 if (!SWIG_IsOK(ecode4
)) {
22808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22810 arg4
= static_cast< int >(val4
);
22811 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22812 if (!SWIG_IsOK(ecode5
)) {
22813 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22815 arg5
= static_cast< int >(val5
);
22817 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22818 if (!SWIG_IsOK(ecode6
)) {
22819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22821 arg6
= static_cast< int >(val6
);
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 resultobj
= SWIG_Py_Void();
22836 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
= 0;
22838 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 PyObject
* obj1
= 0 ;
22849 PyObject
* obj2
= 0 ;
22850 char * kwnames
[] = {
22851 (char *) "self",(char *) "width",(char *) "height", NULL
22854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22856 if (!SWIG_IsOK(res1
)) {
22857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22859 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22861 if (!SWIG_IsOK(ecode2
)) {
22862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22864 arg2
= static_cast< int >(val2
);
22865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22866 if (!SWIG_IsOK(ecode3
)) {
22867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22869 arg3
= static_cast< int >(val3
);
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 (arg1
)->DoSetClientSize(arg2
,arg3
);
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= SWIG_Py_Void();
22883 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
= 0;
22885 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 PyObject
* obj1
= 0 ;
22896 PyObject
* obj2
= 0 ;
22897 char * kwnames
[] = {
22898 (char *) "self",(char *) "x",(char *) "y", NULL
22901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22906 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22908 if (!SWIG_IsOK(ecode2
)) {
22909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22911 arg2
= static_cast< int >(val2
);
22912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22913 if (!SWIG_IsOK(ecode3
)) {
22914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22916 arg3
= static_cast< int >(val3
);
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 resultobj
= SWIG_Py_Void();
22930 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22931 PyObject
*resultobj
= 0;
22932 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22933 int *arg2
= (int *) 0 ;
22934 int *arg3
= (int *) 0 ;
22938 int res2
= SWIG_TMPOBJ
;
22940 int res3
= SWIG_TMPOBJ
;
22941 PyObject
*swig_obj
[1] ;
22945 if (!args
) SWIG_fail
;
22946 swig_obj
[0] = args
;
22947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22948 if (!SWIG_IsOK(res1
)) {
22949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22951 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22958 resultobj
= SWIG_Py_Void();
22959 if (SWIG_IsTmpObj(res2
)) {
22960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22962 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22965 if (SWIG_IsTmpObj(res3
)) {
22966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22968 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22977 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22978 PyObject
*resultobj
= 0;
22979 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22980 int *arg2
= (int *) 0 ;
22981 int *arg3
= (int *) 0 ;
22985 int res2
= SWIG_TMPOBJ
;
22987 int res3
= SWIG_TMPOBJ
;
22988 PyObject
*swig_obj
[1] ;
22992 if (!args
) SWIG_fail
;
22993 swig_obj
[0] = args
;
22994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22995 if (!SWIG_IsOK(res1
)) {
22996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22998 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= SWIG_Py_Void();
23006 if (SWIG_IsTmpObj(res2
)) {
23007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23009 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23012 if (SWIG_IsTmpObj(res3
)) {
23013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23015 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23024 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23025 PyObject
*resultobj
= 0;
23026 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23027 int *arg2
= (int *) 0 ;
23028 int *arg3
= (int *) 0 ;
23032 int res2
= SWIG_TMPOBJ
;
23034 int res3
= SWIG_TMPOBJ
;
23035 PyObject
*swig_obj
[1] ;
23039 if (!args
) SWIG_fail
;
23040 swig_obj
[0] = args
;
23041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23042 if (!SWIG_IsOK(res1
)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23045 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= SWIG_Py_Void();
23053 if (SWIG_IsTmpObj(res2
)) {
23054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23056 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23059 if (SWIG_IsTmpObj(res3
)) {
23060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23062 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23063 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23071 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23072 PyObject
*resultobj
= 0;
23073 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23077 PyObject
*swig_obj
[1] ;
23079 if (!args
) SWIG_fail
;
23080 swig_obj
[0] = args
;
23081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23082 if (!SWIG_IsOK(res1
)) {
23083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23085 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23099 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23100 PyObject
*resultobj
= 0;
23101 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23105 PyObject
*swig_obj
[1] ;
23107 if (!args
) SWIG_fail
;
23108 swig_obj
[0] = args
;
23109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23110 if (!SWIG_IsOK(res1
)) {
23111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23113 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23127 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23128 PyObject
*resultobj
= 0;
23129 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23130 SwigValueWrapper
<wxVisualAttributes
> result
;
23133 PyObject
*swig_obj
[1] ;
23135 if (!args
) SWIG_fail
;
23136 swig_obj
[0] = args
;
23137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23138 if (!SWIG_IsOK(res1
)) {
23139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23141 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (arg1
)->GetDefaultAttributes();
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23155 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23156 PyObject
*resultobj
= 0;
23157 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23160 PyObject
*swig_obj
[1] ;
23162 if (!args
) SWIG_fail
;
23163 swig_obj
[0] = args
;
23164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23165 if (!SWIG_IsOK(res1
)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23168 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 (arg1
)->OnInternalIdle();
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 resultobj
= SWIG_Py_Void();
23182 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23185 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23186 return SWIG_Py_Void();
23189 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23190 return SWIG_Python_InitShadowInstance(args
);
23193 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23194 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23199 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23200 PyObject
*pyobj
= 0;
23204 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23206 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23213 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23214 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23219 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23220 PyObject
*pyobj
= 0;
23224 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23226 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23233 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23234 PyObject
*resultobj
= 0;
23235 wxPrintData
*result
= 0 ;
23237 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= (wxPrintData
*)new wxPrintData();
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23251 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23252 PyObject
*resultobj
= 0;
23253 wxPrintData
*arg1
= 0 ;
23254 wxPrintData
*result
= 0 ;
23258 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23260 if (!SWIG_IsOK(res1
)) {
23261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23266 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23280 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23284 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23287 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23290 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23294 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23299 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23300 PyObject
*resultobj
= 0;
23301 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23304 PyObject
*swig_obj
[1] ;
23306 if (!args
) SWIG_fail
;
23307 swig_obj
[0] = args
;
23308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23309 if (!SWIG_IsOK(res1
)) {
23310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23312 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 resultobj
= SWIG_Py_Void();
23327 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23328 PyObject
*resultobj
= 0;
23329 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23333 PyObject
*swig_obj
[1] ;
23335 if (!args
) SWIG_fail
;
23336 swig_obj
[0] = args
;
23337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23338 if (!SWIG_IsOK(res1
)) {
23339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23341 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (int)(arg1
)->GetNoCopies();
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_From_int(static_cast< int >(result
));
23355 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23356 PyObject
*resultobj
= 0;
23357 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23361 PyObject
*swig_obj
[1] ;
23363 if (!args
) SWIG_fail
;
23364 swig_obj
[0] = args
;
23365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23366 if (!SWIG_IsOK(res1
)) {
23367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23369 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (bool)(arg1
)->GetCollate();
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23385 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23386 PyObject
*resultobj
= 0;
23387 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23391 PyObject
*swig_obj
[1] ;
23393 if (!args
) SWIG_fail
;
23394 swig_obj
[0] = args
;
23395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23396 if (!SWIG_IsOK(res1
)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23399 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 result
= (int)(arg1
)->GetOrientation();
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= SWIG_From_int(static_cast< int >(result
));
23413 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23414 PyObject
*resultobj
= 0;
23415 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23419 PyObject
*swig_obj
[1] ;
23421 if (!args
) SWIG_fail
;
23422 swig_obj
[0] = args
;
23423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23424 if (!SWIG_IsOK(res1
)) {
23425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23427 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= (bool)(arg1
)->Ok();
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23443 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23444 PyObject
*resultobj
= 0;
23445 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23446 wxString
*result
= 0 ;
23449 PyObject
*swig_obj
[1] ;
23451 if (!args
) SWIG_fail
;
23452 swig_obj
[0] = args
;
23453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23454 if (!SWIG_IsOK(res1
)) {
23455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23457 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23462 result
= (wxString
*) &_result_ref
;
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23469 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23471 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23480 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23481 PyObject
*resultobj
= 0;
23482 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23486 PyObject
*swig_obj
[1] ;
23488 if (!args
) SWIG_fail
;
23489 swig_obj
[0] = args
;
23490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23491 if (!SWIG_IsOK(res1
)) {
23492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23494 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= (bool)(arg1
)->GetColour();
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23510 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23511 PyObject
*resultobj
= 0;
23512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23513 wxDuplexMode result
;
23516 PyObject
*swig_obj
[1] ;
23518 if (!args
) SWIG_fail
;
23519 swig_obj
[0] = args
;
23520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23521 if (!SWIG_IsOK(res1
)) {
23522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23524 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= SWIG_From_int(static_cast< int >(result
));
23538 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23539 PyObject
*resultobj
= 0;
23540 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23541 wxPaperSize result
;
23544 PyObject
*swig_obj
[1] ;
23546 if (!args
) SWIG_fail
;
23547 swig_obj
[0] = args
;
23548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23549 if (!SWIG_IsOK(res1
)) {
23550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23552 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_From_int(static_cast< int >(result
));
23566 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23567 PyObject
*resultobj
= 0;
23568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23569 wxSize
*result
= 0 ;
23572 PyObject
*swig_obj
[1] ;
23574 if (!args
) SWIG_fail
;
23575 swig_obj
[0] = args
;
23576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23577 if (!SWIG_IsOK(res1
)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23580 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23585 result
= (wxSize
*) &_result_ref
;
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23597 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23598 PyObject
*resultobj
= 0;
23599 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23603 PyObject
*swig_obj
[1] ;
23605 if (!args
) SWIG_fail
;
23606 swig_obj
[0] = args
;
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 '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23611 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= (int)(arg1
)->GetQuality();
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_From_int(static_cast< int >(result
));
23625 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23626 PyObject
*resultobj
= 0;
23627 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23631 PyObject
*swig_obj
[1] ;
23633 if (!args
) SWIG_fail
;
23634 swig_obj
[0] = args
;
23635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23636 if (!SWIG_IsOK(res1
)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23639 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 result
= (wxPrintBin
)(arg1
)->GetBin();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 resultobj
= SWIG_From_int(static_cast< int >(result
));
23653 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23654 PyObject
*resultobj
= 0;
23655 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23656 wxPrintMode result
;
23659 PyObject
*swig_obj
[1] ;
23661 if (!args
) SWIG_fail
;
23662 swig_obj
[0] = args
;
23663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23664 if (!SWIG_IsOK(res1
)) {
23665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23667 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_From_int(static_cast< int >(result
));
23681 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
= 0;
23683 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23689 PyObject
* obj0
= 0 ;
23690 PyObject
* obj1
= 0 ;
23691 char * kwnames
[] = {
23692 (char *) "self",(char *) "v", NULL
23695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23697 if (!SWIG_IsOK(res1
)) {
23698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23700 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23702 if (!SWIG_IsOK(ecode2
)) {
23703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23705 arg2
= static_cast< int >(val2
);
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 (arg1
)->SetNoCopies(arg2
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= SWIG_Py_Void();
23719 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
= 0;
23721 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 PyObject
* obj1
= 0 ;
23729 char * kwnames
[] = {
23730 (char *) "self",(char *) "flag", NULL
23733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23735 if (!SWIG_IsOK(res1
)) {
23736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23738 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23739 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23740 if (!SWIG_IsOK(ecode2
)) {
23741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23743 arg2
= static_cast< bool >(val2
);
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 (arg1
)->SetCollate(arg2
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_Py_Void();
23757 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
= 0;
23759 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23765 PyObject
* obj0
= 0 ;
23766 PyObject
* obj1
= 0 ;
23767 char * kwnames
[] = {
23768 (char *) "self",(char *) "orient", NULL
23771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23773 if (!SWIG_IsOK(res1
)) {
23774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23776 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23778 if (!SWIG_IsOK(ecode2
)) {
23779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23781 arg2
= static_cast< int >(val2
);
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 (arg1
)->SetOrientation(arg2
);
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= SWIG_Py_Void();
23795 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
= 0;
23797 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23798 wxString
*arg2
= 0 ;
23801 bool temp2
= false ;
23802 PyObject
* obj0
= 0 ;
23803 PyObject
* obj1
= 0 ;
23804 char * kwnames
[] = {
23805 (char *) "self",(char *) "name", NULL
23808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23810 if (!SWIG_IsOK(res1
)) {
23811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23813 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23815 arg2
= wxString_in_helper(obj1
);
23816 if (arg2
== NULL
) SWIG_fail
;
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= SWIG_Py_Void();
23840 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
= 0;
23842 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23848 PyObject
* obj0
= 0 ;
23849 PyObject
* obj1
= 0 ;
23850 char * kwnames
[] = {
23851 (char *) "self",(char *) "colour", NULL
23854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23856 if (!SWIG_IsOK(res1
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23859 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23860 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23861 if (!SWIG_IsOK(ecode2
)) {
23862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23864 arg2
= static_cast< bool >(val2
);
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 (arg1
)->SetColour(arg2
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= SWIG_Py_Void();
23878 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
= 0;
23880 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23881 wxDuplexMode arg2
;
23886 PyObject
* obj0
= 0 ;
23887 PyObject
* obj1
= 0 ;
23888 char * kwnames
[] = {
23889 (char *) "self",(char *) "duplex", NULL
23892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23894 if (!SWIG_IsOK(res1
)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23897 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23899 if (!SWIG_IsOK(ecode2
)) {
23900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23902 arg2
= static_cast< wxDuplexMode
>(val2
);
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 (arg1
)->SetDuplex(arg2
);
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 resultobj
= SWIG_Py_Void();
23916 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
= 0;
23918 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 char * kwnames
[] = {
23927 (char *) "self",(char *) "sizeId", NULL
23930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23932 if (!SWIG_IsOK(res1
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23935 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23937 if (!SWIG_IsOK(ecode2
)) {
23938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23940 arg2
= static_cast< wxPaperSize
>(val2
);
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 (arg1
)->SetPaperId(arg2
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= SWIG_Py_Void();
23954 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
= 0;
23956 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 char * kwnames
[] = {
23964 (char *) "self",(char *) "sz", NULL
23967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23969 if (!SWIG_IsOK(res1
)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23972 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23975 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= SWIG_Py_Void();
23990 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
= 0;
23992 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23998 PyObject
* obj0
= 0 ;
23999 PyObject
* obj1
= 0 ;
24000 char * kwnames
[] = {
24001 (char *) "self",(char *) "quality", NULL
24004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24006 if (!SWIG_IsOK(res1
)) {
24007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24009 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24011 if (!SWIG_IsOK(ecode2
)) {
24012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24014 arg2
= static_cast< int >(val2
);
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 (arg1
)->SetQuality(arg2
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 resultobj
= SWIG_Py_Void();
24028 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
= 0;
24030 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24036 PyObject
* obj0
= 0 ;
24037 PyObject
* obj1
= 0 ;
24038 char * kwnames
[] = {
24039 (char *) "self",(char *) "bin", NULL
24042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24044 if (!SWIG_IsOK(res1
)) {
24045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24047 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24049 if (!SWIG_IsOK(ecode2
)) {
24050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24052 arg2
= static_cast< wxPrintBin
>(val2
);
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 (arg1
)->SetBin(arg2
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 resultobj
= SWIG_Py_Void();
24066 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
= 0;
24068 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24074 PyObject
* obj0
= 0 ;
24075 PyObject
* obj1
= 0 ;
24076 char * kwnames
[] = {
24077 (char *) "self",(char *) "printMode", NULL
24080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24082 if (!SWIG_IsOK(res1
)) {
24083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24085 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24087 if (!SWIG_IsOK(ecode2
)) {
24088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24090 arg2
= static_cast< wxPrintMode
>(val2
);
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 (arg1
)->SetPrintMode(arg2
);
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= SWIG_Py_Void();
24104 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24105 PyObject
*resultobj
= 0;
24106 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24110 PyObject
*swig_obj
[1] ;
24112 if (!args
) SWIG_fail
;
24113 swig_obj
[0] = args
;
24114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24115 if (!SWIG_IsOK(res1
)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24118 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24138 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
= 0;
24140 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24141 wxString
*arg2
= 0 ;
24144 bool temp2
= false ;
24145 PyObject
* obj0
= 0 ;
24146 PyObject
* obj1
= 0 ;
24147 char * kwnames
[] = {
24148 (char *) "self",(char *) "filename", NULL
24151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24153 if (!SWIG_IsOK(res1
)) {
24154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24156 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24158 arg2
= wxString_in_helper(obj1
);
24159 if (arg2
== NULL
) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 (arg1
)->SetFilename((wxString
const &)*arg2
);
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24168 resultobj
= SWIG_Py_Void();
24183 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24184 PyObject
*resultobj
= 0;
24185 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24186 PyObject
*result
= 0 ;
24189 PyObject
*swig_obj
[1] ;
24191 if (!args
) SWIG_fail
;
24192 swig_obj
[0] = args
;
24193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24194 if (!SWIG_IsOK(res1
)) {
24195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24197 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24204 resultobj
= result
;
24211 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
= 0;
24213 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24214 PyObject
*arg2
= (PyObject
*) 0 ;
24217 PyObject
* obj0
= 0 ;
24218 PyObject
* obj1
= 0 ;
24219 char * kwnames
[] = {
24220 (char *) "self",(char *) "data", NULL
24223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24225 if (!SWIG_IsOK(res1
)) {
24226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24228 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 wxPrintData_SetPrivData(arg1
,arg2
);
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24236 resultobj
= SWIG_Py_Void();
24243 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24246 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24247 return SWIG_Py_Void();
24250 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24251 return SWIG_Python_InitShadowInstance(args
);
24254 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24255 PyObject
*resultobj
= 0;
24256 wxPageSetupDialogData
*result
= 0 ;
24258 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24272 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24273 PyObject
*resultobj
= 0;
24274 wxPageSetupDialogData
*arg1
= 0 ;
24275 wxPageSetupDialogData
*result
= 0 ;
24279 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24281 if (!SWIG_IsOK(res1
)) {
24282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24287 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24301 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24302 PyObject
*resultobj
= 0;
24303 wxPrintData
*arg1
= 0 ;
24304 wxPageSetupDialogData
*result
= 0 ;
24308 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24310 if (!SWIG_IsOK(res1
)) {
24311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24316 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24330 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24334 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24337 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24342 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24343 _v
= SWIG_CheckState(res
);
24345 if (!_v
) goto check_2
;
24346 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24351 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24355 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24360 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24361 PyObject
*resultobj
= 0;
24362 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24365 PyObject
*swig_obj
[1] ;
24367 if (!args
) SWIG_fail
;
24368 swig_obj
[0] = args
;
24369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24370 if (!SWIG_IsOK(res1
)) {
24371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24373 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_Py_Void();
24388 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= 0;
24390 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 char * kwnames
[] = {
24399 (char *) "self",(char *) "flag", NULL
24402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24404 if (!SWIG_IsOK(res1
)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24407 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24408 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24409 if (!SWIG_IsOK(ecode2
)) {
24410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24412 arg2
= static_cast< bool >(val2
);
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 (arg1
)->EnableHelp(arg2
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_Py_Void();
24426 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
= 0;
24428 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 char * kwnames
[] = {
24437 (char *) "self",(char *) "flag", NULL
24440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24442 if (!SWIG_IsOK(res1
)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24445 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24446 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24447 if (!SWIG_IsOK(ecode2
)) {
24448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24450 arg2
= static_cast< bool >(val2
);
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 (arg1
)->EnableMargins(arg2
);
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= SWIG_Py_Void();
24464 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
= 0;
24466 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24472 PyObject
* obj0
= 0 ;
24473 PyObject
* obj1
= 0 ;
24474 char * kwnames
[] = {
24475 (char *) "self",(char *) "flag", NULL
24478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24480 if (!SWIG_IsOK(res1
)) {
24481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24483 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24484 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24485 if (!SWIG_IsOK(ecode2
)) {
24486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24488 arg2
= static_cast< bool >(val2
);
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 (arg1
)->EnableOrientation(arg2
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= SWIG_Py_Void();
24502 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
= 0;
24504 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24510 PyObject
* obj0
= 0 ;
24511 PyObject
* obj1
= 0 ;
24512 char * kwnames
[] = {
24513 (char *) "self",(char *) "flag", NULL
24516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24518 if (!SWIG_IsOK(res1
)) {
24519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24521 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24522 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24523 if (!SWIG_IsOK(ecode2
)) {
24524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24526 arg2
= static_cast< bool >(val2
);
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 (arg1
)->EnablePaper(arg2
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_Py_Void();
24540 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
= 0;
24542 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24548 PyObject
* obj0
= 0 ;
24549 PyObject
* obj1
= 0 ;
24550 char * kwnames
[] = {
24551 (char *) "self",(char *) "flag", NULL
24554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24556 if (!SWIG_IsOK(res1
)) {
24557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24559 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24560 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24561 if (!SWIG_IsOK(ecode2
)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24564 arg2
= static_cast< bool >(val2
);
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 (arg1
)->EnablePrinter(arg2
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= SWIG_Py_Void();
24578 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24579 PyObject
*resultobj
= 0;
24580 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24584 PyObject
*swig_obj
[1] ;
24586 if (!args
) SWIG_fail
;
24587 swig_obj
[0] = args
;
24588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24589 if (!SWIG_IsOK(res1
)) {
24590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24592 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (bool)(arg1
)->GetDefaultMinMargins();
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24608 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24609 PyObject
*resultobj
= 0;
24610 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24614 PyObject
*swig_obj
[1] ;
24616 if (!args
) SWIG_fail
;
24617 swig_obj
[0] = args
;
24618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24619 if (!SWIG_IsOK(res1
)) {
24620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24622 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24625 result
= (bool)(arg1
)->GetEnableMargins();
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24638 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24639 PyObject
*resultobj
= 0;
24640 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24644 PyObject
*swig_obj
[1] ;
24646 if (!args
) SWIG_fail
;
24647 swig_obj
[0] = args
;
24648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24649 if (!SWIG_IsOK(res1
)) {
24650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24652 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= (bool)(arg1
)->GetEnableOrientation();
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24668 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24669 PyObject
*resultobj
= 0;
24670 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24674 PyObject
*swig_obj
[1] ;
24676 if (!args
) SWIG_fail
;
24677 swig_obj
[0] = args
;
24678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24679 if (!SWIG_IsOK(res1
)) {
24680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24682 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (bool)(arg1
)->GetEnablePaper();
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24698 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24699 PyObject
*resultobj
= 0;
24700 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24704 PyObject
*swig_obj
[1] ;
24706 if (!args
) SWIG_fail
;
24707 swig_obj
[0] = args
;
24708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24709 if (!SWIG_IsOK(res1
)) {
24710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24712 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 result
= (bool)(arg1
)->GetEnablePrinter();
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24728 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24729 PyObject
*resultobj
= 0;
24730 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24734 PyObject
*swig_obj
[1] ;
24736 if (!args
) SWIG_fail
;
24737 swig_obj
[0] = args
;
24738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24739 if (!SWIG_IsOK(res1
)) {
24740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24742 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (bool)(arg1
)->GetEnableHelp();
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24758 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24759 PyObject
*resultobj
= 0;
24760 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24764 PyObject
*swig_obj
[1] ;
24766 if (!args
) SWIG_fail
;
24767 swig_obj
[0] = args
;
24768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24769 if (!SWIG_IsOK(res1
)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24772 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 result
= (bool)(arg1
)->GetDefaultInfo();
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24788 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24789 PyObject
*resultobj
= 0;
24790 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24794 PyObject
*swig_obj
[1] ;
24796 if (!args
) SWIG_fail
;
24797 swig_obj
[0] = args
;
24798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24799 if (!SWIG_IsOK(res1
)) {
24800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24802 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 result
= (arg1
)->GetMarginTopLeft();
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24816 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24817 PyObject
*resultobj
= 0;
24818 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24822 PyObject
*swig_obj
[1] ;
24824 if (!args
) SWIG_fail
;
24825 swig_obj
[0] = args
;
24826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24827 if (!SWIG_IsOK(res1
)) {
24828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24830 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 result
= (arg1
)->GetMarginBottomRight();
24834 wxPyEndAllowThreads(__tstate
);
24835 if (PyErr_Occurred()) SWIG_fail
;
24837 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24844 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24845 PyObject
*resultobj
= 0;
24846 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24850 PyObject
*swig_obj
[1] ;
24852 if (!args
) SWIG_fail
;
24853 swig_obj
[0] = args
;
24854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24855 if (!SWIG_IsOK(res1
)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24858 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= (arg1
)->GetMinMarginTopLeft();
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24872 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24873 PyObject
*resultobj
= 0;
24874 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24878 PyObject
*swig_obj
[1] ;
24880 if (!args
) SWIG_fail
;
24881 swig_obj
[0] = args
;
24882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24883 if (!SWIG_IsOK(res1
)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24886 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (arg1
)->GetMinMarginBottomRight();
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24900 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24901 PyObject
*resultobj
= 0;
24902 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24903 wxPaperSize result
;
24906 PyObject
*swig_obj
[1] ;
24908 if (!args
) SWIG_fail
;
24909 swig_obj
[0] = args
;
24910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24911 if (!SWIG_IsOK(res1
)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24914 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_From_int(static_cast< int >(result
));
24928 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24929 PyObject
*resultobj
= 0;
24930 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24934 PyObject
*swig_obj
[1] ;
24936 if (!args
) SWIG_fail
;
24937 swig_obj
[0] = args
;
24938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24939 if (!SWIG_IsOK(res1
)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24942 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 result
= (arg1
)->GetPaperSize();
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24956 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24957 PyObject
*resultobj
= 0;
24958 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24959 wxPrintData
*result
= 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_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24970 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24975 result
= (wxPrintData
*) &_result_ref
;
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24987 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24988 PyObject
*resultobj
= 0;
24989 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24993 PyObject
*swig_obj
[1] ;
24995 if (!args
) SWIG_fail
;
24996 swig_obj
[0] = args
;
24997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24998 if (!SWIG_IsOK(res1
)) {
24999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25001 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 result
= (bool)(arg1
)->Ok();
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25017 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
= 0;
25019 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 char * kwnames
[] = {
25028 (char *) "self",(char *) "flag", NULL
25031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25033 if (!SWIG_IsOK(res1
)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25036 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25037 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25038 if (!SWIG_IsOK(ecode2
)) {
25039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25041 arg2
= static_cast< bool >(val2
);
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 (arg1
)->SetDefaultInfo(arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= SWIG_Py_Void();
25055 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
= 0;
25057 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25063 PyObject
* obj0
= 0 ;
25064 PyObject
* obj1
= 0 ;
25065 char * kwnames
[] = {
25066 (char *) "self",(char *) "flag", NULL
25069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25071 if (!SWIG_IsOK(res1
)) {
25072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25074 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25075 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25076 if (!SWIG_IsOK(ecode2
)) {
25077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25079 arg2
= static_cast< bool >(val2
);
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 (arg1
)->SetDefaultMinMargins(arg2
);
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= SWIG_Py_Void();
25093 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
= 0;
25095 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25096 wxPoint
*arg2
= 0 ;
25100 PyObject
* obj0
= 0 ;
25101 PyObject
* obj1
= 0 ;
25102 char * kwnames
[] = {
25103 (char *) "self",(char *) "pt", NULL
25106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25108 if (!SWIG_IsOK(res1
)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25111 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= SWIG_Py_Void();
25129 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
= 0;
25131 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25132 wxPoint
*arg2
= 0 ;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 char * kwnames
[] = {
25139 (char *) "self",(char *) "pt", NULL
25142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25144 if (!SWIG_IsOK(res1
)) {
25145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25147 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25150 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= SWIG_Py_Void();
25165 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
= 0;
25167 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25168 wxPoint
*arg2
= 0 ;
25172 PyObject
* obj0
= 0 ;
25173 PyObject
* obj1
= 0 ;
25174 char * kwnames
[] = {
25175 (char *) "self",(char *) "pt", NULL
25178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25180 if (!SWIG_IsOK(res1
)) {
25181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25183 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25186 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_Py_Void();
25201 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
= 0;
25203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25204 wxPoint
*arg2
= 0 ;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 char * kwnames
[] = {
25211 (char *) "self",(char *) "pt", NULL
25214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25216 if (!SWIG_IsOK(res1
)) {
25217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25219 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25222 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 resultobj
= SWIG_Py_Void();
25237 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
= 0;
25239 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25245 PyObject
* obj0
= 0 ;
25246 PyObject
* obj1
= 0 ;
25247 char * kwnames
[] = {
25248 (char *) "self",(char *) "id", NULL
25251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25253 if (!SWIG_IsOK(res1
)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25256 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25258 if (!SWIG_IsOK(ecode2
)) {
25259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25261 arg2
= static_cast< wxPaperSize
>(val2
);
25263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25264 (arg1
)->SetPaperId(arg2
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25268 resultobj
= SWIG_Py_Void();
25275 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25276 PyObject
*resultobj
= 0;
25277 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25282 PyObject
* obj0
= 0 ;
25283 PyObject
* obj1
= 0 ;
25284 char * kwnames
[] = {
25285 (char *) "self",(char *) "size", NULL
25288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25290 if (!SWIG_IsOK(res1
)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25293 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25296 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25304 resultobj
= SWIG_Py_Void();
25311 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
= 0;
25313 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25314 wxPrintData
*arg2
= 0 ;
25319 PyObject
* obj0
= 0 ;
25320 PyObject
* obj1
= 0 ;
25321 char * kwnames
[] = {
25322 (char *) "self",(char *) "printData", NULL
25325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25327 if (!SWIG_IsOK(res1
)) {
25328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25330 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25332 if (!SWIG_IsOK(res2
)) {
25333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25338 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25342 wxPyEndAllowThreads(__tstate
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25345 resultobj
= SWIG_Py_Void();
25352 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25353 PyObject
*resultobj
= 0;
25354 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25357 PyObject
*swig_obj
[1] ;
25359 if (!args
) SWIG_fail
;
25360 swig_obj
[0] = args
;
25361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25362 if (!SWIG_IsOK(res1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25365 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 (arg1
)->CalculateIdFromPaperSize();
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= SWIG_Py_Void();
25379 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25380 PyObject
*resultobj
= 0;
25381 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25384 PyObject
*swig_obj
[1] ;
25386 if (!args
) SWIG_fail
;
25387 swig_obj
[0] = args
;
25388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25389 if (!SWIG_IsOK(res1
)) {
25390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25392 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 (arg1
)->CalculatePaperSizeFromId();
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= SWIG_Py_Void();
25406 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25409 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25410 return SWIG_Py_Void();
25413 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25414 return SWIG_Python_InitShadowInstance(args
);
25417 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= 0;
25419 wxWindow
*arg1
= (wxWindow
*) 0 ;
25420 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25421 wxPageSetupDialog
*result
= 0 ;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 char * kwnames
[] = {
25429 (char *) "parent",(char *) "data", NULL
25432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25434 if (!SWIG_IsOK(res1
)) {
25435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25437 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25440 if (!SWIG_IsOK(res2
)) {
25441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25443 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25446 if (!wxPyCheckForApp()) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25459 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25460 PyObject
*resultobj
= 0;
25461 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25464 PyObject
*swig_obj
[1] ;
25466 if (!args
) SWIG_fail
;
25467 swig_obj
[0] = args
;
25468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25469 if (!SWIG_IsOK(res1
)) {
25470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25472 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= SWIG_Py_Void();
25487 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25488 PyObject
*resultobj
= 0;
25489 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25490 wxPageSetupDialogData
*result
= 0 ;
25493 PyObject
*swig_obj
[1] ;
25495 if (!args
) SWIG_fail
;
25496 swig_obj
[0] = args
;
25497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25498 if (!SWIG_IsOK(res1
)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25501 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25506 result
= (wxPageSetupDialogData
*) &_result_ref
;
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25518 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25519 PyObject
*resultobj
= 0;
25520 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25521 wxPageSetupDialogData
*result
= 0 ;
25524 PyObject
*swig_obj
[1] ;
25526 if (!args
) SWIG_fail
;
25527 swig_obj
[0] = args
;
25528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25529 if (!SWIG_IsOK(res1
)) {
25530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25532 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25537 result
= (wxPageSetupDialogData
*) &_result_ref
;
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25549 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25550 PyObject
*resultobj
= 0;
25551 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25555 PyObject
*swig_obj
[1] ;
25557 if (!args
) SWIG_fail
;
25558 swig_obj
[0] = args
;
25559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25560 if (!SWIG_IsOK(res1
)) {
25561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25563 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 result
= (int)(arg1
)->ShowModal();
25567 wxPyEndAllowThreads(__tstate
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25570 resultobj
= SWIG_From_int(static_cast< int >(result
));
25577 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25581 return SWIG_Py_Void();
25584 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25585 return SWIG_Python_InitShadowInstance(args
);
25588 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25589 PyObject
*resultobj
= 0;
25590 wxPrintDialogData
*result
= 0 ;
25592 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25606 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25607 PyObject
*resultobj
= 0;
25608 wxPrintData
*arg1
= 0 ;
25609 wxPrintDialogData
*result
= 0 ;
25613 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25615 if (!SWIG_IsOK(res1
)) {
25616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25621 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25635 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25636 PyObject
*resultobj
= 0;
25637 wxPrintDialogData
*arg1
= 0 ;
25638 wxPrintDialogData
*result
= 0 ;
25642 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25644 if (!SWIG_IsOK(res1
)) {
25645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25650 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25664 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25668 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25671 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25676 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25677 _v
= SWIG_CheckState(res
);
25679 if (!_v
) goto check_2
;
25680 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25685 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25689 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25694 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25695 PyObject
*resultobj
= 0;
25696 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25699 PyObject
*swig_obj
[1] ;
25701 if (!args
) SWIG_fail
;
25702 swig_obj
[0] = args
;
25703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25704 if (!SWIG_IsOK(res1
)) {
25705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25707 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 resultobj
= SWIG_Py_Void();
25722 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25723 PyObject
*resultobj
= 0;
25724 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25728 PyObject
*swig_obj
[1] ;
25730 if (!args
) SWIG_fail
;
25731 swig_obj
[0] = args
;
25732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25733 if (!SWIG_IsOK(res1
)) {
25734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25736 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_From_int(static_cast< int >(result
));
25750 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25751 PyObject
*resultobj
= 0;
25752 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25756 PyObject
*swig_obj
[1] ;
25758 if (!args
) SWIG_fail
;
25759 swig_obj
[0] = args
;
25760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25761 if (!SWIG_IsOK(res1
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25764 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= SWIG_From_int(static_cast< int >(result
));
25778 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25779 PyObject
*resultobj
= 0;
25780 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25784 PyObject
*swig_obj
[1] ;
25786 if (!args
) SWIG_fail
;
25787 swig_obj
[0] = args
;
25788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25789 if (!SWIG_IsOK(res1
)) {
25790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25792 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= SWIG_From_int(static_cast< int >(result
));
25806 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25807 PyObject
*resultobj
= 0;
25808 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 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_wxPrintDialogData
, 0 | 0 );
25817 if (!SWIG_IsOK(res1
)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25820 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 resultobj
= SWIG_From_int(static_cast< int >(result
));
25834 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25835 PyObject
*resultobj
= 0;
25836 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25840 PyObject
*swig_obj
[1] ;
25842 if (!args
) SWIG_fail
;
25843 swig_obj
[0] = args
;
25844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25845 if (!SWIG_IsOK(res1
)) {
25846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25848 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25855 resultobj
= SWIG_From_int(static_cast< int >(result
));
25862 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25863 PyObject
*resultobj
= 0;
25864 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25868 PyObject
*swig_obj
[1] ;
25870 if (!args
) SWIG_fail
;
25871 swig_obj
[0] = args
;
25872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25873 if (!SWIG_IsOK(res1
)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25876 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25880 wxPyEndAllowThreads(__tstate
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25892 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25893 PyObject
*resultobj
= 0;
25894 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25898 PyObject
*swig_obj
[1] ;
25900 if (!args
) SWIG_fail
;
25901 swig_obj
[0] = args
;
25902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25903 if (!SWIG_IsOK(res1
)) {
25904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25906 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25922 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25923 PyObject
*resultobj
= 0;
25924 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25928 PyObject
*swig_obj
[1] ;
25930 if (!args
) SWIG_fail
;
25931 swig_obj
[0] = args
;
25932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25933 if (!SWIG_IsOK(res1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25936 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25952 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25953 PyObject
*resultobj
= 0;
25954 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25958 PyObject
*swig_obj
[1] ;
25960 if (!args
) SWIG_fail
;
25961 swig_obj
[0] = args
;
25962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25963 if (!SWIG_IsOK(res1
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25966 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25970 wxPyEndAllowThreads(__tstate
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25982 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
= 0;
25984 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25990 PyObject
* obj0
= 0 ;
25991 PyObject
* obj1
= 0 ;
25992 char * kwnames
[] = {
25993 (char *) "self",(char *) "v", NULL
25996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25998 if (!SWIG_IsOK(res1
)) {
25999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26001 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26003 if (!SWIG_IsOK(ecode2
)) {
26004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26006 arg2
= static_cast< int >(val2
);
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 (arg1
)->SetFromPage(arg2
);
26010 wxPyEndAllowThreads(__tstate
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= SWIG_Py_Void();
26020 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
= 0;
26022 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 char * kwnames
[] = {
26031 (char *) "self",(char *) "v", NULL
26034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26036 if (!SWIG_IsOK(res1
)) {
26037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26039 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26041 if (!SWIG_IsOK(ecode2
)) {
26042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26044 arg2
= static_cast< int >(val2
);
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 (arg1
)->SetToPage(arg2
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= SWIG_Py_Void();
26058 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
= 0;
26060 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 char * kwnames
[] = {
26069 (char *) "self",(char *) "v", NULL
26072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26074 if (!SWIG_IsOK(res1
)) {
26075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26077 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26079 if (!SWIG_IsOK(ecode2
)) {
26080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26082 arg2
= static_cast< int >(val2
);
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 (arg1
)->SetMinPage(arg2
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_Py_Void();
26096 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
= 0;
26098 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 char * kwnames
[] = {
26107 (char *) "self",(char *) "v", NULL
26110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26112 if (!SWIG_IsOK(res1
)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26115 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26117 if (!SWIG_IsOK(ecode2
)) {
26118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26120 arg2
= static_cast< int >(val2
);
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 (arg1
)->SetMaxPage(arg2
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= SWIG_Py_Void();
26134 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
= 0;
26136 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 char * kwnames
[] = {
26145 (char *) "self",(char *) "v", NULL
26148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26150 if (!SWIG_IsOK(res1
)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26153 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26155 if (!SWIG_IsOK(ecode2
)) {
26156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26158 arg2
= static_cast< int >(val2
);
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 (arg1
)->SetNoCopies(arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_Py_Void();
26172 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
= 0;
26174 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26180 PyObject
* obj0
= 0 ;
26181 PyObject
* obj1
= 0 ;
26182 char * kwnames
[] = {
26183 (char *) "self",(char *) "flag", NULL
26186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26188 if (!SWIG_IsOK(res1
)) {
26189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26191 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26192 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26193 if (!SWIG_IsOK(ecode2
)) {
26194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26196 arg2
= static_cast< bool >(val2
);
26198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 (arg1
)->SetAllPages(arg2
);
26200 wxPyEndAllowThreads(__tstate
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_Py_Void();
26210 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26211 PyObject
*resultobj
= 0;
26212 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 PyObject
* obj1
= 0 ;
26220 char * kwnames
[] = {
26221 (char *) "self",(char *) "flag", NULL
26224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26226 if (!SWIG_IsOK(res1
)) {
26227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26229 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26230 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26231 if (!SWIG_IsOK(ecode2
)) {
26232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26234 arg2
= static_cast< bool >(val2
);
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 (arg1
)->SetSelection(arg2
);
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= SWIG_Py_Void();
26248 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
= 0;
26250 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26256 PyObject
* obj0
= 0 ;
26257 PyObject
* obj1
= 0 ;
26258 char * kwnames
[] = {
26259 (char *) "self",(char *) "flag", NULL
26262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26264 if (!SWIG_IsOK(res1
)) {
26265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26267 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26268 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26269 if (!SWIG_IsOK(ecode2
)) {
26270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26272 arg2
= static_cast< bool >(val2
);
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 (arg1
)->SetCollate(arg2
);
26276 wxPyEndAllowThreads(__tstate
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 resultobj
= SWIG_Py_Void();
26286 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
= 0;
26288 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26294 PyObject
* obj0
= 0 ;
26295 PyObject
* obj1
= 0 ;
26296 char * kwnames
[] = {
26297 (char *) "self",(char *) "flag", NULL
26300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26302 if (!SWIG_IsOK(res1
)) {
26303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26305 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26306 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26307 if (!SWIG_IsOK(ecode2
)) {
26308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26310 arg2
= static_cast< bool >(val2
);
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 (arg1
)->SetPrintToFile(arg2
);
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 resultobj
= SWIG_Py_Void();
26324 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26325 PyObject
*resultobj
= 0;
26326 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 char * kwnames
[] = {
26335 (char *) "self",(char *) "flag", NULL
26338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26340 if (!SWIG_IsOK(res1
)) {
26341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26343 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26344 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26345 if (!SWIG_IsOK(ecode2
)) {
26346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26348 arg2
= static_cast< bool >(val2
);
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 (arg1
)->EnablePrintToFile(arg2
);
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= SWIG_Py_Void();
26362 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26363 PyObject
*resultobj
= 0;
26364 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26370 PyObject
* obj0
= 0 ;
26371 PyObject
* obj1
= 0 ;
26372 char * kwnames
[] = {
26373 (char *) "self",(char *) "flag", NULL
26376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26378 if (!SWIG_IsOK(res1
)) {
26379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26381 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26383 if (!SWIG_IsOK(ecode2
)) {
26384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26386 arg2
= static_cast< bool >(val2
);
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 (arg1
)->EnableSelection(arg2
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 resultobj
= SWIG_Py_Void();
26400 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
= 0;
26402 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26408 PyObject
* obj0
= 0 ;
26409 PyObject
* obj1
= 0 ;
26410 char * kwnames
[] = {
26411 (char *) "self",(char *) "flag", NULL
26414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26416 if (!SWIG_IsOK(res1
)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26419 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26420 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26421 if (!SWIG_IsOK(ecode2
)) {
26422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26424 arg2
= static_cast< bool >(val2
);
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 (arg1
)->EnablePageNumbers(arg2
);
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 resultobj
= SWIG_Py_Void();
26438 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26439 PyObject
*resultobj
= 0;
26440 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26446 PyObject
* obj0
= 0 ;
26447 PyObject
* obj1
= 0 ;
26448 char * kwnames
[] = {
26449 (char *) "self",(char *) "flag", NULL
26452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26454 if (!SWIG_IsOK(res1
)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26457 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26458 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26459 if (!SWIG_IsOK(ecode2
)) {
26460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26462 arg2
= static_cast< bool >(val2
);
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 (arg1
)->EnableHelp(arg2
);
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= SWIG_Py_Void();
26476 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26477 PyObject
*resultobj
= 0;
26478 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26482 PyObject
*swig_obj
[1] ;
26484 if (!args
) SWIG_fail
;
26485 swig_obj
[0] = args
;
26486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26487 if (!SWIG_IsOK(res1
)) {
26488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26490 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26493 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26506 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26507 PyObject
*resultobj
= 0;
26508 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26512 PyObject
*swig_obj
[1] ;
26514 if (!args
) SWIG_fail
;
26515 swig_obj
[0] = args
;
26516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26517 if (!SWIG_IsOK(res1
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26520 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26536 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26537 PyObject
*resultobj
= 0;
26538 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26542 PyObject
*swig_obj
[1] ;
26544 if (!args
) SWIG_fail
;
26545 swig_obj
[0] = args
;
26546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26547 if (!SWIG_IsOK(res1
)) {
26548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26550 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26566 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26567 PyObject
*resultobj
= 0;
26568 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26572 PyObject
*swig_obj
[1] ;
26574 if (!args
) SWIG_fail
;
26575 swig_obj
[0] = args
;
26576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26577 if (!SWIG_IsOK(res1
)) {
26578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26580 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26596 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26597 PyObject
*resultobj
= 0;
26598 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26602 PyObject
*swig_obj
[1] ;
26604 if (!args
) SWIG_fail
;
26605 swig_obj
[0] = args
;
26606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26607 if (!SWIG_IsOK(res1
)) {
26608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26610 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26614 wxPyEndAllowThreads(__tstate
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26626 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26627 PyObject
*resultobj
= 0;
26628 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26629 wxPrintData
*result
= 0 ;
26632 PyObject
*swig_obj
[1] ;
26634 if (!args
) SWIG_fail
;
26635 swig_obj
[0] = args
;
26636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26637 if (!SWIG_IsOK(res1
)) {
26638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26640 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26645 result
= (wxPrintData
*) &_result_ref
;
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26657 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
= 0;
26659 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26660 wxPrintData
*arg2
= 0 ;
26665 PyObject
* obj0
= 0 ;
26666 PyObject
* obj1
= 0 ;
26667 char * kwnames
[] = {
26668 (char *) "self",(char *) "printData", NULL
26671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26673 if (!SWIG_IsOK(res1
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26676 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26677 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26678 if (!SWIG_IsOK(res2
)) {
26679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26684 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_Py_Void();
26698 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26701 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26702 return SWIG_Py_Void();
26705 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26706 return SWIG_Python_InitShadowInstance(args
);
26709 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
= 0;
26711 wxWindow
*arg1
= (wxWindow
*) 0 ;
26712 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26713 wxPrintDialog
*result
= 0 ;
26718 PyObject
* obj0
= 0 ;
26719 PyObject
* obj1
= 0 ;
26720 char * kwnames
[] = {
26721 (char *) "parent",(char *) "data", NULL
26724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26726 if (!SWIG_IsOK(res1
)) {
26727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26729 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26731 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26732 if (!SWIG_IsOK(res2
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26735 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26738 if (!wxPyCheckForApp()) SWIG_fail
;
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26751 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26752 PyObject
*resultobj
= 0;
26753 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26756 PyObject
*swig_obj
[1] ;
26758 if (!args
) SWIG_fail
;
26759 swig_obj
[0] = args
;
26760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26761 if (!SWIG_IsOK(res1
)) {
26762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26764 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 resultobj
= SWIG_Py_Void();
26779 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26780 PyObject
*resultobj
= 0;
26781 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26785 PyObject
*swig_obj
[1] ;
26787 if (!args
) SWIG_fail
;
26788 swig_obj
[0] = args
;
26789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26790 if (!SWIG_IsOK(res1
)) {
26791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26793 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 result
= (int)(arg1
)->ShowModal();
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26800 resultobj
= SWIG_From_int(static_cast< int >(result
));
26807 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26808 PyObject
*resultobj
= 0;
26809 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26810 wxPrintDialogData
*result
= 0 ;
26813 PyObject
*swig_obj
[1] ;
26815 if (!args
) SWIG_fail
;
26816 swig_obj
[0] = args
;
26817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26818 if (!SWIG_IsOK(res1
)) {
26819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26821 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26825 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26826 result
= (wxPrintDialogData
*) &_result_ref
;
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26838 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26839 PyObject
*resultobj
= 0;
26840 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26841 wxPrintData
*result
= 0 ;
26844 PyObject
*swig_obj
[1] ;
26846 if (!args
) SWIG_fail
;
26847 swig_obj
[0] = args
;
26848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26849 if (!SWIG_IsOK(res1
)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26852 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26856 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26857 result
= (wxPrintData
*) &_result_ref
;
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26869 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26870 PyObject
*resultobj
= 0;
26871 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26875 PyObject
*swig_obj
[1] ;
26877 if (!args
) SWIG_fail
;
26878 swig_obj
[0] = args
;
26879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26883 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 result
= (wxDC
*)(arg1
)->GetPrintDC();
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26899 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26902 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26903 return SWIG_Py_Void();
26906 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26907 return SWIG_Python_InitShadowInstance(args
);
26910 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26911 PyObject
*resultobj
= 0;
26912 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26913 wxPrinter
*result
= 0 ;
26916 PyObject
* obj0
= 0 ;
26917 char * kwnames
[] = {
26918 (char *) "data", NULL
26921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26924 if (!SWIG_IsOK(res1
)) {
26925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26927 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26930 if (!wxPyCheckForApp()) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= (wxPrinter
*)new wxPrinter(arg1
);
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26943 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26944 PyObject
*resultobj
= 0;
26945 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26948 PyObject
*swig_obj
[1] ;
26950 if (!args
) SWIG_fail
;
26951 swig_obj
[0] = args
;
26952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26953 if (!SWIG_IsOK(res1
)) {
26954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26956 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= SWIG_Py_Void();
26971 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
= 0;
26973 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26974 wxWindow
*arg2
= (wxWindow
*) 0 ;
26975 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26976 wxWindow
*result
= 0 ;
26983 PyObject
* obj0
= 0 ;
26984 PyObject
* obj1
= 0 ;
26985 PyObject
* obj2
= 0 ;
26986 char * kwnames
[] = {
26987 (char *) "self",(char *) "parent",(char *) "printout", NULL
26990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26992 if (!SWIG_IsOK(res1
)) {
26993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26995 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26997 if (!SWIG_IsOK(res2
)) {
26998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27000 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27001 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27002 if (!SWIG_IsOK(res3
)) {
27003 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27005 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27009 wxPyEndAllowThreads(__tstate
);
27010 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= wxPyMake_wxObject(result
, 0);
27021 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
= 0;
27023 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27024 wxWindow
*arg2
= (wxWindow
*) 0 ;
27025 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27026 wxString
*arg4
= 0 ;
27033 bool temp4
= false ;
27034 PyObject
* obj0
= 0 ;
27035 PyObject
* obj1
= 0 ;
27036 PyObject
* obj2
= 0 ;
27037 PyObject
* obj3
= 0 ;
27038 char * kwnames
[] = {
27039 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27044 if (!SWIG_IsOK(res1
)) {
27045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27047 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27048 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27049 if (!SWIG_IsOK(res2
)) {
27050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27052 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27053 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27054 if (!SWIG_IsOK(res3
)) {
27055 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27057 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27059 arg4
= wxString_in_helper(obj3
);
27060 if (arg4
== NULL
) SWIG_fail
;
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27065 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27066 wxPyEndAllowThreads(__tstate
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27069 resultobj
= SWIG_Py_Void();
27084 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
= 0;
27086 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27087 wxWindow
*arg2
= (wxWindow
*) 0 ;
27093 PyObject
* obj0
= 0 ;
27094 PyObject
* obj1
= 0 ;
27095 char * kwnames
[] = {
27096 (char *) "self",(char *) "parent", NULL
27099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27101 if (!SWIG_IsOK(res1
)) {
27102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27104 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27106 if (!SWIG_IsOK(res2
)) {
27107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27109 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 result
= (bool)(arg1
)->Setup(arg2
);
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27125 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27126 PyObject
*resultobj
= 0;
27127 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27128 wxWindow
*arg2
= (wxWindow
*) 0 ;
27129 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27130 bool arg4
= (bool) true ;
27140 PyObject
* obj0
= 0 ;
27141 PyObject
* obj1
= 0 ;
27142 PyObject
* obj2
= 0 ;
27143 PyObject
* obj3
= 0 ;
27144 char * kwnames
[] = {
27145 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27150 if (!SWIG_IsOK(res1
)) {
27151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27153 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27155 if (!SWIG_IsOK(res2
)) {
27156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27158 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27159 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27160 if (!SWIG_IsOK(res3
)) {
27161 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27163 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27165 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27166 if (!SWIG_IsOK(ecode4
)) {
27167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27169 arg4
= static_cast< bool >(val4
);
27172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27186 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
= 0;
27188 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27189 wxWindow
*arg2
= (wxWindow
*) 0 ;
27195 PyObject
* obj0
= 0 ;
27196 PyObject
* obj1
= 0 ;
27197 char * kwnames
[] = {
27198 (char *) "self",(char *) "parent", NULL
27201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27203 if (!SWIG_IsOK(res1
)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27206 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27208 if (!SWIG_IsOK(res2
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27211 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27219 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27227 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27228 PyObject
*resultobj
= 0;
27229 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27230 wxPrintDialogData
*result
= 0 ;
27233 PyObject
*swig_obj
[1] ;
27235 if (!args
) SWIG_fail
;
27236 swig_obj
[0] = args
;
27237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27238 if (!SWIG_IsOK(res1
)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27241 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27246 result
= (wxPrintDialogData
*) &_result_ref
;
27248 wxPyEndAllowThreads(__tstate
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27258 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27259 PyObject
*resultobj
= 0;
27260 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27264 PyObject
*swig_obj
[1] ;
27266 if (!args
) SWIG_fail
;
27267 swig_obj
[0] = args
;
27268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27269 if (!SWIG_IsOK(res1
)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27272 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 result
= (bool)(arg1
)->GetAbort();
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27288 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27289 PyObject
*resultobj
= 0;
27290 wxPrinterError result
;
27292 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27295 result
= (wxPrinterError
)wxPrinter::GetLastError();
27296 wxPyEndAllowThreads(__tstate
);
27297 if (PyErr_Occurred()) SWIG_fail
;
27299 resultobj
= SWIG_From_int(static_cast< int >(result
));
27306 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27310 return SWIG_Py_Void();
27313 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27314 return SWIG_Python_InitShadowInstance(args
);
27317 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
= 0;
27319 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27320 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27321 wxPyPrintout
*result
= 0 ;
27322 bool temp1
= false ;
27323 PyObject
* obj0
= 0 ;
27324 char * kwnames
[] = {
27325 (char *) "title", NULL
27328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27331 arg1
= wxString_in_helper(obj0
);
27332 if (arg1
== NULL
) SWIG_fail
;
27337 if (!wxPyCheckForApp()) SWIG_fail
;
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27340 wxPyEndAllowThreads(__tstate
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27358 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27359 PyObject
*resultobj
= 0;
27360 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27363 PyObject
*swig_obj
[1] ;
27365 if (!args
) SWIG_fail
;
27366 swig_obj
[0] = args
;
27367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27368 if (!SWIG_IsOK(res1
)) {
27369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27371 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27379 resultobj
= SWIG_Py_Void();
27386 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27387 PyObject
*resultobj
= 0;
27388 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27389 PyObject
*arg2
= (PyObject
*) 0 ;
27390 PyObject
*arg3
= (PyObject
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 PyObject
* obj2
= 0 ;
27396 char * kwnames
[] = {
27397 (char *) "self",(char *) "self",(char *) "_class", NULL
27400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27402 if (!SWIG_IsOK(res1
)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27405 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= SWIG_Py_Void();
27421 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27422 PyObject
*resultobj
= 0;
27423 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27427 PyObject
*swig_obj
[1] ;
27429 if (!args
) SWIG_fail
;
27430 swig_obj
[0] = args
;
27431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27432 if (!SWIG_IsOK(res1
)) {
27433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27435 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27438 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27455 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27456 PyObject
*resultobj
= 0;
27457 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27461 PyObject
*swig_obj
[1] ;
27463 if (!args
) SWIG_fail
;
27464 swig_obj
[0] = args
;
27465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27466 if (!SWIG_IsOK(res1
)) {
27467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27469 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= (wxDC
*)(arg1
)->GetDC();
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27485 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
= 0;
27487 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27488 wxDC
*arg2
= (wxDC
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 PyObject
* obj1
= 0 ;
27495 char * kwnames
[] = {
27496 (char *) "self",(char *) "dc", NULL
27499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27501 if (!SWIG_IsOK(res1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27504 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27506 if (!SWIG_IsOK(res2
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27509 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27512 (arg1
)->SetDC(arg2
);
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27516 resultobj
= SWIG_Py_Void();
27523 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27524 PyObject
*resultobj
= 0;
27525 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27534 PyObject
* obj0
= 0 ;
27535 PyObject
* obj1
= 0 ;
27536 PyObject
* obj2
= 0 ;
27537 char * kwnames
[] = {
27538 (char *) "self",(char *) "w",(char *) "h", NULL
27541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27543 if (!SWIG_IsOK(res1
)) {
27544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27546 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27548 if (!SWIG_IsOK(ecode2
)) {
27549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27551 arg2
= static_cast< int >(val2
);
27552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27553 if (!SWIG_IsOK(ecode3
)) {
27554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27556 arg3
= static_cast< int >(val3
);
27558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27559 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 resultobj
= SWIG_Py_Void();
27570 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27571 PyObject
*resultobj
= 0;
27572 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27573 int *arg2
= (int *) 0 ;
27574 int *arg3
= (int *) 0 ;
27578 int res2
= SWIG_TMPOBJ
;
27580 int res3
= SWIG_TMPOBJ
;
27581 PyObject
*swig_obj
[1] ;
27585 if (!args
) SWIG_fail
;
27586 swig_obj
[0] = args
;
27587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27588 if (!SWIG_IsOK(res1
)) {
27589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27591 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27595 wxPyEndAllowThreads(__tstate
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27598 resultobj
= SWIG_Py_Void();
27599 if (SWIG_IsTmpObj(res2
)) {
27600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27602 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27603 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27605 if (SWIG_IsTmpObj(res3
)) {
27606 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27608 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27609 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27617 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27618 PyObject
*resultobj
= 0;
27619 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27628 PyObject
* obj0
= 0 ;
27629 PyObject
* obj1
= 0 ;
27630 PyObject
* obj2
= 0 ;
27631 char * kwnames
[] = {
27632 (char *) "self",(char *) "w",(char *) "h", NULL
27635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27637 if (!SWIG_IsOK(res1
)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27640 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27642 if (!SWIG_IsOK(ecode2
)) {
27643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27645 arg2
= static_cast< int >(val2
);
27646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27647 if (!SWIG_IsOK(ecode3
)) {
27648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27650 arg3
= static_cast< int >(val3
);
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= SWIG_Py_Void();
27664 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27665 PyObject
*resultobj
= 0;
27666 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27667 int *arg2
= (int *) 0 ;
27668 int *arg3
= (int *) 0 ;
27672 int res2
= SWIG_TMPOBJ
;
27674 int res3
= SWIG_TMPOBJ
;
27675 PyObject
*swig_obj
[1] ;
27679 if (!args
) SWIG_fail
;
27680 swig_obj
[0] = args
;
27681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27682 if (!SWIG_IsOK(res1
)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27685 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27688 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27689 wxPyEndAllowThreads(__tstate
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27692 resultobj
= SWIG_Py_Void();
27693 if (SWIG_IsTmpObj(res2
)) {
27694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27696 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27699 if (SWIG_IsTmpObj(res3
)) {
27700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27702 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27711 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27712 PyObject
*resultobj
= 0;
27713 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27722 PyObject
* obj0
= 0 ;
27723 PyObject
* obj1
= 0 ;
27724 PyObject
* obj2
= 0 ;
27725 char * kwnames
[] = {
27726 (char *) "self",(char *) "x",(char *) "y", NULL
27729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27731 if (!SWIG_IsOK(res1
)) {
27732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27734 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27736 if (!SWIG_IsOK(ecode2
)) {
27737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27739 arg2
= static_cast< int >(val2
);
27740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27741 if (!SWIG_IsOK(ecode3
)) {
27742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27744 arg3
= static_cast< int >(val3
);
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 (arg1
)->SetPPIScreen(arg2
,arg3
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 resultobj
= SWIG_Py_Void();
27758 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27759 PyObject
*resultobj
= 0;
27760 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27761 int *arg2
= (int *) 0 ;
27762 int *arg3
= (int *) 0 ;
27766 int res2
= SWIG_TMPOBJ
;
27768 int res3
= SWIG_TMPOBJ
;
27769 PyObject
*swig_obj
[1] ;
27773 if (!args
) SWIG_fail
;
27774 swig_obj
[0] = args
;
27775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27776 if (!SWIG_IsOK(res1
)) {
27777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27779 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27782 (arg1
)->GetPPIScreen(arg2
,arg3
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= SWIG_Py_Void();
27787 if (SWIG_IsTmpObj(res2
)) {
27788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27790 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27793 if (SWIG_IsTmpObj(res3
)) {
27794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27796 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27805 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27806 PyObject
*resultobj
= 0;
27807 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27816 PyObject
* obj0
= 0 ;
27817 PyObject
* obj1
= 0 ;
27818 PyObject
* obj2
= 0 ;
27819 char * kwnames
[] = {
27820 (char *) "self",(char *) "x",(char *) "y", NULL
27823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27825 if (!SWIG_IsOK(res1
)) {
27826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27828 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27830 if (!SWIG_IsOK(ecode2
)) {
27831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27833 arg2
= static_cast< int >(val2
);
27834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27835 if (!SWIG_IsOK(ecode3
)) {
27836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27838 arg3
= static_cast< int >(val3
);
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27842 wxPyEndAllowThreads(__tstate
);
27843 if (PyErr_Occurred()) SWIG_fail
;
27845 resultobj
= SWIG_Py_Void();
27852 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27853 PyObject
*resultobj
= 0;
27854 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27855 int *arg2
= (int *) 0 ;
27856 int *arg3
= (int *) 0 ;
27860 int res2
= SWIG_TMPOBJ
;
27862 int res3
= SWIG_TMPOBJ
;
27863 PyObject
*swig_obj
[1] ;
27867 if (!args
) SWIG_fail
;
27868 swig_obj
[0] = args
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27873 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27880 resultobj
= SWIG_Py_Void();
27881 if (SWIG_IsTmpObj(res2
)) {
27882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27884 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27887 if (SWIG_IsTmpObj(res3
)) {
27888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27890 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27899 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27900 PyObject
*resultobj
= 0;
27901 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27905 PyObject
*swig_obj
[1] ;
27907 if (!args
) SWIG_fail
;
27908 swig_obj
[0] = args
;
27909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27910 if (!SWIG_IsOK(res1
)) {
27911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27913 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 result
= (bool)(arg1
)->IsPreview();
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27929 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27930 PyObject
*resultobj
= 0;
27931 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27937 PyObject
* obj0
= 0 ;
27938 PyObject
* obj1
= 0 ;
27939 char * kwnames
[] = {
27940 (char *) "self",(char *) "p", NULL
27943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27945 if (!SWIG_IsOK(res1
)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27948 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27949 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27950 if (!SWIG_IsOK(ecode2
)) {
27951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27953 arg2
= static_cast< bool >(val2
);
27955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27956 (arg1
)->SetIsPreview(arg2
);
27957 wxPyEndAllowThreads(__tstate
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27960 resultobj
= SWIG_Py_Void();
27967 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27968 PyObject
*resultobj
= 0;
27969 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27979 PyObject
* obj0
= 0 ;
27980 PyObject
* obj1
= 0 ;
27981 PyObject
* obj2
= 0 ;
27982 char * kwnames
[] = {
27983 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27988 if (!SWIG_IsOK(res1
)) {
27989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27991 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27993 if (!SWIG_IsOK(ecode2
)) {
27994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27996 arg2
= static_cast< int >(val2
);
27997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27998 if (!SWIG_IsOK(ecode3
)) {
27999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28001 arg3
= static_cast< int >(val3
);
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28017 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28018 PyObject
*resultobj
= 0;
28019 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28022 PyObject
*swig_obj
[1] ;
28024 if (!args
) SWIG_fail
;
28025 swig_obj
[0] = args
;
28026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28027 if (!SWIG_IsOK(res1
)) {
28028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28030 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28033 (arg1
)->OnEndDocument();
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28037 resultobj
= SWIG_Py_Void();
28044 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28045 PyObject
*resultobj
= 0;
28046 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28049 PyObject
*swig_obj
[1] ;
28051 if (!args
) SWIG_fail
;
28052 swig_obj
[0] = args
;
28053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28054 if (!SWIG_IsOK(res1
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28057 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 (arg1
)->OnBeginPrinting();
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28064 resultobj
= SWIG_Py_Void();
28071 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28072 PyObject
*resultobj
= 0;
28073 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28076 PyObject
*swig_obj
[1] ;
28078 if (!args
) SWIG_fail
;
28079 swig_obj
[0] = args
;
28080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28081 if (!SWIG_IsOK(res1
)) {
28082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28084 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28087 (arg1
)->OnEndPrinting();
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= SWIG_Py_Void();
28098 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28099 PyObject
*resultobj
= 0;
28100 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28103 PyObject
*swig_obj
[1] ;
28105 if (!args
) SWIG_fail
;
28106 swig_obj
[0] = args
;
28107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28111 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 (arg1
)->OnPreparePrinting();
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= SWIG_Py_Void();
28125 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
= 0;
28127 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28134 PyObject
* obj0
= 0 ;
28135 PyObject
* obj1
= 0 ;
28136 char * kwnames
[] = {
28137 (char *) "self",(char *) "page", NULL
28140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28142 if (!SWIG_IsOK(res1
)) {
28143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28145 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28147 if (!SWIG_IsOK(ecode2
)) {
28148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28150 arg2
= static_cast< int >(val2
);
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 result
= (bool)(arg1
)->HasPage(arg2
);
28154 wxPyEndAllowThreads(__tstate
);
28155 if (PyErr_Occurred()) SWIG_fail
;
28158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28166 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28167 PyObject
*resultobj
= 0;
28168 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28169 int *arg2
= (int *) 0 ;
28170 int *arg3
= (int *) 0 ;
28171 int *arg4
= (int *) 0 ;
28172 int *arg5
= (int *) 0 ;
28176 int res2
= SWIG_TMPOBJ
;
28178 int res3
= SWIG_TMPOBJ
;
28180 int res4
= SWIG_TMPOBJ
;
28182 int res5
= SWIG_TMPOBJ
;
28183 PyObject
*swig_obj
[1] ;
28189 if (!args
) SWIG_fail
;
28190 swig_obj
[0] = args
;
28191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28192 if (!SWIG_IsOK(res1
)) {
28193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28195 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28202 resultobj
= SWIG_Py_Void();
28203 if (SWIG_IsTmpObj(res2
)) {
28204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28206 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28209 if (SWIG_IsTmpObj(res3
)) {
28210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28212 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28215 if (SWIG_IsTmpObj(res4
)) {
28216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28218 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28221 if (SWIG_IsTmpObj(res5
)) {
28222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28224 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28233 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28235 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28236 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28237 return SWIG_Py_Void();
28240 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28241 return SWIG_Python_InitShadowInstance(args
);
28244 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28245 PyObject
*resultobj
= 0;
28246 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28247 wxWindow
*arg2
= (wxWindow
*) 0 ;
28248 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28249 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28250 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28251 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28252 long arg5
= (long) 0 ;
28253 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28254 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28255 wxPreviewCanvas
*result
= 0 ;
28264 bool temp6
= false ;
28265 PyObject
* obj0
= 0 ;
28266 PyObject
* obj1
= 0 ;
28267 PyObject
* obj2
= 0 ;
28268 PyObject
* obj3
= 0 ;
28269 PyObject
* obj4
= 0 ;
28270 PyObject
* obj5
= 0 ;
28271 char * kwnames
[] = {
28272 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28277 if (!SWIG_IsOK(res1
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28280 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28282 if (!SWIG_IsOK(res2
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28285 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28289 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28295 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28299 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28300 if (!SWIG_IsOK(ecode5
)) {
28301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28303 arg5
= static_cast< long >(val5
);
28307 arg6
= wxString_in_helper(obj5
);
28308 if (arg6
== NULL
) SWIG_fail
;
28313 if (!wxPyCheckForApp()) SWIG_fail
;
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28334 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28337 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28338 return SWIG_Py_Void();
28341 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28342 return SWIG_Python_InitShadowInstance(args
);
28345 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28346 PyObject
*resultobj
= 0;
28347 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28348 wxFrame
*arg2
= (wxFrame
*) 0 ;
28349 wxString
*arg3
= 0 ;
28350 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28351 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28352 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28353 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28354 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28355 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28356 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28357 wxPreviewFrame
*result
= 0 ;
28361 bool temp3
= false ;
28366 bool temp7
= false ;
28367 PyObject
* obj0
= 0 ;
28368 PyObject
* obj1
= 0 ;
28369 PyObject
* obj2
= 0 ;
28370 PyObject
* obj3
= 0 ;
28371 PyObject
* obj4
= 0 ;
28372 PyObject
* obj5
= 0 ;
28373 PyObject
* obj6
= 0 ;
28374 char * kwnames
[] = {
28375 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28379 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28380 if (!SWIG_IsOK(res1
)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28383 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28384 if (!SWIG_IsOK(res2
)) {
28385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28387 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28389 arg3
= wxString_in_helper(obj2
);
28390 if (arg3
== NULL
) SWIG_fail
;
28396 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28402 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28406 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28407 if (!SWIG_IsOK(ecode6
)) {
28408 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28410 arg6
= static_cast< long >(val6
);
28414 arg7
= wxString_in_helper(obj6
);
28415 if (arg7
== NULL
) SWIG_fail
;
28420 if (!wxPyCheckForApp()) SWIG_fail
;
28421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28422 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28449 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28450 PyObject
*resultobj
= 0;
28451 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28454 PyObject
*swig_obj
[1] ;
28456 if (!args
) SWIG_fail
;
28457 swig_obj
[0] = args
;
28458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28459 if (!SWIG_IsOK(res1
)) {
28460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28462 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 (arg1
)->Initialize();
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= SWIG_Py_Void();
28476 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28477 PyObject
*resultobj
= 0;
28478 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28481 PyObject
*swig_obj
[1] ;
28483 if (!args
) SWIG_fail
;
28484 swig_obj
[0] = args
;
28485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28486 if (!SWIG_IsOK(res1
)) {
28487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28489 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 (arg1
)->CreateControlBar();
28493 wxPyEndAllowThreads(__tstate
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28496 resultobj
= SWIG_Py_Void();
28503 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28504 PyObject
*resultobj
= 0;
28505 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28508 PyObject
*swig_obj
[1] ;
28510 if (!args
) SWIG_fail
;
28511 swig_obj
[0] = args
;
28512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28513 if (!SWIG_IsOK(res1
)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28516 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28519 (arg1
)->CreateCanvas();
28520 wxPyEndAllowThreads(__tstate
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= SWIG_Py_Void();
28530 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28531 PyObject
*resultobj
= 0;
28532 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28533 wxPreviewControlBar
*result
= 0 ;
28536 PyObject
*swig_obj
[1] ;
28538 if (!args
) SWIG_fail
;
28539 swig_obj
[0] = args
;
28540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28541 if (!SWIG_IsOK(res1
)) {
28542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28544 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28558 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28561 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28562 return SWIG_Py_Void();
28565 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28566 return SWIG_Python_InitShadowInstance(args
);
28569 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28570 PyObject
*resultobj
= 0;
28571 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28573 wxWindow
*arg3
= (wxWindow
*) 0 ;
28574 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28575 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28576 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28577 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28578 long arg6
= (long) wxTAB_TRAVERSAL
;
28579 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28580 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28581 wxPreviewControlBar
*result
= 0 ;
28592 bool temp7
= false ;
28593 PyObject
* obj0
= 0 ;
28594 PyObject
* obj1
= 0 ;
28595 PyObject
* obj2
= 0 ;
28596 PyObject
* obj3
= 0 ;
28597 PyObject
* obj4
= 0 ;
28598 PyObject
* obj5
= 0 ;
28599 PyObject
* obj6
= 0 ;
28600 char * kwnames
[] = {
28601 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28606 if (!SWIG_IsOK(res1
)) {
28607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28609 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28610 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28611 if (!SWIG_IsOK(ecode2
)) {
28612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28614 arg2
= static_cast< long >(val2
);
28615 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28616 if (!SWIG_IsOK(res3
)) {
28617 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28619 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28623 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28629 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28633 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28634 if (!SWIG_IsOK(ecode6
)) {
28635 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28637 arg6
= static_cast< long >(val6
);
28641 arg7
= wxString_in_helper(obj6
);
28642 if (arg7
== NULL
) SWIG_fail
;
28647 if (!wxPyCheckForApp()) SWIG_fail
;
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28668 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28669 PyObject
*resultobj
= 0;
28670 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28674 PyObject
*swig_obj
[1] ;
28676 if (!args
) SWIG_fail
;
28677 swig_obj
[0] = args
;
28678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28679 if (!SWIG_IsOK(res1
)) {
28680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28682 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 result
= (int)(arg1
)->GetZoomControl();
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 resultobj
= SWIG_From_int(static_cast< int >(result
));
28696 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
= 0;
28698 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28704 PyObject
* obj0
= 0 ;
28705 PyObject
* obj1
= 0 ;
28706 char * kwnames
[] = {
28707 (char *) "self",(char *) "zoom", NULL
28710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28712 if (!SWIG_IsOK(res1
)) {
28713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28715 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28717 if (!SWIG_IsOK(ecode2
)) {
28718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28720 arg2
= static_cast< int >(val2
);
28722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28723 (arg1
)->SetZoomControl(arg2
);
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28727 resultobj
= SWIG_Py_Void();
28734 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28735 PyObject
*resultobj
= 0;
28736 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28737 wxPrintPreview
*result
= 0 ;
28740 PyObject
*swig_obj
[1] ;
28742 if (!args
) SWIG_fail
;
28743 swig_obj
[0] = args
;
28744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28745 if (!SWIG_IsOK(res1
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28748 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28762 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28763 PyObject
*resultobj
= 0;
28764 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28767 PyObject
*swig_obj
[1] ;
28769 if (!args
) SWIG_fail
;
28770 swig_obj
[0] = args
;
28771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28772 if (!SWIG_IsOK(res1
)) {
28773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28775 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= SWIG_Py_Void();
28789 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28790 PyObject
*resultobj
= 0;
28791 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28794 PyObject
*swig_obj
[1] ;
28796 if (!args
) SWIG_fail
;
28797 swig_obj
[0] = args
;
28798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28799 if (!SWIG_IsOK(res1
)) {
28800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28802 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 (arg1
)->OnPrevious();
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_Py_Void();
28816 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28817 PyObject
*resultobj
= 0;
28818 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28821 PyObject
*swig_obj
[1] ;
28823 if (!args
) SWIG_fail
;
28824 swig_obj
[0] = args
;
28825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28826 if (!SWIG_IsOK(res1
)) {
28827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28829 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= SWIG_Py_Void();
28843 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28844 PyObject
*resultobj
= 0;
28845 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28848 PyObject
*swig_obj
[1] ;
28850 if (!args
) SWIG_fail
;
28851 swig_obj
[0] = args
;
28852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28853 if (!SWIG_IsOK(res1
)) {
28854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28856 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28863 resultobj
= SWIG_Py_Void();
28870 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28871 PyObject
*resultobj
= 0;
28872 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28875 PyObject
*swig_obj
[1] ;
28877 if (!args
) SWIG_fail
;
28878 swig_obj
[0] = args
;
28879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28880 if (!SWIG_IsOK(res1
)) {
28881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28883 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 wxPyEndAllowThreads(__tstate
);
28888 if (PyErr_Occurred()) SWIG_fail
;
28890 resultobj
= SWIG_Py_Void();
28897 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28900 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28901 return SWIG_Py_Void();
28904 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28905 return SWIG_Python_InitShadowInstance(args
);
28908 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28909 PyObject
*resultobj
= 0;
28910 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28911 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28912 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28913 wxPrintPreview
*result
= 0 ;
28919 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28920 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28921 if (!SWIG_IsOK(res1
)) {
28922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28924 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28925 if (!SWIG_IsOK(res2
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28929 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28930 if (!SWIG_IsOK(res3
)) {
28931 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28933 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28936 if (!wxPyCheckForApp()) SWIG_fail
;
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28939 wxPyEndAllowThreads(__tstate
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28949 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28950 PyObject
*resultobj
= 0;
28951 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28952 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28953 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28954 wxPrintPreview
*result
= 0 ;
28960 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28961 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28962 if (!SWIG_IsOK(res1
)) {
28963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28965 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28966 if (!SWIG_IsOK(res2
)) {
28967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28969 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28970 if (!SWIG_IsOK(res3
)) {
28971 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28973 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28975 if (!wxPyCheckForApp()) SWIG_fail
;
28976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28977 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28988 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28992 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28994 if ((argc
>= 2) && (argc
<= 3)) {
28999 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29000 _v
= SWIG_CheckState(res
);
29002 if (!_v
) goto check_1
;
29004 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29009 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29013 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29018 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29019 PyObject
*resultobj
= 0;
29020 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29023 PyObject
*swig_obj
[1] ;
29025 if (!args
) SWIG_fail
;
29026 swig_obj
[0] = args
;
29027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29028 if (!SWIG_IsOK(res1
)) {
29029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29031 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= SWIG_Py_Void();
29046 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
= 0;
29048 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 char * kwnames
[] = {
29058 (char *) "self",(char *) "pageNum", NULL
29061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29063 if (!SWIG_IsOK(res1
)) {
29064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29066 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29068 if (!SWIG_IsOK(ecode2
)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29071 arg2
= static_cast< int >(val2
);
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29087 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29088 PyObject
*resultobj
= 0;
29089 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29093 PyObject
*swig_obj
[1] ;
29095 if (!args
) SWIG_fail
;
29096 swig_obj
[0] = args
;
29097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29098 if (!SWIG_IsOK(res1
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29101 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 result
= (int)(arg1
)->GetCurrentPage();
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= SWIG_From_int(static_cast< int >(result
));
29115 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
= 0;
29117 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29118 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29122 PyObject
* obj0
= 0 ;
29123 PyObject
* obj1
= 0 ;
29124 char * kwnames
[] = {
29125 (char *) "self",(char *) "printout", NULL
29128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29130 if (!SWIG_IsOK(res1
)) {
29131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29133 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29134 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29135 if (!SWIG_IsOK(res2
)) {
29136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 (arg1
)->SetPrintout(arg2
);
29141 wxPyEndAllowThreads(__tstate
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29144 resultobj
= SWIG_Py_Void();
29151 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29152 PyObject
*resultobj
= 0;
29153 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29154 wxPyPrintout
*result
= 0 ;
29157 PyObject
*swig_obj
[1] ;
29159 if (!args
) SWIG_fail
;
29160 swig_obj
[0] = args
;
29161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29162 if (!SWIG_IsOK(res1
)) {
29163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29165 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= wxPyMake_wxObject(result
, 0);
29181 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29182 PyObject
*resultobj
= 0;
29183 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29184 wxPyPrintout
*result
= 0 ;
29187 PyObject
*swig_obj
[1] ;
29189 if (!args
) SWIG_fail
;
29190 swig_obj
[0] = args
;
29191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29192 if (!SWIG_IsOK(res1
)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29195 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29198 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29203 resultobj
= wxPyMake_wxObject(result
, 0);
29211 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
= 0;
29213 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29214 wxFrame
*arg2
= (wxFrame
*) 0 ;
29219 PyObject
* obj0
= 0 ;
29220 PyObject
* obj1
= 0 ;
29221 char * kwnames
[] = {
29222 (char *) "self",(char *) "frame", NULL
29225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29227 if (!SWIG_IsOK(res1
)) {
29228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29230 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29232 if (!SWIG_IsOK(res2
)) {
29233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29235 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 (arg1
)->SetFrame(arg2
);
29239 wxPyEndAllowThreads(__tstate
);
29240 if (PyErr_Occurred()) SWIG_fail
;
29242 resultobj
= SWIG_Py_Void();
29249 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29250 PyObject
*resultobj
= 0;
29251 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29252 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29257 PyObject
* obj0
= 0 ;
29258 PyObject
* obj1
= 0 ;
29259 char * kwnames
[] = {
29260 (char *) "self",(char *) "canvas", NULL
29263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29265 if (!SWIG_IsOK(res1
)) {
29266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29268 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29270 if (!SWIG_IsOK(res2
)) {
29271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29273 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 (arg1
)->SetCanvas(arg2
);
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29280 resultobj
= SWIG_Py_Void();
29287 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29288 PyObject
*resultobj
= 0;
29289 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29290 wxFrame
*result
= 0 ;
29293 PyObject
*swig_obj
[1] ;
29295 if (!args
) SWIG_fail
;
29296 swig_obj
[0] = args
;
29297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29298 if (!SWIG_IsOK(res1
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29301 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 result
= (wxFrame
*)(arg1
)->GetFrame();
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= wxPyMake_wxObject(result
, 0);
29317 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29318 PyObject
*resultobj
= 0;
29319 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29320 wxPreviewCanvas
*result
= 0 ;
29323 PyObject
*swig_obj
[1] ;
29325 if (!args
) SWIG_fail
;
29326 swig_obj
[0] = args
;
29327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29328 if (!SWIG_IsOK(res1
)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29331 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29345 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
= 0;
29347 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29348 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29357 PyObject
* obj0
= 0 ;
29358 PyObject
* obj1
= 0 ;
29359 PyObject
* obj2
= 0 ;
29360 char * kwnames
[] = {
29361 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29366 if (!SWIG_IsOK(res1
)) {
29367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29369 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29370 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29371 if (!SWIG_IsOK(res2
)) {
29372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29374 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29375 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29376 if (!SWIG_IsOK(res3
)) {
29377 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29382 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29386 wxPyEndAllowThreads(__tstate
);
29387 if (PyErr_Occurred()) SWIG_fail
;
29390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29398 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
= 0;
29400 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29401 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 PyObject
* obj1
= 0 ;
29412 PyObject
* obj2
= 0 ;
29413 char * kwnames
[] = {
29414 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29419 if (!SWIG_IsOK(res1
)) {
29420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29422 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29423 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29424 if (!SWIG_IsOK(res2
)) {
29425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29427 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29428 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29429 if (!SWIG_IsOK(res3
)) {
29430 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29435 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29438 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29451 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
= 0;
29453 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29460 PyObject
* obj0
= 0 ;
29461 PyObject
* obj1
= 0 ;
29462 char * kwnames
[] = {
29463 (char *) "self",(char *) "pageNum", NULL
29466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29468 if (!SWIG_IsOK(res1
)) {
29469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29471 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29473 if (!SWIG_IsOK(ecode2
)) {
29474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29476 arg2
= static_cast< int >(val2
);
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 result
= (bool)(arg1
)->RenderPage(arg2
);
29480 wxPyEndAllowThreads(__tstate
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29492 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
= 0;
29494 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29495 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29500 PyObject
* obj0
= 0 ;
29501 PyObject
* obj1
= 0 ;
29502 char * kwnames
[] = {
29503 (char *) "self",(char *) "canvas", NULL
29506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29508 if (!SWIG_IsOK(res1
)) {
29509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29511 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29512 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29513 if (!SWIG_IsOK(res2
)) {
29514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29516 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29519 (arg1
)->AdjustScrollbars(arg2
);
29520 wxPyEndAllowThreads(__tstate
);
29521 if (PyErr_Occurred()) SWIG_fail
;
29523 resultobj
= SWIG_Py_Void();
29530 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29531 PyObject
*resultobj
= 0;
29532 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29533 wxPrintDialogData
*result
= 0 ;
29536 PyObject
*swig_obj
[1] ;
29538 if (!args
) SWIG_fail
;
29539 swig_obj
[0] = args
;
29540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29541 if (!SWIG_IsOK(res1
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29544 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29549 result
= (wxPrintDialogData
*) &_result_ref
;
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29561 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
= 0;
29563 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 char * kwnames
[] = {
29572 (char *) "self",(char *) "percent", NULL
29575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29577 if (!SWIG_IsOK(res1
)) {
29578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29580 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29582 if (!SWIG_IsOK(ecode2
)) {
29583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29585 arg2
= static_cast< int >(val2
);
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 (arg1
)->SetZoom(arg2
);
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= SWIG_Py_Void();
29599 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29600 PyObject
*resultobj
= 0;
29601 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29605 PyObject
*swig_obj
[1] ;
29607 if (!args
) SWIG_fail
;
29608 swig_obj
[0] = args
;
29609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29610 if (!SWIG_IsOK(res1
)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29613 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= (int)(arg1
)->GetZoom();
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= SWIG_From_int(static_cast< int >(result
));
29627 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29628 PyObject
*resultobj
= 0;
29629 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29633 PyObject
*swig_obj
[1] ;
29635 if (!args
) SWIG_fail
;
29636 swig_obj
[0] = args
;
29637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29638 if (!SWIG_IsOK(res1
)) {
29639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29641 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= (int)(arg1
)->GetMaxPage();
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= SWIG_From_int(static_cast< int >(result
));
29655 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29656 PyObject
*resultobj
= 0;
29657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29661 PyObject
*swig_obj
[1] ;
29663 if (!args
) SWIG_fail
;
29664 swig_obj
[0] = args
;
29665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29666 if (!SWIG_IsOK(res1
)) {
29667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29669 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 result
= (int)(arg1
)->GetMinPage();
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= SWIG_From_int(static_cast< int >(result
));
29683 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29684 PyObject
*resultobj
= 0;
29685 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29689 PyObject
*swig_obj
[1] ;
29691 if (!args
) SWIG_fail
;
29692 swig_obj
[0] = args
;
29693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29694 if (!SWIG_IsOK(res1
)) {
29695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29697 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 result
= (bool)(arg1
)->Ok();
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29713 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29714 PyObject
*resultobj
= 0;
29715 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29721 PyObject
* obj0
= 0 ;
29722 PyObject
* obj1
= 0 ;
29723 char * kwnames
[] = {
29724 (char *) "self",(char *) "ok", NULL
29727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29729 if (!SWIG_IsOK(res1
)) {
29730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29732 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29733 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29734 if (!SWIG_IsOK(ecode2
)) {
29735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29737 arg2
= static_cast< bool >(val2
);
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 (arg1
)->SetOk(arg2
);
29741 wxPyEndAllowThreads(__tstate
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29744 resultobj
= SWIG_Py_Void();
29751 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
= 0;
29753 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 char * kwnames
[] = {
29763 (char *) "self",(char *) "interactive", NULL
29766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29768 if (!SWIG_IsOK(res1
)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29771 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29772 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29773 if (!SWIG_IsOK(ecode2
)) {
29774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29776 arg2
= static_cast< bool >(val2
);
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29779 result
= (bool)(arg1
)->Print(arg2
);
29780 wxPyEndAllowThreads(__tstate
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29792 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29793 PyObject
*resultobj
= 0;
29794 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29797 PyObject
*swig_obj
[1] ;
29799 if (!args
) SWIG_fail
;
29800 swig_obj
[0] = args
;
29801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29802 if (!SWIG_IsOK(res1
)) {
29803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29805 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29808 (arg1
)->DetermineScaling();
29809 wxPyEndAllowThreads(__tstate
);
29810 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= SWIG_Py_Void();
29819 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29822 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29823 return SWIG_Py_Void();
29826 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29827 return SWIG_Python_InitShadowInstance(args
);
29830 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29831 PyObject
*resultobj
= 0;
29832 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29833 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29834 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29835 wxPyPrintPreview
*result
= 0 ;
29841 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29842 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29843 if (!SWIG_IsOK(res1
)) {
29844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29846 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29847 if (!SWIG_IsOK(res2
)) {
29848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29851 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29852 if (!SWIG_IsOK(res3
)) {
29853 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29855 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29858 if (!wxPyCheckForApp()) SWIG_fail
;
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29861 wxPyEndAllowThreads(__tstate
);
29862 if (PyErr_Occurred()) SWIG_fail
;
29864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29871 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29872 PyObject
*resultobj
= 0;
29873 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29874 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29875 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29876 wxPyPrintPreview
*result
= 0 ;
29882 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29883 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29884 if (!SWIG_IsOK(res1
)) {
29885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29887 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29888 if (!SWIG_IsOK(res2
)) {
29889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29891 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29892 if (!SWIG_IsOK(res3
)) {
29893 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29895 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29897 if (!wxPyCheckForApp()) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29910 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29914 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29916 if ((argc
>= 2) && (argc
<= 3)) {
29921 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29922 _v
= SWIG_CheckState(res
);
29924 if (!_v
) goto check_1
;
29926 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29931 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29935 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29940 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29941 PyObject
*resultobj
= 0;
29942 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29943 PyObject
*arg2
= (PyObject
*) 0 ;
29944 PyObject
*arg3
= (PyObject
*) 0 ;
29947 PyObject
* obj0
= 0 ;
29948 PyObject
* obj1
= 0 ;
29949 PyObject
* obj2
= 0 ;
29950 char * kwnames
[] = {
29951 (char *) "self",(char *) "self",(char *) "_class", NULL
29954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29956 if (!SWIG_IsOK(res1
)) {
29957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29959 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29965 wxPyEndAllowThreads(__tstate
);
29966 if (PyErr_Occurred()) SWIG_fail
;
29968 resultobj
= SWIG_Py_Void();
29975 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29978 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29979 return SWIG_Py_Void();
29982 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29983 return SWIG_Python_InitShadowInstance(args
);
29986 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29987 PyObject
*resultobj
= 0;
29988 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29989 wxFrame
*arg2
= (wxFrame
*) 0 ;
29990 wxString
*arg3
= 0 ;
29991 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29992 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29993 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29994 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29995 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29996 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29997 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29998 wxPyPreviewFrame
*result
= 0 ;
30003 bool temp3
= false ;
30008 bool temp7
= false ;
30009 PyObject
* obj0
= 0 ;
30010 PyObject
* obj1
= 0 ;
30011 PyObject
* obj2
= 0 ;
30012 PyObject
* obj3
= 0 ;
30013 PyObject
* obj4
= 0 ;
30014 PyObject
* obj5
= 0 ;
30015 PyObject
* obj6
= 0 ;
30016 char * kwnames
[] = {
30017 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30025 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30027 if (!SWIG_IsOK(res2
)) {
30028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30030 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30032 arg3
= wxString_in_helper(obj2
);
30033 if (arg3
== NULL
) SWIG_fail
;
30039 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30045 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30049 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30050 if (!SWIG_IsOK(ecode6
)) {
30051 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30053 arg6
= static_cast< long >(val6
);
30057 arg7
= wxString_in_helper(obj6
);
30058 if (arg7
== NULL
) SWIG_fail
;
30063 if (!wxPyCheckForApp()) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30092 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30093 PyObject
*resultobj
= 0;
30094 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30095 PyObject
*arg2
= (PyObject
*) 0 ;
30096 PyObject
*arg3
= (PyObject
*) 0 ;
30099 PyObject
* obj0
= 0 ;
30100 PyObject
* obj1
= 0 ;
30101 PyObject
* obj2
= 0 ;
30102 char * kwnames
[] = {
30103 (char *) "self",(char *) "self",(char *) "_class", NULL
30106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30108 if (!SWIG_IsOK(res1
)) {
30109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30111 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30117 wxPyEndAllowThreads(__tstate
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30120 resultobj
= SWIG_Py_Void();
30127 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30128 PyObject
*resultobj
= 0;
30129 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30130 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30135 PyObject
* obj0
= 0 ;
30136 PyObject
* obj1
= 0 ;
30137 char * kwnames
[] = {
30138 (char *) "self",(char *) "canvas", NULL
30141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30143 if (!SWIG_IsOK(res1
)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30146 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30148 if (!SWIG_IsOK(res2
)) {
30149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30151 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 (arg1
)->SetPreviewCanvas(arg2
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30158 resultobj
= SWIG_Py_Void();
30165 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30166 PyObject
*resultobj
= 0;
30167 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30168 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30173 PyObject
* obj0
= 0 ;
30174 PyObject
* obj1
= 0 ;
30175 char * kwnames
[] = {
30176 (char *) "self",(char *) "bar", NULL
30179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30181 if (!SWIG_IsOK(res1
)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30184 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30186 if (!SWIG_IsOK(res2
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30189 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30192 (arg1
)->SetControlBar(arg2
);
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 resultobj
= SWIG_Py_Void();
30203 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30204 PyObject
*resultobj
= 0;
30205 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30208 PyObject
*swig_obj
[1] ;
30210 if (!args
) SWIG_fail
;
30211 swig_obj
[0] = args
;
30212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30213 if (!SWIG_IsOK(res1
)) {
30214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30216 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30219 (arg1
)->Initialize();
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30223 resultobj
= SWIG_Py_Void();
30230 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30231 PyObject
*resultobj
= 0;
30232 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30235 PyObject
*swig_obj
[1] ;
30237 if (!args
) SWIG_fail
;
30238 swig_obj
[0] = args
;
30239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30240 if (!SWIG_IsOK(res1
)) {
30241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30243 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30246 (arg1
)->CreateCanvas();
30247 wxPyEndAllowThreads(__tstate
);
30248 if (PyErr_Occurred()) SWIG_fail
;
30250 resultobj
= SWIG_Py_Void();
30257 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30258 PyObject
*resultobj
= 0;
30259 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30262 PyObject
*swig_obj
[1] ;
30264 if (!args
) SWIG_fail
;
30265 swig_obj
[0] = args
;
30266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30267 if (!SWIG_IsOK(res1
)) {
30268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30270 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30273 (arg1
)->CreateControlBar();
30274 wxPyEndAllowThreads(__tstate
);
30275 if (PyErr_Occurred()) SWIG_fail
;
30277 resultobj
= SWIG_Py_Void();
30284 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30287 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30288 return SWIG_Py_Void();
30291 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30292 return SWIG_Python_InitShadowInstance(args
);
30295 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
= 0;
30297 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30299 wxWindow
*arg3
= (wxWindow
*) 0 ;
30300 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30301 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30302 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30303 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30304 long arg6
= (long) 0 ;
30305 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30306 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30307 wxPyPreviewControlBar
*result
= 0 ;
30318 bool temp7
= false ;
30319 PyObject
* obj0
= 0 ;
30320 PyObject
* obj1
= 0 ;
30321 PyObject
* obj2
= 0 ;
30322 PyObject
* obj3
= 0 ;
30323 PyObject
* obj4
= 0 ;
30324 PyObject
* obj5
= 0 ;
30325 PyObject
* obj6
= 0 ;
30326 char * kwnames
[] = {
30327 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30335 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30336 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30337 if (!SWIG_IsOK(ecode2
)) {
30338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30340 arg2
= static_cast< long >(val2
);
30341 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30342 if (!SWIG_IsOK(res3
)) {
30343 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30345 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30349 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30355 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30359 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30360 if (!SWIG_IsOK(ecode6
)) {
30361 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30363 arg6
= static_cast< long >(val6
);
30367 arg7
= wxString_in_helper(obj6
);
30368 if (arg7
== NULL
) SWIG_fail
;
30373 if (!wxPyCheckForApp()) SWIG_fail
;
30374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30375 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30376 wxPyEndAllowThreads(__tstate
);
30377 if (PyErr_Occurred()) SWIG_fail
;
30379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30394 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30395 PyObject
*resultobj
= 0;
30396 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30397 PyObject
*arg2
= (PyObject
*) 0 ;
30398 PyObject
*arg3
= (PyObject
*) 0 ;
30401 PyObject
* obj0
= 0 ;
30402 PyObject
* obj1
= 0 ;
30403 PyObject
* obj2
= 0 ;
30404 char * kwnames
[] = {
30405 (char *) "self",(char *) "self",(char *) "_class", NULL
30408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30410 if (!SWIG_IsOK(res1
)) {
30411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30413 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30419 wxPyEndAllowThreads(__tstate
);
30420 if (PyErr_Occurred()) SWIG_fail
;
30422 resultobj
= SWIG_Py_Void();
30429 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30430 PyObject
*resultobj
= 0;
30431 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30432 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30437 PyObject
* obj0
= 0 ;
30438 PyObject
* obj1
= 0 ;
30439 char * kwnames
[] = {
30440 (char *) "self",(char *) "preview", NULL
30443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30445 if (!SWIG_IsOK(res1
)) {
30446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30448 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30450 if (!SWIG_IsOK(res2
)) {
30451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30453 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 (arg1
)->SetPrintPreview(arg2
);
30457 wxPyEndAllowThreads(__tstate
);
30458 if (PyErr_Occurred()) SWIG_fail
;
30460 resultobj
= SWIG_Py_Void();
30467 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30468 PyObject
*resultobj
= 0;
30469 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30472 PyObject
*swig_obj
[1] ;
30474 if (!args
) SWIG_fail
;
30475 swig_obj
[0] = args
;
30476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30477 if (!SWIG_IsOK(res1
)) {
30478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30480 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30483 (arg1
)->CreateButtons();
30484 wxPyEndAllowThreads(__tstate
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= SWIG_Py_Void();
30494 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30495 PyObject
*resultobj
= 0;
30496 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 char * kwnames
[] = {
30505 (char *) "self",(char *) "zoom", NULL
30508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30513 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30515 if (!SWIG_IsOK(ecode2
)) {
30516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30518 arg2
= static_cast< int >(val2
);
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 (arg1
)->SetZoomControl(arg2
);
30522 wxPyEndAllowThreads(__tstate
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30525 resultobj
= SWIG_Py_Void();
30532 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30534 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30535 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30536 return SWIG_Py_Void();
30539 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30540 return SWIG_Python_InitShadowInstance(args
);
30543 static PyMethodDef SwigMethods
[] = {
30544 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30545 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30546 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30548 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30550 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30551 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30552 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30553 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30554 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30558 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30559 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30560 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30561 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30562 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30563 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30564 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30565 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30566 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30567 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30568 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30571 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30574 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30575 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30576 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30577 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30578 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30579 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30580 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30581 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30582 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30583 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30584 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30586 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30588 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30590 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30591 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30593 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30595 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30596 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30597 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30599 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30601 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30603 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30604 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30605 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30607 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30609 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30611 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30613 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30616 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30617 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30618 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30619 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30621 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30622 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30624 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30625 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30626 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30627 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30628 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30632 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30633 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30634 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30636 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30637 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30638 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30639 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30641 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30642 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30643 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30645 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30646 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30647 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30648 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30649 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30650 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30651 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30652 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30653 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30654 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30655 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30656 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30657 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30658 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30659 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30661 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30662 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30667 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30668 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30670 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30671 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30672 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30673 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30675 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30676 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30678 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30679 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30680 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30682 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30683 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30684 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30685 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30688 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30689 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30691 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30692 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30693 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30695 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30696 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30697 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30698 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30699 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30700 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30701 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30702 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30703 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30705 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30706 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30707 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30708 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30709 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30710 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30712 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30717 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30720 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30722 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30724 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30725 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30726 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30729 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30730 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30732 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30733 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30734 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30737 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30739 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30741 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30742 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30743 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30745 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30746 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30748 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30750 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30752 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30754 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30755 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30756 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30759 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30761 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30762 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30763 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30765 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30767 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30768 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30772 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30773 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30774 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30775 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30778 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30779 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30780 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30782 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30783 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30785 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30786 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30788 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30791 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30792 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30793 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30795 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30796 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30797 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30798 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30800 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30809 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30810 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30811 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30812 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30814 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30815 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30818 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30819 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30821 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30822 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30824 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30825 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30826 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30829 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30830 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30831 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30832 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30833 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30835 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30837 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30839 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30840 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30841 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30847 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30848 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30850 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30854 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30856 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30857 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30858 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30859 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30861 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30862 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30863 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30864 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30865 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30866 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30867 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30868 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30870 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30871 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30872 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30873 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30874 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30875 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30880 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30881 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30883 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30884 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30885 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30888 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30889 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30892 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30893 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30897 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30901 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30902 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30903 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30904 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30905 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30906 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30907 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30908 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30909 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30910 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30913 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30914 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30915 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30917 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30918 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30920 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30921 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30923 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30925 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30926 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30928 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30929 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30930 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30931 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30933 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30934 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30935 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30936 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30937 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30938 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30945 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30946 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30948 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30949 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30950 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30953 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30954 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30957 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30958 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30959 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30961 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30962 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30963 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30964 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30968 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30969 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30971 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30972 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30973 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30974 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30977 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30978 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30979 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30981 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30983 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30985 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30986 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30988 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30990 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30991 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30992 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30993 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30994 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30995 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
30996 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
30998 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
30999 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31001 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31003 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31004 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31005 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31007 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31009 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31010 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31012 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31020 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31021 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31022 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31023 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31024 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31025 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31026 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31027 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31028 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31030 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31038 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31039 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31040 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31041 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31042 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31043 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31044 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31045 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31046 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31048 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31056 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31057 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31058 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31059 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31060 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31061 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31062 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31063 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31064 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31065 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31066 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31067 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31068 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31069 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31070 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31071 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31072 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31073 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31074 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31075 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31076 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31077 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31078 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31090 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31092 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31094 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31095 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31096 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31097 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31103 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31104 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31105 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31106 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31107 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31108 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31109 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31110 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31111 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31112 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31113 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31114 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31115 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31116 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31117 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31127 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31128 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31129 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31130 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31132 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31133 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31134 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31135 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31136 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31137 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31138 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31139 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31140 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31141 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31142 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31143 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31144 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31145 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31146 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31147 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31148 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31162 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31163 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31164 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31165 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31166 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31167 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31169 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31170 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31172 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31173 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31174 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31175 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31176 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31177 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31178 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31180 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31186 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31187 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31188 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31189 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31190 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31192 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31194 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31195 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31198 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31200 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31202 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31204 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31205 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31208 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31209 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31210 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31211 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31213 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31214 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31215 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31217 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31218 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31220 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31221 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31222 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31223 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31224 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31225 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31227 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31229 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31230 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31231 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31232 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31233 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31234 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31235 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31236 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31237 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31238 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31240 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31242 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31243 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31246 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31247 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31252 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31254 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31255 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31256 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31257 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31260 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31261 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31262 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31263 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31265 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31266 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31271 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31272 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31273 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31274 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31275 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31279 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31281 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31282 { NULL
, NULL
, 0, NULL
}
31286 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31288 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31289 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31291 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31292 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31294 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31295 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31297 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31298 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31300 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31301 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31303 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31304 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31306 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31307 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31309 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31310 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31312 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31313 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31315 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31316 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31318 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31319 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31321 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31324 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31325 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31327 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31328 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31330 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31331 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31333 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31334 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31336 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31337 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31339 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31340 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31342 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31343 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31345 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31346 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31348 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31349 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31351 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31352 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31354 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31355 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31357 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31358 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31360 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31361 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31363 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31364 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31366 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31367 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31369 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31370 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31372 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31373 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31375 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31376 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31378 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31379 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31381 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31382 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31384 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31385 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31387 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31390 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31391 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31393 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31394 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31396 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31397 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31399 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31400 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31402 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31403 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31405 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31406 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31408 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31409 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31411 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31412 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31414 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31415 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31417 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31418 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31420 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31421 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31423 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31424 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31426 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31429 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31432 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31435 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31436 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31438 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31439 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31441 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31442 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31444 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31445 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31447 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31450 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31453 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31456 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31459 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31462 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31465 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31468 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31471 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31472 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31474 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31475 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31477 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31480 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31483 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31486 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31487 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31489 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31492 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31493 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31495 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31496 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31498 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31499 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31501 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31502 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31504 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31507 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31508 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31510 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31511 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31513 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31516 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31517 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31519 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31522 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31525 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31528 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31529 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31531 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31534 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31535 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31537 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31540 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31543 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31546 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31549 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31552 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31553 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31555 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31558 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31561 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31564 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31567 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31570 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31573 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31574 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31576 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31577 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31579 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31580 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31582 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31583 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31585 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31586 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31588 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31589 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31591 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31592 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31594 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31595 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31597 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31598 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31600 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31601 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31603 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31606 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31609 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31610 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31612 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31613 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31615 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31618 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31619 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31621 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31622 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31624 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31625 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31627 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31628 return (void *)((wxObject
*) ((wxSizer
*) x
));
31630 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31631 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31633 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31636 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31639 static void *_p_wxEventTo_p_wxObject(void *x
) {
31640 return (void *)((wxObject
*) ((wxEvent
*) x
));
31642 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31643 return (void *)((wxObject
*) ((wxFontData
*) x
));
31645 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31646 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31648 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31649 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31651 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31652 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31654 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31655 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31657 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31658 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31660 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31661 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31663 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31666 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31669 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31670 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31672 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31673 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31675 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31676 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31678 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31679 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31681 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31682 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31684 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31685 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31687 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31690 static void *_p_wxControlTo_p_wxObject(void *x
) {
31691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31693 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31694 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31696 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31699 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31700 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31702 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31703 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31705 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31706 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31708 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31711 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31712 return (void *)((wxObject
*) ((wxColourData
*) x
));
31714 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31715 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31717 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31720 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31723 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31726 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31729 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31732 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31735 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31738 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31741 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31742 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31744 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31747 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31750 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31751 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31753 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31754 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31756 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31757 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31759 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31762 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31763 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31765 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31768 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31771 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31774 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31777 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31780 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31783 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31786 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31789 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31792 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31793 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31795 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31796 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31798 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31799 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31801 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31802 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31804 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31805 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31807 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31808 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31810 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31811 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31813 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31814 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31816 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31817 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31819 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31820 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31822 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31823 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31825 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31826 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31828 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31829 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31831 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31834 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31837 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31838 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31840 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31841 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31843 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31846 static void *_p_wxImageTo_p_wxObject(void *x
) {
31847 return (void *)((wxObject
*) ((wxImage
*) x
));
31849 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31852 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31853 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31855 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31858 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31861 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31864 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31867 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31868 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31870 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31871 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31873 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31874 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31876 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31877 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31879 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31880 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31882 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31885 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31888 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31891 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31894 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31897 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31900 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31903 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31906 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31909 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31912 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31915 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31918 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31921 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31922 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31924 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31925 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31927 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31928 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31930 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31933 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31936 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31939 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31942 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31945 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31946 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31948 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31949 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31951 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31952 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31954 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31957 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31958 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31960 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31961 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31963 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31964 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31966 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31967 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31969 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31970 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31972 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31975 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31976 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31978 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31981 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31984 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31985 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31987 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31988 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31990 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31991 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31993 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31996 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
31997 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
31999 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32000 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32002 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32005 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32006 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32008 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32009 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32011 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32012 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32014 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32015 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32017 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32018 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32020 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32021 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32023 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32024 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32026 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32027 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32029 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32030 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32032 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32033 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32035 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32036 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32038 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32039 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32041 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32042 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32044 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32045 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32047 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32048 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32050 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32051 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32053 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32054 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32056 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32057 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32059 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32060 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32062 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32063 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32065 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32066 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32068 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32069 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32071 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32072 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32074 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32075 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32077 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32078 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32080 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32081 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32083 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32084 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32086 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32087 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32089 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32090 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32092 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32093 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32095 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32096 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32098 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32099 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32101 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32102 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32104 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32105 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32107 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32108 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32110 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32111 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32113 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32114 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32116 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32117 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32119 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32120 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32122 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32123 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32125 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32126 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32128 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32129 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32131 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32132 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32134 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32135 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32137 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32138 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32140 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32141 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32143 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32144 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32146 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32147 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32149 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32150 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32152 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32153 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32155 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32156 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32158 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32159 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32161 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32162 return (void *)((wxWindow
*) ((wxControl
*) x
));
32164 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32165 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32167 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32168 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32170 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32171 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32173 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32174 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32176 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32177 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32179 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32180 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32182 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32183 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32185 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32186 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32188 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32189 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32191 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32192 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32194 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32195 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32197 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32198 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32200 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32201 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32203 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32204 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32206 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32207 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32209 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32210 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32212 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32213 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32215 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32216 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32218 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32219 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32221 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32222 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32224 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32225 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32227 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32228 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32230 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32231 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32233 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32234 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32236 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32237 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32239 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32240 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32242 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32243 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32245 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32246 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32248 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32249 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32251 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32252 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32254 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32255 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32257 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32258 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32260 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32261 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32263 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32264 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32266 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32267 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32269 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32270 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32272 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32273 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32275 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32276 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32278 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32279 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32281 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32282 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32284 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32285 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32287 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32288 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32290 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32291 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32293 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32294 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32296 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32297 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32299 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32300 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32302 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32303 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32305 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32306 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32308 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32309 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32311 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32312 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32314 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32315 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32317 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32318 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32320 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32322 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};
32323 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32324 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32326 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32327 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32335 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32336 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32337 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32338 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32339 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32340 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32341 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32342 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32343 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32344 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32345 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32346 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32349 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32350 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32351 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32352 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32353 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32354 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32355 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32356 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32357 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32358 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32359 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32360 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32361 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32362 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32363 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32364 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32365 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32366 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32367 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32368 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32369 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32370 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32371 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32372 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32373 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32374 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32375 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32378 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32380 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32381 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32383 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32384 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32385 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32386 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32387 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32388 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32397 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32398 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32399 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32400 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32401 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32402 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32403 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32404 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32405 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32406 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32407 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32408 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32409 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32410 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32411 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32412 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32413 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32414 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32415 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32416 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32417 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32418 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32419 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32420 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32421 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32422 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32423 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32424 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32425 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32426 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32427 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32428 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32429 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32430 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32431 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32432 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32433 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32434 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32435 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32436 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32437 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32438 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32439 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32440 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32441 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32443 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32444 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32445 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32446 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32447 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32448 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32449 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32450 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32451 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32452 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32453 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32454 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32455 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32456 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32457 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32458 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32459 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32460 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32461 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32462 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32463 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32464 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32465 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32466 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32467 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32471 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32472 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32473 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32474 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32475 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32476 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32477 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32478 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32479 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32480 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32481 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32482 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32484 static swig_type_info
*swig_type_initial
[] = {
32487 &_swigt__p_form_ops_t
,
32489 &_swigt__p_unsigned_char
,
32490 &_swigt__p_unsigned_int
,
32491 &_swigt__p_unsigned_long
,
32492 &_swigt__p_wxANIHandler
,
32493 &_swigt__p_wxAcceleratorTable
,
32494 &_swigt__p_wxActivateEvent
,
32495 &_swigt__p_wxArrayInt
,
32496 &_swigt__p_wxBMPHandler
,
32497 &_swigt__p_wxBitmap
,
32498 &_swigt__p_wxBoxSizer
,
32499 &_swigt__p_wxCURHandler
,
32500 &_swigt__p_wxCalculateLayoutEvent
,
32501 &_swigt__p_wxChildFocusEvent
,
32502 &_swigt__p_wxClipboardTextEvent
,
32503 &_swigt__p_wxCloseEvent
,
32504 &_swigt__p_wxColour
,
32505 &_swigt__p_wxColourData
,
32506 &_swigt__p_wxColourDialog
,
32507 &_swigt__p_wxCommandEvent
,
32508 &_swigt__p_wxContextMenuEvent
,
32509 &_swigt__p_wxControl
,
32510 &_swigt__p_wxControlWithItems
,
32512 &_swigt__p_wxDateEvent
,
32513 &_swigt__p_wxDialog
,
32514 &_swigt__p_wxDirDialog
,
32515 &_swigt__p_wxDisplayChangedEvent
,
32516 &_swigt__p_wxDropFilesEvent
,
32517 &_swigt__p_wxDuplexMode
,
32518 &_swigt__p_wxEraseEvent
,
32519 &_swigt__p_wxEvent
,
32520 &_swigt__p_wxEvtHandler
,
32521 &_swigt__p_wxFSFile
,
32522 &_swigt__p_wxFileDialog
,
32523 &_swigt__p_wxFileSystem
,
32524 &_swigt__p_wxFindDialogEvent
,
32525 &_swigt__p_wxFindReplaceData
,
32526 &_swigt__p_wxFindReplaceDialog
,
32527 &_swigt__p_wxFlexGridSizer
,
32528 &_swigt__p_wxFocusEvent
,
32530 &_swigt__p_wxFontData
,
32531 &_swigt__p_wxFontDialog
,
32532 &_swigt__p_wxFrame
,
32533 &_swigt__p_wxGBSizerItem
,
32534 &_swigt__p_wxGIFHandler
,
32535 &_swigt__p_wxGridBagSizer
,
32536 &_swigt__p_wxGridSizer
,
32537 &_swigt__p_wxHtmlLinkInfo
,
32538 &_swigt__p_wxICOHandler
,
32540 &_swigt__p_wxIconBundle
,
32541 &_swigt__p_wxIconizeEvent
,
32542 &_swigt__p_wxIdleEvent
,
32543 &_swigt__p_wxImage
,
32544 &_swigt__p_wxImageHandler
,
32545 &_swigt__p_wxIndividualLayoutConstraint
,
32546 &_swigt__p_wxInitDialogEvent
,
32547 &_swigt__p_wxJPEGHandler
,
32548 &_swigt__p_wxKeyEvent
,
32549 &_swigt__p_wxLayoutAlgorithm
,
32550 &_swigt__p_wxLayoutConstraints
,
32551 &_swigt__p_wxMDIChildFrame
,
32552 &_swigt__p_wxMDIClientWindow
,
32553 &_swigt__p_wxMDIParentFrame
,
32554 &_swigt__p_wxMaximizeEvent
,
32556 &_swigt__p_wxMenuBar
,
32557 &_swigt__p_wxMenuEvent
,
32558 &_swigt__p_wxMenuItem
,
32559 &_swigt__p_wxMessageDialog
,
32560 &_swigt__p_wxMiniFrame
,
32561 &_swigt__p_wxMouseCaptureChangedEvent
,
32562 &_swigt__p_wxMouseEvent
,
32563 &_swigt__p_wxMoveEvent
,
32564 &_swigt__p_wxMultiChoiceDialog
,
32565 &_swigt__p_wxNavigationKeyEvent
,
32566 &_swigt__p_wxNcPaintEvent
,
32567 &_swigt__p_wxNotifyEvent
,
32568 &_swigt__p_wxObject
,
32569 &_swigt__p_wxPCXHandler
,
32570 &_swigt__p_wxPNGHandler
,
32571 &_swigt__p_wxPNMHandler
,
32572 &_swigt__p_wxPageSetupDialog
,
32573 &_swigt__p_wxPageSetupDialogData
,
32574 &_swigt__p_wxPaintEvent
,
32575 &_swigt__p_wxPaletteChangedEvent
,
32576 &_swigt__p_wxPanel
,
32577 &_swigt__p_wxPaperSize
,
32578 &_swigt__p_wxPasswordEntryDialog
,
32579 &_swigt__p_wxPoint
,
32580 &_swigt__p_wxPopupWindow
,
32581 &_swigt__p_wxPreviewCanvas
,
32582 &_swigt__p_wxPreviewControlBar
,
32583 &_swigt__p_wxPreviewFrame
,
32584 &_swigt__p_wxPrintData
,
32585 &_swigt__p_wxPrintDialog
,
32586 &_swigt__p_wxPrintDialogData
,
32587 &_swigt__p_wxPrintPreview
,
32588 &_swigt__p_wxPrinter
,
32589 &_swigt__p_wxProgressDialog
,
32590 &_swigt__p_wxPyApp
,
32591 &_swigt__p_wxPyCommandEvent
,
32592 &_swigt__p_wxPyEvent
,
32593 &_swigt__p_wxPyHtmlListBox
,
32594 &_swigt__p_wxPyImageHandler
,
32595 &_swigt__p_wxPyPanel
,
32596 &_swigt__p_wxPyPopupTransientWindow
,
32597 &_swigt__p_wxPyPreviewControlBar
,
32598 &_swigt__p_wxPyPreviewFrame
,
32599 &_swigt__p_wxPyPrintPreview
,
32600 &_swigt__p_wxPyPrintout
,
32601 &_swigt__p_wxPyScrolledWindow
,
32602 &_swigt__p_wxPySizer
,
32603 &_swigt__p_wxPyTaskBarIcon
,
32604 &_swigt__p_wxPyVListBox
,
32605 &_swigt__p_wxPyVScrolledWindow
,
32606 &_swigt__p_wxPyValidator
,
32607 &_swigt__p_wxPyWindow
,
32608 &_swigt__p_wxQueryLayoutInfoEvent
,
32609 &_swigt__p_wxQueryNewPaletteEvent
,
32611 &_swigt__p_wxRegion
,
32612 &_swigt__p_wxSashEvent
,
32613 &_swigt__p_wxSashLayoutWindow
,
32614 &_swigt__p_wxSashWindow
,
32615 &_swigt__p_wxScrollEvent
,
32616 &_swigt__p_wxScrollWinEvent
,
32617 &_swigt__p_wxScrolledWindow
,
32618 &_swigt__p_wxSetCursorEvent
,
32619 &_swigt__p_wxShowEvent
,
32620 &_swigt__p_wxSingleChoiceDialog
,
32622 &_swigt__p_wxSizeEvent
,
32623 &_swigt__p_wxSizer
,
32624 &_swigt__p_wxSizerItem
,
32625 &_swigt__p_wxSplashScreen
,
32626 &_swigt__p_wxSplashScreenWindow
,
32627 &_swigt__p_wxSplitterEvent
,
32628 &_swigt__p_wxSplitterWindow
,
32629 &_swigt__p_wxStaticBoxSizer
,
32630 &_swigt__p_wxStatusBar
,
32631 &_swigt__p_wxStdDialogButtonSizer
,
32632 &_swigt__p_wxString
,
32633 &_swigt__p_wxSysColourChangedEvent
,
32634 &_swigt__p_wxTIFFHandler
,
32635 &_swigt__p_wxTaskBarIcon
,
32636 &_swigt__p_wxTaskBarIconEvent
,
32637 &_swigt__p_wxTextEntryDialog
,
32638 &_swigt__p_wxTipWindow
,
32639 &_swigt__p_wxToolBar
,
32640 &_swigt__p_wxTopLevelWindow
,
32641 &_swigt__p_wxUpdateUIEvent
,
32642 &_swigt__p_wxValidator
,
32643 &_swigt__p_wxVisualAttributes
,
32644 &_swigt__p_wxWindow
,
32645 &_swigt__p_wxWindowCreateEvent
,
32646 &_swigt__p_wxWindowDestroyEvent
,
32647 &_swigt__p_wxXPMHandler
,
32650 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32654 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32656 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32672 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}};
32673 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32678 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32681 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32682 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32717 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}};
32718 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32728 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32729 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32730 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}};
32731 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32732 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32737 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32738 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32739 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32742 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32743 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32754 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32755 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32756 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32762 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}};
32763 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32764 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32765 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32766 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}};
32767 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32768 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}};
32769 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}};
32770 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32771 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32773 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}};
32774 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32776 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32777 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32778 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}};
32779 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32780 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32781 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32782 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32783 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32784 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32785 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}};
32786 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}};
32787 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32788 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32789 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32790 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32791 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32792 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32793 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}};
32794 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32795 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}};
32796 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32798 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32799 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32800 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32803 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32804 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32807 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}};
32808 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32809 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info
*swig_cast_initial
[] = {
32817 _swigc__p_form_ops_t
,
32819 _swigc__p_unsigned_char
,
32820 _swigc__p_unsigned_int
,
32821 _swigc__p_unsigned_long
,
32822 _swigc__p_wxANIHandler
,
32823 _swigc__p_wxAcceleratorTable
,
32824 _swigc__p_wxActivateEvent
,
32825 _swigc__p_wxArrayInt
,
32826 _swigc__p_wxBMPHandler
,
32827 _swigc__p_wxBitmap
,
32828 _swigc__p_wxBoxSizer
,
32829 _swigc__p_wxCURHandler
,
32830 _swigc__p_wxCalculateLayoutEvent
,
32831 _swigc__p_wxChildFocusEvent
,
32832 _swigc__p_wxClipboardTextEvent
,
32833 _swigc__p_wxCloseEvent
,
32834 _swigc__p_wxColour
,
32835 _swigc__p_wxColourData
,
32836 _swigc__p_wxColourDialog
,
32837 _swigc__p_wxCommandEvent
,
32838 _swigc__p_wxContextMenuEvent
,
32839 _swigc__p_wxControl
,
32840 _swigc__p_wxControlWithItems
,
32842 _swigc__p_wxDateEvent
,
32843 _swigc__p_wxDialog
,
32844 _swigc__p_wxDirDialog
,
32845 _swigc__p_wxDisplayChangedEvent
,
32846 _swigc__p_wxDropFilesEvent
,
32847 _swigc__p_wxDuplexMode
,
32848 _swigc__p_wxEraseEvent
,
32850 _swigc__p_wxEvtHandler
,
32851 _swigc__p_wxFSFile
,
32852 _swigc__p_wxFileDialog
,
32853 _swigc__p_wxFileSystem
,
32854 _swigc__p_wxFindDialogEvent
,
32855 _swigc__p_wxFindReplaceData
,
32856 _swigc__p_wxFindReplaceDialog
,
32857 _swigc__p_wxFlexGridSizer
,
32858 _swigc__p_wxFocusEvent
,
32860 _swigc__p_wxFontData
,
32861 _swigc__p_wxFontDialog
,
32863 _swigc__p_wxGBSizerItem
,
32864 _swigc__p_wxGIFHandler
,
32865 _swigc__p_wxGridBagSizer
,
32866 _swigc__p_wxGridSizer
,
32867 _swigc__p_wxHtmlLinkInfo
,
32868 _swigc__p_wxICOHandler
,
32870 _swigc__p_wxIconBundle
,
32871 _swigc__p_wxIconizeEvent
,
32872 _swigc__p_wxIdleEvent
,
32874 _swigc__p_wxImageHandler
,
32875 _swigc__p_wxIndividualLayoutConstraint
,
32876 _swigc__p_wxInitDialogEvent
,
32877 _swigc__p_wxJPEGHandler
,
32878 _swigc__p_wxKeyEvent
,
32879 _swigc__p_wxLayoutAlgorithm
,
32880 _swigc__p_wxLayoutConstraints
,
32881 _swigc__p_wxMDIChildFrame
,
32882 _swigc__p_wxMDIClientWindow
,
32883 _swigc__p_wxMDIParentFrame
,
32884 _swigc__p_wxMaximizeEvent
,
32886 _swigc__p_wxMenuBar
,
32887 _swigc__p_wxMenuEvent
,
32888 _swigc__p_wxMenuItem
,
32889 _swigc__p_wxMessageDialog
,
32890 _swigc__p_wxMiniFrame
,
32891 _swigc__p_wxMouseCaptureChangedEvent
,
32892 _swigc__p_wxMouseEvent
,
32893 _swigc__p_wxMoveEvent
,
32894 _swigc__p_wxMultiChoiceDialog
,
32895 _swigc__p_wxNavigationKeyEvent
,
32896 _swigc__p_wxNcPaintEvent
,
32897 _swigc__p_wxNotifyEvent
,
32898 _swigc__p_wxObject
,
32899 _swigc__p_wxPCXHandler
,
32900 _swigc__p_wxPNGHandler
,
32901 _swigc__p_wxPNMHandler
,
32902 _swigc__p_wxPageSetupDialog
,
32903 _swigc__p_wxPageSetupDialogData
,
32904 _swigc__p_wxPaintEvent
,
32905 _swigc__p_wxPaletteChangedEvent
,
32907 _swigc__p_wxPaperSize
,
32908 _swigc__p_wxPasswordEntryDialog
,
32910 _swigc__p_wxPopupWindow
,
32911 _swigc__p_wxPreviewCanvas
,
32912 _swigc__p_wxPreviewControlBar
,
32913 _swigc__p_wxPreviewFrame
,
32914 _swigc__p_wxPrintData
,
32915 _swigc__p_wxPrintDialog
,
32916 _swigc__p_wxPrintDialogData
,
32917 _swigc__p_wxPrintPreview
,
32918 _swigc__p_wxPrinter
,
32919 _swigc__p_wxProgressDialog
,
32921 _swigc__p_wxPyCommandEvent
,
32922 _swigc__p_wxPyEvent
,
32923 _swigc__p_wxPyHtmlListBox
,
32924 _swigc__p_wxPyImageHandler
,
32925 _swigc__p_wxPyPanel
,
32926 _swigc__p_wxPyPopupTransientWindow
,
32927 _swigc__p_wxPyPreviewControlBar
,
32928 _swigc__p_wxPyPreviewFrame
,
32929 _swigc__p_wxPyPrintPreview
,
32930 _swigc__p_wxPyPrintout
,
32931 _swigc__p_wxPyScrolledWindow
,
32932 _swigc__p_wxPySizer
,
32933 _swigc__p_wxPyTaskBarIcon
,
32934 _swigc__p_wxPyVListBox
,
32935 _swigc__p_wxPyVScrolledWindow
,
32936 _swigc__p_wxPyValidator
,
32937 _swigc__p_wxPyWindow
,
32938 _swigc__p_wxQueryLayoutInfoEvent
,
32939 _swigc__p_wxQueryNewPaletteEvent
,
32941 _swigc__p_wxRegion
,
32942 _swigc__p_wxSashEvent
,
32943 _swigc__p_wxSashLayoutWindow
,
32944 _swigc__p_wxSashWindow
,
32945 _swigc__p_wxScrollEvent
,
32946 _swigc__p_wxScrollWinEvent
,
32947 _swigc__p_wxScrolledWindow
,
32948 _swigc__p_wxSetCursorEvent
,
32949 _swigc__p_wxShowEvent
,
32950 _swigc__p_wxSingleChoiceDialog
,
32952 _swigc__p_wxSizeEvent
,
32954 _swigc__p_wxSizerItem
,
32955 _swigc__p_wxSplashScreen
,
32956 _swigc__p_wxSplashScreenWindow
,
32957 _swigc__p_wxSplitterEvent
,
32958 _swigc__p_wxSplitterWindow
,
32959 _swigc__p_wxStaticBoxSizer
,
32960 _swigc__p_wxStatusBar
,
32961 _swigc__p_wxStdDialogButtonSizer
,
32962 _swigc__p_wxString
,
32963 _swigc__p_wxSysColourChangedEvent
,
32964 _swigc__p_wxTIFFHandler
,
32965 _swigc__p_wxTaskBarIcon
,
32966 _swigc__p_wxTaskBarIconEvent
,
32967 _swigc__p_wxTextEntryDialog
,
32968 _swigc__p_wxTipWindow
,
32969 _swigc__p_wxToolBar
,
32970 _swigc__p_wxTopLevelWindow
,
32971 _swigc__p_wxUpdateUIEvent
,
32972 _swigc__p_wxValidator
,
32973 _swigc__p_wxVisualAttributes
,
32974 _swigc__p_wxWindow
,
32975 _swigc__p_wxWindowCreateEvent
,
32976 _swigc__p_wxWindowDestroyEvent
,
32977 _swigc__p_wxXPMHandler
,
32981 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32983 static swig_const_info swig_const_table
[] = {
32984 {0, 0, 0, 0.0, 0, 0}};
32989 /* -----------------------------------------------------------------------------
32990 * Type initialization:
32991 * This problem is tough by the requirement that no dynamic
32992 * memory is used. Also, since swig_type_info structures store pointers to
32993 * swig_cast_info structures and swig_cast_info structures store pointers back
32994 * to swig_type_info structures, we need some lookup code at initialization.
32995 * The idea is that swig generates all the structures that are needed.
32996 * The runtime then collects these partially filled structures.
32997 * The SWIG_InitializeModule function takes these initial arrays out of
32998 * swig_module, and does all the lookup, filling in the swig_module.types
32999 * array with the correct data and linking the correct swig_cast_info
33000 * structures together.
33002 * The generated swig_type_info structures are assigned staticly to an initial
33003 * array. We just loop though that array, and handle each type individually.
33004 * First we lookup if this type has been already loaded, and if so, use the
33005 * loaded structure instead of the generated one. Then we have to fill in the
33006 * cast linked list. The cast data is initially stored in something like a
33007 * two-dimensional array. Each row corresponds to a type (there are the same
33008 * number of rows as there are in the swig_type_initial array). Each entry in
33009 * a column is one of the swig_cast_info structures for that type.
33010 * The cast_initial array is actually an array of arrays, because each row has
33011 * a variable number of columns. So to actually build the cast linked list,
33012 * we find the array of casts associated with the type, and loop through it
33013 * adding the casts to the list. The one last trick we need to do is making
33014 * sure the type pointer in the swig_cast_info struct is correct.
33016 * First off, we lookup the cast->type name to see if it is already loaded.
33017 * There are three cases to handle:
33018 * 1) If the cast->type has already been loaded AND the type we are adding
33019 * casting info to has not been loaded (it is in this module), THEN we
33020 * replace the cast->type pointer with the type pointer that has already
33022 * 2) If BOTH types (the one we are adding casting info to, and the
33023 * cast->type) are loaded, THEN the cast info has already been loaded by
33024 * the previous module so we just ignore it.
33025 * 3) Finally, if cast->type has not already been loaded, then we add that
33026 * swig_cast_info to the linked list (because the cast->type) pointer will
33028 * ----------------------------------------------------------------------------- */
33038 #define SWIGRUNTIME_DEBUG
33042 SWIG_InitializeModule(void *clientdata
) {
33044 swig_module_info
*module_head
;
33045 static int init_run
= 0;
33047 clientdata
= clientdata
;
33049 if (init_run
) return;
33052 /* Initialize the swig_module */
33053 swig_module
.type_initial
= swig_type_initial
;
33054 swig_module
.cast_initial
= swig_cast_initial
;
33056 /* Try and load any already created modules */
33057 module_head
= SWIG_GetModule(clientdata
);
33059 swig_module
.next
= module_head
->next
;
33060 module_head
->next
= &swig_module
;
33062 /* This is the first module loaded */
33063 swig_module
.next
= &swig_module
;
33064 SWIG_SetModule(clientdata
, &swig_module
);
33067 /* Now work on filling in swig_module.types */
33068 #ifdef SWIGRUNTIME_DEBUG
33069 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33071 for (i
= 0; i
< swig_module
.size
; ++i
) {
33072 swig_type_info
*type
= 0;
33073 swig_type_info
*ret
;
33074 swig_cast_info
*cast
;
33076 #ifdef SWIGRUNTIME_DEBUG
33077 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33080 /* if there is another module already loaded */
33081 if (swig_module
.next
!= &swig_module
) {
33082 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33085 /* Overwrite clientdata field */
33086 #ifdef SWIGRUNTIME_DEBUG
33087 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33089 if (swig_module
.type_initial
[i
]->clientdata
) {
33090 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33091 #ifdef SWIGRUNTIME_DEBUG
33092 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33096 type
= swig_module
.type_initial
[i
];
33099 /* Insert casting types */
33100 cast
= swig_module
.cast_initial
[i
];
33101 while (cast
->type
) {
33102 /* Don't need to add information already in the list */
33104 #ifdef SWIGRUNTIME_DEBUG
33105 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33107 if (swig_module
.next
!= &swig_module
) {
33108 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33109 #ifdef SWIGRUNTIME_DEBUG
33110 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33114 if (type
== swig_module
.type_initial
[i
]) {
33115 #ifdef SWIGRUNTIME_DEBUG
33116 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33121 /* Check for casting already in the list */
33122 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33123 #ifdef SWIGRUNTIME_DEBUG
33124 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33126 if (!ocast
) ret
= 0;
33131 #ifdef SWIGRUNTIME_DEBUG
33132 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33135 type
->cast
->prev
= cast
;
33136 cast
->next
= type
->cast
;
33142 /* Set entry in modules->types array equal to the type */
33143 swig_module
.types
[i
] = type
;
33145 swig_module
.types
[i
] = 0;
33147 #ifdef SWIGRUNTIME_DEBUG
33148 printf("**** SWIG_InitializeModule: Cast List ******\n");
33149 for (i
= 0; i
< swig_module
.size
; ++i
) {
33151 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33152 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33153 while (cast
->type
) {
33154 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33158 printf("---- Total casts: %d\n",j
);
33160 printf("**** SWIG_InitializeModule: Cast List ******\n");
33164 /* This function will propagate the clientdata field of type to
33165 * any new swig_type_info structures that have been added into the list
33166 * of equivalent types. It is like calling
33167 * SWIG_TypeClientData(type, clientdata) a second time.
33170 SWIG_PropagateClientData(void) {
33172 swig_cast_info
*equiv
;
33173 static int init_run
= 0;
33175 if (init_run
) return;
33178 for (i
= 0; i
< swig_module
.size
; i
++) {
33179 if (swig_module
.types
[i
]->clientdata
) {
33180 equiv
= swig_module
.types
[i
]->cast
;
33182 if (!equiv
->converter
) {
33183 if (equiv
->type
&& !equiv
->type
->clientdata
)
33184 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33186 equiv
= equiv
->next
;
33206 /* Python-specific SWIG API */
33207 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33208 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33209 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33211 /* -----------------------------------------------------------------------------
33212 * global variable support code.
33213 * ----------------------------------------------------------------------------- */
33215 typedef struct swig_globalvar
{
33216 char *name
; /* Name of global variable */
33217 PyObject
*(*get_attr
)(void); /* Return the current value */
33218 int (*set_attr
)(PyObject
*); /* Set the value */
33219 struct swig_globalvar
*next
;
33222 typedef struct swig_varlinkobject
{
33224 swig_globalvar
*vars
;
33225 } swig_varlinkobject
;
33227 SWIGINTERN PyObject
*
33228 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33229 return PyString_FromString("<Swig global variables>");
33232 SWIGINTERN PyObject
*
33233 swig_varlink_str(swig_varlinkobject
*v
) {
33234 PyObject
*str
= PyString_FromString("(");
33235 swig_globalvar
*var
;
33236 for (var
= v
->vars
; var
; var
=var
->next
) {
33237 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33238 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33240 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33245 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33246 PyObject
*str
= swig_varlink_str(v
);
33247 fprintf(fp
,"Swig global variables ");
33248 fprintf(fp
,"%s\n", PyString_AsString(str
));
33254 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33255 swig_globalvar
*var
= v
->vars
;
33257 swig_globalvar
*n
= var
->next
;
33264 SWIGINTERN PyObject
*
33265 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33266 PyObject
*res
= NULL
;
33267 swig_globalvar
*var
= v
->vars
;
33269 if (strcmp(var
->name
,n
) == 0) {
33270 res
= (*var
->get_attr
)();
33275 if (res
== NULL
&& !PyErr_Occurred()) {
33276 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33282 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33284 swig_globalvar
*var
= v
->vars
;
33286 if (strcmp(var
->name
,n
) == 0) {
33287 res
= (*var
->set_attr
)(p
);
33292 if (res
== 1 && !PyErr_Occurred()) {
33293 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33298 SWIGINTERN PyTypeObject
*
33299 swig_varlink_type(void) {
33300 static char varlink__doc__
[] = "Swig var link object";
33301 static PyTypeObject varlink_type
;
33302 static int type_init
= 0;
33304 const PyTypeObject tmp
33306 PyObject_HEAD_INIT(NULL
)
33307 0, /* Number of items in variable part (ob_size) */
33308 (char *)"swigvarlink", /* Type name (tp_name) */
33309 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33310 0, /* Itemsize (tp_itemsize) */
33311 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33312 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33313 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33314 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33315 0, /* tp_compare */
33316 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33317 0, /* tp_as_number */
33318 0, /* tp_as_sequence */
33319 0, /* tp_as_mapping */
33322 (reprfunc
)swig_varlink_str
, /* tp_str */
33323 0, /* tp_getattro */
33324 0, /* tp_setattro */
33325 0, /* tp_as_buffer */
33327 varlink__doc__
, /* tp_doc */
33328 0, /* tp_traverse */
33330 0, /* tp_richcompare */
33331 0, /* tp_weaklistoffset */
33332 #if PY_VERSION_HEX >= 0x02020000
33333 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33335 #if PY_VERSION_HEX >= 0x02030000
33338 #ifdef COUNT_ALLOCS
33339 0,0,0,0 /* tp_alloc -> tp_next */
33342 varlink_type
= tmp
;
33343 varlink_type
.ob_type
= &PyType_Type
;
33346 return &varlink_type
;
33349 /* Create a variable linking object for use later */
33350 SWIGINTERN PyObject
*
33351 SWIG_Python_newvarlink(void) {
33352 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33356 return ((PyObject
*) result
);
33360 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33361 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33362 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33364 size_t size
= strlen(name
)+1;
33365 gv
->name
= (char *)malloc(size
);
33367 strncpy(gv
->name
,name
,size
);
33368 gv
->get_attr
= get_attr
;
33369 gv
->set_attr
= set_attr
;
33370 gv
->next
= v
->vars
;
33376 SWIGINTERN PyObject
*
33378 static PyObject
*_SWIG_globals
= 0;
33379 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33380 return _SWIG_globals
;
33383 /* -----------------------------------------------------------------------------
33384 * constants/methods manipulation
33385 * ----------------------------------------------------------------------------- */
33387 /* Install Constants */
33389 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33392 for (i
= 0; constants
[i
].type
; ++i
) {
33393 switch(constants
[i
].type
) {
33394 case SWIG_PY_POINTER
:
33395 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33397 case SWIG_PY_BINARY
:
33398 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33405 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33411 /* -----------------------------------------------------------------------------*/
33412 /* Fix SwigMethods to carry the callback ptrs when needed */
33413 /* -----------------------------------------------------------------------------*/
33416 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33417 swig_const_info
*const_table
,
33418 swig_type_info
**types
,
33419 swig_type_info
**types_initial
) {
33421 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33422 char *c
= methods
[i
].ml_doc
;
33423 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33425 swig_const_info
*ci
= 0;
33426 char *name
= c
+ 10;
33427 for (j
= 0; const_table
[j
].type
; ++j
) {
33428 if (strncmp(const_table
[j
].name
, name
,
33429 strlen(const_table
[j
].name
)) == 0) {
33430 ci
= &(const_table
[j
]);
33435 size_t shift
= (ci
->ptype
) - types
;
33436 swig_type_info
*ty
= types_initial
[shift
];
33437 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33438 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33439 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33442 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33444 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33446 strncpy(buff
, "swig_ptr: ", 10);
33448 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33449 methods
[i
].ml_doc
= ndoc
;
33461 /* -----------------------------------------------------------------------------*
33462 * Partial Init method
33463 * -----------------------------------------------------------------------------*/
33468 SWIGEXPORT
void SWIG_init(void) {
33471 /* Fix SwigMethods to carry the callback ptrs when needed */
33472 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33474 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33475 d
= PyModule_GetDict(m
);
33477 SWIG_InitializeModule(0);
33478 SWIG_InstallConstants(d
,swig_const_table
);
33481 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33482 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33483 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33484 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33485 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33486 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33487 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33488 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33489 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33490 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33491 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33492 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33493 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33494 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33495 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33496 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33497 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33498 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33499 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33500 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33501 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33502 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33503 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33504 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33505 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33506 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33507 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33508 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33509 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33510 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33511 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33512 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33513 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33514 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33515 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33516 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33517 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33518 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33519 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33520 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33521 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33522 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33523 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33524 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33525 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33526 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33527 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33528 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33529 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33530 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33531 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33532 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33533 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33534 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33535 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33536 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33537 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33538 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33539 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33540 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33541 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33542 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33543 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33544 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33545 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33546 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33547 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33548 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33549 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33550 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33551 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33552 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33553 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33554 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33555 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33556 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33557 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33558 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33559 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33560 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33561 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33562 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33563 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33564 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33565 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33566 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33567 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33568 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33569 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33570 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33571 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33572 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33573 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33574 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33575 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33576 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33577 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33578 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33579 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33580 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33581 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33582 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33584 // Map renamed classes back to their common name for OOR
33585 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33586 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33587 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33589 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33590 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33591 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33592 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33593 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33594 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33595 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33596 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33597 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33598 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33599 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33600 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33601 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33602 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33603 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33604 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33605 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33606 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33607 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33608 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33609 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33610 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33611 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33612 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33613 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33614 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33615 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33616 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33617 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33618 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33619 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33620 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33621 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33622 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33623 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33624 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33625 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33626 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33627 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33628 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33629 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33630 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33631 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33632 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33633 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33634 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33635 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33636 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33637 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33638 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33639 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33640 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33641 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33642 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33643 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33644 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33645 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33646 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33647 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33648 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33649 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33650 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33651 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33652 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33653 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33654 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33655 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33656 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33657 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33658 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33659 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33660 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33661 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33662 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33663 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33664 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33665 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33666 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33667 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33668 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33669 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33670 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33671 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33672 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33673 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33674 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33675 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33676 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33677 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33678 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33679 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33680 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33681 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33682 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33684 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");