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
){
2818 int style
= self
->GetExtraStyle();
2820 style
|= wxFRAME_EX_METAL
;
2822 style
&= ~wxFRAME_EX_METAL
;
2823 self
->SetExtraStyle(style
);
2827 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2829 self
->GetFieldRect(i
, r
);
2832 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2836 #include <wx/popupwin.h>
2839 class wxPopupWindow
: public wxWindow
{
2841 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2842 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2845 class wxPyPopupTransientWindow
: public wxPopupWindow
2848 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2849 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2853 #include <wx/tipwin.h>
2855 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2856 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2859 #include <wx/tipwin.h>
2862 #include <wx/vscroll.h>
2865 class wxPyVScrolledWindow
: public wxVScrolledWindow
2867 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2869 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2871 wxPyVScrolledWindow(wxWindow
*parent
,
2872 wxWindowID id
= wxID_ANY
,
2873 const wxPoint
& pos
= wxDefaultPosition
,
2874 const wxSize
& size
= wxDefaultSize
,
2876 const wxString
& name
= wxPyPanelNameStr
)
2877 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2880 // Overridable virtuals
2882 // this function must be overridden in the derived class and it should
2883 // return the height of the given line in pixels
2884 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2887 // this function doesn't have to be overridden but it may be useful to do
2888 // it if calculating the lines heights is a relatively expensive operation
2889 // as it gives the user code a possibility to calculate several of them at
2892 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2893 // shouldn't rely on the latter being called for all lines in the interval
2894 // specified here. It is also possible that OnGetLineHeight() will be
2895 // called for the lines outside of this interval, so this is really just a
2896 // hint, not a promise.
2898 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2900 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2903 // when the number of lines changes, we try to estimate the total height
2904 // of all lines which is a rather expensive operation in terms of lines
2905 // access, so if the user code may estimate the average height
2906 // better/faster than we do, it should override this function to implement
2909 // this function should return the best guess for the total height it may
2911 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2914 // Also expose some other interesting protected methods
2917 // find the index of the line we need to show at the top of the window such
2918 // that the last (fully or partially) visible line is the given one
2919 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2920 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2922 // get the total height of the lines between lineMin (inclusive) and
2923 // lineMax (exclusive)
2924 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2925 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2927 // update the thumb size shown by the scrollbar
2928 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2930 // remove the scrollbar completely because we don't need it
2931 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2936 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2938 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2939 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2940 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2944 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2947 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2948 return SWIG_TypeError
;
2951 *val
= (unsigned long)v
;
2956 SWIGINTERNINLINE
int
2957 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2960 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2961 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 SWIGINTERNINLINE PyObject
*
2967 SWIG_From_unsigned_SS_long (unsigned long value
)
2969 return (value
> LONG_MAX
) ?
2970 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2974 SWIGINTERNINLINE PyObject
*
2975 SWIG_From_size_t (size_t value
)
2977 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2981 #include <wx/vlbox.h>
2983 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2985 class wxPyVListBox
: public wxVListBox
2987 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2989 wxPyVListBox() : wxVListBox() {}
2991 wxPyVListBox(wxWindow
*parent
,
2992 wxWindowID id
= wxID_ANY
,
2993 const wxPoint
& pos
= wxDefaultPosition
,
2994 const wxSize
& size
= wxDefaultSize
,
2996 const wxString
& name
= wxPyVListBoxNameStr
)
2997 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3000 // Overridable virtuals
3002 // the derived class must implement this function to actually draw the item
3003 // with the given index on the provided DC
3004 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3005 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3008 // the derived class must implement this method to return the height of the
3010 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3011 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3014 // this method may be used to draw separators between the lines; note that
3015 // the rectangle may be modified, typically to deflate it a bit before
3016 // passing to OnDrawItem()
3018 // the base class version doesn't do anything
3019 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3020 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3023 // this method is used to draw the items background and, maybe, a border
3026 // the base class version implements a reasonable default behaviour which
3027 // consists in drawing the selected item with the standard background
3028 // colour and drawing a border around the item if it is either selected or
3030 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3031 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3037 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3039 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3040 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3041 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3042 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3045 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3046 unsigned long cookie
= 0;
3047 int selected
= self
->GetFirstSelected(cookie
);
3048 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3049 PyObject
* tup
= PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3051 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3052 wxPyEndBlockThreads(blocked
);
3055 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3056 int selected
= self
->GetNextSelected(cookie
);
3057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3058 PyObject
* tup
= PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3060 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3061 wxPyEndBlockThreads(blocked
);
3065 #include <wx/htmllbox.h>
3068 class wxPyHtmlListBox
: public wxHtmlListBox
3070 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3072 wxPyHtmlListBox() : wxHtmlListBox() {}
3074 wxPyHtmlListBox(wxWindow
*parent
,
3075 wxWindowID id
= wxID_ANY
,
3076 const wxPoint
& pos
= wxDefaultPosition
,
3077 const wxSize
& size
= wxDefaultSize
,
3079 const wxString
& name
= wxPyVListBoxNameStr
)
3080 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3083 // Overridable virtuals
3085 // this method must be implemented in the derived class and should return
3086 // the body (i.e. without <html>) of the HTML for the given item
3087 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3089 // this function may be overridden to decorate HTML returned by OnGetItem()
3090 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3092 // These are from wxVListBox
3093 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3094 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3097 // // this method allows to customize the selection appearance: it may be used
3098 // // to specify the colour of the text which normally has the given colour
3099 // // colFg when it is inside the selection
3101 // // by default, the original colour is not used at all and all text has the
3102 // // same (default for this system) colour inside selection
3103 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3105 // // this is the same as GetSelectedTextColour() but allows to customize the
3106 // // background colour -- this is even more rarely used as you can change it
3107 // // globally using SetSelectionBackground()
3108 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3111 // This method may be overriden to handle clicking on a link in
3112 // the listbox. By default, clicking links is ignored.
3113 virtual void OnLinkClicked(size_t n
,
3114 const wxHtmlLinkInfo
& link
);
3120 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3122 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3123 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3124 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3125 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3128 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3129 const wxHtmlLinkInfo
& link
) {
3131 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3132 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3133 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3134 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3137 wxPyEndBlockThreads(blocked
);
3139 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3146 #ifndef wxHAS_TASK_BAR_ICON
3147 // implement dummy classes for platforms that don't have it
3149 class wxTaskBarIcon
: public wxEvtHandler
3152 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3156 class wxTaskBarIconEvent
: public wxEvent
3159 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3160 { wxPyRaiseNotImplemented(); }
3161 virtual wxEvent
* Clone() const { return NULL
; }
3162 bool IsOk() const { return false; }
3163 bool IsIconInstalled() const { return false; }
3164 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3165 bool RemoveIcon() { return false; }
3166 bool PopupMenu(wxMenu
*menu
) { return false; }
3170 wxEVT_TASKBAR_MOVE
= 0,
3171 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3172 wxEVT_TASKBAR_LEFT_UP
= 0,
3173 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3174 wxEVT_TASKBAR_RIGHT_UP
= 0,
3175 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3176 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3181 // Otherwise make a class that can virtualize CreatePopupMenu
3182 class wxPyTaskBarIcon
: public wxTaskBarIcon
3184 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3186 wxPyTaskBarIcon() : wxTaskBarIcon()
3189 wxMenu
* CreatePopupMenu() {
3190 wxMenu
*rval
= NULL
;
3192 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3193 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3196 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3198 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3203 wxPyEndBlockThreads(blocked
);
3205 rval
= wxTaskBarIcon::CreatePopupMenu();
3212 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3216 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3220 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3221 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3222 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3223 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3224 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3225 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3226 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3228 self
->GetFilenames(arr
);
3229 return wxArrayString2PyList_helper(arr
);
3231 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3233 self
->GetPaths(arr
);
3234 return wxArrayString2PyList_helper(arr
);
3236 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3237 return wxArrayInt2PyList_helper(self
->GetSelections());
3239 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
){
3240 return new wxSingleChoiceDialog(parent
, message
, caption
,
3241 choices
, choices_array
, NULL
, style
, pos
);
3243 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3245 SWIGINTERNINLINE PyObject
*
3246 SWIG_From_bool (bool value
)
3248 return PyBool_FromLong(value
? 1 : 0);
3254 // C++ version of Python aware wxWindow
3255 class wxPyWindow
: public wxWindow
3257 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3259 wxPyWindow() : wxWindow() {}
3260 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3261 const wxPoint
& pos
= wxDefaultPosition
,
3262 const wxSize
& size
= wxDefaultSize
,
3264 const wxString
& name
= wxPyPanelNameStr
)
3265 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3267 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3269 bool DoEraseBackground(wxDC
* dc
) {
3271 return wxWindow::DoEraseBackground(dc
->GetHDC());
3273 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3279 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3280 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3282 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3288 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3289 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3291 DEC_PYCALLBACK__(InitDialog
);
3292 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3293 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3294 DEC_PYCALLBACK_BOOL_(Validate
);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3297 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3298 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3301 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3303 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3304 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3306 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3308 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3313 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3315 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3316 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3318 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3324 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3325 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3327 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3328 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3329 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3330 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3332 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3333 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3337 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3340 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3342 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3344 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3346 // C++ version of Python aware wxPanel
3347 class wxPyPanel
: public wxPanel
3349 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3351 wxPyPanel() : wxPanel() {}
3352 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3353 const wxPoint
& pos
= wxDefaultPosition
,
3354 const wxSize
& size
= wxDefaultSize
,
3356 const wxString
& name
= wxPyPanelNameStr
)
3357 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3359 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3360 bool DoEraseBackground(wxDC
* dc
) {
3362 return wxWindow::DoEraseBackground(dc
->GetHDC());
3364 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3371 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3372 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3373 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3374 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3378 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3380 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3381 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3383 DEC_PYCALLBACK__(InitDialog
);
3384 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3385 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3386 DEC_PYCALLBACK_BOOL_(Validate
);
3388 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3389 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3390 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3392 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3393 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3395 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3396 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3398 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3400 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3405 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3407 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3408 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3409 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3410 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3412 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3413 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3414 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3416 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3417 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3419 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3420 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3421 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3422 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3424 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3425 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3428 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3429 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3431 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3432 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3434 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3436 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3438 // C++ version of Python aware wxScrolledWindow
3439 class wxPyScrolledWindow
: public wxScrolledWindow
3441 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3443 wxPyScrolledWindow() : wxScrolledWindow() {}
3444 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3445 const wxPoint
& pos
= wxDefaultPosition
,
3446 const wxSize
& size
= wxDefaultSize
,
3448 const wxString
& name
= wxPyPanelNameStr
)
3449 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3451 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3452 bool DoEraseBackground(wxDC
* dc
) {
3454 return wxWindow::DoEraseBackground(dc
->GetHDC());
3456 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3462 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3463 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3464 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3465 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3469 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3471 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3472 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3474 DEC_PYCALLBACK__(InitDialog
);
3475 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3476 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3477 DEC_PYCALLBACK_BOOL_(Validate
);
3479 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3480 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3481 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3483 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3484 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3486 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3487 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3489 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3491 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3496 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3498 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3499 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3500 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3501 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3503 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3504 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3505 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3507 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3508 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3510 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3511 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3512 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3513 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3515 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3516 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3519 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3520 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3522 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3523 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3525 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3527 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3530 #include "wx/wxPython/printfw.h"
3533 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3534 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3535 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3537 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3538 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3539 self
->GetPrivDataLen());
3540 wxPyEndBlockThreads(blocked
);
3543 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3544 if (! PyString_Check(data
)) {
3545 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3546 "Expected string object"));
3550 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3551 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3552 wxPyEndBlockThreads(blocked
);
3556 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3558 // Since this one would be tough and ugly to do with the Macros...
3559 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3560 bool hadErr
= false;
3563 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3564 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3565 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3566 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3569 val
= PyTuple_GetItem(result
, 0);
3570 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3573 val
= PyTuple_GetItem(result
, 1);
3574 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3577 val
= PyTuple_GetItem(result
, 2);
3578 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3581 val
= PyTuple_GetItem(result
, 3);
3582 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3589 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3594 wxPyEndBlockThreads(blocked
);
3596 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3601 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3602 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3603 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3604 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3605 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3606 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3607 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3613 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3614 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3617 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3618 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3621 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3622 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3623 PyObject* win = wxPyMake_wxObject(a,false); \
3624 PyObject* dc = wxPyMake_wxObject(&b,false); \
3625 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3629 wxPyEndBlockThreads(blocked); \
3631 rval = PCLASS::CBNAME(a, b); \
3638 class wxPyPrintPreview
: public wxPrintPreview
3640 DECLARE_CLASS(wxPyPrintPreview
)
3642 wxPyPrintPreview(wxPyPrintout
* printout
,
3643 wxPyPrintout
* printoutForPrinting
,
3644 wxPrintDialogData
* data
=NULL
)
3645 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3647 wxPyPrintPreview(wxPyPrintout
* printout
,
3648 wxPyPrintout
* printoutForPrinting
,
3650 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3653 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3654 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3655 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3656 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3657 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3658 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3659 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3664 // Stupid renamed classes... Fix this in 2.5...
3665 #if defined(__WXMSW__)
3666 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3667 #elif defined(__WXMAC__)
3668 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3670 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3673 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3674 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3675 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3676 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3677 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3678 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3679 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3682 class wxPyPreviewFrame
: public wxPreviewFrame
3684 DECLARE_CLASS(wxPyPreviewFrame
)
3686 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3687 const wxString
& title
,
3688 const wxPoint
& pos
= wxDefaultPosition
,
3689 const wxSize
& size
= wxDefaultSize
,
3690 long style
= wxDEFAULT_FRAME_STYLE
,
3691 const wxString
& name
= wxPyFrameNameStr
)
3692 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3695 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3696 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3698 DEC_PYCALLBACK_VOID_(Initialize
);
3699 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3700 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3705 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3707 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3708 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3709 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3712 class wxPyPreviewControlBar
: public wxPreviewControlBar
3714 DECLARE_CLASS(wxPyPreviewControlBar
)
3716 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3719 const wxPoint
& pos
= wxDefaultPosition
,
3720 const wxSize
& size
= wxDefaultSize
,
3722 const wxString
& name
= wxPyPanelNameStr
)
3723 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3726 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3728 DEC_PYCALLBACK_VOID_(CreateButtons
);
3729 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3734 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3735 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3736 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3741 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
= 0;
3743 wxWindow
*arg1
= (wxWindow
*) 0 ;
3744 int arg2
= (int) (int)-1 ;
3745 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3746 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3747 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3748 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3749 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3750 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3751 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3752 wxPanel
*result
= 0 ;
3761 bool temp6
= false ;
3762 PyObject
* obj0
= 0 ;
3763 PyObject
* obj1
= 0 ;
3764 PyObject
* obj2
= 0 ;
3765 PyObject
* obj3
= 0 ;
3766 PyObject
* obj4
= 0 ;
3767 PyObject
* obj5
= 0 ;
3768 char * kwnames
[] = {
3769 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3774 if (!SWIG_IsOK(res1
)) {
3775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3777 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3780 if (!SWIG_IsOK(ecode2
)) {
3781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3783 arg2
= static_cast< int >(val2
);
3788 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3794 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3798 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3799 if (!SWIG_IsOK(ecode5
)) {
3800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3802 arg5
= static_cast< long >(val5
);
3806 arg6
= wxString_in_helper(obj5
);
3807 if (arg6
== NULL
) SWIG_fail
;
3812 if (!wxPyCheckForApp()) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3833 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3834 PyObject
*resultobj
= 0;
3835 wxPanel
*result
= 0 ;
3837 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3839 if (!wxPyCheckForApp()) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 result
= (wxPanel
*)new wxPanel();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3852 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
= 0;
3854 wxPanel
*arg1
= (wxPanel
*) 0 ;
3855 wxWindow
*arg2
= (wxWindow
*) 0 ;
3856 int arg3
= (int) (int)-1 ;
3857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3861 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3862 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3863 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3875 bool temp7
= false ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3878 PyObject
* obj2
= 0 ;
3879 PyObject
* obj3
= 0 ;
3880 PyObject
* obj4
= 0 ;
3881 PyObject
* obj5
= 0 ;
3882 PyObject
* obj6
= 0 ;
3883 char * kwnames
[] = {
3884 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3889 if (!SWIG_IsOK(res1
)) {
3890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3892 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3894 if (!SWIG_IsOK(res2
)) {
3895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3897 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3900 if (!SWIG_IsOK(ecode3
)) {
3901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3903 arg3
= static_cast< int >(val3
);
3908 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3914 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3918 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3919 if (!SWIG_IsOK(ecode6
)) {
3920 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3922 arg6
= static_cast< long >(val6
);
3926 arg7
= wxString_in_helper(obj6
);
3927 if (arg7
== NULL
) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3954 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3955 PyObject
*resultobj
= 0;
3956 wxPanel
*arg1
= (wxPanel
*) 0 ;
3959 PyObject
*swig_obj
[1] ;
3961 if (!args
) SWIG_fail
;
3963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3964 if (!SWIG_IsOK(res1
)) {
3965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3967 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 (arg1
)->SetFocusIgnoringChildren();
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3974 resultobj
= SWIG_Py_Void();
3981 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
= 0;
3983 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3984 SwigValueWrapper
<wxVisualAttributes
> result
;
3987 PyObject
* obj0
= 0 ;
3988 char * kwnames
[] = {
3989 (char *) "variant", NULL
3992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3995 if (!SWIG_IsOK(ecode1
)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3998 arg1
= static_cast< wxWindowVariant
>(val1
);
4001 if (!wxPyCheckForApp()) SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4014 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4017 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4018 return SWIG_Py_Void();
4021 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4022 return SWIG_Python_InitShadowInstance(args
);
4025 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
= 0;
4027 wxWindow
*arg1
= (wxWindow
*) 0 ;
4028 int arg2
= (int) (int)-1 ;
4029 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4030 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4031 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4032 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4033 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4034 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4035 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4036 wxScrolledWindow
*result
= 0 ;
4045 bool temp6
= false ;
4046 PyObject
* obj0
= 0 ;
4047 PyObject
* obj1
= 0 ;
4048 PyObject
* obj2
= 0 ;
4049 PyObject
* obj3
= 0 ;
4050 PyObject
* obj4
= 0 ;
4051 PyObject
* obj5
= 0 ;
4052 char * kwnames
[] = {
4053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4058 if (!SWIG_IsOK(res1
)) {
4059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4061 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4064 if (!SWIG_IsOK(ecode2
)) {
4065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4067 arg2
= static_cast< int >(val2
);
4072 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4078 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4082 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4083 if (!SWIG_IsOK(ecode5
)) {
4084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4086 arg5
= static_cast< long >(val5
);
4090 arg6
= wxString_in_helper(obj5
);
4091 if (arg6
== NULL
) SWIG_fail
;
4096 if (!wxPyCheckForApp()) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4117 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4118 PyObject
*resultobj
= 0;
4119 wxScrolledWindow
*result
= 0 ;
4121 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4123 if (!wxPyCheckForApp()) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4136 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
= 0;
4138 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4139 wxWindow
*arg2
= (wxWindow
*) 0 ;
4140 int arg3
= (int) (int)-1 ;
4141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4145 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4146 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4147 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4159 bool temp7
= false ;
4160 PyObject
* obj0
= 0 ;
4161 PyObject
* obj1
= 0 ;
4162 PyObject
* obj2
= 0 ;
4163 PyObject
* obj3
= 0 ;
4164 PyObject
* obj4
= 0 ;
4165 PyObject
* obj5
= 0 ;
4166 PyObject
* obj6
= 0 ;
4167 char * kwnames
[] = {
4168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4173 if (!SWIG_IsOK(res1
)) {
4174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4176 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4178 if (!SWIG_IsOK(res2
)) {
4179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4181 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4184 if (!SWIG_IsOK(ecode3
)) {
4185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4187 arg3
= static_cast< int >(val3
);
4192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4202 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4203 if (!SWIG_IsOK(ecode6
)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4206 arg6
= static_cast< long >(val6
);
4210 arg7
= wxString_in_helper(obj6
);
4211 if (arg7
== NULL
) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4238 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
= 0;
4240 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4245 int arg6
= (int) 0 ;
4246 int arg7
= (int) 0 ;
4247 bool arg8
= (bool) false ;
4264 PyObject
* obj0
= 0 ;
4265 PyObject
* obj1
= 0 ;
4266 PyObject
* obj2
= 0 ;
4267 PyObject
* obj3
= 0 ;
4268 PyObject
* obj4
= 0 ;
4269 PyObject
* obj5
= 0 ;
4270 PyObject
* obj6
= 0 ;
4271 PyObject
* obj7
= 0 ;
4272 char * kwnames
[] = {
4273 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4278 if (!SWIG_IsOK(res1
)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4281 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4283 if (!SWIG_IsOK(ecode2
)) {
4284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4286 arg2
= static_cast< int >(val2
);
4287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4288 if (!SWIG_IsOK(ecode3
)) {
4289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4291 arg3
= static_cast< int >(val3
);
4292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4293 if (!SWIG_IsOK(ecode4
)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4296 arg4
= static_cast< int >(val4
);
4297 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4298 if (!SWIG_IsOK(ecode5
)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4301 arg5
= static_cast< int >(val5
);
4303 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4304 if (!SWIG_IsOK(ecode6
)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4307 arg6
= static_cast< int >(val6
);
4310 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4311 if (!SWIG_IsOK(ecode7
)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4314 arg7
= static_cast< int >(val7
);
4317 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4318 if (!SWIG_IsOK(ecode8
)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4321 arg8
= static_cast< bool >(val8
);
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= SWIG_Py_Void();
4336 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
= 0;
4338 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4348 PyObject
* obj1
= 0 ;
4349 PyObject
* obj2
= 0 ;
4350 char * kwnames
[] = {
4351 (char *) "self",(char *) "x",(char *) "y", NULL
4354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4356 if (!SWIG_IsOK(res1
)) {
4357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4359 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4361 if (!SWIG_IsOK(ecode2
)) {
4362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4364 arg2
= static_cast< int >(val2
);
4365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4366 if (!SWIG_IsOK(ecode3
)) {
4367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4369 arg3
= static_cast< int >(val3
);
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 (arg1
)->Scroll(arg2
,arg3
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= SWIG_Py_Void();
4383 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
= 0;
4385 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4392 PyObject
* obj0
= 0 ;
4393 PyObject
* obj1
= 0 ;
4394 char * kwnames
[] = {
4395 (char *) "self",(char *) "orient", NULL
4398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4400 if (!SWIG_IsOK(res1
)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4403 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4405 if (!SWIG_IsOK(ecode2
)) {
4406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4408 arg2
= static_cast< int >(val2
);
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= SWIG_From_int(static_cast< int >(result
));
4422 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
= 0;
4424 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4433 PyObject
* obj0
= 0 ;
4434 PyObject
* obj1
= 0 ;
4435 PyObject
* obj2
= 0 ;
4436 char * kwnames
[] = {
4437 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4442 if (!SWIG_IsOK(res1
)) {
4443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4445 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4447 if (!SWIG_IsOK(ecode2
)) {
4448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4450 arg2
= static_cast< int >(val2
);
4451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4452 if (!SWIG_IsOK(ecode3
)) {
4453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4455 arg3
= static_cast< int >(val3
);
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= SWIG_Py_Void();
4469 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
= 0;
4471 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4482 PyObject
* obj2
= 0 ;
4483 char * kwnames
[] = {
4484 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4489 if (!SWIG_IsOK(res1
)) {
4490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4492 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4494 if (!SWIG_IsOK(ecode2
)) {
4495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4497 arg2
= static_cast< int >(val2
);
4498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4499 if (!SWIG_IsOK(ecode3
)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4502 arg3
= static_cast< int >(val3
);
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 (arg1
)->SetScrollRate(arg2
,arg3
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_Py_Void();
4516 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4517 PyObject
*resultobj
= 0;
4518 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4519 int *arg2
= (int *) 0 ;
4520 int *arg3
= (int *) 0 ;
4524 int res2
= SWIG_TMPOBJ
;
4526 int res3
= SWIG_TMPOBJ
;
4527 PyObject
*swig_obj
[1] ;
4531 if (!args
) SWIG_fail
;
4533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4534 if (!SWIG_IsOK(res1
)) {
4535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4537 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= SWIG_Py_Void();
4545 if (SWIG_IsTmpObj(res2
)) {
4546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4548 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4551 if (SWIG_IsTmpObj(res3
)) {
4552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4554 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4563 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
= 0;
4565 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4575 PyObject
* obj1
= 0 ;
4576 PyObject
* obj2
= 0 ;
4577 char * kwnames
[] = {
4578 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4583 if (!SWIG_IsOK(res1
)) {
4584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4586 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4587 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4588 if (!SWIG_IsOK(ecode2
)) {
4589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4591 arg2
= static_cast< bool >(val2
);
4592 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4593 if (!SWIG_IsOK(ecode3
)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4596 arg3
= static_cast< bool >(val3
);
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 (arg1
)->EnableScrolling(arg2
,arg3
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 resultobj
= SWIG_Py_Void();
4610 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4611 PyObject
*resultobj
= 0;
4612 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4613 int *arg2
= (int *) 0 ;
4614 int *arg3
= (int *) 0 ;
4618 int res2
= SWIG_TMPOBJ
;
4620 int res3
= SWIG_TMPOBJ
;
4621 PyObject
*swig_obj
[1] ;
4625 if (!args
) SWIG_fail
;
4627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4628 if (!SWIG_IsOK(res1
)) {
4629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4631 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_Py_Void();
4639 if (SWIG_IsTmpObj(res2
)) {
4640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4642 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4645 if (SWIG_IsTmpObj(res3
)) {
4646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4648 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4657 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
= 0;
4659 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 PyObject
* obj2
= 0 ;
4671 char * kwnames
[] = {
4672 (char *) "self",(char *) "xs",(char *) "ys", NULL
4675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4677 if (!SWIG_IsOK(res1
)) {
4678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4680 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4681 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4682 if (!SWIG_IsOK(ecode2
)) {
4683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4685 arg2
= static_cast< double >(val2
);
4686 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4687 if (!SWIG_IsOK(ecode3
)) {
4688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4690 arg3
= static_cast< double >(val3
);
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 (arg1
)->SetScale(arg2
,arg3
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_Py_Void();
4704 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4705 PyObject
*resultobj
= 0;
4706 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4710 PyObject
*swig_obj
[1] ;
4712 if (!args
) SWIG_fail
;
4714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4715 if (!SWIG_IsOK(res1
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4718 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 resultobj
= SWIG_From_double(static_cast< double >(result
));
4732 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4733 PyObject
*resultobj
= 0;
4734 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4738 PyObject
*swig_obj
[1] ;
4740 if (!args
) SWIG_fail
;
4742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4743 if (!SWIG_IsOK(res1
)) {
4744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4746 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= SWIG_From_double(static_cast< double >(result
));
4760 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4761 PyObject
*resultobj
= 0;
4762 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4769 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4771 if (!SWIG_IsOK(res1
)) {
4772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4774 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4777 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4792 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4793 PyObject
*resultobj
= 0;
4794 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4797 int *arg4
= (int *) 0 ;
4798 int *arg5
= (int *) 0 ;
4806 int res4
= SWIG_TMPOBJ
;
4808 int res5
= SWIG_TMPOBJ
;
4812 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4814 if (!SWIG_IsOK(res1
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4817 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4818 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4819 if (!SWIG_IsOK(ecode2
)) {
4820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4822 arg2
= static_cast< int >(val2
);
4823 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4824 if (!SWIG_IsOK(ecode3
)) {
4825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4827 arg3
= static_cast< int >(val3
);
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_Py_Void();
4835 if (SWIG_IsTmpObj(res4
)) {
4836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4838 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4841 if (SWIG_IsTmpObj(res5
)) {
4842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4844 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4853 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4857 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4860 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4863 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4867 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4872 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4873 PyObject
*resultobj
= 0;
4874 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4881 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4883 if (!SWIG_IsOK(res1
)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4886 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4889 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4904 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4905 PyObject
*resultobj
= 0;
4906 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4909 int *arg4
= (int *) 0 ;
4910 int *arg5
= (int *) 0 ;
4918 int res4
= SWIG_TMPOBJ
;
4920 int res5
= SWIG_TMPOBJ
;
4924 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4926 if (!SWIG_IsOK(res1
)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4929 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4930 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4931 if (!SWIG_IsOK(ecode2
)) {
4932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4934 arg2
= static_cast< int >(val2
);
4935 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4936 if (!SWIG_IsOK(ecode3
)) {
4937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4939 arg3
= static_cast< int >(val3
);
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= SWIG_Py_Void();
4947 if (SWIG_IsTmpObj(res4
)) {
4948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4950 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4953 if (SWIG_IsTmpObj(res5
)) {
4954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4956 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4965 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4969 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4972 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4975 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4979 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4984 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4985 PyObject
*resultobj
= 0;
4986 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4989 PyObject
*swig_obj
[1] ;
4991 if (!args
) SWIG_fail
;
4993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4994 if (!SWIG_IsOK(res1
)) {
4995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4997 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 (arg1
)->AdjustScrollbars();
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5004 resultobj
= SWIG_Py_Void();
5011 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
= 0;
5013 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5014 wxScrollWinEvent
*arg2
= 0 ;
5020 PyObject
* obj0
= 0 ;
5021 PyObject
* obj1
= 0 ;
5022 char * kwnames
[] = {
5023 (char *) "self",(char *) "event", NULL
5026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5031 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5033 if (!SWIG_IsOK(res2
)) {
5034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5039 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= SWIG_From_int(static_cast< int >(result
));
5053 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
= 0;
5055 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5056 wxWindow
*arg2
= (wxWindow
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5063 char * kwnames
[] = {
5064 (char *) "self",(char *) "target", NULL
5067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5069 if (!SWIG_IsOK(res1
)) {
5070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5072 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5073 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5074 if (!SWIG_IsOK(res2
)) {
5075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5077 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 (arg1
)->SetTargetWindow(arg2
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= SWIG_Py_Void();
5091 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5092 PyObject
*resultobj
= 0;
5093 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5094 wxWindow
*result
= 0 ;
5097 PyObject
*swig_obj
[1] ;
5099 if (!args
) SWIG_fail
;
5101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5102 if (!SWIG_IsOK(res1
)) {
5103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5105 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= wxPyMake_wxObject(result
, 0);
5121 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
= 0;
5123 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5130 char * kwnames
[] = {
5131 (char *) "self",(char *) "rect", NULL
5134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",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_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5139 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5142 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= SWIG_Py_Void();
5157 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5158 PyObject
*resultobj
= 0;
5159 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5163 PyObject
*swig_obj
[1] ;
5165 if (!args
) SWIG_fail
;
5167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5168 if (!SWIG_IsOK(res1
)) {
5169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5171 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5185 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= 0;
5187 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5195 char * kwnames
[] = {
5196 (char *) "self",(char *) "dc", NULL
5199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5201 if (!SWIG_IsOK(res1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5204 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5206 if (!SWIG_IsOK(res2
)) {
5207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5212 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 (arg1
)->DoPrepareDC(*arg2
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= SWIG_Py_Void();
5226 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
= 0;
5228 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5229 SwigValueWrapper
<wxVisualAttributes
> result
;
5232 PyObject
* obj0
= 0 ;
5233 char * kwnames
[] = {
5234 (char *) "variant", NULL
5237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5240 if (!SWIG_IsOK(ecode1
)) {
5241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5243 arg1
= static_cast< wxWindowVariant
>(val1
);
5246 if (!wxPyCheckForApp()) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5259 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5262 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5263 return SWIG_Py_Void();
5266 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5267 return SWIG_Python_InitShadowInstance(args
);
5270 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5271 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5276 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5277 PyObject
*pyobj
= 0;
5281 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5283 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5290 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5291 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5296 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5297 PyObject
*pyobj
= 0;
5301 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5303 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5310 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5311 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5316 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5317 PyObject
*pyobj
= 0;
5321 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5323 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5330 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5331 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5336 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5337 PyObject
*pyobj
= 0;
5341 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5343 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5350 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
= 0;
5352 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5353 bool arg2
= (bool) true ;
5358 PyObject
* obj0
= 0 ;
5359 PyObject
* obj1
= 0 ;
5360 char * kwnames
[] = {
5361 (char *) "self",(char *) "maximize", NULL
5364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5366 if (!SWIG_IsOK(res1
)) {
5367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5369 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5371 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5372 if (!SWIG_IsOK(ecode2
)) {
5373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5375 arg2
= static_cast< bool >(val2
);
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 (arg1
)->Maximize(arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 resultobj
= SWIG_Py_Void();
5390 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5395 PyObject
*swig_obj
[1] ;
5397 if (!args
) SWIG_fail
;
5399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5400 if (!SWIG_IsOK(res1
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5403 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_Py_Void();
5417 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= 0;
5419 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5420 bool arg2
= (bool) true ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5427 char * kwnames
[] = {
5428 (char *) "self",(char *) "iconize", NULL
5431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5433 if (!SWIG_IsOK(res1
)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5436 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5438 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5439 if (!SWIG_IsOK(ecode2
)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5442 arg2
= static_cast< bool >(val2
);
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 (arg1
)->Iconize(arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_Py_Void();
5457 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5458 PyObject
*resultobj
= 0;
5459 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5463 PyObject
*swig_obj
[1] ;
5465 if (!args
) SWIG_fail
;
5467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5468 if (!SWIG_IsOK(res1
)) {
5469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5471 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5487 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5488 PyObject
*resultobj
= 0;
5489 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5493 PyObject
*swig_obj
[1] ;
5495 if (!args
) SWIG_fail
;
5497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5498 if (!SWIG_IsOK(res1
)) {
5499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5501 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5517 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5518 PyObject
*resultobj
= 0;
5519 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5523 PyObject
*swig_obj
[1] ;
5525 if (!args
) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5531 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5547 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5548 PyObject
*resultobj
= 0;
5549 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5553 PyObject
*swig_obj
[1] ;
5555 if (!args
) SWIG_fail
;
5557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5558 if (!SWIG_IsOK(res1
)) {
5559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5561 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5575 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
= 0;
5577 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5585 char * kwnames
[] = {
5586 (char *) "self",(char *) "icon", NULL
5589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5591 if (!SWIG_IsOK(res1
)) {
5592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5594 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5596 if (!SWIG_IsOK(res2
)) {
5597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5602 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= SWIG_Py_Void();
5616 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
= 0;
5618 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5619 wxIconBundle
*arg2
= 0 ;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5626 char * kwnames
[] = {
5627 (char *) "self",(char *) "icons", NULL
5630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5632 if (!SWIG_IsOK(res1
)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5635 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5637 if (!SWIG_IsOK(res2
)) {
5638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5643 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= SWIG_Py_Void();
5657 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
= 0;
5659 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5661 long arg3
= (long) wxFULLSCREEN_ALL
;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 PyObject
* obj2
= 0 ;
5672 char * kwnames
[] = {
5673 (char *) "self",(char *) "show",(char *) "style", NULL
5676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5678 if (!SWIG_IsOK(res1
)) {
5679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5681 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5683 if (!SWIG_IsOK(ecode2
)) {
5684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5686 arg2
= static_cast< bool >(val2
);
5688 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5689 if (!SWIG_IsOK(ecode3
)) {
5690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5692 arg3
= static_cast< long >(val3
);
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5709 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5710 PyObject
*resultobj
= 0;
5711 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5715 PyObject
*swig_obj
[1] ;
5717 if (!args
) SWIG_fail
;
5719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5720 if (!SWIG_IsOK(res1
)) {
5721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5723 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5739 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
= 0;
5741 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5742 wxString
*arg2
= 0 ;
5745 bool temp2
= false ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5748 char * kwnames
[] = {
5749 (char *) "self",(char *) "title", NULL
5752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5754 if (!SWIG_IsOK(res1
)) {
5755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5757 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5759 arg2
= wxString_in_helper(obj1
);
5760 if (arg2
== NULL
) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 (arg1
)->SetTitle((wxString
const &)*arg2
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= SWIG_Py_Void();
5784 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5785 PyObject
*resultobj
= 0;
5786 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5790 PyObject
*swig_obj
[1] ;
5792 if (!args
) SWIG_fail
;
5794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5795 if (!SWIG_IsOK(res1
)) {
5796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5798 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5818 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
= 0;
5820 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5821 wxRegion
*arg2
= 0 ;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5829 char * kwnames
[] = {
5830 (char *) "self",(char *) "region", NULL
5833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5838 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5840 if (!SWIG_IsOK(res2
)) {
5841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5846 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5862 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
= 0;
5864 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5865 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5870 PyObject
* obj0
= 0 ;
5871 PyObject
* obj1
= 0 ;
5872 char * kwnames
[] = {
5873 (char *) "self",(char *) "flags", NULL
5876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5878 if (!SWIG_IsOK(res1
)) {
5879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5881 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5884 if (!SWIG_IsOK(ecode2
)) {
5885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5887 arg2
= static_cast< int >(val2
);
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 (arg1
)->RequestUserAttention(arg2
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= SWIG_Py_Void();
5902 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5903 PyObject
*resultobj
= 0;
5904 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5908 PyObject
*swig_obj
[1] ;
5910 if (!args
) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5916 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (bool)(arg1
)->IsActive();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5932 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
= 0;
5934 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5940 PyObject
* obj0
= 0 ;
5941 PyObject
* obj1
= 0 ;
5942 char * kwnames
[] = {
5943 (char *) "self",(char *) "on", NULL
5946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5948 if (!SWIG_IsOK(res1
)) {
5949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5951 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5952 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5953 if (!SWIG_IsOK(ecode2
)) {
5954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5956 arg2
= static_cast< bool >(val2
);
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_Py_Void();
5970 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5971 PyObject
*resultobj
= 0;
5972 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5976 PyObject
*swig_obj
[1] ;
5978 if (!args
) SWIG_fail
;
5980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5981 if (!SWIG_IsOK(res1
)) {
5982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5984 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6000 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
= 0;
6002 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6003 int arg2
= (int) wxBOTH
;
6008 PyObject
* obj0
= 0 ;
6009 PyObject
* obj1
= 0 ;
6010 char * kwnames
[] = {
6011 (char *) "self",(char *) "dir", NULL
6014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6016 if (!SWIG_IsOK(res1
)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6019 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6022 if (!SWIG_IsOK(ecode2
)) {
6023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6025 arg2
= static_cast< int >(val2
);
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 (arg1
)->CenterOnScreen(arg2
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= SWIG_Py_Void();
6040 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6043 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6044 return SWIG_Py_Void();
6047 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
= 0;
6049 wxWindow
*arg1
= (wxWindow
*) 0 ;
6050 int arg2
= (int) (int)-1 ;
6051 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6052 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6053 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6054 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6055 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6056 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6057 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6058 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6059 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6060 wxFrame
*result
= 0 ;
6065 bool temp3
= false ;
6070 bool temp7
= false ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6073 PyObject
* obj2
= 0 ;
6074 PyObject
* obj3
= 0 ;
6075 PyObject
* obj4
= 0 ;
6076 PyObject
* obj5
= 0 ;
6077 PyObject
* obj6
= 0 ;
6078 char * kwnames
[] = {
6079 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6084 if (!SWIG_IsOK(res1
)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6090 if (!SWIG_IsOK(ecode2
)) {
6091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6093 arg2
= static_cast< int >(val2
);
6097 arg3
= wxString_in_helper(obj2
);
6098 if (arg3
== NULL
) SWIG_fail
;
6105 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6111 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6115 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6116 if (!SWIG_IsOK(ecode6
)) {
6117 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6119 arg6
= static_cast< long >(val6
);
6123 arg7
= wxString_in_helper(obj6
);
6124 if (arg7
== NULL
) SWIG_fail
;
6129 if (!wxPyCheckForApp()) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6158 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6159 PyObject
*resultobj
= 0;
6160 wxFrame
*result
= 0 ;
6162 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6164 if (!wxPyCheckForApp()) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (wxFrame
*)new wxFrame();
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6177 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
= 0;
6179 wxFrame
*arg1
= (wxFrame
*) 0 ;
6180 wxWindow
*arg2
= (wxWindow
*) 0 ;
6181 int arg3
= (int) (int)-1 ;
6182 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6183 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6184 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6185 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6186 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6187 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6188 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6189 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6190 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6198 bool temp4
= false ;
6203 bool temp8
= false ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 PyObject
* obj2
= 0 ;
6207 PyObject
* obj3
= 0 ;
6208 PyObject
* obj4
= 0 ;
6209 PyObject
* obj5
= 0 ;
6210 PyObject
* obj6
= 0 ;
6211 PyObject
* obj7
= 0 ;
6212 char * kwnames
[] = {
6213 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6221 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6222 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6223 if (!SWIG_IsOK(res2
)) {
6224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6226 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6229 if (!SWIG_IsOK(ecode3
)) {
6230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6232 arg3
= static_cast< int >(val3
);
6236 arg4
= wxString_in_helper(obj3
);
6237 if (arg4
== NULL
) SWIG_fail
;
6244 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6250 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6254 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6255 if (!SWIG_IsOK(ecode7
)) {
6256 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6258 arg7
= static_cast< long >(val7
);
6262 arg8
= wxString_in_helper(obj7
);
6263 if (arg8
== NULL
) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6298 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6299 PyObject
*resultobj
= 0;
6300 wxFrame
*arg1
= (wxFrame
*) 0 ;
6303 PyObject
*swig_obj
[1] ;
6305 if (!args
) SWIG_fail
;
6307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6308 if (!SWIG_IsOK(res1
)) {
6309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6311 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 (arg1
)->SendSizeEvent();
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 resultobj
= SWIG_Py_Void();
6325 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
= 0;
6327 wxFrame
*arg1
= (wxFrame
*) 0 ;
6328 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6335 char * kwnames
[] = {
6336 (char *) "self",(char *) "menubar", NULL
6339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6341 if (!SWIG_IsOK(res1
)) {
6342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6344 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6346 if (!SWIG_IsOK(res2
)) {
6347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6349 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 (arg1
)->SetMenuBar(arg2
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_Py_Void();
6363 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6364 PyObject
*resultobj
= 0;
6365 wxFrame
*arg1
= (wxFrame
*) 0 ;
6366 wxMenuBar
*result
= 0 ;
6369 PyObject
*swig_obj
[1] ;
6371 if (!args
) SWIG_fail
;
6373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6374 if (!SWIG_IsOK(res1
)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6377 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6385 resultobj
= wxPyMake_wxObject(result
, 0);
6393 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
= 0;
6395 wxFrame
*arg1
= (wxFrame
*) 0 ;
6402 PyObject
* obj0
= 0 ;
6403 PyObject
* obj1
= 0 ;
6404 char * kwnames
[] = {
6405 (char *) "self",(char *) "winid", NULL
6408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6410 if (!SWIG_IsOK(res1
)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6413 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6415 if (!SWIG_IsOK(ecode2
)) {
6416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6418 arg2
= static_cast< int >(val2
);
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6434 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
= 0;
6436 wxFrame
*arg1
= (wxFrame
*) 0 ;
6437 int arg2
= (int) 1 ;
6438 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6439 int arg4
= (int) 0 ;
6440 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6441 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6442 wxStatusBar
*result
= 0 ;
6451 bool temp5
= false ;
6452 PyObject
* obj0
= 0 ;
6453 PyObject
* obj1
= 0 ;
6454 PyObject
* obj2
= 0 ;
6455 PyObject
* obj3
= 0 ;
6456 PyObject
* obj4
= 0 ;
6457 char * kwnames
[] = {
6458 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6463 if (!SWIG_IsOK(res1
)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6466 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6469 if (!SWIG_IsOK(ecode2
)) {
6470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6472 arg2
= static_cast< int >(val2
);
6475 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6476 if (!SWIG_IsOK(ecode3
)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6479 arg3
= static_cast< long >(val3
);
6482 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6483 if (!SWIG_IsOK(ecode4
)) {
6484 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6486 arg4
= static_cast< int >(val4
);
6490 arg5
= wxString_in_helper(obj4
);
6491 if (arg5
== NULL
) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6502 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6518 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6519 PyObject
*resultobj
= 0;
6520 wxFrame
*arg1
= (wxFrame
*) 0 ;
6521 wxStatusBar
*result
= 0 ;
6524 PyObject
*swig_obj
[1] ;
6526 if (!args
) SWIG_fail
;
6528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6529 if (!SWIG_IsOK(res1
)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6532 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6548 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
= 0;
6550 wxFrame
*arg1
= (wxFrame
*) 0 ;
6551 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6556 PyObject
* obj0
= 0 ;
6557 PyObject
* obj1
= 0 ;
6558 char * kwnames
[] = {
6559 (char *) "self",(char *) "statBar", NULL
6562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6564 if (!SWIG_IsOK(res1
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6567 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6569 if (!SWIG_IsOK(res2
)) {
6570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6572 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 (arg1
)->SetStatusBar(arg2
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_Py_Void();
6586 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
= 0;
6588 wxFrame
*arg1
= (wxFrame
*) 0 ;
6589 wxString
*arg2
= 0 ;
6590 int arg3
= (int) 0 ;
6593 bool temp2
= false ;
6596 PyObject
* obj0
= 0 ;
6597 PyObject
* obj1
= 0 ;
6598 PyObject
* obj2
= 0 ;
6599 char * kwnames
[] = {
6600 (char *) "self",(char *) "text",(char *) "number", NULL
6603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6605 if (!SWIG_IsOK(res1
)) {
6606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6608 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6610 arg2
= wxString_in_helper(obj1
);
6611 if (arg2
== NULL
) SWIG_fail
;
6615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6616 if (!SWIG_IsOK(ecode3
)) {
6617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6619 arg3
= static_cast< int >(val3
);
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_Py_Void();
6642 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
= 0;
6644 wxFrame
*arg1
= (wxFrame
*) 0 ;
6646 int *arg3
= (int *) 0 ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6651 char * kwnames
[] = {
6652 (char *) "self",(char *) "widths", NULL
6655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6657 if (!SWIG_IsOK(res1
)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6660 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6662 arg2
= PyList_Size(obj1
);
6663 arg3
= int_LIST_helper(obj1
);
6664 if (arg3
== NULL
) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_Py_Void();
6674 if (arg3
) delete [] arg3
;
6679 if (arg3
) delete [] arg3
;
6685 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
= 0;
6687 wxFrame
*arg1
= (wxFrame
*) 0 ;
6688 wxString
*arg2
= 0 ;
6689 int arg3
= (int) 0 ;
6692 bool temp2
= false ;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6697 PyObject
* obj2
= 0 ;
6698 char * kwnames
[] = {
6699 (char *) "self",(char *) "text",(char *) "number", NULL
6702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6704 if (!SWIG_IsOK(res1
)) {
6705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6707 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6709 arg2
= wxString_in_helper(obj1
);
6710 if (arg2
== NULL
) SWIG_fail
;
6714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6715 if (!SWIG_IsOK(ecode3
)) {
6716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6718 arg3
= static_cast< int >(val3
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= SWIG_Py_Void();
6741 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
= 0;
6743 wxFrame
*arg1
= (wxFrame
*) 0 ;
6744 int arg2
= (int) 0 ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6751 char * kwnames
[] = {
6752 (char *) "self",(char *) "number", NULL
6755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6757 if (!SWIG_IsOK(res1
)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6760 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6763 if (!SWIG_IsOK(ecode2
)) {
6764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6766 arg2
= static_cast< int >(val2
);
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 (arg1
)->PopStatusText(arg2
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= SWIG_Py_Void();
6781 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
= 0;
6783 wxFrame
*arg1
= (wxFrame
*) 0 ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 char * kwnames
[] = {
6792 (char *) "self",(char *) "n", NULL
6795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6800 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6802 if (!SWIG_IsOK(ecode2
)) {
6803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6805 arg2
= static_cast< int >(val2
);
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 (arg1
)->SetStatusBarPane(arg2
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_Py_Void();
6819 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6820 PyObject
*resultobj
= 0;
6821 wxFrame
*arg1
= (wxFrame
*) 0 ;
6825 PyObject
*swig_obj
[1] ;
6827 if (!args
) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6833 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_From_int(static_cast< int >(result
));
6847 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
= 0;
6849 wxFrame
*arg1
= (wxFrame
*) 0 ;
6850 long arg2
= (long) -1 ;
6851 int arg3
= (int) -1 ;
6852 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6853 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6854 wxToolBar
*result
= 0 ;
6861 bool temp4
= false ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 PyObject
* obj2
= 0 ;
6865 PyObject
* obj3
= 0 ;
6866 char * kwnames
[] = {
6867 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6872 if (!SWIG_IsOK(res1
)) {
6873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6875 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6877 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6878 if (!SWIG_IsOK(ecode2
)) {
6879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6881 arg2
= static_cast< long >(val2
);
6884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6885 if (!SWIG_IsOK(ecode3
)) {
6886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6888 arg3
= static_cast< int >(val3
);
6892 arg4
= wxString_in_helper(obj3
);
6893 if (arg4
== NULL
) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6920 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6921 PyObject
*resultobj
= 0;
6922 wxFrame
*arg1
= (wxFrame
*) 0 ;
6923 wxToolBar
*result
= 0 ;
6926 PyObject
*swig_obj
[1] ;
6928 if (!args
) SWIG_fail
;
6930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6931 if (!SWIG_IsOK(res1
)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6934 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6942 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6950 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
= 0;
6952 wxFrame
*arg1
= (wxFrame
*) 0 ;
6953 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6958 PyObject
* obj0
= 0 ;
6959 PyObject
* obj1
= 0 ;
6960 char * kwnames
[] = {
6961 (char *) "self",(char *) "toolbar", NULL
6964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6966 if (!SWIG_IsOK(res1
)) {
6967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6969 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6970 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6971 if (!SWIG_IsOK(res2
)) {
6972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6974 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 (arg1
)->SetToolBar(arg2
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= SWIG_Py_Void();
6988 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
= 0;
6990 wxFrame
*arg1
= (wxFrame
*) 0 ;
6991 wxString
*arg2
= 0 ;
6995 bool temp2
= false ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7000 PyObject
* obj2
= 0 ;
7001 char * kwnames
[] = {
7002 (char *) "self",(char *) "text",(char *) "show", NULL
7005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7007 if (!SWIG_IsOK(res1
)) {
7008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7010 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7012 arg2
= wxString_in_helper(obj1
);
7013 if (arg2
== NULL
) SWIG_fail
;
7016 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7017 if (!SWIG_IsOK(ecode3
)) {
7018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7020 arg3
= static_cast< bool >(val3
);
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_Py_Void();
7042 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
= 0;
7044 wxFrame
*arg1
= (wxFrame
*) 0 ;
7045 wxMenu
*arg2
= (wxMenu
*) NULL
;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 char * kwnames
[] = {
7053 (char *) "self",(char *) "menu", NULL
7056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7058 if (!SWIG_IsOK(res1
)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7061 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7064 if (!SWIG_IsOK(res2
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7067 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 (arg1
)->DoMenuUpdates(arg2
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_Py_Void();
7082 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
= 0;
7084 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7085 SwigValueWrapper
<wxVisualAttributes
> result
;
7088 PyObject
* obj0
= 0 ;
7089 char * kwnames
[] = {
7090 (char *) "variant", NULL
7093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7095 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7096 if (!SWIG_IsOK(ecode1
)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7099 arg1
= static_cast< wxWindowVariant
>(val1
);
7102 if (!wxPyCheckForApp()) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7115 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7118 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7119 return SWIG_Py_Void();
7122 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7123 return SWIG_Python_InitShadowInstance(args
);
7126 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
= 0;
7128 wxWindow
*arg1
= (wxWindow
*) 0 ;
7129 int arg2
= (int) (int)-1 ;
7130 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7131 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7132 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7133 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7134 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7135 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7136 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7137 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7138 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7139 wxDialog
*result
= 0 ;
7144 bool temp3
= false ;
7149 bool temp7
= false ;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7152 PyObject
* obj2
= 0 ;
7153 PyObject
* obj3
= 0 ;
7154 PyObject
* obj4
= 0 ;
7155 PyObject
* obj5
= 0 ;
7156 PyObject
* obj6
= 0 ;
7157 char * kwnames
[] = {
7158 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7163 if (!SWIG_IsOK(res1
)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7166 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7169 if (!SWIG_IsOK(ecode2
)) {
7170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7172 arg2
= static_cast< int >(val2
);
7176 arg3
= wxString_in_helper(obj2
);
7177 if (arg3
== NULL
) SWIG_fail
;
7184 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7190 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7194 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7195 if (!SWIG_IsOK(ecode6
)) {
7196 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7198 arg6
= static_cast< long >(val6
);
7202 arg7
= wxString_in_helper(obj6
);
7203 if (arg7
== NULL
) SWIG_fail
;
7208 if (!wxPyCheckForApp()) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7237 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7238 PyObject
*resultobj
= 0;
7239 wxDialog
*result
= 0 ;
7241 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7243 if (!wxPyCheckForApp()) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= (wxDialog
*)new wxDialog();
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7256 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7258 wxDialog
*arg1
= (wxDialog
*) 0 ;
7259 wxWindow
*arg2
= (wxWindow
*) 0 ;
7260 int arg3
= (int) (int)-1 ;
7261 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7262 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7263 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7264 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7265 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7266 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7267 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7268 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7269 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7277 bool temp4
= false ;
7282 bool temp8
= false ;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7285 PyObject
* obj2
= 0 ;
7286 PyObject
* obj3
= 0 ;
7287 PyObject
* obj4
= 0 ;
7288 PyObject
* obj5
= 0 ;
7289 PyObject
* obj6
= 0 ;
7290 PyObject
* obj7
= 0 ;
7291 char * kwnames
[] = {
7292 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7297 if (!SWIG_IsOK(res1
)) {
7298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7300 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7302 if (!SWIG_IsOK(res2
)) {
7303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7305 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7308 if (!SWIG_IsOK(ecode3
)) {
7309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7311 arg3
= static_cast< int >(val3
);
7315 arg4
= wxString_in_helper(obj3
);
7316 if (arg4
== NULL
) SWIG_fail
;
7323 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7329 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7333 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7334 if (!SWIG_IsOK(ecode7
)) {
7335 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7337 arg7
= static_cast< long >(val7
);
7341 arg8
= wxString_in_helper(obj7
);
7342 if (arg8
== NULL
) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7377 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
= 0;
7379 wxDialog
*arg1
= (wxDialog
*) 0 ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7387 char * kwnames
[] = {
7388 (char *) "self",(char *) "returnCode", NULL
7391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7393 if (!SWIG_IsOK(res1
)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7396 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7398 if (!SWIG_IsOK(ecode2
)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7401 arg2
= static_cast< int >(val2
);
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 (arg1
)->SetReturnCode(arg2
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_Py_Void();
7415 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7416 PyObject
*resultobj
= 0;
7417 wxDialog
*arg1
= (wxDialog
*) 0 ;
7421 PyObject
*swig_obj
[1] ;
7423 if (!args
) SWIG_fail
;
7425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7426 if (!SWIG_IsOK(res1
)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7429 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= SWIG_From_int(static_cast< int >(result
));
7443 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
= 0;
7445 wxDialog
*arg1
= (wxDialog
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7453 char * kwnames
[] = {
7454 (char *) "self",(char *) "affirmativeId", NULL
7457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7459 if (!SWIG_IsOK(res1
)) {
7460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7462 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7464 if (!SWIG_IsOK(ecode2
)) {
7465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7467 arg2
= static_cast< int >(val2
);
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 (arg1
)->SetAffirmativeId(arg2
);
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= SWIG_Py_Void();
7481 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7482 PyObject
*resultobj
= 0;
7483 wxDialog
*arg1
= (wxDialog
*) 0 ;
7487 PyObject
*swig_obj
[1] ;
7489 if (!args
) SWIG_fail
;
7491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7492 if (!SWIG_IsOK(res1
)) {
7493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7495 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= SWIG_From_int(static_cast< int >(result
));
7509 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
= 0;
7511 wxDialog
*arg1
= (wxDialog
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7519 char * kwnames
[] = {
7520 (char *) "self",(char *) "escapeId", NULL
7523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7525 if (!SWIG_IsOK(res1
)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7528 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7530 if (!SWIG_IsOK(ecode2
)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7533 arg2
= static_cast< int >(val2
);
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 (arg1
)->SetEscapeId(arg2
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_Py_Void();
7547 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7548 PyObject
*resultobj
= 0;
7549 wxDialog
*arg1
= (wxDialog
*) 0 ;
7553 PyObject
*swig_obj
[1] ;
7555 if (!args
) SWIG_fail
;
7557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7558 if (!SWIG_IsOK(res1
)) {
7559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7561 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_From_int(static_cast< int >(result
));
7575 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
= 0;
7577 wxDialog
*arg1
= (wxDialog
*) 0 ;
7578 wxString
*arg2
= 0 ;
7579 wxSizer
*result
= 0 ;
7582 bool temp2
= false ;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7585 char * kwnames
[] = {
7586 (char *) "self",(char *) "message", NULL
7589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7594 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7596 arg2
= wxString_in_helper(obj1
);
7597 if (arg2
== NULL
) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7623 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
= 0;
7625 wxDialog
*arg1
= (wxDialog
*) 0 ;
7627 bool arg3
= (bool) false ;
7628 int arg4
= (int) 0 ;
7629 wxSizer
*result
= 0 ;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7640 PyObject
* obj2
= 0 ;
7641 PyObject
* obj3
= 0 ;
7642 char * kwnames
[] = {
7643 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7648 if (!SWIG_IsOK(res1
)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7651 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7652 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7653 if (!SWIG_IsOK(ecode2
)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7656 arg2
= static_cast< long >(val2
);
7658 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7659 if (!SWIG_IsOK(ecode3
)) {
7660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7662 arg3
= static_cast< bool >(val3
);
7665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7666 if (!SWIG_IsOK(ecode4
)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7669 arg4
= static_cast< int >(val4
);
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7686 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
= 0;
7688 wxDialog
*arg1
= (wxDialog
*) 0 ;
7690 wxStdDialogButtonSizer
*result
= 0 ;
7695 PyObject
* obj0
= 0 ;
7696 PyObject
* obj1
= 0 ;
7697 char * kwnames
[] = {
7698 (char *) "self",(char *) "flags", NULL
7701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7703 if (!SWIG_IsOK(res1
)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7706 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7707 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7708 if (!SWIG_IsOK(ecode2
)) {
7709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7711 arg2
= static_cast< long >(val2
);
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7725 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7726 PyObject
*resultobj
= 0;
7727 wxDialog
*arg1
= (wxDialog
*) 0 ;
7731 PyObject
*swig_obj
[1] ;
7733 if (!args
) SWIG_fail
;
7735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7736 if (!SWIG_IsOK(res1
)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7739 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7755 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7756 PyObject
*resultobj
= 0;
7757 wxDialog
*arg1
= (wxDialog
*) 0 ;
7761 PyObject
*swig_obj
[1] ;
7763 if (!args
) SWIG_fail
;
7765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7766 if (!SWIG_IsOK(res1
)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7769 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (int)(arg1
)->ShowModal();
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= SWIG_From_int(static_cast< int >(result
));
7783 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
= 0;
7785 wxDialog
*arg1
= (wxDialog
*) 0 ;
7791 PyObject
* obj0
= 0 ;
7792 PyObject
* obj1
= 0 ;
7793 char * kwnames
[] = {
7794 (char *) "self",(char *) "retCode", NULL
7797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7799 if (!SWIG_IsOK(res1
)) {
7800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7802 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7804 if (!SWIG_IsOK(ecode2
)) {
7805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7807 arg2
= static_cast< int >(val2
);
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 (arg1
)->EndModal(arg2
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_Py_Void();
7821 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
= 0;
7823 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7824 SwigValueWrapper
<wxVisualAttributes
> result
;
7827 PyObject
* obj0
= 0 ;
7828 char * kwnames
[] = {
7829 (char *) "variant", NULL
7832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7834 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7835 if (!SWIG_IsOK(ecode1
)) {
7836 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7838 arg1
= static_cast< wxWindowVariant
>(val1
);
7841 if (!wxPyCheckForApp()) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7854 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7857 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7858 return SWIG_Py_Void();
7861 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7862 return SWIG_Python_InitShadowInstance(args
);
7865 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
= 0;
7867 wxWindow
*arg1
= (wxWindow
*) 0 ;
7868 int arg2
= (int) (int)-1 ;
7869 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7870 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7871 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7872 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7873 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7874 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7875 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7876 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7878 wxMiniFrame
*result
= 0 ;
7883 bool temp3
= false ;
7888 bool temp7
= false ;
7889 PyObject
* obj0
= 0 ;
7890 PyObject
* obj1
= 0 ;
7891 PyObject
* obj2
= 0 ;
7892 PyObject
* obj3
= 0 ;
7893 PyObject
* obj4
= 0 ;
7894 PyObject
* obj5
= 0 ;
7895 PyObject
* obj6
= 0 ;
7896 char * kwnames
[] = {
7897 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7902 if (!SWIG_IsOK(res1
)) {
7903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7905 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7908 if (!SWIG_IsOK(ecode2
)) {
7909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7911 arg2
= static_cast< int >(val2
);
7915 arg3
= wxString_in_helper(obj2
);
7916 if (arg3
== NULL
) SWIG_fail
;
7923 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7929 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7933 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7934 if (!SWIG_IsOK(ecode6
)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7937 arg6
= static_cast< long >(val6
);
7941 arg7
= wxString_in_helper(obj6
);
7942 if (arg7
== NULL
) SWIG_fail
;
7947 if (!wxPyCheckForApp()) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7976 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7977 PyObject
*resultobj
= 0;
7978 wxMiniFrame
*result
= 0 ;
7980 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7982 if (!wxPyCheckForApp()) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (wxMiniFrame
*)new wxMiniFrame();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7995 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
= 0;
7997 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7998 wxWindow
*arg2
= (wxWindow
*) 0 ;
7999 int arg3
= (int) (int)-1 ;
8000 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8001 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8002 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8003 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8004 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8005 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8006 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8007 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8008 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8016 bool temp4
= false ;
8021 bool temp8
= false ;
8022 PyObject
* obj0
= 0 ;
8023 PyObject
* obj1
= 0 ;
8024 PyObject
* obj2
= 0 ;
8025 PyObject
* obj3
= 0 ;
8026 PyObject
* obj4
= 0 ;
8027 PyObject
* obj5
= 0 ;
8028 PyObject
* obj6
= 0 ;
8029 PyObject
* obj7
= 0 ;
8030 char * kwnames
[] = {
8031 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8036 if (!SWIG_IsOK(res1
)) {
8037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8039 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8040 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8041 if (!SWIG_IsOK(res2
)) {
8042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8044 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8047 if (!SWIG_IsOK(ecode3
)) {
8048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8050 arg3
= static_cast< int >(val3
);
8054 arg4
= wxString_in_helper(obj3
);
8055 if (arg4
== NULL
) SWIG_fail
;
8062 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8068 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8072 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8073 if (!SWIG_IsOK(ecode7
)) {
8074 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8076 arg7
= static_cast< long >(val7
);
8080 arg8
= wxString_in_helper(obj7
);
8081 if (arg8
== NULL
) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8116 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8119 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8120 return SWIG_Py_Void();
8123 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8124 return SWIG_Python_InitShadowInstance(args
);
8127 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
= 0;
8129 wxBitmap
*arg1
= 0 ;
8130 wxWindow
*arg2
= (wxWindow
*) 0 ;
8132 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8133 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8134 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8135 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8136 long arg6
= (long) wxNO_BORDER
;
8137 wxSplashScreenWindow
*result
= 0 ;
8148 PyObject
* obj0
= 0 ;
8149 PyObject
* obj1
= 0 ;
8150 PyObject
* obj2
= 0 ;
8151 PyObject
* obj3
= 0 ;
8152 PyObject
* obj4
= 0 ;
8153 PyObject
* obj5
= 0 ;
8154 char * kwnames
[] = {
8155 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8159 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8160 if (!SWIG_IsOK(res1
)) {
8161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8166 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8167 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8168 if (!SWIG_IsOK(res2
)) {
8169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8171 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8173 if (!SWIG_IsOK(ecode3
)) {
8174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8176 arg3
= static_cast< int >(val3
);
8180 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8186 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8190 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8191 if (!SWIG_IsOK(ecode6
)) {
8192 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8194 arg6
= static_cast< long >(val6
);
8197 if (!wxPyCheckForApp()) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8210 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
= 0;
8212 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8213 wxBitmap
*arg2
= 0 ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8220 char * kwnames
[] = {
8221 (char *) "self",(char *) "bitmap", NULL
8224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8226 if (!SWIG_IsOK(res1
)) {
8227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8229 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8231 if (!SWIG_IsOK(res2
)) {
8232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8237 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 resultobj
= SWIG_Py_Void();
8251 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8252 PyObject
*resultobj
= 0;
8253 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8254 wxBitmap
*result
= 0 ;
8257 PyObject
*swig_obj
[1] ;
8259 if (!args
) SWIG_fail
;
8261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8262 if (!SWIG_IsOK(res1
)) {
8263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8265 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8270 result
= (wxBitmap
*) &_result_ref
;
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8276 wxBitmap
* resultptr
= new wxBitmap(*result
);
8277 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8285 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8288 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8289 return SWIG_Py_Void();
8292 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8293 return SWIG_Python_InitShadowInstance(args
);
8296 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
= 0;
8298 wxBitmap
*arg1
= 0 ;
8301 wxWindow
*arg4
= (wxWindow
*) 0 ;
8302 int arg5
= (int) -1 ;
8303 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8304 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8305 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8306 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8307 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8308 wxSplashScreen
*result
= 0 ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8325 PyObject
* obj2
= 0 ;
8326 PyObject
* obj3
= 0 ;
8327 PyObject
* obj4
= 0 ;
8328 PyObject
* obj5
= 0 ;
8329 PyObject
* obj6
= 0 ;
8330 PyObject
* obj7
= 0 ;
8331 char * kwnames
[] = {
8332 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8336 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8337 if (!SWIG_IsOK(res1
)) {
8338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8343 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8344 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8345 if (!SWIG_IsOK(ecode2
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8348 arg2
= static_cast< long >(val2
);
8349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8350 if (!SWIG_IsOK(ecode3
)) {
8351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8353 arg3
= static_cast< int >(val3
);
8354 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8355 if (!SWIG_IsOK(res4
)) {
8356 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8358 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8360 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8361 if (!SWIG_IsOK(ecode5
)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8364 arg5
= static_cast< int >(val5
);
8369 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8375 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8379 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8380 if (!SWIG_IsOK(ecode8
)) {
8381 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8383 arg8
= static_cast< long >(val8
);
8386 if (!wxPyCheckForApp()) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8399 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8400 PyObject
*resultobj
= 0;
8401 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8405 PyObject
*swig_obj
[1] ;
8407 if (!args
) SWIG_fail
;
8409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8410 if (!SWIG_IsOK(res1
)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8413 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= SWIG_From_long(static_cast< long >(result
));
8427 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8428 PyObject
*resultobj
= 0;
8429 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8430 wxSplashScreenWindow
*result
= 0 ;
8433 PyObject
*swig_obj
[1] ;
8435 if (!args
) SWIG_fail
;
8437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8438 if (!SWIG_IsOK(res1
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8441 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8455 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8456 PyObject
*resultobj
= 0;
8457 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8461 PyObject
*swig_obj
[1] ;
8463 if (!args
) SWIG_fail
;
8465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8466 if (!SWIG_IsOK(res1
)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8469 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= SWIG_From_int(static_cast< int >(result
));
8483 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8486 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8487 return SWIG_Py_Void();
8490 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8491 return SWIG_Python_InitShadowInstance(args
);
8494 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
= 0;
8496 wxWindow
*arg1
= (wxWindow
*) 0 ;
8497 int arg2
= (int) -1 ;
8498 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8499 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8500 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8501 wxStatusBar
*result
= 0 ;
8508 bool temp4
= false ;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8511 PyObject
* obj2
= 0 ;
8512 PyObject
* obj3
= 0 ;
8513 char * kwnames
[] = {
8514 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8519 if (!SWIG_IsOK(res1
)) {
8520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8522 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8525 if (!SWIG_IsOK(ecode2
)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8528 arg2
= static_cast< int >(val2
);
8531 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8532 if (!SWIG_IsOK(ecode3
)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8535 arg3
= static_cast< long >(val3
);
8539 arg4
= wxString_in_helper(obj3
);
8540 if (arg4
== NULL
) SWIG_fail
;
8545 if (!wxPyCheckForApp()) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8566 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8567 PyObject
*resultobj
= 0;
8568 wxStatusBar
*result
= 0 ;
8570 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8572 if (!wxPyCheckForApp()) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= (wxStatusBar
*)new wxStatusBar();
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8585 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
*resultobj
= 0;
8587 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8588 wxWindow
*arg2
= (wxWindow
*) 0 ;
8589 int arg3
= (int) -1 ;
8590 long arg4
= (long) wxST_SIZEGRIP
;
8591 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8592 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8602 bool temp5
= false ;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8605 PyObject
* obj2
= 0 ;
8606 PyObject
* obj3
= 0 ;
8607 PyObject
* obj4
= 0 ;
8608 char * kwnames
[] = {
8609 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8614 if (!SWIG_IsOK(res1
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8617 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8619 if (!SWIG_IsOK(res2
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8622 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8625 if (!SWIG_IsOK(ecode3
)) {
8626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8628 arg3
= static_cast< int >(val3
);
8631 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8632 if (!SWIG_IsOK(ecode4
)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8635 arg4
= static_cast< long >(val4
);
8639 arg5
= wxString_in_helper(obj4
);
8640 if (arg5
== NULL
) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8667 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
= 0;
8669 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8670 int arg2
= (int) 1 ;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8677 char * kwnames
[] = {
8678 (char *) "self",(char *) "number", NULL
8681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8683 if (!SWIG_IsOK(res1
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8686 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8689 if (!SWIG_IsOK(ecode2
)) {
8690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8692 arg2
= static_cast< int >(val2
);
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->SetFieldsCount(arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_Py_Void();
8707 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8708 PyObject
*resultobj
= 0;
8709 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8713 PyObject
*swig_obj
[1] ;
8715 if (!args
) SWIG_fail
;
8717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8718 if (!SWIG_IsOK(res1
)) {
8719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8721 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= SWIG_From_int(static_cast< int >(result
));
8735 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
= 0;
8737 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8738 wxString
*arg2
= 0 ;
8739 int arg3
= (int) 0 ;
8742 bool temp2
= false ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8748 char * kwnames
[] = {
8749 (char *) "self",(char *) "text",(char *) "number", NULL
8752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8754 if (!SWIG_IsOK(res1
)) {
8755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8757 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8759 arg2
= wxString_in_helper(obj1
);
8760 if (arg2
== NULL
) SWIG_fail
;
8764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8765 if (!SWIG_IsOK(ecode3
)) {
8766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8768 arg3
= static_cast< int >(val3
);
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 resultobj
= SWIG_Py_Void();
8791 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
= 0;
8793 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8794 int arg2
= (int) 0 ;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8802 char * kwnames
[] = {
8803 (char *) "self",(char *) "number", NULL
8806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8808 if (!SWIG_IsOK(res1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8811 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8814 if (!SWIG_IsOK(ecode2
)) {
8815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8817 arg2
= static_cast< int >(val2
);
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8838 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
= 0;
8840 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8841 wxString
*arg2
= 0 ;
8842 int arg3
= (int) 0 ;
8845 bool temp2
= false ;
8848 PyObject
* obj0
= 0 ;
8849 PyObject
* obj1
= 0 ;
8850 PyObject
* obj2
= 0 ;
8851 char * kwnames
[] = {
8852 (char *) "self",(char *) "text",(char *) "number", NULL
8855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8857 if (!SWIG_IsOK(res1
)) {
8858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8860 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8862 arg2
= wxString_in_helper(obj1
);
8863 if (arg2
== NULL
) SWIG_fail
;
8867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8868 if (!SWIG_IsOK(ecode3
)) {
8869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8871 arg3
= static_cast< int >(val3
);
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_Py_Void();
8894 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
= 0;
8896 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8897 int arg2
= (int) 0 ;
8902 PyObject
* obj0
= 0 ;
8903 PyObject
* obj1
= 0 ;
8904 char * kwnames
[] = {
8905 (char *) "self",(char *) "number", NULL
8908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8910 if (!SWIG_IsOK(res1
)) {
8911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8913 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8916 if (!SWIG_IsOK(ecode2
)) {
8917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8919 arg2
= static_cast< int >(val2
);
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 (arg1
)->PopStatusText(arg2
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_Py_Void();
8934 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
= 0;
8936 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8938 int *arg3
= (int *) 0 ;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj1
= 0 ;
8943 char * kwnames
[] = {
8944 (char *) "self",(char *) "widths", NULL
8947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8949 if (!SWIG_IsOK(res1
)) {
8950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8952 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8954 arg2
= PyList_Size(obj1
);
8955 arg3
= int_LIST_helper(obj1
);
8956 if (arg3
== NULL
) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= SWIG_Py_Void();
8966 if (arg3
) delete [] arg3
;
8971 if (arg3
) delete [] arg3
;
8977 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
= 0;
8979 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8981 int *arg3
= (int *) 0 ;
8984 PyObject
* obj0
= 0 ;
8985 PyObject
* obj1
= 0 ;
8986 char * kwnames
[] = {
8987 (char *) "self",(char *) "styles", NULL
8990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8992 if (!SWIG_IsOK(res1
)) {
8993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8995 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8997 arg2
= PyList_Size(obj1
);
8998 arg3
= int_LIST_helper(obj1
);
8999 if (arg3
== NULL
) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= SWIG_Py_Void();
9009 if (arg3
) delete [] arg3
;
9014 if (arg3
) delete [] arg3
;
9020 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
= 0;
9022 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9029 PyObject
* obj0
= 0 ;
9030 PyObject
* obj1
= 0 ;
9031 char * kwnames
[] = {
9032 (char *) "self",(char *) "i", NULL
9035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9037 if (!SWIG_IsOK(res1
)) {
9038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9040 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9042 if (!SWIG_IsOK(ecode2
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9045 arg2
= static_cast< int >(val2
);
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9059 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
= 0;
9061 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9067 PyObject
* obj0
= 0 ;
9068 PyObject
* obj1
= 0 ;
9069 char * kwnames
[] = {
9070 (char *) "self",(char *) "height", NULL
9073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9075 if (!SWIG_IsOK(res1
)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9078 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9080 if (!SWIG_IsOK(ecode2
)) {
9081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9083 arg2
= static_cast< int >(val2
);
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 (arg1
)->SetMinHeight(arg2
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= SWIG_Py_Void();
9097 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9098 PyObject
*resultobj
= 0;
9099 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9103 PyObject
*swig_obj
[1] ;
9105 if (!args
) SWIG_fail
;
9107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9108 if (!SWIG_IsOK(res1
)) {
9109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9111 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= SWIG_From_int(static_cast< int >(result
));
9125 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9126 PyObject
*resultobj
= 0;
9127 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9131 PyObject
*swig_obj
[1] ;
9133 if (!args
) SWIG_fail
;
9135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9136 if (!SWIG_IsOK(res1
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9139 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= SWIG_From_int(static_cast< int >(result
));
9153 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
= 0;
9155 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9156 SwigValueWrapper
<wxVisualAttributes
> result
;
9159 PyObject
* obj0
= 0 ;
9160 char * kwnames
[] = {
9161 (char *) "variant", NULL
9164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9166 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9167 if (!SWIG_IsOK(ecode1
)) {
9168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9170 arg1
= static_cast< wxWindowVariant
>(val1
);
9173 if (!wxPyCheckForApp()) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9186 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9189 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9190 return SWIG_Py_Void();
9193 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9194 return SWIG_Python_InitShadowInstance(args
);
9197 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9198 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9203 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9204 PyObject
*pyobj
= 0;
9208 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9210 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9217 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
= 0;
9219 wxWindow
*arg1
= (wxWindow
*) 0 ;
9220 int arg2
= (int) -1 ;
9221 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9222 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9223 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9224 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9225 long arg5
= (long) wxSP_3D
;
9226 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9227 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9228 wxSplitterWindow
*result
= 0 ;
9237 bool temp6
= false ;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9240 PyObject
* obj2
= 0 ;
9241 PyObject
* obj3
= 0 ;
9242 PyObject
* obj4
= 0 ;
9243 PyObject
* obj5
= 0 ;
9244 char * kwnames
[] = {
9245 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9250 if (!SWIG_IsOK(res1
)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9253 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9256 if (!SWIG_IsOK(ecode2
)) {
9257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9259 arg2
= static_cast< int >(val2
);
9264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9270 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9274 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9275 if (!SWIG_IsOK(ecode5
)) {
9276 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9278 arg5
= static_cast< long >(val5
);
9282 arg6
= wxString_in_helper(obj5
);
9283 if (arg6
== NULL
) SWIG_fail
;
9288 if (!wxPyCheckForApp()) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9309 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9310 PyObject
*resultobj
= 0;
9311 wxSplitterWindow
*result
= 0 ;
9313 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9315 if (!wxPyCheckForApp()) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9328 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
= 0;
9330 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9331 wxWindow
*arg2
= (wxWindow
*) 0 ;
9332 int arg3
= (int) -1 ;
9333 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9334 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9335 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9336 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9337 long arg6
= (long) wxSP_3D
;
9338 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9339 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9351 bool temp7
= false ;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9354 PyObject
* obj2
= 0 ;
9355 PyObject
* obj3
= 0 ;
9356 PyObject
* obj4
= 0 ;
9357 PyObject
* obj5
= 0 ;
9358 PyObject
* obj6
= 0 ;
9359 char * kwnames
[] = {
9360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9365 if (!SWIG_IsOK(res1
)) {
9366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9368 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9370 if (!SWIG_IsOK(res2
)) {
9371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9373 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9376 if (!SWIG_IsOK(ecode3
)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9379 arg3
= static_cast< int >(val3
);
9384 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9390 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9394 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9395 if (!SWIG_IsOK(ecode6
)) {
9396 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9398 arg6
= static_cast< long >(val6
);
9402 arg7
= wxString_in_helper(obj6
);
9403 if (arg7
== NULL
) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9430 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9431 PyObject
*resultobj
= 0;
9432 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9433 wxWindow
*result
= 0 ;
9436 PyObject
*swig_obj
[1] ;
9438 if (!args
) SWIG_fail
;
9440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9441 if (!SWIG_IsOK(res1
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9444 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= wxPyMake_wxObject(result
, 0);
9460 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9461 PyObject
*resultobj
= 0;
9462 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9463 wxWindow
*result
= 0 ;
9466 PyObject
*swig_obj
[1] ;
9468 if (!args
) SWIG_fail
;
9470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9471 if (!SWIG_IsOK(res1
)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9474 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= wxPyMake_wxObject(result
, 0);
9490 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
= 0;
9492 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 char * kwnames
[] = {
9501 (char *) "self",(char *) "mode", NULL
9504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9506 if (!SWIG_IsOK(res1
)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9509 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9511 if (!SWIG_IsOK(ecode2
)) {
9512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9514 arg2
= static_cast< int >(val2
);
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 (arg1
)->SetSplitMode(arg2
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= SWIG_Py_Void();
9528 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9529 PyObject
*resultobj
= 0;
9530 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9534 PyObject
*swig_obj
[1] ;
9536 if (!args
) SWIG_fail
;
9538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9539 if (!SWIG_IsOK(res1
)) {
9540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9542 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= SWIG_From_int(static_cast< int >(result
));
9556 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
= 0;
9558 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9559 wxWindow
*arg2
= (wxWindow
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9565 PyObject
* obj1
= 0 ;
9566 char * kwnames
[] = {
9567 (char *) "self",(char *) "window", NULL
9570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9572 if (!SWIG_IsOK(res1
)) {
9573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9575 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9577 if (!SWIG_IsOK(res2
)) {
9578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 (arg1
)->Initialize(arg2
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= SWIG_Py_Void();
9594 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
= 0;
9596 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9597 wxWindow
*arg2
= (wxWindow
*) 0 ;
9598 wxWindow
*arg3
= (wxWindow
*) 0 ;
9599 int arg4
= (int) 0 ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 PyObject
* obj2
= 0 ;
9612 PyObject
* obj3
= 0 ;
9613 char * kwnames
[] = {
9614 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9619 if (!SWIG_IsOK(res1
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9622 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9624 if (!SWIG_IsOK(res2
)) {
9625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9628 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9629 if (!SWIG_IsOK(res3
)) {
9630 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9632 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9634 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9635 if (!SWIG_IsOK(ecode4
)) {
9636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9638 arg4
= static_cast< int >(val4
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9655 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
= 0;
9657 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9658 wxWindow
*arg2
= (wxWindow
*) 0 ;
9659 wxWindow
*arg3
= (wxWindow
*) 0 ;
9660 int arg4
= (int) 0 ;
9670 PyObject
* obj0
= 0 ;
9671 PyObject
* obj1
= 0 ;
9672 PyObject
* obj2
= 0 ;
9673 PyObject
* obj3
= 0 ;
9674 char * kwnames
[] = {
9675 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9680 if (!SWIG_IsOK(res1
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9683 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9685 if (!SWIG_IsOK(res2
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9689 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9690 if (!SWIG_IsOK(res3
)) {
9691 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9693 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9696 if (!SWIG_IsOK(ecode4
)) {
9697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9699 arg4
= static_cast< int >(val4
);
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9716 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
= 0;
9718 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9719 wxWindow
*arg2
= (wxWindow
*) NULL
;
9725 PyObject
* obj0
= 0 ;
9726 PyObject
* obj1
= 0 ;
9727 char * kwnames
[] = {
9728 (char *) "self",(char *) "toRemove", NULL
9731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9733 if (!SWIG_IsOK(res1
)) {
9734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9736 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9739 if (!SWIG_IsOK(res2
)) {
9740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9742 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (bool)(arg1
)->Unsplit(arg2
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9759 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
= 0;
9761 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9762 wxWindow
*arg2
= (wxWindow
*) 0 ;
9763 wxWindow
*arg3
= (wxWindow
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 PyObject
* obj2
= 0 ;
9774 char * kwnames
[] = {
9775 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9780 if (!SWIG_IsOK(res1
)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9783 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9784 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9785 if (!SWIG_IsOK(res2
)) {
9786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9788 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9789 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9790 if (!SWIG_IsOK(res3
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9793 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9809 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9810 PyObject
*resultobj
= 0;
9811 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9814 PyObject
*swig_obj
[1] ;
9816 if (!args
) SWIG_fail
;
9818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9819 if (!SWIG_IsOK(res1
)) {
9820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9822 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 (arg1
)->UpdateSize();
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_Py_Void();
9836 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9837 PyObject
*resultobj
= 0;
9838 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9842 PyObject
*swig_obj
[1] ;
9844 if (!args
) SWIG_fail
;
9846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9847 if (!SWIG_IsOK(res1
)) {
9848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9850 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9866 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
= 0;
9868 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9874 PyObject
* obj0
= 0 ;
9875 PyObject
* obj1
= 0 ;
9876 char * kwnames
[] = {
9877 (char *) "self",(char *) "width", NULL
9880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9882 if (!SWIG_IsOK(res1
)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9885 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9887 if (!SWIG_IsOK(ecode2
)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9890 arg2
= static_cast< int >(val2
);
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 (arg1
)->SetSashSize(arg2
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= SWIG_Py_Void();
9904 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
= 0;
9906 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9913 PyObject
* obj1
= 0 ;
9914 char * kwnames
[] = {
9915 (char *) "self",(char *) "width", NULL
9918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9920 if (!SWIG_IsOK(res1
)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9923 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9925 if (!SWIG_IsOK(ecode2
)) {
9926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9928 arg2
= static_cast< int >(val2
);
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 (arg1
)->SetBorderSize(arg2
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_Py_Void();
9942 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9943 PyObject
*resultobj
= 0;
9944 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9948 PyObject
*swig_obj
[1] ;
9950 if (!args
) SWIG_fail
;
9952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9953 if (!SWIG_IsOK(res1
)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9956 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_From_int(static_cast< int >(result
));
9970 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9971 PyObject
*resultobj
= 0;
9972 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9976 PyObject
*swig_obj
[1] ;
9978 if (!args
) SWIG_fail
;
9980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9981 if (!SWIG_IsOK(res1
)) {
9982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9984 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= SWIG_From_int(static_cast< int >(result
));
9998 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
= 0;
10000 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10002 bool arg3
= (bool) true ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 char * kwnames
[] = {
10013 (char *) "self",(char *) "position",(char *) "redraw", NULL
10016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10018 if (!SWIG_IsOK(res1
)) {
10019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10021 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10023 if (!SWIG_IsOK(ecode2
)) {
10024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10026 arg2
= static_cast< int >(val2
);
10028 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10029 if (!SWIG_IsOK(ecode3
)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10032 arg3
= static_cast< bool >(val3
);
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 (arg1
)->SetSashPosition(arg2
,arg3
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= SWIG_Py_Void();
10047 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10048 PyObject
*resultobj
= 0;
10049 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10053 PyObject
*swig_obj
[1] ;
10055 if (!args
) SWIG_fail
;
10056 swig_obj
[0] = args
;
10057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10058 if (!SWIG_IsOK(res1
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10061 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= SWIG_From_int(static_cast< int >(result
));
10075 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
= 0;
10077 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char * kwnames
[] = {
10086 (char *) "self",(char *) "gravity", NULL
10089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10091 if (!SWIG_IsOK(res1
)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10094 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10095 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10096 if (!SWIG_IsOK(ecode2
)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10099 arg2
= static_cast< double >(val2
);
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 (arg1
)->SetSashGravity(arg2
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_Py_Void();
10113 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10114 PyObject
*resultobj
= 0;
10115 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10119 PyObject
*swig_obj
[1] ;
10121 if (!args
) SWIG_fail
;
10122 swig_obj
[0] = args
;
10123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10124 if (!SWIG_IsOK(res1
)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10127 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_From_double(static_cast< double >(result
));
10141 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
= 0;
10143 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10149 PyObject
* obj0
= 0 ;
10150 PyObject
* obj1
= 0 ;
10151 char * kwnames
[] = {
10152 (char *) "self",(char *) "min", NULL
10155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10157 if (!SWIG_IsOK(res1
)) {
10158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10160 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10162 if (!SWIG_IsOK(ecode2
)) {
10163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10165 arg2
= static_cast< int >(val2
);
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 (arg1
)->SetMinimumPaneSize(arg2
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_Py_Void();
10179 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10180 PyObject
*resultobj
= 0;
10181 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10185 PyObject
*swig_obj
[1] ;
10187 if (!args
) SWIG_fail
;
10188 swig_obj
[0] = args
;
10189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10190 if (!SWIG_IsOK(res1
)) {
10191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10193 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= SWIG_From_int(static_cast< int >(result
));
10207 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
= 0;
10209 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10212 int arg4
= (int) 5 ;
10222 PyObject
* obj0
= 0 ;
10223 PyObject
* obj1
= 0 ;
10224 PyObject
* obj2
= 0 ;
10225 PyObject
* obj3
= 0 ;
10226 char * kwnames
[] = {
10227 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10232 if (!SWIG_IsOK(res1
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10235 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10237 if (!SWIG_IsOK(ecode2
)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10240 arg2
= static_cast< int >(val2
);
10241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10242 if (!SWIG_IsOK(ecode3
)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10245 arg3
= static_cast< int >(val3
);
10247 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10248 if (!SWIG_IsOK(ecode4
)) {
10249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10251 arg4
= static_cast< int >(val4
);
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10268 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10269 PyObject
*resultobj
= 0;
10270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10273 PyObject
*swig_obj
[1] ;
10275 if (!args
) SWIG_fail
;
10276 swig_obj
[0] = args
;
10277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10278 if (!SWIG_IsOK(res1
)) {
10279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10281 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->SizeWindows();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_Py_Void();
10295 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
= 0;
10297 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10303 PyObject
* obj0
= 0 ;
10304 PyObject
* obj1
= 0 ;
10305 char * kwnames
[] = {
10306 (char *) "self",(char *) "needUpdating", NULL
10309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10311 if (!SWIG_IsOK(res1
)) {
10312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10314 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10315 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10316 if (!SWIG_IsOK(ecode2
)) {
10317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10319 arg2
= static_cast< bool >(val2
);
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 (arg1
)->SetNeedUpdating(arg2
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_Py_Void();
10333 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10334 PyObject
*resultobj
= 0;
10335 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10339 PyObject
*swig_obj
[1] ;
10341 if (!args
) SWIG_fail
;
10342 swig_obj
[0] = args
;
10343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10344 if (!SWIG_IsOK(res1
)) {
10345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10347 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10363 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
= 0;
10365 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10366 SwigValueWrapper
<wxVisualAttributes
> result
;
10369 PyObject
* obj0
= 0 ;
10370 char * kwnames
[] = {
10371 (char *) "variant", NULL
10374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10376 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10377 if (!SWIG_IsOK(ecode1
)) {
10378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10380 arg1
= static_cast< wxWindowVariant
>(val1
);
10383 if (!wxPyCheckForApp()) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10396 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10399 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10400 return SWIG_Py_Void();
10403 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10404 return SWIG_Python_InitShadowInstance(args
);
10407 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
= 0;
10409 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10410 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10411 wxSplitterEvent
*result
= 0 ;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 char * kwnames
[] = {
10419 (char *) "type",(char *) "splitter", NULL
10422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10425 if (!SWIG_IsOK(ecode1
)) {
10426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10428 arg1
= static_cast< wxEventType
>(val1
);
10431 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10432 if (!SWIG_IsOK(res2
)) {
10433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10435 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10450 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
= 0;
10452 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 char * kwnames
[] = {
10461 (char *) "self",(char *) "pos", NULL
10464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10466 if (!SWIG_IsOK(res1
)) {
10467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10469 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10471 if (!SWIG_IsOK(ecode2
)) {
10472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10474 arg2
= static_cast< int >(val2
);
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 (arg1
)->SetSashPosition(arg2
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_Py_Void();
10488 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10489 PyObject
*resultobj
= 0;
10490 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10494 PyObject
*swig_obj
[1] ;
10496 if (!args
) SWIG_fail
;
10497 swig_obj
[0] = args
;
10498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10499 if (!SWIG_IsOK(res1
)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10502 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_From_int(static_cast< int >(result
));
10516 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10517 PyObject
*resultobj
= 0;
10518 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10519 wxWindow
*result
= 0 ;
10522 PyObject
*swig_obj
[1] ;
10524 if (!args
) SWIG_fail
;
10525 swig_obj
[0] = args
;
10526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10530 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= wxPyMake_wxObject(result
, 0);
10546 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10547 PyObject
*resultobj
= 0;
10548 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10552 PyObject
*swig_obj
[1] ;
10554 if (!args
) SWIG_fail
;
10555 swig_obj
[0] = args
;
10556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10557 if (!SWIG_IsOK(res1
)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10560 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_From_int(static_cast< int >(result
));
10574 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10575 PyObject
*resultobj
= 0;
10576 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10580 PyObject
*swig_obj
[1] ;
10582 if (!args
) SWIG_fail
;
10583 swig_obj
[0] = args
;
10584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10585 if (!SWIG_IsOK(res1
)) {
10586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10588 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= SWIG_From_int(static_cast< int >(result
));
10602 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10605 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10606 return SWIG_Py_Void();
10609 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10610 return SWIG_Python_InitShadowInstance(args
);
10613 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10614 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10619 SWIGINTERN PyObject
*SashNameStr_get(void) {
10620 PyObject
*pyobj
= 0;
10624 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10626 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10633 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10634 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10639 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10640 PyObject
*pyobj
= 0;
10644 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10646 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10653 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
= 0;
10655 wxWindow
*arg1
= (wxWindow
*) 0 ;
10656 int arg2
= (int) -1 ;
10657 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10658 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10659 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10660 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10661 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10662 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10663 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10664 wxSashWindow
*result
= 0 ;
10673 bool temp6
= false ;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 PyObject
* obj2
= 0 ;
10677 PyObject
* obj3
= 0 ;
10678 PyObject
* obj4
= 0 ;
10679 PyObject
* obj5
= 0 ;
10680 char * kwnames
[] = {
10681 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10686 if (!SWIG_IsOK(res1
)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10689 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10692 if (!SWIG_IsOK(ecode2
)) {
10693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10695 arg2
= static_cast< int >(val2
);
10700 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10706 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10710 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10711 if (!SWIG_IsOK(ecode5
)) {
10712 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10714 arg5
= static_cast< long >(val5
);
10718 arg6
= wxString_in_helper(obj5
);
10719 if (arg6
== NULL
) SWIG_fail
;
10724 if (!wxPyCheckForApp()) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10745 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10746 PyObject
*resultobj
= 0;
10747 wxSashWindow
*result
= 0 ;
10749 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10751 if (!wxPyCheckForApp()) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (wxSashWindow
*)new wxSashWindow();
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10764 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
= 0;
10766 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10767 wxWindow
*arg2
= (wxWindow
*) 0 ;
10768 int arg3
= (int) -1 ;
10769 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10770 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10771 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10772 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10773 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10774 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10775 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10787 bool temp7
= false ;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 PyObject
* obj2
= 0 ;
10791 PyObject
* obj3
= 0 ;
10792 PyObject
* obj4
= 0 ;
10793 PyObject
* obj5
= 0 ;
10794 PyObject
* obj6
= 0 ;
10795 char * kwnames
[] = {
10796 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10801 if (!SWIG_IsOK(res1
)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10804 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10806 if (!SWIG_IsOK(res2
)) {
10807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10809 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10812 if (!SWIG_IsOK(ecode3
)) {
10813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10815 arg3
= static_cast< int >(val3
);
10820 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10826 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10830 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10831 if (!SWIG_IsOK(ecode6
)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10834 arg6
= static_cast< long >(val6
);
10838 arg7
= wxString_in_helper(obj6
);
10839 if (arg7
== NULL
) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10866 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
= 0;
10868 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10869 wxSashEdgePosition arg2
;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 PyObject
* obj2
= 0 ;
10880 char * kwnames
[] = {
10881 (char *) "self",(char *) "edge",(char *) "sash", NULL
10884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10886 if (!SWIG_IsOK(res1
)) {
10887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10889 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10891 if (!SWIG_IsOK(ecode2
)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10894 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10895 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10896 if (!SWIG_IsOK(ecode3
)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10899 arg3
= static_cast< bool >(val3
);
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 (arg1
)->SetSashVisible(arg2
,arg3
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 resultobj
= SWIG_Py_Void();
10913 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
= 0;
10915 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10916 wxSashEdgePosition arg2
;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 char * kwnames
[] = {
10925 (char *) "self",(char *) "edge", NULL
10928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10930 if (!SWIG_IsOK(res1
)) {
10931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10933 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10935 if (!SWIG_IsOK(ecode2
)) {
10936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10938 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10954 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
= 0;
10956 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10957 wxSashEdgePosition arg2
;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 PyObject
* obj2
= 0 ;
10968 char * kwnames
[] = {
10969 (char *) "self",(char *) "edge",(char *) "border", NULL
10972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10977 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10979 if (!SWIG_IsOK(ecode2
)) {
10980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10982 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10983 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10984 if (!SWIG_IsOK(ecode3
)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10987 arg3
= static_cast< bool >(val3
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 (arg1
)->SetSashBorder(arg2
,arg3
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 resultobj
= SWIG_Py_Void();
11001 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
= 0;
11003 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11004 wxSashEdgePosition arg2
;
11010 PyObject
* obj0
= 0 ;
11011 PyObject
* obj1
= 0 ;
11012 char * kwnames
[] = {
11013 (char *) "self",(char *) "edge", NULL
11016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11018 if (!SWIG_IsOK(res1
)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11021 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11023 if (!SWIG_IsOK(ecode2
)) {
11024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11026 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11042 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
= 0;
11044 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11045 wxSashEdgePosition arg2
;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char * kwnames
[] = {
11054 (char *) "self",(char *) "edge", NULL
11057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11059 if (!SWIG_IsOK(res1
)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11062 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11064 if (!SWIG_IsOK(ecode2
)) {
11065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11067 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= SWIG_From_int(static_cast< int >(result
));
11081 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
= 0;
11083 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 char * kwnames
[] = {
11092 (char *) "self",(char *) "width", NULL
11095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11100 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11102 if (!SWIG_IsOK(ecode2
)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11105 arg2
= static_cast< int >(val2
);
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 (arg1
)->SetDefaultBorderSize(arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= SWIG_Py_Void();
11119 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11120 PyObject
*resultobj
= 0;
11121 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11125 PyObject
*swig_obj
[1] ;
11127 if (!args
) SWIG_fail
;
11128 swig_obj
[0] = args
;
11129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11130 if (!SWIG_IsOK(res1
)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11133 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_From_int(static_cast< int >(result
));
11147 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
= 0;
11149 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "width", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11166 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11168 if (!SWIG_IsOK(ecode2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11171 arg2
= static_cast< int >(val2
);
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 (arg1
)->SetExtraBorderSize(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= SWIG_Py_Void();
11185 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11186 PyObject
*resultobj
= 0;
11187 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11191 PyObject
*swig_obj
[1] ;
11193 if (!args
) SWIG_fail
;
11194 swig_obj
[0] = args
;
11195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11196 if (!SWIG_IsOK(res1
)) {
11197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11199 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= SWIG_From_int(static_cast< int >(result
));
11213 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
= 0;
11215 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 char * kwnames
[] = {
11224 (char *) "self",(char *) "min", NULL
11227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11229 if (!SWIG_IsOK(res1
)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11232 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11234 if (!SWIG_IsOK(ecode2
)) {
11235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11237 arg2
= static_cast< int >(val2
);
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 (arg1
)->SetMinimumSizeX(arg2
);
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= SWIG_Py_Void();
11251 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
= 0;
11253 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char * kwnames
[] = {
11262 (char *) "self",(char *) "min", NULL
11265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11267 if (!SWIG_IsOK(res1
)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11270 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11272 if (!SWIG_IsOK(ecode2
)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11275 arg2
= static_cast< int >(val2
);
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 (arg1
)->SetMinimumSizeY(arg2
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= SWIG_Py_Void();
11289 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11290 PyObject
*resultobj
= 0;
11291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11295 PyObject
*swig_obj
[1] ;
11297 if (!args
) SWIG_fail
;
11298 swig_obj
[0] = args
;
11299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11300 if (!SWIG_IsOK(res1
)) {
11301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11303 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= SWIG_From_int(static_cast< int >(result
));
11317 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11318 PyObject
*resultobj
= 0;
11319 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11323 PyObject
*swig_obj
[1] ;
11325 if (!args
) SWIG_fail
;
11326 swig_obj
[0] = args
;
11327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11328 if (!SWIG_IsOK(res1
)) {
11329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11331 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11338 resultobj
= SWIG_From_int(static_cast< int >(result
));
11345 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
= 0;
11347 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 char * kwnames
[] = {
11356 (char *) "self",(char *) "max", NULL
11359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11361 if (!SWIG_IsOK(res1
)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11364 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11366 if (!SWIG_IsOK(ecode2
)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11369 arg2
= static_cast< int >(val2
);
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 (arg1
)->SetMaximumSizeX(arg2
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= SWIG_Py_Void();
11383 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
= 0;
11385 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 PyObject
* obj1
= 0 ;
11393 char * kwnames
[] = {
11394 (char *) "self",(char *) "max", NULL
11397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11399 if (!SWIG_IsOK(res1
)) {
11400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11402 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11404 if (!SWIG_IsOK(ecode2
)) {
11405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11407 arg2
= static_cast< int >(val2
);
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 (arg1
)->SetMaximumSizeY(arg2
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= SWIG_Py_Void();
11421 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11422 PyObject
*resultobj
= 0;
11423 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11427 PyObject
*swig_obj
[1] ;
11429 if (!args
) SWIG_fail
;
11430 swig_obj
[0] = args
;
11431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11432 if (!SWIG_IsOK(res1
)) {
11433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11435 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 resultobj
= SWIG_From_int(static_cast< int >(result
));
11449 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11450 PyObject
*resultobj
= 0;
11451 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11455 PyObject
*swig_obj
[1] ;
11457 if (!args
) SWIG_fail
;
11458 swig_obj
[0] = args
;
11459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11460 if (!SWIG_IsOK(res1
)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11463 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= SWIG_From_int(static_cast< int >(result
));
11477 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
= 0;
11479 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11482 int arg4
= (int) 2 ;
11483 wxSashEdgePosition result
;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 PyObject
* obj2
= 0 ;
11495 PyObject
* obj3
= 0 ;
11496 char * kwnames
[] = {
11497 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11502 if (!SWIG_IsOK(res1
)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11505 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11507 if (!SWIG_IsOK(ecode2
)) {
11508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11510 arg2
= static_cast< int >(val2
);
11511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11512 if (!SWIG_IsOK(ecode3
)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11515 arg3
= static_cast< int >(val3
);
11517 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11518 if (!SWIG_IsOK(ecode4
)) {
11519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11521 arg4
= static_cast< int >(val4
);
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11529 resultobj
= SWIG_From_int(static_cast< int >(result
));
11536 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11537 PyObject
*resultobj
= 0;
11538 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11541 PyObject
*swig_obj
[1] ;
11543 if (!args
) SWIG_fail
;
11544 swig_obj
[0] = args
;
11545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11546 if (!SWIG_IsOK(res1
)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11549 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 (arg1
)->SizeWindows();
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_Py_Void();
11563 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11566 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11567 return SWIG_Py_Void();
11570 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11571 return SWIG_Python_InitShadowInstance(args
);
11574 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
= 0;
11576 int arg1
= (int) 0 ;
11577 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11578 wxSashEvent
*result
= 0 ;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 char * kwnames
[] = {
11586 (char *) "id",(char *) "edge", NULL
11589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11591 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11592 if (!SWIG_IsOK(ecode1
)) {
11593 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11595 arg1
= static_cast< int >(val1
);
11598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11599 if (!SWIG_IsOK(ecode2
)) {
11600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11602 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11617 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
= 0;
11619 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11620 wxSashEdgePosition arg2
;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char * kwnames
[] = {
11628 (char *) "self",(char *) "edge", NULL
11631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",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_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11636 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11638 if (!SWIG_IsOK(ecode2
)) {
11639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11641 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 (arg1
)->SetEdge(arg2
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= SWIG_Py_Void();
11655 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 PyObject
*resultobj
= 0;
11657 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11658 wxSashEdgePosition result
;
11661 PyObject
*swig_obj
[1] ;
11663 if (!args
) SWIG_fail
;
11664 swig_obj
[0] = args
;
11665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11666 if (!SWIG_IsOK(res1
)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11669 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_From_int(static_cast< int >(result
));
11683 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
= 0;
11685 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char * kwnames
[] = {
11693 (char *) "self",(char *) "rect", NULL
11696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",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_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11701 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11704 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= SWIG_Py_Void();
11719 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11720 PyObject
*resultobj
= 0;
11721 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11725 PyObject
*swig_obj
[1] ;
11727 if (!args
) SWIG_fail
;
11728 swig_obj
[0] = args
;
11729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11730 if (!SWIG_IsOK(res1
)) {
11731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11733 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11747 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
= 0;
11749 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11750 wxSashDragStatus arg2
;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 char * kwnames
[] = {
11758 (char *) "self",(char *) "status", NULL
11761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11763 if (!SWIG_IsOK(res1
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11766 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11768 if (!SWIG_IsOK(ecode2
)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11771 arg2
= static_cast< wxSashDragStatus
>(val2
);
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 (arg1
)->SetDragStatus(arg2
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_Py_Void();
11785 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11786 PyObject
*resultobj
= 0;
11787 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11788 wxSashDragStatus result
;
11791 PyObject
*swig_obj
[1] ;
11793 if (!args
) SWIG_fail
;
11794 swig_obj
[0] = args
;
11795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11799 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_From_int(static_cast< int >(result
));
11813 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11816 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11817 return SWIG_Py_Void();
11820 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 return SWIG_Python_InitShadowInstance(args
);
11824 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
= 0;
11826 int arg1
= (int) 0 ;
11827 wxQueryLayoutInfoEvent
*result
= 0 ;
11830 PyObject
* obj0
= 0 ;
11831 char * kwnames
[] = {
11832 (char *) "id", NULL
11835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11837 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11838 if (!SWIG_IsOK(ecode1
)) {
11839 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11841 arg1
= static_cast< int >(val1
);
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11856 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
= 0;
11858 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11864 PyObject
* obj0
= 0 ;
11865 PyObject
* obj1
= 0 ;
11866 char * kwnames
[] = {
11867 (char *) "self",(char *) "length", NULL
11870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11875 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11877 if (!SWIG_IsOK(ecode2
)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11880 arg2
= static_cast< int >(val2
);
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 (arg1
)->SetRequestedLength(arg2
);
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_Py_Void();
11894 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11895 PyObject
*resultobj
= 0;
11896 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11900 PyObject
*swig_obj
[1] ;
11902 if (!args
) SWIG_fail
;
11903 swig_obj
[0] = args
;
11904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11908 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= SWIG_From_int(static_cast< int >(result
));
11922 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
= 0;
11924 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "self",(char *) "flags", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",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_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11941 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11943 if (!SWIG_IsOK(ecode2
)) {
11944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11946 arg2
= static_cast< int >(val2
);
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 (arg1
)->SetFlags(arg2
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_Py_Void();
11960 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11961 PyObject
*resultobj
= 0;
11962 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11966 PyObject
*swig_obj
[1] ;
11968 if (!args
) SWIG_fail
;
11969 swig_obj
[0] = args
;
11970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11974 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_From_int(static_cast< int >(result
));
11988 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
= 0;
11990 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char * kwnames
[] = {
11998 (char *) "self",(char *) "size", NULL
12001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",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_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12006 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12009 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 (arg1
)->SetSize((wxSize
const &)*arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_Py_Void();
12024 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12025 PyObject
*resultobj
= 0;
12026 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12030 PyObject
*swig_obj
[1] ;
12032 if (!args
) SWIG_fail
;
12033 swig_obj
[0] = args
;
12034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12035 if (!SWIG_IsOK(res1
)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12038 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12052 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
= 0;
12054 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12055 wxLayoutOrientation arg2
;
12060 PyObject
* obj0
= 0 ;
12061 PyObject
* obj1
= 0 ;
12062 char * kwnames
[] = {
12063 (char *) "self",(char *) "orient", NULL
12066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12068 if (!SWIG_IsOK(res1
)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12071 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12073 if (!SWIG_IsOK(ecode2
)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12076 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 (arg1
)->SetOrientation(arg2
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_Py_Void();
12090 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12091 PyObject
*resultobj
= 0;
12092 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12093 wxLayoutOrientation result
;
12096 PyObject
*swig_obj
[1] ;
12098 if (!args
) SWIG_fail
;
12099 swig_obj
[0] = args
;
12100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12104 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_From_int(static_cast< int >(result
));
12118 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
= 0;
12120 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12121 wxLayoutAlignment arg2
;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 char * kwnames
[] = {
12129 (char *) "self",(char *) "align", NULL
12132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12134 if (!SWIG_IsOK(res1
)) {
12135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12137 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12139 if (!SWIG_IsOK(ecode2
)) {
12140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12142 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 (arg1
)->SetAlignment(arg2
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_Py_Void();
12156 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12157 PyObject
*resultobj
= 0;
12158 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12159 wxLayoutAlignment result
;
12162 PyObject
*swig_obj
[1] ;
12164 if (!args
) SWIG_fail
;
12165 swig_obj
[0] = args
;
12166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12167 if (!SWIG_IsOK(res1
)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12170 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= SWIG_From_int(static_cast< int >(result
));
12184 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12187 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12188 return SWIG_Py_Void();
12191 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12192 return SWIG_Python_InitShadowInstance(args
);
12195 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
= 0;
12197 int arg1
= (int) 0 ;
12198 wxCalculateLayoutEvent
*result
= 0 ;
12201 PyObject
* obj0
= 0 ;
12202 char * kwnames
[] = {
12203 (char *) "id", NULL
12206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12208 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12209 if (!SWIG_IsOK(ecode1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12212 arg1
= static_cast< int >(val1
);
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12227 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
= 0;
12229 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 char * kwnames
[] = {
12238 (char *) "self",(char *) "flags", NULL
12241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",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_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12246 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12248 if (!SWIG_IsOK(ecode2
)) {
12249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12251 arg2
= static_cast< int >(val2
);
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 (arg1
)->SetFlags(arg2
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_Py_Void();
12265 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12266 PyObject
*resultobj
= 0;
12267 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12271 PyObject
*swig_obj
[1] ;
12273 if (!args
) SWIG_fail
;
12274 swig_obj
[0] = args
;
12275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12276 if (!SWIG_IsOK(res1
)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12279 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_From_int(static_cast< int >(result
));
12293 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
= 0;
12295 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 char * kwnames
[] = {
12303 (char *) "self",(char *) "rect", NULL
12306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12308 if (!SWIG_IsOK(res1
)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12311 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12314 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 (arg1
)->SetRect((wxRect
const &)*arg2
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_Py_Void();
12329 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12330 PyObject
*resultobj
= 0;
12331 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12335 PyObject
*swig_obj
[1] ;
12337 if (!args
) SWIG_fail
;
12338 swig_obj
[0] = args
;
12339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12340 if (!SWIG_IsOK(res1
)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12343 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12357 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12360 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12361 return SWIG_Py_Void();
12364 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12365 return SWIG_Python_InitShadowInstance(args
);
12368 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
= 0;
12370 wxWindow
*arg1
= (wxWindow
*) 0 ;
12371 int arg2
= (int) -1 ;
12372 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12373 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12374 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12375 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12376 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12377 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12378 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12379 wxSashLayoutWindow
*result
= 0 ;
12388 bool temp6
= false ;
12389 PyObject
* obj0
= 0 ;
12390 PyObject
* obj1
= 0 ;
12391 PyObject
* obj2
= 0 ;
12392 PyObject
* obj3
= 0 ;
12393 PyObject
* obj4
= 0 ;
12394 PyObject
* obj5
= 0 ;
12395 char * kwnames
[] = {
12396 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12401 if (!SWIG_IsOK(res1
)) {
12402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12404 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12407 if (!SWIG_IsOK(ecode2
)) {
12408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12410 arg2
= static_cast< int >(val2
);
12415 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12421 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12425 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12426 if (!SWIG_IsOK(ecode5
)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12429 arg5
= static_cast< long >(val5
);
12433 arg6
= wxString_in_helper(obj5
);
12434 if (arg6
== NULL
) SWIG_fail
;
12439 if (!wxPyCheckForApp()) SWIG_fail
;
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12460 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12461 PyObject
*resultobj
= 0;
12462 wxSashLayoutWindow
*result
= 0 ;
12464 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12466 if (!wxPyCheckForApp()) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12479 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
= 0;
12481 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12482 wxWindow
*arg2
= (wxWindow
*) 0 ;
12483 int arg3
= (int) -1 ;
12484 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12485 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12486 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12487 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12488 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12489 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12490 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12502 bool temp7
= false ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 PyObject
* obj2
= 0 ;
12506 PyObject
* obj3
= 0 ;
12507 PyObject
* obj4
= 0 ;
12508 PyObject
* obj5
= 0 ;
12509 PyObject
* obj6
= 0 ;
12510 char * kwnames
[] = {
12511 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12516 if (!SWIG_IsOK(res1
)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12519 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12521 if (!SWIG_IsOK(res2
)) {
12522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12524 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12527 if (!SWIG_IsOK(ecode3
)) {
12528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12530 arg3
= static_cast< int >(val3
);
12535 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12541 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12545 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12546 if (!SWIG_IsOK(ecode6
)) {
12547 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12549 arg6
= static_cast< long >(val6
);
12553 arg7
= wxString_in_helper(obj6
);
12554 if (arg7
== NULL
) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12581 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12582 PyObject
*resultobj
= 0;
12583 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12584 wxLayoutAlignment result
;
12587 PyObject
*swig_obj
[1] ;
12589 if (!args
) SWIG_fail
;
12590 swig_obj
[0] = args
;
12591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12592 if (!SWIG_IsOK(res1
)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12595 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_From_int(static_cast< int >(result
));
12609 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12610 PyObject
*resultobj
= 0;
12611 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12612 wxLayoutOrientation result
;
12615 PyObject
*swig_obj
[1] ;
12617 if (!args
) SWIG_fail
;
12618 swig_obj
[0] = args
;
12619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12623 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= SWIG_From_int(static_cast< int >(result
));
12637 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
= 0;
12639 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12640 wxLayoutAlignment arg2
;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 char * kwnames
[] = {
12648 (char *) "self",(char *) "alignment", NULL
12651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12653 if (!SWIG_IsOK(res1
)) {
12654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12656 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12658 if (!SWIG_IsOK(ecode2
)) {
12659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12661 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 (arg1
)->SetAlignment(arg2
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= SWIG_Py_Void();
12675 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
= 0;
12677 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12682 PyObject
* obj0
= 0 ;
12683 PyObject
* obj1
= 0 ;
12684 char * kwnames
[] = {
12685 (char *) "self",(char *) "size", NULL
12688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12690 if (!SWIG_IsOK(res1
)) {
12691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12693 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12696 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= SWIG_Py_Void();
12711 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
= 0;
12713 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12714 wxLayoutOrientation arg2
;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 char * kwnames
[] = {
12722 (char *) "self",(char *) "orientation", NULL
12725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12727 if (!SWIG_IsOK(res1
)) {
12728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12730 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12732 if (!SWIG_IsOK(ecode2
)) {
12733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12735 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 (arg1
)->SetOrientation(arg2
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_Py_Void();
12749 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12752 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12753 return SWIG_Py_Void();
12756 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12757 return SWIG_Python_InitShadowInstance(args
);
12760 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12761 PyObject
*resultobj
= 0;
12762 wxLayoutAlgorithm
*result
= 0 ;
12764 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12778 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12779 PyObject
*resultobj
= 0;
12780 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12783 PyObject
*swig_obj
[1] ;
12785 if (!args
) SWIG_fail
;
12786 swig_obj
[0] = args
;
12787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12788 if (!SWIG_IsOK(res1
)) {
12789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12791 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= SWIG_Py_Void();
12806 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
= 0;
12808 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12809 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12810 wxRect
*arg3
= (wxRect
*) NULL
;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 PyObject
* obj2
= 0 ;
12821 char * kwnames
[] = {
12822 (char *) "self",(char *) "frame",(char *) "rect", NULL
12825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12827 if (!SWIG_IsOK(res1
)) {
12828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12830 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12832 if (!SWIG_IsOK(res2
)) {
12833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12835 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12837 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12838 if (!SWIG_IsOK(res3
)) {
12839 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12841 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12858 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12861 wxFrame
*arg2
= (wxFrame
*) 0 ;
12862 wxWindow
*arg3
= (wxWindow
*) NULL
;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 PyObject
* obj2
= 0 ;
12873 char * kwnames
[] = {
12874 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12879 if (!SWIG_IsOK(res1
)) {
12880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12882 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12884 if (!SWIG_IsOK(res2
)) {
12885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12887 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12889 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12890 if (!SWIG_IsOK(res3
)) {
12891 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12893 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12910 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
= 0;
12912 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12913 wxWindow
*arg2
= (wxWindow
*) 0 ;
12914 wxWindow
*arg3
= (wxWindow
*) NULL
;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 PyObject
* obj2
= 0 ;
12925 char * kwnames
[] = {
12926 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12931 if (!SWIG_IsOK(res1
)) {
12932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12934 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12936 if (!SWIG_IsOK(res2
)) {
12937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12939 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12941 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12942 if (!SWIG_IsOK(res3
)) {
12943 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12945 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12962 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12965 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12966 return SWIG_Py_Void();
12969 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12970 return SWIG_Python_InitShadowInstance(args
);
12973 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
= 0;
12975 wxWindow
*arg1
= (wxWindow
*) 0 ;
12976 int arg2
= (int) wxBORDER_NONE
;
12977 wxPopupWindow
*result
= 0 ;
12982 PyObject
* obj0
= 0 ;
12983 PyObject
* obj1
= 0 ;
12984 char * kwnames
[] = {
12985 (char *) "parent",(char *) "flags", NULL
12988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12990 if (!SWIG_IsOK(res1
)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12993 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12996 if (!SWIG_IsOK(ecode2
)) {
12997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12999 arg2
= static_cast< int >(val2
);
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13014 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13015 PyObject
*resultobj
= 0;
13016 wxPopupWindow
*result
= 0 ;
13018 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (wxPopupWindow
*)new wxPopupWindow();
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13032 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13036 return SWIG_Py_Void();
13039 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13040 return SWIG_Python_InitShadowInstance(args
);
13043 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
= 0;
13045 wxWindow
*arg1
= (wxWindow
*) 0 ;
13046 int arg2
= (int) wxBORDER_NONE
;
13047 wxPyPopupTransientWindow
*result
= 0 ;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 char * kwnames
[] = {
13055 (char *) "parent",(char *) "style", NULL
13058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13060 if (!SWIG_IsOK(res1
)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13063 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13066 if (!SWIG_IsOK(ecode2
)) {
13067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13069 arg2
= static_cast< int >(val2
);
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13084 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13085 PyObject
*resultobj
= 0;
13086 wxPyPopupTransientWindow
*result
= 0 ;
13088 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13102 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13105 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13106 return SWIG_Py_Void();
13109 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13110 return SWIG_Python_InitShadowInstance(args
);
13113 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
= 0;
13115 wxWindow
*arg1
= (wxWindow
*) 0 ;
13116 wxString
*arg2
= 0 ;
13117 int arg3
= (int) 100 ;
13118 wxRect
*arg4
= (wxRect
*) NULL
;
13119 wxTipWindow
*result
= 0 ;
13122 bool temp2
= false ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 PyObject
* obj2
= 0 ;
13130 PyObject
* obj3
= 0 ;
13131 char * kwnames
[] = {
13132 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13137 if (!SWIG_IsOK(res1
)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13140 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13142 arg2
= wxString_in_helper(obj1
);
13143 if (arg2
== NULL
) SWIG_fail
;
13147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13148 if (!SWIG_IsOK(ecode3
)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13151 arg3
= static_cast< int >(val3
);
13154 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13155 if (!SWIG_IsOK(res4
)) {
13156 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13158 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13161 if (!wxPyCheckForApp()) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13182 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
= 0;
13184 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 char * kwnames
[] = {
13192 (char *) "self",(char *) "rectBound", NULL
13195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13197 if (!SWIG_IsOK(res1
)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13200 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13203 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= SWIG_Py_Void();
13218 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13219 PyObject
*resultobj
= 0;
13220 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13223 PyObject
*swig_obj
[1] ;
13225 if (!args
) SWIG_fail
;
13226 swig_obj
[0] = args
;
13227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13228 if (!SWIG_IsOK(res1
)) {
13229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13231 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= SWIG_Py_Void();
13245 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13248 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13249 return SWIG_Py_Void();
13252 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13253 return SWIG_Python_InitShadowInstance(args
);
13256 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
= 0;
13258 wxWindow
*arg1
= (wxWindow
*) 0 ;
13259 int arg2
= (int) wxID_ANY
;
13260 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13261 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13262 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13263 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13264 long arg5
= (long) 0 ;
13265 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13266 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13267 wxPyVScrolledWindow
*result
= 0 ;
13276 bool temp6
= false ;
13277 PyObject
* obj0
= 0 ;
13278 PyObject
* obj1
= 0 ;
13279 PyObject
* obj2
= 0 ;
13280 PyObject
* obj3
= 0 ;
13281 PyObject
* obj4
= 0 ;
13282 PyObject
* obj5
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13295 if (!SWIG_IsOK(ecode2
)) {
13296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13298 arg2
= static_cast< int >(val2
);
13303 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13309 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13313 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13314 if (!SWIG_IsOK(ecode5
)) {
13315 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13317 arg5
= static_cast< long >(val5
);
13321 arg6
= wxString_in_helper(obj5
);
13322 if (arg6
== NULL
) SWIG_fail
;
13327 if (!wxPyCheckForApp()) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13348 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13349 PyObject
*resultobj
= 0;
13350 wxPyVScrolledWindow
*result
= 0 ;
13352 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13354 if (!wxPyCheckForApp()) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13367 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
= 0;
13369 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13370 PyObject
*arg2
= (PyObject
*) 0 ;
13371 PyObject
*arg3
= (PyObject
*) 0 ;
13374 PyObject
* obj0
= 0 ;
13375 PyObject
* obj1
= 0 ;
13376 PyObject
* obj2
= 0 ;
13377 char * kwnames
[] = {
13378 (char *) "self",(char *) "self",(char *) "_class", NULL
13381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13383 if (!SWIG_IsOK(res1
)) {
13384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13386 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= SWIG_Py_Void();
13402 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
= 0;
13404 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13405 wxWindow
*arg2
= (wxWindow
*) 0 ;
13406 int arg3
= (int) wxID_ANY
;
13407 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13408 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13409 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13410 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13411 long arg6
= (long) 0 ;
13412 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13413 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13425 bool temp7
= false ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 PyObject
* obj2
= 0 ;
13429 PyObject
* obj3
= 0 ;
13430 PyObject
* obj4
= 0 ;
13431 PyObject
* obj5
= 0 ;
13432 PyObject
* obj6
= 0 ;
13433 char * kwnames
[] = {
13434 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13439 if (!SWIG_IsOK(res1
)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13442 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13444 if (!SWIG_IsOK(res2
)) {
13445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13447 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13450 if (!SWIG_IsOK(ecode3
)) {
13451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13453 arg3
= static_cast< int >(val3
);
13458 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13464 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13468 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13469 if (!SWIG_IsOK(ecode6
)) {
13470 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13472 arg6
= static_cast< long >(val6
);
13476 arg7
= wxString_in_helper(obj6
);
13477 if (arg7
== NULL
) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13504 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
= 0;
13506 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 char * kwnames
[] = {
13515 (char *) "self",(char *) "count", NULL
13518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13520 if (!SWIG_IsOK(res1
)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13523 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13524 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13525 if (!SWIG_IsOK(ecode2
)) {
13526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13528 arg2
= static_cast< size_t >(val2
);
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 (arg1
)->SetLineCount(arg2
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_Py_Void();
13542 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
= 0;
13544 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13551 PyObject
* obj0
= 0 ;
13552 PyObject
* obj1
= 0 ;
13553 char * kwnames
[] = {
13554 (char *) "self",(char *) "line", NULL
13557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13559 if (!SWIG_IsOK(res1
)) {
13560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13562 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13563 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13564 if (!SWIG_IsOK(ecode2
)) {
13565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13567 arg2
= static_cast< size_t >(val2
);
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13583 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
= 0;
13585 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 char * kwnames
[] = {
13594 (char *) "self",(char *) "line", NULL
13597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13599 if (!SWIG_IsOK(res1
)) {
13600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13602 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13603 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13604 if (!SWIG_IsOK(ecode2
)) {
13605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13607 arg2
= static_cast< size_t >(val2
);
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 (arg1
)->RefreshLine(arg2
);
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= SWIG_Py_Void();
13621 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
= 0;
13623 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13632 PyObject
* obj0
= 0 ;
13633 PyObject
* obj1
= 0 ;
13634 PyObject
* obj2
= 0 ;
13635 char * kwnames
[] = {
13636 (char *) "self",(char *) "from",(char *) "to", NULL
13639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13641 if (!SWIG_IsOK(res1
)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13644 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13645 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13646 if (!SWIG_IsOK(ecode2
)) {
13647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13649 arg2
= static_cast< size_t >(val2
);
13650 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13651 if (!SWIG_IsOK(ecode3
)) {
13652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13654 arg3
= static_cast< size_t >(val3
);
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 (arg1
)->RefreshLines(arg2
,arg3
);
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= SWIG_Py_Void();
13668 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
= 0;
13670 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 PyObject
* obj1
= 0 ;
13682 PyObject
* obj2
= 0 ;
13683 char * kwnames
[] = {
13684 (char *) "self",(char *) "x",(char *) "y", NULL
13687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13689 if (!SWIG_IsOK(res1
)) {
13690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13692 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13694 if (!SWIG_IsOK(ecode2
)) {
13695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13697 arg2
= static_cast< int >(val2
);
13698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13699 if (!SWIG_IsOK(ecode3
)) {
13700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13702 arg3
= static_cast< int >(val3
);
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13709 resultobj
= SWIG_From_int(static_cast< int >(result
));
13716 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
= 0;
13718 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13719 wxPoint
*arg2
= 0 ;
13724 PyObject
* obj0
= 0 ;
13725 PyObject
* obj1
= 0 ;
13726 char * kwnames
[] = {
13727 (char *) "self",(char *) "pt", NULL
13730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13732 if (!SWIG_IsOK(res1
)) {
13733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13735 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 resultobj
= SWIG_From_int(static_cast< int >(result
));
13753 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13754 PyObject
*resultobj
= 0;
13755 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13758 PyObject
*swig_obj
[1] ;
13760 if (!args
) SWIG_fail
;
13761 swig_obj
[0] = args
;
13762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13763 if (!SWIG_IsOK(res1
)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13766 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 (arg1
)->RefreshAll();
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_Py_Void();
13780 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13781 PyObject
*resultobj
= 0;
13782 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13786 PyObject
*swig_obj
[1] ;
13788 if (!args
) SWIG_fail
;
13789 swig_obj
[0] = args
;
13790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13791 if (!SWIG_IsOK(res1
)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13794 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13808 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13809 PyObject
*resultobj
= 0;
13810 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13814 PyObject
*swig_obj
[1] ;
13816 if (!args
) SWIG_fail
;
13817 swig_obj
[0] = args
;
13818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13819 if (!SWIG_IsOK(res1
)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13822 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13836 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13837 PyObject
*resultobj
= 0;
13838 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13842 PyObject
*swig_obj
[1] ;
13844 if (!args
) SWIG_fail
;
13845 swig_obj
[0] = args
;
13846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13847 if (!SWIG_IsOK(res1
)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13850 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13864 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
= 0;
13866 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 char * kwnames
[] = {
13876 (char *) "self",(char *) "line", NULL
13879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13881 if (!SWIG_IsOK(res1
)) {
13882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13884 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13885 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13886 if (!SWIG_IsOK(ecode2
)) {
13887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13889 arg2
= static_cast< size_t >(val2
);
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13905 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13906 PyObject
*resultobj
= 0;
13907 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13911 PyObject
*swig_obj
[1] ;
13913 if (!args
) SWIG_fail
;
13914 swig_obj
[0] = args
;
13915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13916 if (!SWIG_IsOK(res1
)) {
13917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13919 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13933 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13934 PyObject
*resultobj
= 0;
13935 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13939 PyObject
*swig_obj
[1] ;
13941 if (!args
) SWIG_fail
;
13942 swig_obj
[0] = args
;
13943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13944 if (!SWIG_IsOK(res1
)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13947 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13961 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
= 0;
13963 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13965 bool arg3
= (bool) false ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 PyObject
* obj2
= 0 ;
13976 char * kwnames
[] = {
13977 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13982 if (!SWIG_IsOK(res1
)) {
13983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13985 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13986 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13987 if (!SWIG_IsOK(ecode2
)) {
13988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13990 arg2
= static_cast< size_t >(val2
);
13992 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13993 if (!SWIG_IsOK(ecode3
)) {
13994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
13996 arg3
= static_cast< bool >(val3
);
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14011 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
= 0;
14013 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 PyObject
* obj2
= 0 ;
14026 char * kwnames
[] = {
14027 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14032 if (!SWIG_IsOK(res1
)) {
14033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14035 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14036 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14037 if (!SWIG_IsOK(ecode2
)) {
14038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14040 arg2
= static_cast< size_t >(val2
);
14041 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14042 if (!SWIG_IsOK(ecode3
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14045 arg3
= static_cast< size_t >(val3
);
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_From_int(static_cast< int >(result
));
14059 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14062 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14063 return SWIG_Py_Void();
14066 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14067 return SWIG_Python_InitShadowInstance(args
);
14070 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14071 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14076 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14077 PyObject
*pyobj
= 0;
14081 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14083 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14090 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
= 0;
14092 wxWindow
*arg1
= (wxWindow
*) 0 ;
14093 int arg2
= (int) wxID_ANY
;
14094 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14095 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14096 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14097 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14098 long arg5
= (long) 0 ;
14099 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14100 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14101 wxPyVListBox
*result
= 0 ;
14110 bool temp6
= false ;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 PyObject
* obj2
= 0 ;
14114 PyObject
* obj3
= 0 ;
14115 PyObject
* obj4
= 0 ;
14116 PyObject
* obj5
= 0 ;
14117 char * kwnames
[] = {
14118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14123 if (!SWIG_IsOK(res1
)) {
14124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14126 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14129 if (!SWIG_IsOK(ecode2
)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14132 arg2
= static_cast< int >(val2
);
14137 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14143 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14147 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14148 if (!SWIG_IsOK(ecode5
)) {
14149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14151 arg5
= static_cast< long >(val5
);
14155 arg6
= wxString_in_helper(obj5
);
14156 if (arg6
== NULL
) SWIG_fail
;
14161 if (!wxPyCheckForApp()) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14182 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14183 PyObject
*resultobj
= 0;
14184 wxPyVListBox
*result
= 0 ;
14186 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14188 if (!wxPyCheckForApp()) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= (wxPyVListBox
*)new wxPyVListBox();
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14201 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
= 0;
14203 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14204 PyObject
*arg2
= (PyObject
*) 0 ;
14205 PyObject
*arg3
= (PyObject
*) 0 ;
14208 PyObject
* obj0
= 0 ;
14209 PyObject
* obj1
= 0 ;
14210 PyObject
* obj2
= 0 ;
14211 char * kwnames
[] = {
14212 (char *) "self",(char *) "self",(char *) "_class", NULL
14215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14217 if (!SWIG_IsOK(res1
)) {
14218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14220 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= SWIG_Py_Void();
14236 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
= 0;
14238 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14239 wxWindow
*arg2
= (wxWindow
*) 0 ;
14240 int arg3
= (int) wxID_ANY
;
14241 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14242 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14243 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14244 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14245 long arg6
= (long) 0 ;
14246 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14247 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14259 bool temp7
= false ;
14260 PyObject
* obj0
= 0 ;
14261 PyObject
* obj1
= 0 ;
14262 PyObject
* obj2
= 0 ;
14263 PyObject
* obj3
= 0 ;
14264 PyObject
* obj4
= 0 ;
14265 PyObject
* obj5
= 0 ;
14266 PyObject
* obj6
= 0 ;
14267 char * kwnames
[] = {
14268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14273 if (!SWIG_IsOK(res1
)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14276 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14278 if (!SWIG_IsOK(res2
)) {
14279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14281 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14284 if (!SWIG_IsOK(ecode3
)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14287 arg3
= static_cast< int >(val3
);
14292 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14298 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14302 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14303 if (!SWIG_IsOK(ecode6
)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14306 arg6
= static_cast< long >(val6
);
14310 arg7
= wxString_in_helper(obj6
);
14311 if (arg7
== NULL
) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14338 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14339 PyObject
*resultobj
= 0;
14340 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14344 PyObject
*swig_obj
[1] ;
14346 if (!args
) SWIG_fail
;
14347 swig_obj
[0] = args
;
14348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14349 if (!SWIG_IsOK(res1
)) {
14350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14352 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14366 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14367 PyObject
*resultobj
= 0;
14368 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14372 PyObject
*swig_obj
[1] ;
14374 if (!args
) SWIG_fail
;
14375 swig_obj
[0] = args
;
14376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14377 if (!SWIG_IsOK(res1
)) {
14378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14380 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14396 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14397 PyObject
*resultobj
= 0;
14398 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14402 PyObject
*swig_obj
[1] ;
14404 if (!args
) SWIG_fail
;
14405 swig_obj
[0] = args
;
14406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14407 if (!SWIG_IsOK(res1
)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14410 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= SWIG_From_int(static_cast< int >(result
));
14424 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
= 0;
14426 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14433 PyObject
* obj0
= 0 ;
14434 PyObject
* obj1
= 0 ;
14435 char * kwnames
[] = {
14436 (char *) "self",(char *) "item", NULL
14439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14441 if (!SWIG_IsOK(res1
)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14444 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14445 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14446 if (!SWIG_IsOK(ecode2
)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14449 arg2
= static_cast< size_t >(val2
);
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14465 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
= 0;
14467 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 char * kwnames
[] = {
14477 (char *) "self",(char *) "item", NULL
14480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14482 if (!SWIG_IsOK(res1
)) {
14483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14485 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14486 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14487 if (!SWIG_IsOK(ecode2
)) {
14488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14490 arg2
= static_cast< size_t >(val2
);
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14506 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14507 PyObject
*resultobj
= 0;
14508 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14512 PyObject
*swig_obj
[1] ;
14514 if (!args
) SWIG_fail
;
14515 swig_obj
[0] = args
;
14516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14517 if (!SWIG_IsOK(res1
)) {
14518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14520 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14527 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14534 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14535 PyObject
*resultobj
= 0;
14536 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14537 PyObject
*result
= 0 ;
14540 PyObject
*swig_obj
[1] ;
14542 if (!args
) SWIG_fail
;
14543 swig_obj
[0] = args
;
14544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14545 if (!SWIG_IsOK(res1
)) {
14546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14548 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= result
;
14562 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
= 0;
14564 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14565 unsigned long arg2
;
14566 PyObject
*result
= 0 ;
14569 unsigned long val2
;
14571 PyObject
* obj0
= 0 ;
14572 PyObject
* obj1
= 0 ;
14573 char * kwnames
[] = {
14574 (char *) "self",(char *) "cookie", NULL
14577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14579 if (!SWIG_IsOK(res1
)) {
14580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14582 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14583 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14584 if (!SWIG_IsOK(ecode2
)) {
14585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14587 arg2
= static_cast< unsigned long >(val2
);
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= result
;
14601 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14602 PyObject
*resultobj
= 0;
14603 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14607 PyObject
*swig_obj
[1] ;
14609 if (!args
) SWIG_fail
;
14610 swig_obj
[0] = args
;
14611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14612 if (!SWIG_IsOK(res1
)) {
14613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14615 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14629 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14630 PyObject
*resultobj
= 0;
14631 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14632 wxColour
*result
= 0 ;
14635 PyObject
*swig_obj
[1] ;
14637 if (!args
) SWIG_fail
;
14638 swig_obj
[0] = args
;
14639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14640 if (!SWIG_IsOK(res1
)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14643 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14648 result
= (wxColour
*) &_result_ref
;
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14660 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
= 0;
14662 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 PyObject
* obj1
= 0 ;
14670 char * kwnames
[] = {
14671 (char *) "self",(char *) "count", NULL
14674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14676 if (!SWIG_IsOK(res1
)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14679 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14680 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14681 if (!SWIG_IsOK(ecode2
)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14684 arg2
= static_cast< size_t >(val2
);
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 (arg1
)->SetItemCount(arg2
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_Py_Void();
14698 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14699 PyObject
*resultobj
= 0;
14700 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14703 PyObject
*swig_obj
[1] ;
14705 if (!args
) SWIG_fail
;
14706 swig_obj
[0] = args
;
14707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14708 if (!SWIG_IsOK(res1
)) {
14709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14711 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_Py_Void();
14725 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
= 0;
14727 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 PyObject
* obj1
= 0 ;
14735 char * kwnames
[] = {
14736 (char *) "self",(char *) "selection", NULL
14739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14741 if (!SWIG_IsOK(res1
)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14744 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14746 if (!SWIG_IsOK(ecode2
)) {
14747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14749 arg2
= static_cast< int >(val2
);
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 (arg1
)->SetSelection(arg2
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= SWIG_Py_Void();
14763 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
= 0;
14765 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14767 bool arg3
= (bool) true ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 PyObject
* obj2
= 0 ;
14778 char * kwnames
[] = {
14779 (char *) "self",(char *) "item",(char *) "select", NULL
14782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14784 if (!SWIG_IsOK(res1
)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14787 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14788 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14789 if (!SWIG_IsOK(ecode2
)) {
14790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14792 arg2
= static_cast< size_t >(val2
);
14794 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14795 if (!SWIG_IsOK(ecode3
)) {
14796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14798 arg3
= static_cast< bool >(val3
);
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14815 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
= 0;
14817 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14827 PyObject
* obj0
= 0 ;
14828 PyObject
* obj1
= 0 ;
14829 PyObject
* obj2
= 0 ;
14830 char * kwnames
[] = {
14831 (char *) "self",(char *) "from",(char *) "to", NULL
14834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14836 if (!SWIG_IsOK(res1
)) {
14837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14839 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14840 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14841 if (!SWIG_IsOK(ecode2
)) {
14842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14844 arg2
= static_cast< size_t >(val2
);
14845 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14846 if (!SWIG_IsOK(ecode3
)) {
14847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14849 arg3
= static_cast< size_t >(val3
);
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14865 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
= 0;
14867 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 PyObject
* obj1
= 0 ;
14875 char * kwnames
[] = {
14876 (char *) "self",(char *) "item", NULL
14879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14881 if (!SWIG_IsOK(res1
)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14884 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14885 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14886 if (!SWIG_IsOK(ecode2
)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14889 arg2
= static_cast< size_t >(val2
);
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 (arg1
)->Toggle(arg2
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_Py_Void();
14903 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14904 PyObject
*resultobj
= 0;
14905 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14909 PyObject
*swig_obj
[1] ;
14911 if (!args
) SWIG_fail
;
14912 swig_obj
[0] = args
;
14913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14914 if (!SWIG_IsOK(res1
)) {
14915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14917 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (bool)(arg1
)->SelectAll();
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14933 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14934 PyObject
*resultobj
= 0;
14935 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14939 PyObject
*swig_obj
[1] ;
14941 if (!args
) SWIG_fail
;
14942 swig_obj
[0] = args
;
14943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14944 if (!SWIG_IsOK(res1
)) {
14945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14947 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (bool)(arg1
)->DeselectAll();
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14963 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
= 0;
14965 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14966 wxPoint
*arg2
= 0 ;
14970 PyObject
* obj0
= 0 ;
14971 PyObject
* obj1
= 0 ;
14972 char * kwnames
[] = {
14973 (char *) "self",(char *) "pt", NULL
14976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14981 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= SWIG_Py_Void();
14999 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
= 0;
15001 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15010 PyObject
* obj0
= 0 ;
15011 PyObject
* obj1
= 0 ;
15012 PyObject
* obj2
= 0 ;
15013 char * kwnames
[] = {
15014 (char *) "self",(char *) "x",(char *) "y", NULL
15017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15019 if (!SWIG_IsOK(res1
)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15022 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15024 if (!SWIG_IsOK(ecode2
)) {
15025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15027 arg2
= static_cast< int >(val2
);
15028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15029 if (!SWIG_IsOK(ecode3
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15032 arg3
= static_cast< int >(val3
);
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 (arg1
)->SetMargins(arg2
,arg3
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_Py_Void();
15046 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
= 0;
15048 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15049 wxColour
*arg2
= 0 ;
15053 PyObject
* obj0
= 0 ;
15054 PyObject
* obj1
= 0 ;
15055 char * kwnames
[] = {
15056 (char *) "self",(char *) "col", NULL
15059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15061 if (!SWIG_IsOK(res1
)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15064 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= SWIG_Py_Void();
15082 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15083 PyObject
*resultobj
= 0;
15084 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15095 PyObject
* obj0
= 0 ;
15096 PyObject
* obj1
= 0 ;
15097 PyObject
* obj2
= 0 ;
15098 PyObject
* obj3
= 0 ;
15099 char * kwnames
[] = {
15100 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15105 if (!SWIG_IsOK(res1
)) {
15106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15108 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15110 if (!SWIG_IsOK(res2
)) {
15111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15116 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15119 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15121 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15122 if (!SWIG_IsOK(ecode4
)) {
15123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15125 arg4
= static_cast< size_t >(val4
);
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_Py_Void();
15139 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
= 0;
15141 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 PyObject
* obj2
= 0 ;
15155 PyObject
* obj3
= 0 ;
15156 char * kwnames
[] = {
15157 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15162 if (!SWIG_IsOK(res1
)) {
15163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15165 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15167 if (!SWIG_IsOK(res2
)) {
15168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15173 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15176 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15178 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15179 if (!SWIG_IsOK(ecode4
)) {
15180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15182 arg4
= static_cast< size_t >(val4
);
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= SWIG_Py_Void();
15196 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15199 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15200 return SWIG_Py_Void();
15203 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15204 return SWIG_Python_InitShadowInstance(args
);
15207 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
= 0;
15209 wxWindow
*arg1
= (wxWindow
*) 0 ;
15210 int arg2
= (int) wxID_ANY
;
15211 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15212 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15213 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15214 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15215 long arg5
= (long) 0 ;
15216 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15217 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15218 wxPyHtmlListBox
*result
= 0 ;
15227 bool temp6
= false ;
15228 PyObject
* obj0
= 0 ;
15229 PyObject
* obj1
= 0 ;
15230 PyObject
* obj2
= 0 ;
15231 PyObject
* obj3
= 0 ;
15232 PyObject
* obj4
= 0 ;
15233 PyObject
* obj5
= 0 ;
15234 char * kwnames
[] = {
15235 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15240 if (!SWIG_IsOK(res1
)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15243 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15246 if (!SWIG_IsOK(ecode2
)) {
15247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15249 arg2
= static_cast< int >(val2
);
15254 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15260 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15264 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15265 if (!SWIG_IsOK(ecode5
)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15268 arg5
= static_cast< long >(val5
);
15272 arg6
= wxString_in_helper(obj5
);
15273 if (arg6
== NULL
) SWIG_fail
;
15278 if (!wxPyCheckForApp()) SWIG_fail
;
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15299 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15300 PyObject
*resultobj
= 0;
15301 wxPyHtmlListBox
*result
= 0 ;
15303 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15305 if (!wxPyCheckForApp()) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15318 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
= 0;
15320 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15321 PyObject
*arg2
= (PyObject
*) 0 ;
15322 PyObject
*arg3
= (PyObject
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 PyObject
* obj1
= 0 ;
15327 PyObject
* obj2
= 0 ;
15328 char * kwnames
[] = {
15329 (char *) "self",(char *) "self",(char *) "_class", NULL
15332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15334 if (!SWIG_IsOK(res1
)) {
15335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15337 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_Py_Void();
15353 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
= 0;
15355 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15356 wxWindow
*arg2
= (wxWindow
*) 0 ;
15357 int arg3
= (int) wxID_ANY
;
15358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15362 long arg6
= (long) 0 ;
15363 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15364 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15376 bool temp7
= false ;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 PyObject
* obj2
= 0 ;
15380 PyObject
* obj3
= 0 ;
15381 PyObject
* obj4
= 0 ;
15382 PyObject
* obj5
= 0 ;
15383 PyObject
* obj6
= 0 ;
15384 char * kwnames
[] = {
15385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15390 if (!SWIG_IsOK(res1
)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15393 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15395 if (!SWIG_IsOK(res2
)) {
15396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15398 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15401 if (!SWIG_IsOK(ecode3
)) {
15402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15404 arg3
= static_cast< int >(val3
);
15409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15419 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15420 if (!SWIG_IsOK(ecode6
)) {
15421 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15423 arg6
= static_cast< long >(val6
);
15427 arg7
= wxString_in_helper(obj6
);
15428 if (arg7
== NULL
) SWIG_fail
;
15433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15434 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15455 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
= 0;
15457 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 char * kwnames
[] = {
15466 (char *) "self",(char *) "count", NULL
15469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15471 if (!SWIG_IsOK(res1
)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15474 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15475 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15476 if (!SWIG_IsOK(ecode2
)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15479 arg2
= static_cast< size_t >(val2
);
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 (arg1
)->SetItemCount(arg2
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_Py_Void();
15493 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15494 PyObject
*resultobj
= 0;
15495 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15496 wxFileSystem
*result
= 0 ;
15499 PyObject
*swig_obj
[1] ;
15501 if (!args
) SWIG_fail
;
15502 swig_obj
[0] = args
;
15503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15504 if (!SWIG_IsOK(res1
)) {
15505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15507 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15512 result
= (wxFileSystem
*) &_result_ref
;
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15524 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
= 0;
15526 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15528 wxHtmlLinkInfo
*arg3
= 0 ;
15535 PyObject
* obj0
= 0 ;
15536 PyObject
* obj1
= 0 ;
15537 PyObject
* obj2
= 0 ;
15538 char * kwnames
[] = {
15539 (char *) "self",(char *) "n",(char *) "link", NULL
15542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15544 if (!SWIG_IsOK(res1
)) {
15545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15547 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15548 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15549 if (!SWIG_IsOK(ecode2
)) {
15550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15552 arg2
= static_cast< size_t >(val2
);
15553 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15554 if (!SWIG_IsOK(res3
)) {
15555 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15560 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_Py_Void();
15574 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15577 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15578 return SWIG_Py_Void();
15581 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15582 return SWIG_Python_InitShadowInstance(args
);
15585 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15586 PyObject
*resultobj
= 0;
15587 wxPyTaskBarIcon
*result
= 0 ;
15589 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15591 if (!wxPyCheckForApp()) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15604 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15605 PyObject
*resultobj
= 0;
15606 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15609 PyObject
*swig_obj
[1] ;
15611 if (!args
) SWIG_fail
;
15612 swig_obj
[0] = args
;
15613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15614 if (!SWIG_IsOK(res1
)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15617 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= SWIG_Py_Void();
15632 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
= 0;
15634 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15635 PyObject
*arg2
= (PyObject
*) 0 ;
15636 PyObject
*arg3
= (PyObject
*) 0 ;
15642 PyObject
* obj0
= 0 ;
15643 PyObject
* obj1
= 0 ;
15644 PyObject
* obj2
= 0 ;
15645 PyObject
* obj3
= 0 ;
15646 char * kwnames
[] = {
15647 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15652 if (!SWIG_IsOK(res1
)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15655 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15659 if (!SWIG_IsOK(ecode4
)) {
15660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15662 arg4
= static_cast< int >(val4
);
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_Py_Void();
15676 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15677 PyObject
*resultobj
= 0;
15678 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15681 PyObject
*swig_obj
[1] ;
15683 if (!args
) SWIG_fail
;
15684 swig_obj
[0] = args
;
15685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15686 if (!SWIG_IsOK(res1
)) {
15687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15689 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 wxPyTaskBarIcon_Destroy(arg1
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_Py_Void();
15703 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15704 PyObject
*resultobj
= 0;
15705 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15709 PyObject
*swig_obj
[1] ;
15711 if (!args
) SWIG_fail
;
15712 swig_obj
[0] = args
;
15713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15714 if (!SWIG_IsOK(res1
)) {
15715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15717 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15733 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15734 PyObject
*resultobj
= 0;
15735 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15739 PyObject
*swig_obj
[1] ;
15741 if (!args
) SWIG_fail
;
15742 swig_obj
[0] = args
;
15743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15744 if (!SWIG_IsOK(res1
)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15747 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15763 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
= 0;
15765 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15767 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15768 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15774 bool temp3
= false ;
15775 PyObject
* obj0
= 0 ;
15776 PyObject
* obj1
= 0 ;
15777 PyObject
* obj2
= 0 ;
15778 char * kwnames
[] = {
15779 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15787 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15789 if (!SWIG_IsOK(res2
)) {
15790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15795 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15798 arg3
= wxString_in_helper(obj2
);
15799 if (arg3
== NULL
) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15826 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15827 PyObject
*resultobj
= 0;
15828 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15832 PyObject
*swig_obj
[1] ;
15834 if (!args
) SWIG_fail
;
15835 swig_obj
[0] = args
;
15836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15837 if (!SWIG_IsOK(res1
)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15840 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (bool)(arg1
)->RemoveIcon();
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15856 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
= 0;
15858 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15859 wxMenu
*arg2
= (wxMenu
*) 0 ;
15865 PyObject
* obj0
= 0 ;
15866 PyObject
* obj1
= 0 ;
15867 char * kwnames
[] = {
15868 (char *) "self",(char *) "menu", NULL
15871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15873 if (!SWIG_IsOK(res1
)) {
15874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15876 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15878 if (!SWIG_IsOK(res2
)) {
15879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15881 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (bool)(arg1
)->PopupMenu(arg2
);
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15897 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15900 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15901 return SWIG_Py_Void();
15904 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15905 return SWIG_Python_InitShadowInstance(args
);
15908 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
= 0;
15911 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
15912 wxTaskBarIconEvent
*result
= 0 ;
15917 PyObject
* obj0
= 0 ;
15918 PyObject
* obj1
= 0 ;
15919 char * kwnames
[] = {
15920 (char *) "evtType",(char *) "tbIcon", NULL
15923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15925 if (!SWIG_IsOK(ecode1
)) {
15926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15928 arg1
= static_cast< wxEventType
>(val1
);
15929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
15930 if (!SWIG_IsOK(res2
)) {
15931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15933 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
15947 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15950 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
15951 return SWIG_Py_Void();
15954 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15955 return SWIG_Python_InitShadowInstance(args
);
15958 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
15959 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
15964 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
15965 PyObject
*pyobj
= 0;
15969 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15971 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15978 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
15979 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
15984 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
15985 PyObject
*pyobj
= 0;
15989 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15991 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15998 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
15999 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16004 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16005 PyObject
*pyobj
= 0;
16009 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16011 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16018 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16019 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16024 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16025 PyObject
*pyobj
= 0;
16029 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16031 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16038 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16039 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16044 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16045 PyObject
*pyobj
= 0;
16049 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16051 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16058 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16059 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16064 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16065 PyObject
*pyobj
= 0;
16069 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16071 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16078 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16079 PyObject
*resultobj
= 0;
16080 wxColourData
*result
= 0 ;
16082 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (wxColourData
*)new wxColourData();
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16096 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16097 PyObject
*resultobj
= 0;
16098 wxColourData
*arg1
= (wxColourData
*) 0 ;
16101 PyObject
*swig_obj
[1] ;
16103 if (!args
) SWIG_fail
;
16104 swig_obj
[0] = args
;
16105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16106 if (!SWIG_IsOK(res1
)) {
16107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16109 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_Py_Void();
16124 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16125 PyObject
*resultobj
= 0;
16126 wxColourData
*arg1
= (wxColourData
*) 0 ;
16130 PyObject
*swig_obj
[1] ;
16132 if (!args
) SWIG_fail
;
16133 swig_obj
[0] = args
;
16134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16135 if (!SWIG_IsOK(res1
)) {
16136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16138 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 result
= (bool)(arg1
)->GetChooseFull();
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16154 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16155 PyObject
*resultobj
= 0;
16156 wxColourData
*arg1
= (wxColourData
*) 0 ;
16160 PyObject
*swig_obj
[1] ;
16162 if (!args
) SWIG_fail
;
16163 swig_obj
[0] = args
;
16164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16165 if (!SWIG_IsOK(res1
)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16168 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 result
= (arg1
)->GetColour();
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16182 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
= 0;
16184 wxColourData
*arg1
= (wxColourData
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 PyObject
* obj1
= 0 ;
16193 char * kwnames
[] = {
16194 (char *) "self",(char *) "i", NULL
16197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16199 if (!SWIG_IsOK(res1
)) {
16200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16202 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16204 if (!SWIG_IsOK(ecode2
)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16207 arg2
= static_cast< int >(val2
);
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (arg1
)->GetCustomColour(arg2
);
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16221 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
= 0;
16223 wxColourData
*arg1
= (wxColourData
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 char * kwnames
[] = {
16232 (char *) "self",(char *) "flag", NULL
16235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16237 if (!SWIG_IsOK(res1
)) {
16238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16240 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16242 if (!SWIG_IsOK(ecode2
)) {
16243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16245 arg2
= static_cast< int >(val2
);
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 (arg1
)->SetChooseFull(arg2
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= SWIG_Py_Void();
16259 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
= 0;
16261 wxColourData
*arg1
= (wxColourData
*) 0 ;
16262 wxColour
*arg2
= 0 ;
16266 PyObject
* obj0
= 0 ;
16267 PyObject
* obj1
= 0 ;
16268 char * kwnames
[] = {
16269 (char *) "self",(char *) "colour", NULL
16272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16274 if (!SWIG_IsOK(res1
)) {
16275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16277 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16280 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 (arg1
)->SetColour((wxColour
const &)*arg2
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= SWIG_Py_Void();
16295 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
= 0;
16297 wxColourData
*arg1
= (wxColourData
*) 0 ;
16299 wxColour
*arg3
= 0 ;
16305 PyObject
* obj0
= 0 ;
16306 PyObject
* obj1
= 0 ;
16307 PyObject
* obj2
= 0 ;
16308 char * kwnames
[] = {
16309 (char *) "self",(char *) "i",(char *) "colour", NULL
16312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16314 if (!SWIG_IsOK(res1
)) {
16315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16317 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16319 if (!SWIG_IsOK(ecode2
)) {
16320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16322 arg2
= static_cast< int >(val2
);
16325 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= SWIG_Py_Void();
16340 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16343 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16344 return SWIG_Py_Void();
16347 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16348 return SWIG_Python_InitShadowInstance(args
);
16351 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
= 0;
16353 wxWindow
*arg1
= (wxWindow
*) 0 ;
16354 wxColourData
*arg2
= (wxColourData
*) NULL
;
16355 wxColourDialog
*result
= 0 ;
16360 PyObject
* obj0
= 0 ;
16361 PyObject
* obj1
= 0 ;
16362 char * kwnames
[] = {
16363 (char *) "parent",(char *) "data", NULL
16366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16368 if (!SWIG_IsOK(res1
)) {
16369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16371 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16374 if (!SWIG_IsOK(res2
)) {
16375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16377 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16380 if (!wxPyCheckForApp()) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16393 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16394 PyObject
*resultobj
= 0;
16395 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16396 wxColourData
*result
= 0 ;
16399 PyObject
*swig_obj
[1] ;
16401 if (!args
) SWIG_fail
;
16402 swig_obj
[0] = args
;
16403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16404 if (!SWIG_IsOK(res1
)) {
16405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16407 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16412 result
= (wxColourData
*) &_result_ref
;
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16424 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16427 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16428 return SWIG_Py_Void();
16431 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16432 return SWIG_Python_InitShadowInstance(args
);
16435 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
= 0;
16437 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16438 wxColour
const &arg2_defvalue
= wxNullColour
;
16439 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16440 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16441 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16446 bool temp3
= false ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 PyObject
* obj2
= 0 ;
16450 char * kwnames
[] = {
16451 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16457 if (!SWIG_IsOK(res1
)) {
16458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16470 arg3
= wxString_in_helper(obj2
);
16471 if (arg3
== NULL
) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16496 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
= 0;
16498 wxWindow
*arg1
= (wxWindow
*) 0 ;
16499 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16500 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16501 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16502 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16503 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16504 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16505 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16506 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16507 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16508 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16509 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16510 wxDirDialog
*result
= 0 ;
16513 bool temp2
= false ;
16514 bool temp3
= false ;
16519 bool temp7
= false ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 PyObject
* obj2
= 0 ;
16523 PyObject
* obj3
= 0 ;
16524 PyObject
* obj4
= 0 ;
16525 PyObject
* obj5
= 0 ;
16526 PyObject
* obj6
= 0 ;
16527 char * kwnames
[] = {
16528 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16533 if (!SWIG_IsOK(res1
)) {
16534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16536 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16539 arg2
= wxString_in_helper(obj1
);
16540 if (arg2
== NULL
) SWIG_fail
;
16546 arg3
= wxString_in_helper(obj2
);
16547 if (arg3
== NULL
) SWIG_fail
;
16552 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16553 if (!SWIG_IsOK(ecode4
)) {
16554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16556 arg4
= static_cast< long >(val4
);
16561 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16567 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16572 arg7
= wxString_in_helper(obj6
);
16573 if (arg7
== NULL
) SWIG_fail
;
16578 if (!wxPyCheckForApp()) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16615 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16616 PyObject
*resultobj
= 0;
16617 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16621 PyObject
*swig_obj
[1] ;
16623 if (!args
) SWIG_fail
;
16624 swig_obj
[0] = args
;
16625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16626 if (!SWIG_IsOK(res1
)) {
16627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16629 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= (arg1
)->GetPath();
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16649 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16650 PyObject
*resultobj
= 0;
16651 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16655 PyObject
*swig_obj
[1] ;
16657 if (!args
) SWIG_fail
;
16658 swig_obj
[0] = args
;
16659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16660 if (!SWIG_IsOK(res1
)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16663 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= (arg1
)->GetMessage();
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16683 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
= 0;
16685 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16686 wxString
*arg2
= 0 ;
16689 bool temp2
= false ;
16690 PyObject
* obj0
= 0 ;
16691 PyObject
* obj1
= 0 ;
16692 char * kwnames
[] = {
16693 (char *) "self",(char *) "message", NULL
16696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16698 if (!SWIG_IsOK(res1
)) {
16699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16701 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16703 arg2
= wxString_in_helper(obj1
);
16704 if (arg2
== NULL
) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 (arg1
)->SetMessage((wxString
const &)*arg2
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_Py_Void();
16728 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
= 0;
16730 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16731 wxString
*arg2
= 0 ;
16734 bool temp2
= false ;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 char * kwnames
[] = {
16738 (char *) "self",(char *) "path", NULL
16741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16743 if (!SWIG_IsOK(res1
)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16746 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16748 arg2
= wxString_in_helper(obj1
);
16749 if (arg2
== NULL
) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 (arg1
)->SetPath((wxString
const &)*arg2
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= SWIG_Py_Void();
16773 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16776 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16777 return SWIG_Py_Void();
16780 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16781 return SWIG_Python_InitShadowInstance(args
);
16784 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
= 0;
16786 wxWindow
*arg1
= (wxWindow
*) 0 ;
16787 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16788 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16789 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16790 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16791 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16792 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16793 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16794 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16795 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16796 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16797 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16798 wxFileDialog
*result
= 0 ;
16801 bool temp2
= false ;
16802 bool temp3
= false ;
16803 bool temp4
= false ;
16804 bool temp5
= false ;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 PyObject
* obj2
= 0 ;
16811 PyObject
* obj3
= 0 ;
16812 PyObject
* obj4
= 0 ;
16813 PyObject
* obj5
= 0 ;
16814 PyObject
* obj6
= 0 ;
16815 char * kwnames
[] = {
16816 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16821 if (!SWIG_IsOK(res1
)) {
16822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16824 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16827 arg2
= wxString_in_helper(obj1
);
16828 if (arg2
== NULL
) SWIG_fail
;
16834 arg3
= wxString_in_helper(obj2
);
16835 if (arg3
== NULL
) SWIG_fail
;
16841 arg4
= wxString_in_helper(obj3
);
16842 if (arg4
== NULL
) SWIG_fail
;
16848 arg5
= wxString_in_helper(obj4
);
16849 if (arg5
== NULL
) SWIG_fail
;
16854 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16855 if (!SWIG_IsOK(ecode6
)) {
16856 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16858 arg6
= static_cast< long >(val6
);
16863 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16867 if (!wxPyCheckForApp()) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
16912 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
= 0;
16914 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16915 wxString
*arg2
= 0 ;
16918 bool temp2
= false ;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 char * kwnames
[] = {
16922 (char *) "self",(char *) "message", NULL
16925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16927 if (!SWIG_IsOK(res1
)) {
16928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16930 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16932 arg2
= wxString_in_helper(obj1
);
16933 if (arg2
== NULL
) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 (arg1
)->SetMessage((wxString
const &)*arg2
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_Py_Void();
16957 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
= 0;
16959 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16960 wxString
*arg2
= 0 ;
16963 bool temp2
= false ;
16964 PyObject
* obj0
= 0 ;
16965 PyObject
* obj1
= 0 ;
16966 char * kwnames
[] = {
16967 (char *) "self",(char *) "path", NULL
16970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16972 if (!SWIG_IsOK(res1
)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16975 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16977 arg2
= wxString_in_helper(obj1
);
16978 if (arg2
== NULL
) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 (arg1
)->SetPath((wxString
const &)*arg2
);
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= SWIG_Py_Void();
17002 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
= 0;
17004 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17005 wxString
*arg2
= 0 ;
17008 bool temp2
= false ;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 char * kwnames
[] = {
17012 (char *) "self",(char *) "dir", NULL
17015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17017 if (!SWIG_IsOK(res1
)) {
17018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17020 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17022 arg2
= wxString_in_helper(obj1
);
17023 if (arg2
== NULL
) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= SWIG_Py_Void();
17047 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
= 0;
17049 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17050 wxString
*arg2
= 0 ;
17053 bool temp2
= false ;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 char * kwnames
[] = {
17057 (char *) "self",(char *) "name", NULL
17060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17062 if (!SWIG_IsOK(res1
)) {
17063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17065 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17067 arg2
= wxString_in_helper(obj1
);
17068 if (arg2
== NULL
) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 (arg1
)->SetFilename((wxString
const &)*arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= SWIG_Py_Void();
17092 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
= 0;
17094 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17095 wxString
*arg2
= 0 ;
17098 bool temp2
= false ;
17099 PyObject
* obj0
= 0 ;
17100 PyObject
* obj1
= 0 ;
17101 char * kwnames
[] = {
17102 (char *) "self",(char *) "wildCard", NULL
17105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17107 if (!SWIG_IsOK(res1
)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17110 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17112 arg2
= wxString_in_helper(obj1
);
17113 if (arg2
== NULL
) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_Py_Void();
17137 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
= 0;
17139 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 char * kwnames
[] = {
17148 (char *) "self",(char *) "filterIndex", NULL
17151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",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_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17156 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17158 if (!SWIG_IsOK(ecode2
)) {
17159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17161 arg2
= static_cast< int >(val2
);
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 (arg1
)->SetFilterIndex(arg2
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= SWIG_Py_Void();
17175 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17176 PyObject
*resultobj
= 0;
17177 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17181 PyObject
*swig_obj
[1] ;
17183 if (!args
) SWIG_fail
;
17184 swig_obj
[0] = args
;
17185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17186 if (!SWIG_IsOK(res1
)) {
17187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17189 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17209 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17210 PyObject
*resultobj
= 0;
17211 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17215 PyObject
*swig_obj
[1] ;
17217 if (!args
) SWIG_fail
;
17218 swig_obj
[0] = args
;
17219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17220 if (!SWIG_IsOK(res1
)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17223 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17243 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17244 PyObject
*resultobj
= 0;
17245 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17249 PyObject
*swig_obj
[1] ;
17251 if (!args
) SWIG_fail
;
17252 swig_obj
[0] = args
;
17253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17254 if (!SWIG_IsOK(res1
)) {
17255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17257 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17260 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17261 wxPyEndAllowThreads(__tstate
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17277 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17278 PyObject
*resultobj
= 0;
17279 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17283 PyObject
*swig_obj
[1] ;
17285 if (!args
) SWIG_fail
;
17286 swig_obj
[0] = args
;
17287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17288 if (!SWIG_IsOK(res1
)) {
17289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17291 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17295 wxPyEndAllowThreads(__tstate
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17311 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(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_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17325 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
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_GetFilterIndex(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_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17359 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= SWIG_From_int(static_cast< int >(result
));
17373 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17374 PyObject
*resultobj
= 0;
17375 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17376 PyObject
*result
= 0 ;
17379 PyObject
*swig_obj
[1] ;
17381 if (!args
) SWIG_fail
;
17382 swig_obj
[0] = args
;
17383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17384 if (!SWIG_IsOK(res1
)) {
17385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17387 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= result
;
17401 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17402 PyObject
*resultobj
= 0;
17403 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17404 PyObject
*result
= 0 ;
17407 PyObject
*swig_obj
[1] ;
17409 if (!args
) SWIG_fail
;
17410 swig_obj
[0] = args
;
17411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17412 if (!SWIG_IsOK(res1
)) {
17413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17415 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17422 resultobj
= result
;
17429 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17432 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17433 return SWIG_Py_Void();
17436 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17437 return SWIG_Python_InitShadowInstance(args
);
17440 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
= 0;
17442 wxWindow
*arg1
= (wxWindow
*) 0 ;
17443 wxString
*arg2
= 0 ;
17444 wxString
*arg3
= 0 ;
17445 int arg4
= (int) 0 ;
17446 wxString
*arg5
= (wxString
*) NULL
;
17447 long arg6
= (long) wxCHOICEDLG_STYLE
;
17448 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17449 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17450 wxMultiChoiceDialog
*result
= 0 ;
17453 bool temp2
= false ;
17454 bool temp3
= false ;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 PyObject
* obj2
= 0 ;
17461 PyObject
* obj3
= 0 ;
17462 PyObject
* obj4
= 0 ;
17463 PyObject
* obj5
= 0 ;
17464 char * kwnames
[] = {
17465 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17470 if (!SWIG_IsOK(res1
)) {
17471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17473 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17475 arg2
= wxString_in_helper(obj1
);
17476 if (arg2
== NULL
) SWIG_fail
;
17480 arg3
= wxString_in_helper(obj2
);
17481 if (arg3
== NULL
) SWIG_fail
;
17486 arg4
= PyList_Size(obj3
);
17487 arg5
= wxString_LIST_helper(obj3
);
17488 if (arg5
== NULL
) SWIG_fail
;
17492 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17493 if (!SWIG_IsOK(ecode6
)) {
17494 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17496 arg6
= static_cast< long >(val6
);
17501 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17505 if (!wxPyCheckForApp()) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17521 if (arg5
) delete [] arg5
;
17534 if (arg5
) delete [] arg5
;
17540 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
= 0;
17542 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17543 wxArrayInt
*arg2
= 0 ;
17546 bool temp2
= false ;
17547 PyObject
* obj0
= 0 ;
17548 PyObject
* obj1
= 0 ;
17549 char * kwnames
[] = {
17550 (char *) "self",(char *) "selections", NULL
17553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17555 if (!SWIG_IsOK(res1
)) {
17556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17558 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17560 if (! PySequence_Check(obj1
)) {
17561 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17564 arg2
= new wxArrayInt
;
17566 int i
, len
=PySequence_Length(obj1
);
17567 for (i
=0; i
<len
; i
++) {
17568 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17569 PyObject
* number
= PyNumber_Int(item
);
17570 arg2
->Add(PyInt_AS_LONG(number
));
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= SWIG_Py_Void();
17583 if (temp2
) delete arg2
;
17588 if (temp2
) delete arg2
;
17594 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17595 PyObject
*resultobj
= 0;
17596 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17597 PyObject
*result
= 0 ;
17600 PyObject
*swig_obj
[1] ;
17602 if (!args
) SWIG_fail
;
17603 swig_obj
[0] = args
;
17604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17605 if (!SWIG_IsOK(res1
)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17608 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= result
;
17622 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17625 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17626 return SWIG_Py_Void();
17629 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17630 return SWIG_Python_InitShadowInstance(args
);
17633 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
= 0;
17635 wxWindow
*arg1
= (wxWindow
*) 0 ;
17636 wxString
*arg2
= 0 ;
17637 wxString
*arg3
= 0 ;
17639 wxString
*arg5
= (wxString
*) 0 ;
17640 long arg6
= (long) wxCHOICEDLG_STYLE
;
17641 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17642 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17643 wxSingleChoiceDialog
*result
= 0 ;
17646 bool temp2
= false ;
17647 bool temp3
= false ;
17651 PyObject
* obj0
= 0 ;
17652 PyObject
* obj1
= 0 ;
17653 PyObject
* obj2
= 0 ;
17654 PyObject
* obj3
= 0 ;
17655 PyObject
* obj4
= 0 ;
17656 PyObject
* obj5
= 0 ;
17657 char * kwnames
[] = {
17658 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17663 if (!SWIG_IsOK(res1
)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17668 arg2
= wxString_in_helper(obj1
);
17669 if (arg2
== NULL
) SWIG_fail
;
17673 arg3
= wxString_in_helper(obj2
);
17674 if (arg3
== NULL
) SWIG_fail
;
17678 arg4
= PyList_Size(obj3
);
17679 arg5
= wxString_LIST_helper(obj3
);
17680 if (arg5
== NULL
) SWIG_fail
;
17683 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17684 if (!SWIG_IsOK(ecode6
)) {
17685 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17687 arg6
= static_cast< long >(val6
);
17692 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17696 if (!wxPyCheckForApp()) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17712 if (arg5
) delete [] arg5
;
17725 if (arg5
) delete [] arg5
;
17731 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17732 PyObject
*resultobj
= 0;
17733 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17737 PyObject
*swig_obj
[1] ;
17739 if (!args
) SWIG_fail
;
17740 swig_obj
[0] = args
;
17741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17742 if (!SWIG_IsOK(res1
)) {
17743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17745 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (int)(arg1
)->GetSelection();
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 resultobj
= SWIG_From_int(static_cast< int >(result
));
17759 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17760 PyObject
*resultobj
= 0;
17761 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17765 PyObject
*swig_obj
[1] ;
17767 if (!args
) SWIG_fail
;
17768 swig_obj
[0] = args
;
17769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17770 if (!SWIG_IsOK(res1
)) {
17771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17773 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (arg1
)->GetStringSelection();
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17793 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
= 0;
17795 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 char * kwnames
[] = {
17804 (char *) "self",(char *) "sel", NULL
17807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17809 if (!SWIG_IsOK(res1
)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17812 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17814 if (!SWIG_IsOK(ecode2
)) {
17815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17817 arg2
= static_cast< int >(val2
);
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 (arg1
)->SetSelection(arg2
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= SWIG_Py_Void();
17831 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17834 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17835 return SWIG_Py_Void();
17838 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17839 return SWIG_Python_InitShadowInstance(args
);
17842 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
= 0;
17844 wxWindow
*arg1
= (wxWindow
*) 0 ;
17845 wxString
*arg2
= 0 ;
17846 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17847 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17848 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17849 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17850 long arg5
= (long) wxTextEntryDialogStyle
;
17851 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17852 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17853 wxTextEntryDialog
*result
= 0 ;
17856 bool temp2
= false ;
17857 bool temp3
= false ;
17858 bool temp4
= false ;
17862 PyObject
* obj0
= 0 ;
17863 PyObject
* obj1
= 0 ;
17864 PyObject
* obj2
= 0 ;
17865 PyObject
* obj3
= 0 ;
17866 PyObject
* obj4
= 0 ;
17867 PyObject
* obj5
= 0 ;
17868 char * kwnames
[] = {
17869 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17874 if (!SWIG_IsOK(res1
)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17877 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17879 arg2
= wxString_in_helper(obj1
);
17880 if (arg2
== NULL
) SWIG_fail
;
17885 arg3
= wxString_in_helper(obj2
);
17886 if (arg3
== NULL
) SWIG_fail
;
17892 arg4
= wxString_in_helper(obj3
);
17893 if (arg4
== NULL
) SWIG_fail
;
17898 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17899 if (!SWIG_IsOK(ecode5
)) {
17900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17902 arg5
= static_cast< long >(val5
);
17907 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17911 if (!wxPyCheckForApp()) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
17948 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17949 PyObject
*resultobj
= 0;
17950 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17954 PyObject
*swig_obj
[1] ;
17956 if (!args
) SWIG_fail
;
17957 swig_obj
[0] = args
;
17958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
17959 if (!SWIG_IsOK(res1
)) {
17960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17962 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (arg1
)->GetValue();
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17982 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
= 0;
17984 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17985 wxString
*arg2
= 0 ;
17988 bool temp2
= false ;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 char * kwnames
[] = {
17992 (char *) "self",(char *) "value", NULL
17995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
17997 if (!SWIG_IsOK(res1
)) {
17998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18000 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18002 arg2
= wxString_in_helper(obj1
);
18003 if (arg2
== NULL
) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 (arg1
)->SetValue((wxString
const &)*arg2
);
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 resultobj
= SWIG_Py_Void();
18027 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18030 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18031 return SWIG_Py_Void();
18034 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18035 return SWIG_Python_InitShadowInstance(args
);
18038 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18039 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18044 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18045 PyObject
*pyobj
= 0;
18049 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18051 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18058 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
= 0;
18060 wxWindow
*arg1
= (wxWindow
*) 0 ;
18061 wxString
*arg2
= 0 ;
18062 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18064 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18065 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18066 long arg5
= (long) wxTextEntryDialogStyle
;
18067 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18068 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18069 wxPasswordEntryDialog
*result
= 0 ;
18072 bool temp2
= false ;
18073 bool temp3
= false ;
18074 bool temp4
= false ;
18078 PyObject
* obj0
= 0 ;
18079 PyObject
* obj1
= 0 ;
18080 PyObject
* obj2
= 0 ;
18081 PyObject
* obj3
= 0 ;
18082 PyObject
* obj4
= 0 ;
18083 PyObject
* obj5
= 0 ;
18084 char * kwnames
[] = {
18085 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18090 if (!SWIG_IsOK(res1
)) {
18091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18093 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18095 arg2
= wxString_in_helper(obj1
);
18096 if (arg2
== NULL
) SWIG_fail
;
18101 arg3
= wxString_in_helper(obj2
);
18102 if (arg3
== NULL
) SWIG_fail
;
18108 arg4
= wxString_in_helper(obj3
);
18109 if (arg4
== NULL
) SWIG_fail
;
18114 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18115 if (!SWIG_IsOK(ecode5
)) {
18116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18118 arg5
= static_cast< long >(val5
);
18123 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18163 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18167 return SWIG_Py_Void();
18170 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18171 return SWIG_Python_InitShadowInstance(args
);
18174 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18175 PyObject
*resultobj
= 0;
18176 wxFontData
*result
= 0 ;
18178 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (wxFontData
*)new wxFontData();
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18192 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18193 PyObject
*resultobj
= 0;
18194 wxFontData
*arg1
= (wxFontData
*) 0 ;
18197 PyObject
*swig_obj
[1] ;
18199 if (!args
) SWIG_fail
;
18200 swig_obj
[0] = args
;
18201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18202 if (!SWIG_IsOK(res1
)) {
18203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18205 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 wxPyEndAllowThreads(__tstate
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18213 resultobj
= SWIG_Py_Void();
18220 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
= 0;
18222 wxFontData
*arg1
= (wxFontData
*) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 PyObject
* obj1
= 0 ;
18230 char * kwnames
[] = {
18231 (char *) "self",(char *) "enable", NULL
18234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18236 if (!SWIG_IsOK(res1
)) {
18237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18239 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18240 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18241 if (!SWIG_IsOK(ecode2
)) {
18242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18244 arg2
= static_cast< bool >(val2
);
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 (arg1
)->EnableEffects(arg2
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= SWIG_Py_Void();
18258 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18259 PyObject
*resultobj
= 0;
18260 wxFontData
*arg1
= (wxFontData
*) 0 ;
18264 PyObject
*swig_obj
[1] ;
18266 if (!args
) SWIG_fail
;
18267 swig_obj
[0] = args
;
18268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18269 if (!SWIG_IsOK(res1
)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18272 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 result
= (bool)(arg1
)->GetAllowSymbols();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18288 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18289 PyObject
*resultobj
= 0;
18290 wxFontData
*arg1
= (wxFontData
*) 0 ;
18294 PyObject
*swig_obj
[1] ;
18296 if (!args
) SWIG_fail
;
18297 swig_obj
[0] = args
;
18298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18299 if (!SWIG_IsOK(res1
)) {
18300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18302 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (arg1
)->GetColour();
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18316 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18317 PyObject
*resultobj
= 0;
18318 wxFontData
*arg1
= (wxFontData
*) 0 ;
18322 PyObject
*swig_obj
[1] ;
18324 if (!args
) SWIG_fail
;
18325 swig_obj
[0] = args
;
18326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18327 if (!SWIG_IsOK(res1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18330 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= (arg1
)->GetChosenFont();
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18344 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18345 PyObject
*resultobj
= 0;
18346 wxFontData
*arg1
= (wxFontData
*) 0 ;
18350 PyObject
*swig_obj
[1] ;
18352 if (!args
) SWIG_fail
;
18353 swig_obj
[0] = args
;
18354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18355 if (!SWIG_IsOK(res1
)) {
18356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18358 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 result
= (bool)(arg1
)->GetEnableEffects();
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18374 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18375 PyObject
*resultobj
= 0;
18376 wxFontData
*arg1
= (wxFontData
*) 0 ;
18380 PyObject
*swig_obj
[1] ;
18382 if (!args
) SWIG_fail
;
18383 swig_obj
[0] = args
;
18384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18385 if (!SWIG_IsOK(res1
)) {
18386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18388 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (arg1
)->GetInitialFont();
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18402 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18403 PyObject
*resultobj
= 0;
18404 wxFontData
*arg1
= (wxFontData
*) 0 ;
18408 PyObject
*swig_obj
[1] ;
18410 if (!args
) SWIG_fail
;
18411 swig_obj
[0] = args
;
18412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18413 if (!SWIG_IsOK(res1
)) {
18414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18416 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (bool)(arg1
)->GetShowHelp();
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18432 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
= 0;
18434 wxFontData
*arg1
= (wxFontData
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 PyObject
* obj1
= 0 ;
18442 char * kwnames
[] = {
18443 (char *) "self",(char *) "allowSymbols", NULL
18446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18448 if (!SWIG_IsOK(res1
)) {
18449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18451 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18452 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18453 if (!SWIG_IsOK(ecode2
)) {
18454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18456 arg2
= static_cast< bool >(val2
);
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 (arg1
)->SetAllowSymbols(arg2
);
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= SWIG_Py_Void();
18470 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
= 0;
18472 wxFontData
*arg1
= (wxFontData
*) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 PyObject
* obj1
= 0 ;
18480 char * kwnames
[] = {
18481 (char *) "self",(char *) "font", NULL
18484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18486 if (!SWIG_IsOK(res1
)) {
18487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18489 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18491 if (!SWIG_IsOK(res2
)) {
18492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18497 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= SWIG_Py_Void();
18511 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
= 0;
18513 wxFontData
*arg1
= (wxFontData
*) 0 ;
18514 wxColour
*arg2
= 0 ;
18518 PyObject
* obj0
= 0 ;
18519 PyObject
* obj1
= 0 ;
18520 char * kwnames
[] = {
18521 (char *) "self",(char *) "colour", NULL
18524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18526 if (!SWIG_IsOK(res1
)) {
18527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18529 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18532 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 (arg1
)->SetColour((wxColour
const &)*arg2
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_Py_Void();
18547 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
= 0;
18549 wxFontData
*arg1
= (wxFontData
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char * kwnames
[] = {
18558 (char *) "self",(char *) "font", NULL
18561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18563 if (!SWIG_IsOK(res1
)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18566 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18568 if (!SWIG_IsOK(res2
)) {
18569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18574 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= SWIG_Py_Void();
18588 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
= 0;
18590 wxFontData
*arg1
= (wxFontData
*) 0 ;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 PyObject
* obj2
= 0 ;
18602 char * kwnames
[] = {
18603 (char *) "self",(char *) "min",(char *) "max", NULL
18606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18608 if (!SWIG_IsOK(res1
)) {
18609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18611 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18613 if (!SWIG_IsOK(ecode2
)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18616 arg2
= static_cast< int >(val2
);
18617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18618 if (!SWIG_IsOK(ecode3
)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18621 arg3
= static_cast< int >(val3
);
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 (arg1
)->SetRange(arg2
,arg3
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= SWIG_Py_Void();
18635 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
= 0;
18637 wxFontData
*arg1
= (wxFontData
*) 0 ;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 char * kwnames
[] = {
18646 (char *) "self",(char *) "showHelp", NULL
18649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18651 if (!SWIG_IsOK(res1
)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18654 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18655 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18656 if (!SWIG_IsOK(ecode2
)) {
18657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18659 arg2
= static_cast< bool >(val2
);
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 (arg1
)->SetShowHelp(arg2
);
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_Py_Void();
18673 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18676 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18677 return SWIG_Py_Void();
18680 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18681 return SWIG_Python_InitShadowInstance(args
);
18684 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
= 0;
18686 wxWindow
*arg1
= (wxWindow
*) 0 ;
18687 wxFontData
*arg2
= 0 ;
18688 wxFontDialog
*result
= 0 ;
18693 PyObject
* obj0
= 0 ;
18694 PyObject
* obj1
= 0 ;
18695 char * kwnames
[] = {
18696 (char *) "parent",(char *) "data", NULL
18699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18701 if (!SWIG_IsOK(res1
)) {
18702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18704 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18706 if (!SWIG_IsOK(res2
)) {
18707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18712 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18714 if (!wxPyCheckForApp()) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18727 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18728 PyObject
*resultobj
= 0;
18729 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18730 wxFontData
*result
= 0 ;
18733 PyObject
*swig_obj
[1] ;
18735 if (!args
) SWIG_fail
;
18736 swig_obj
[0] = args
;
18737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18738 if (!SWIG_IsOK(res1
)) {
18739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18741 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18746 result
= (wxFontData
*) &_result_ref
;
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18758 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18761 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18762 return SWIG_Py_Void();
18765 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18766 return SWIG_Python_InitShadowInstance(args
);
18769 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
= 0;
18771 wxWindow
*arg1
= (wxWindow
*) NULL
;
18772 wxFont
const &arg2_defvalue
= wxNullFont
;
18773 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18774 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18775 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18781 bool temp3
= false ;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 PyObject
* obj2
= 0 ;
18785 char * kwnames
[] = {
18786 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18792 if (!SWIG_IsOK(res1
)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18798 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18799 if (!SWIG_IsOK(res2
)) {
18800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18805 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18809 arg3
= wxString_in_helper(obj2
);
18810 if (arg3
== NULL
) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18835 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
= 0;
18837 wxWindow
*arg1
= (wxWindow
*) 0 ;
18838 wxString
*arg2
= 0 ;
18839 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18840 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18841 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18842 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18843 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18844 wxMessageDialog
*result
= 0 ;
18847 bool temp2
= false ;
18848 bool temp3
= false ;
18852 PyObject
* obj0
= 0 ;
18853 PyObject
* obj1
= 0 ;
18854 PyObject
* obj2
= 0 ;
18855 PyObject
* obj3
= 0 ;
18856 PyObject
* obj4
= 0 ;
18857 char * kwnames
[] = {
18858 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18863 if (!SWIG_IsOK(res1
)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18866 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18868 arg2
= wxString_in_helper(obj1
);
18869 if (arg2
== NULL
) SWIG_fail
;
18874 arg3
= wxString_in_helper(obj2
);
18875 if (arg3
== NULL
) SWIG_fail
;
18880 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
18881 if (!SWIG_IsOK(ecode4
)) {
18882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18884 arg4
= static_cast< long >(val4
);
18889 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18893 if (!wxPyCheckForApp()) SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
18922 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18925 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
18926 return SWIG_Py_Void();
18929 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18930 return SWIG_Python_InitShadowInstance(args
);
18933 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
= 0;
18935 wxString
*arg1
= 0 ;
18936 wxString
*arg2
= 0 ;
18937 int arg3
= (int) 100 ;
18938 wxWindow
*arg4
= (wxWindow
*) NULL
;
18939 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
18940 wxProgressDialog
*result
= 0 ;
18941 bool temp1
= false ;
18942 bool temp2
= false ;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 PyObject
* obj2
= 0 ;
18952 PyObject
* obj3
= 0 ;
18953 PyObject
* obj4
= 0 ;
18954 char * kwnames
[] = {
18955 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
18958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18960 arg1
= wxString_in_helper(obj0
);
18961 if (arg1
== NULL
) SWIG_fail
;
18965 arg2
= wxString_in_helper(obj1
);
18966 if (arg2
== NULL
) SWIG_fail
;
18970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18971 if (!SWIG_IsOK(ecode3
)) {
18972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
18974 arg3
= static_cast< int >(val3
);
18977 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18978 if (!SWIG_IsOK(res4
)) {
18979 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
18981 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
18984 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18985 if (!SWIG_IsOK(ecode5
)) {
18986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
18988 arg5
= static_cast< int >(val5
);
18991 if (!wxPyCheckForApp()) SWIG_fail
;
18992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19020 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
= 0;
19022 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19024 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19025 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19026 bool *arg4
= (bool *) 0 ;
19032 bool temp3
= false ;
19034 int res4
= SWIG_TMPOBJ
;
19035 PyObject
* obj0
= 0 ;
19036 PyObject
* obj1
= 0 ;
19037 PyObject
* obj2
= 0 ;
19038 char * kwnames
[] = {
19039 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19045 if (!SWIG_IsOK(res1
)) {
19046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19048 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19050 if (!SWIG_IsOK(ecode2
)) {
19051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19053 arg2
= static_cast< int >(val2
);
19056 arg3
= wxString_in_helper(obj2
);
19057 if (arg3
== NULL
) SWIG_fail
;
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19070 if (SWIG_IsTmpObj(res4
)) {
19071 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19073 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19090 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19091 PyObject
*resultobj
= 0;
19092 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19095 PyObject
*swig_obj
[1] ;
19097 if (!args
) SWIG_fail
;
19098 swig_obj
[0] = args
;
19099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19100 if (!SWIG_IsOK(res1
)) {
19101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19103 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= SWIG_Py_Void();
19117 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19120 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19121 return SWIG_Py_Void();
19124 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19125 return SWIG_Python_InitShadowInstance(args
);
19128 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
= 0;
19130 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19131 int arg2
= (int) 0 ;
19132 wxFindDialogEvent
*result
= 0 ;
19137 PyObject
* obj0
= 0 ;
19138 PyObject
* obj1
= 0 ;
19139 char * kwnames
[] = {
19140 (char *) "commandType",(char *) "id", NULL
19143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19146 if (!SWIG_IsOK(ecode1
)) {
19147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19149 arg1
= static_cast< wxEventType
>(val1
);
19152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19153 if (!SWIG_IsOK(ecode2
)) {
19154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19156 arg2
= static_cast< int >(val2
);
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19171 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19172 PyObject
*resultobj
= 0;
19173 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19177 PyObject
*swig_obj
[1] ;
19179 if (!args
) SWIG_fail
;
19180 swig_obj
[0] = args
;
19181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19182 if (!SWIG_IsOK(res1
)) {
19183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19185 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 result
= (int)(arg1
)->GetFlags();
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_From_int(static_cast< int >(result
));
19199 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19200 PyObject
*resultobj
= 0;
19201 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19202 wxString
*result
= 0 ;
19205 PyObject
*swig_obj
[1] ;
19207 if (!args
) SWIG_fail
;
19208 swig_obj
[0] = args
;
19209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19210 if (!SWIG_IsOK(res1
)) {
19211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19213 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 wxString
const &_result_ref
= (arg1
)->GetFindString();
19218 result
= (wxString
*) &_result_ref
;
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19227 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19236 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19237 PyObject
*resultobj
= 0;
19238 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19239 wxString
*result
= 0 ;
19242 PyObject
*swig_obj
[1] ;
19244 if (!args
) SWIG_fail
;
19245 swig_obj
[0] = args
;
19246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19247 if (!SWIG_IsOK(res1
)) {
19248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19250 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19255 result
= (wxString
*) &_result_ref
;
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19262 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19264 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19273 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19274 PyObject
*resultobj
= 0;
19275 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19276 wxFindReplaceDialog
*result
= 0 ;
19279 PyObject
*swig_obj
[1] ;
19281 if (!args
) SWIG_fail
;
19282 swig_obj
[0] = args
;
19283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19284 if (!SWIG_IsOK(res1
)) {
19285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19287 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19301 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
= 0;
19303 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 char * kwnames
[] = {
19312 (char *) "self",(char *) "flags", NULL
19315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19317 if (!SWIG_IsOK(res1
)) {
19318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19320 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19322 if (!SWIG_IsOK(ecode2
)) {
19323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19325 arg2
= static_cast< int >(val2
);
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 (arg1
)->SetFlags(arg2
);
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= SWIG_Py_Void();
19339 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
= 0;
19341 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19342 wxString
*arg2
= 0 ;
19345 bool temp2
= false ;
19346 PyObject
* obj0
= 0 ;
19347 PyObject
* obj1
= 0 ;
19348 char * kwnames
[] = {
19349 (char *) "self",(char *) "str", NULL
19352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19354 if (!SWIG_IsOK(res1
)) {
19355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19357 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19359 arg2
= wxString_in_helper(obj1
);
19360 if (arg2
== NULL
) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 (arg1
)->SetFindString((wxString
const &)*arg2
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 resultobj
= SWIG_Py_Void();
19384 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
= 0;
19386 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19387 wxString
*arg2
= 0 ;
19390 bool temp2
= false ;
19391 PyObject
* obj0
= 0 ;
19392 PyObject
* obj1
= 0 ;
19393 char * kwnames
[] = {
19394 (char *) "self",(char *) "str", NULL
19397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19399 if (!SWIG_IsOK(res1
)) {
19400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19402 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19404 arg2
= wxString_in_helper(obj1
);
19405 if (arg2
== NULL
) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= SWIG_Py_Void();
19429 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19432 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19433 return SWIG_Py_Void();
19436 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19437 return SWIG_Python_InitShadowInstance(args
);
19440 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
= 0;
19442 int arg1
= (int) 0 ;
19443 wxFindReplaceData
*result
= 0 ;
19446 PyObject
* obj0
= 0 ;
19447 char * kwnames
[] = {
19448 (char *) "flags", NULL
19451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19453 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19454 if (!SWIG_IsOK(ecode1
)) {
19455 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19457 arg1
= static_cast< int >(val1
);
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19472 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19473 PyObject
*resultobj
= 0;
19474 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19477 PyObject
*swig_obj
[1] ;
19479 if (!args
) SWIG_fail
;
19480 swig_obj
[0] = args
;
19481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19482 if (!SWIG_IsOK(res1
)) {
19483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19485 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 wxPyEndAllowThreads(__tstate
);
19491 if (PyErr_Occurred()) SWIG_fail
;
19493 resultobj
= SWIG_Py_Void();
19500 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19501 PyObject
*resultobj
= 0;
19502 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19503 wxString
*result
= 0 ;
19506 PyObject
*swig_obj
[1] ;
19508 if (!args
) SWIG_fail
;
19509 swig_obj
[0] = args
;
19510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19511 if (!SWIG_IsOK(res1
)) {
19512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19514 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 wxString
const &_result_ref
= (arg1
)->GetFindString();
19519 result
= (wxString
*) &_result_ref
;
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19528 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19537 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19538 PyObject
*resultobj
= 0;
19539 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19540 wxString
*result
= 0 ;
19543 PyObject
*swig_obj
[1] ;
19545 if (!args
) SWIG_fail
;
19546 swig_obj
[0] = args
;
19547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19548 if (!SWIG_IsOK(res1
)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19551 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19556 result
= (wxString
*) &_result_ref
;
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19565 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19574 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19575 PyObject
*resultobj
= 0;
19576 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19580 PyObject
*swig_obj
[1] ;
19582 if (!args
) SWIG_fail
;
19583 swig_obj
[0] = args
;
19584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19585 if (!SWIG_IsOK(res1
)) {
19586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19588 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 result
= (int)(arg1
)->GetFlags();
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= SWIG_From_int(static_cast< int >(result
));
19602 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
= 0;
19604 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19610 PyObject
* obj0
= 0 ;
19611 PyObject
* obj1
= 0 ;
19612 char * kwnames
[] = {
19613 (char *) "self",(char *) "flags", NULL
19616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19618 if (!SWIG_IsOK(res1
)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19621 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19623 if (!SWIG_IsOK(ecode2
)) {
19624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19626 arg2
= static_cast< int >(val2
);
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 (arg1
)->SetFlags(arg2
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= SWIG_Py_Void();
19640 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
= 0;
19642 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19643 wxString
*arg2
= 0 ;
19646 bool temp2
= false ;
19647 PyObject
* obj0
= 0 ;
19648 PyObject
* obj1
= 0 ;
19649 char * kwnames
[] = {
19650 (char *) "self",(char *) "str", NULL
19653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19655 if (!SWIG_IsOK(res1
)) {
19656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19658 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19660 arg2
= wxString_in_helper(obj1
);
19661 if (arg2
== NULL
) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 (arg1
)->SetFindString((wxString
const &)*arg2
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= SWIG_Py_Void();
19685 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
= 0;
19687 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19688 wxString
*arg2
= 0 ;
19691 bool temp2
= false ;
19692 PyObject
* obj0
= 0 ;
19693 PyObject
* obj1
= 0 ;
19694 char * kwnames
[] = {
19695 (char *) "self",(char *) "str", NULL
19698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19700 if (!SWIG_IsOK(res1
)) {
19701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19703 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19705 arg2
= wxString_in_helper(obj1
);
19706 if (arg2
== NULL
) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_Py_Void();
19730 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19733 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19734 return SWIG_Py_Void();
19737 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19738 return SWIG_Python_InitShadowInstance(args
);
19741 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
= 0;
19743 wxWindow
*arg1
= (wxWindow
*) 0 ;
19744 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19745 wxString
*arg3
= 0 ;
19746 int arg4
= (int) 0 ;
19747 wxFindReplaceDialog
*result
= 0 ;
19752 bool temp3
= false ;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 PyObject
* obj2
= 0 ;
19758 PyObject
* obj3
= 0 ;
19759 char * kwnames
[] = {
19760 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19765 if (!SWIG_IsOK(res1
)) {
19766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19768 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19770 if (!SWIG_IsOK(res2
)) {
19771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19773 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19775 arg3
= wxString_in_helper(obj2
);
19776 if (arg3
== NULL
) SWIG_fail
;
19780 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19781 if (!SWIG_IsOK(ecode4
)) {
19782 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19784 arg4
= static_cast< int >(val4
);
19787 if (!wxPyCheckForApp()) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19808 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19809 PyObject
*resultobj
= 0;
19810 wxFindReplaceDialog
*result
= 0 ;
19812 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19814 if (!wxPyCheckForApp()) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19827 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
= 0;
19829 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19830 wxWindow
*arg2
= (wxWindow
*) 0 ;
19831 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19832 wxString
*arg4
= 0 ;
19833 int arg5
= (int) 0 ;
19841 bool temp4
= false ;
19844 PyObject
* obj0
= 0 ;
19845 PyObject
* obj1
= 0 ;
19846 PyObject
* obj2
= 0 ;
19847 PyObject
* obj3
= 0 ;
19848 PyObject
* obj4
= 0 ;
19849 char * kwnames
[] = {
19850 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19855 if (!SWIG_IsOK(res1
)) {
19856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19858 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19859 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19860 if (!SWIG_IsOK(res2
)) {
19861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19863 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19864 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19865 if (!SWIG_IsOK(res3
)) {
19866 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19868 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
19870 arg4
= wxString_in_helper(obj3
);
19871 if (arg4
== NULL
) SWIG_fail
;
19875 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19876 if (!SWIG_IsOK(ecode5
)) {
19877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19879 arg5
= static_cast< int >(val5
);
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19904 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19905 PyObject
*resultobj
= 0;
19906 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19907 wxFindReplaceData
*result
= 0 ;
19910 PyObject
*swig_obj
[1] ;
19912 if (!args
) SWIG_fail
;
19913 swig_obj
[0] = args
;
19914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19915 if (!SWIG_IsOK(res1
)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19918 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 result
= (wxFindReplaceData
*)(arg1
)->GetData();
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19932 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
= 0;
19934 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19935 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19940 PyObject
* obj0
= 0 ;
19941 PyObject
* obj1
= 0 ;
19942 char * kwnames
[] = {
19943 (char *) "self",(char *) "data", NULL
19946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19948 if (!SWIG_IsOK(res1
)) {
19949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19951 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19952 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19953 if (!SWIG_IsOK(res2
)) {
19954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19956 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 (arg1
)->SetData(arg2
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= SWIG_Py_Void();
19970 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19973 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
19974 return SWIG_Py_Void();
19977 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19978 return SWIG_Python_InitShadowInstance(args
);
19981 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
= 0;
19983 wxWindow
*arg1
= (wxWindow
*) 0 ;
19984 int arg2
= (int) (int)-1 ;
19985 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19986 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19987 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19988 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19989 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19990 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19991 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
19992 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19993 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19994 wxMDIParentFrame
*result
= 0 ;
19999 bool temp3
= false ;
20004 bool temp7
= false ;
20005 PyObject
* obj0
= 0 ;
20006 PyObject
* obj1
= 0 ;
20007 PyObject
* obj2
= 0 ;
20008 PyObject
* obj3
= 0 ;
20009 PyObject
* obj4
= 0 ;
20010 PyObject
* obj5
= 0 ;
20011 PyObject
* obj6
= 0 ;
20012 char * kwnames
[] = {
20013 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20018 if (!SWIG_IsOK(res1
)) {
20019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20021 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20024 if (!SWIG_IsOK(ecode2
)) {
20025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20027 arg2
= static_cast< int >(val2
);
20031 arg3
= wxString_in_helper(obj2
);
20032 if (arg3
== NULL
) SWIG_fail
;
20039 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20045 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20049 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20050 if (!SWIG_IsOK(ecode6
)) {
20051 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20053 arg6
= static_cast< long >(val6
);
20057 arg7
= wxString_in_helper(obj6
);
20058 if (arg7
== NULL
) SWIG_fail
;
20063 if (!wxPyCheckForApp()) SWIG_fail
;
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20092 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20093 PyObject
*resultobj
= 0;
20094 wxMDIParentFrame
*result
= 0 ;
20096 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20098 if (!wxPyCheckForApp()) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20111 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
= 0;
20113 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20114 wxWindow
*arg2
= (wxWindow
*) 0 ;
20115 int arg3
= (int) (int)-1 ;
20116 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20118 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20119 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20120 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20121 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20122 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20123 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20124 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20132 bool temp4
= false ;
20137 bool temp8
= false ;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20140 PyObject
* obj2
= 0 ;
20141 PyObject
* obj3
= 0 ;
20142 PyObject
* obj4
= 0 ;
20143 PyObject
* obj5
= 0 ;
20144 PyObject
* obj6
= 0 ;
20145 PyObject
* obj7
= 0 ;
20146 char * kwnames
[] = {
20147 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20152 if (!SWIG_IsOK(res1
)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20155 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20157 if (!SWIG_IsOK(res2
)) {
20158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20160 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20163 if (!SWIG_IsOK(ecode3
)) {
20164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20166 arg3
= static_cast< int >(val3
);
20170 arg4
= wxString_in_helper(obj3
);
20171 if (arg4
== NULL
) SWIG_fail
;
20178 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20184 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20188 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20189 if (!SWIG_IsOK(ecode7
)) {
20190 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20192 arg7
= static_cast< long >(val7
);
20196 arg8
= wxString_in_helper(obj7
);
20197 if (arg8
== NULL
) SWIG_fail
;
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20204 wxPyEndAllowThreads(__tstate
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20232 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20233 PyObject
*resultobj
= 0;
20234 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20237 PyObject
*swig_obj
[1] ;
20239 if (!args
) SWIG_fail
;
20240 swig_obj
[0] = args
;
20241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20242 if (!SWIG_IsOK(res1
)) {
20243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20245 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 (arg1
)->ActivateNext();
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= SWIG_Py_Void();
20259 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20260 PyObject
*resultobj
= 0;
20261 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20264 PyObject
*swig_obj
[1] ;
20266 if (!args
) SWIG_fail
;
20267 swig_obj
[0] = args
;
20268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20269 if (!SWIG_IsOK(res1
)) {
20270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20272 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 (arg1
)->ActivatePrevious();
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= SWIG_Py_Void();
20286 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20287 PyObject
*resultobj
= 0;
20288 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20291 PyObject
*swig_obj
[1] ;
20293 if (!args
) SWIG_fail
;
20294 swig_obj
[0] = args
;
20295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20296 if (!SWIG_IsOK(res1
)) {
20297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20299 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 (arg1
)->ArrangeIcons();
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 resultobj
= SWIG_Py_Void();
20313 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20314 PyObject
*resultobj
= 0;
20315 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20318 PyObject
*swig_obj
[1] ;
20320 if (!args
) SWIG_fail
;
20321 swig_obj
[0] = args
;
20322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20323 if (!SWIG_IsOK(res1
)) {
20324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20326 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= SWIG_Py_Void();
20340 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20341 PyObject
*resultobj
= 0;
20342 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20343 wxMDIChildFrame
*result
= 0 ;
20346 PyObject
*swig_obj
[1] ;
20348 if (!args
) SWIG_fail
;
20349 swig_obj
[0] = args
;
20350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20351 if (!SWIG_IsOK(res1
)) {
20352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20354 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20362 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20370 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20371 PyObject
*resultobj
= 0;
20372 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20373 wxMDIClientWindow
*result
= 0 ;
20376 PyObject
*swig_obj
[1] ;
20378 if (!args
) SWIG_fail
;
20379 swig_obj
[0] = args
;
20380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20381 if (!SWIG_IsOK(res1
)) {
20382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20384 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20400 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20401 PyObject
*resultobj
= 0;
20402 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20403 wxWindow
*result
= 0 ;
20406 PyObject
*swig_obj
[1] ;
20408 if (!args
) SWIG_fail
;
20409 swig_obj
[0] = args
;
20410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20411 if (!SWIG_IsOK(res1
)) {
20412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20414 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (wxWindow
*)(arg1
)->GetToolBar();
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= wxPyMake_wxObject(result
, 0);
20430 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20431 PyObject
*resultobj
= 0;
20432 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20433 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 char * kwnames
[] = {
20441 (char *) "self",(char *) "orient", NULL
20444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20446 if (!SWIG_IsOK(res1
)) {
20447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20449 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20452 if (!SWIG_IsOK(ecode2
)) {
20453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20455 arg2
= static_cast< wxOrientation
>(val2
);
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 (arg1
)->Tile(arg2
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_Py_Void();
20470 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20473 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20474 return SWIG_Py_Void();
20477 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20478 return SWIG_Python_InitShadowInstance(args
);
20481 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20482 PyObject
*resultobj
= 0;
20483 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20484 int arg2
= (int) (int)-1 ;
20485 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20486 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20487 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20488 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20489 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20490 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20491 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20492 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20493 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20494 wxMDIChildFrame
*result
= 0 ;
20499 bool temp3
= false ;
20504 bool temp7
= false ;
20505 PyObject
* obj0
= 0 ;
20506 PyObject
* obj1
= 0 ;
20507 PyObject
* obj2
= 0 ;
20508 PyObject
* obj3
= 0 ;
20509 PyObject
* obj4
= 0 ;
20510 PyObject
* obj5
= 0 ;
20511 PyObject
* obj6
= 0 ;
20512 char * kwnames
[] = {
20513 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20518 if (!SWIG_IsOK(res1
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20521 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20524 if (!SWIG_IsOK(ecode2
)) {
20525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20527 arg2
= static_cast< int >(val2
);
20531 arg3
= wxString_in_helper(obj2
);
20532 if (arg3
== NULL
) SWIG_fail
;
20539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20549 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20550 if (!SWIG_IsOK(ecode6
)) {
20551 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20553 arg6
= static_cast< long >(val6
);
20557 arg7
= wxString_in_helper(obj6
);
20558 if (arg7
== NULL
) SWIG_fail
;
20563 if (!wxPyCheckForApp()) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20592 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20593 PyObject
*resultobj
= 0;
20594 wxMDIChildFrame
*result
= 0 ;
20596 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20598 if (!wxPyCheckForApp()) SWIG_fail
;
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20611 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
= 0;
20613 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20614 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20615 int arg3
= (int) (int)-1 ;
20616 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20617 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20618 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20619 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20620 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20621 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20622 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20623 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20624 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20632 bool temp4
= false ;
20637 bool temp8
= false ;
20638 PyObject
* obj0
= 0 ;
20639 PyObject
* obj1
= 0 ;
20640 PyObject
* obj2
= 0 ;
20641 PyObject
* obj3
= 0 ;
20642 PyObject
* obj4
= 0 ;
20643 PyObject
* obj5
= 0 ;
20644 PyObject
* obj6
= 0 ;
20645 PyObject
* obj7
= 0 ;
20646 char * kwnames
[] = {
20647 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20652 if (!SWIG_IsOK(res1
)) {
20653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20655 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20657 if (!SWIG_IsOK(res2
)) {
20658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20660 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20663 if (!SWIG_IsOK(ecode3
)) {
20664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20666 arg3
= static_cast< int >(val3
);
20670 arg4
= wxString_in_helper(obj3
);
20671 if (arg4
== NULL
) SWIG_fail
;
20678 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20684 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20688 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20689 if (!SWIG_IsOK(ecode7
)) {
20690 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20692 arg7
= static_cast< long >(val7
);
20696 arg8
= wxString_in_helper(obj7
);
20697 if (arg8
== NULL
) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20732 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20733 PyObject
*resultobj
= 0;
20734 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20737 PyObject
*swig_obj
[1] ;
20739 if (!args
) SWIG_fail
;
20740 swig_obj
[0] = args
;
20741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20742 if (!SWIG_IsOK(res1
)) {
20743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20745 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 (arg1
)->Activate();
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 resultobj
= SWIG_Py_Void();
20759 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20762 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20763 return SWIG_Py_Void();
20766 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20767 return SWIG_Python_InitShadowInstance(args
);
20770 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
= 0;
20772 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20773 long arg2
= (long) 0 ;
20774 wxMDIClientWindow
*result
= 0 ;
20779 PyObject
* obj0
= 0 ;
20780 PyObject
* obj1
= 0 ;
20781 char * kwnames
[] = {
20782 (char *) "parent",(char *) "style", NULL
20785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20787 if (!SWIG_IsOK(res1
)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20790 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20792 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20793 if (!SWIG_IsOK(ecode2
)) {
20794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20796 arg2
= static_cast< long >(val2
);
20799 if (!wxPyCheckForApp()) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20812 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20813 PyObject
*resultobj
= 0;
20814 wxMDIClientWindow
*result
= 0 ;
20816 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20818 if (!wxPyCheckForApp()) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20831 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20832 PyObject
*resultobj
= 0;
20833 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20834 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20835 long arg3
= (long) 0 ;
20843 PyObject
* obj0
= 0 ;
20844 PyObject
* obj1
= 0 ;
20845 PyObject
* obj2
= 0 ;
20846 char * kwnames
[] = {
20847 (char *) "self",(char *) "parent",(char *) "style", NULL
20850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20852 if (!SWIG_IsOK(res1
)) {
20853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20855 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
20856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20857 if (!SWIG_IsOK(res2
)) {
20858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20860 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20862 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20863 if (!SWIG_IsOK(ecode3
)) {
20864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20866 arg3
= static_cast< long >(val3
);
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= (bool)(arg1
)->Create(arg2
,arg3
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20883 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20886 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
20887 return SWIG_Py_Void();
20890 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20891 return SWIG_Python_InitShadowInstance(args
);
20894 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
= 0;
20896 wxWindow
*arg1
= (wxWindow
*) 0 ;
20897 int arg2
= (int) (int)-1 ;
20898 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20899 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20900 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20901 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20902 long arg5
= (long) 0 ;
20903 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20904 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20905 wxPyWindow
*result
= 0 ;
20914 bool temp6
= false ;
20915 PyObject
* obj0
= 0 ;
20916 PyObject
* obj1
= 0 ;
20917 PyObject
* obj2
= 0 ;
20918 PyObject
* obj3
= 0 ;
20919 PyObject
* obj4
= 0 ;
20920 PyObject
* obj5
= 0 ;
20921 char * kwnames
[] = {
20922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20927 if (!SWIG_IsOK(res1
)) {
20928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20930 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20933 if (!SWIG_IsOK(ecode2
)) {
20934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
20936 arg2
= static_cast< int >(val2
);
20941 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20947 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20951 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20952 if (!SWIG_IsOK(ecode5
)) {
20953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
20955 arg5
= static_cast< long >(val5
);
20959 arg6
= wxString_in_helper(obj5
);
20960 if (arg6
== NULL
) SWIG_fail
;
20965 if (!wxPyCheckForApp()) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
20986 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20987 PyObject
*resultobj
= 0;
20988 wxPyWindow
*result
= 0 ;
20990 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
20992 if (!wxPyCheckForApp()) SWIG_fail
;
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 result
= (wxPyWindow
*)new wxPyWindow();
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21005 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
= 0;
21007 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21008 PyObject
*arg2
= (PyObject
*) 0 ;
21009 PyObject
*arg3
= (PyObject
*) 0 ;
21012 PyObject
* obj0
= 0 ;
21013 PyObject
* obj1
= 0 ;
21014 PyObject
* obj2
= 0 ;
21015 char * kwnames
[] = {
21016 (char *) "self",(char *) "self",(char *) "_class", NULL
21019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21021 if (!SWIG_IsOK(res1
)) {
21022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21024 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_Py_Void();
21040 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
= 0;
21042 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char * kwnames
[] = {
21050 (char *) "self",(char *) "size", NULL
21053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21055 if (!SWIG_IsOK(res1
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21058 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= SWIG_Py_Void();
21076 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
= 0;
21078 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21079 wxDC
*arg2
= (wxDC
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 PyObject
* obj1
= 0 ;
21087 char * kwnames
[] = {
21088 (char *) "self",(char *) "dc", NULL
21091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21093 if (!SWIG_IsOK(res1
)) {
21094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21096 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21098 if (!SWIG_IsOK(res2
)) {
21099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21101 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21117 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21118 PyObject
*resultobj
= 0;
21119 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21134 PyObject
* obj0
= 0 ;
21135 PyObject
* obj1
= 0 ;
21136 PyObject
* obj2
= 0 ;
21137 PyObject
* obj3
= 0 ;
21138 PyObject
* obj4
= 0 ;
21139 char * kwnames
[] = {
21140 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21145 if (!SWIG_IsOK(res1
)) {
21146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21148 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21150 if (!SWIG_IsOK(ecode2
)) {
21151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21153 arg2
= static_cast< int >(val2
);
21154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21155 if (!SWIG_IsOK(ecode3
)) {
21156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21158 arg3
= static_cast< int >(val3
);
21159 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21160 if (!SWIG_IsOK(ecode4
)) {
21161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21163 arg4
= static_cast< int >(val4
);
21164 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21165 if (!SWIG_IsOK(ecode5
)) {
21166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21168 arg5
= static_cast< int >(val5
);
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 resultobj
= SWIG_Py_Void();
21182 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
= 0;
21184 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21189 int arg6
= (int) wxSIZE_AUTO
;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 PyObject
* obj2
= 0 ;
21205 PyObject
* obj3
= 0 ;
21206 PyObject
* obj4
= 0 ;
21207 PyObject
* obj5
= 0 ;
21208 char * kwnames
[] = {
21209 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21214 if (!SWIG_IsOK(res1
)) {
21215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21217 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21219 if (!SWIG_IsOK(ecode2
)) {
21220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21222 arg2
= static_cast< int >(val2
);
21223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21224 if (!SWIG_IsOK(ecode3
)) {
21225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21227 arg3
= static_cast< int >(val3
);
21228 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21229 if (!SWIG_IsOK(ecode4
)) {
21230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21232 arg4
= static_cast< int >(val4
);
21233 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21234 if (!SWIG_IsOK(ecode5
)) {
21235 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21237 arg5
= static_cast< int >(val5
);
21239 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21240 if (!SWIG_IsOK(ecode6
)) {
21241 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21243 arg6
= static_cast< int >(val6
);
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_Py_Void();
21258 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21259 PyObject
*resultobj
= 0;
21260 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 PyObject
* obj1
= 0 ;
21271 PyObject
* obj2
= 0 ;
21272 char * kwnames
[] = {
21273 (char *) "self",(char *) "width",(char *) "height", NULL
21276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21278 if (!SWIG_IsOK(res1
)) {
21279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21281 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21283 if (!SWIG_IsOK(ecode2
)) {
21284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21286 arg2
= static_cast< int >(val2
);
21287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21288 if (!SWIG_IsOK(ecode3
)) {
21289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21291 arg3
= static_cast< int >(val3
);
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 (arg1
)->DoSetClientSize(arg2
,arg3
);
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 resultobj
= SWIG_Py_Void();
21305 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
= 0;
21307 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21316 PyObject
* obj0
= 0 ;
21317 PyObject
* obj1
= 0 ;
21318 PyObject
* obj2
= 0 ;
21319 char * kwnames
[] = {
21320 (char *) "self",(char *) "x",(char *) "y", NULL
21323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21325 if (!SWIG_IsOK(res1
)) {
21326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21328 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21330 if (!SWIG_IsOK(ecode2
)) {
21331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21333 arg2
= static_cast< int >(val2
);
21334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21335 if (!SWIG_IsOK(ecode3
)) {
21336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21338 arg3
= static_cast< int >(val3
);
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 resultobj
= SWIG_Py_Void();
21352 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21353 PyObject
*resultobj
= 0;
21354 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21355 int *arg2
= (int *) 0 ;
21356 int *arg3
= (int *) 0 ;
21360 int res2
= SWIG_TMPOBJ
;
21362 int res3
= SWIG_TMPOBJ
;
21363 PyObject
*swig_obj
[1] ;
21367 if (!args
) SWIG_fail
;
21368 swig_obj
[0] = args
;
21369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21370 if (!SWIG_IsOK(res1
)) {
21371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21373 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= SWIG_Py_Void();
21381 if (SWIG_IsTmpObj(res2
)) {
21382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21384 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21387 if (SWIG_IsTmpObj(res3
)) {
21388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21390 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21399 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21400 PyObject
*resultobj
= 0;
21401 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21402 int *arg2
= (int *) 0 ;
21403 int *arg3
= (int *) 0 ;
21407 int res2
= SWIG_TMPOBJ
;
21409 int res3
= SWIG_TMPOBJ
;
21410 PyObject
*swig_obj
[1] ;
21414 if (!args
) SWIG_fail
;
21415 swig_obj
[0] = args
;
21416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21417 if (!SWIG_IsOK(res1
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21420 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= SWIG_Py_Void();
21428 if (SWIG_IsTmpObj(res2
)) {
21429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21431 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21434 if (SWIG_IsTmpObj(res3
)) {
21435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21437 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21446 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21447 PyObject
*resultobj
= 0;
21448 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21449 int *arg2
= (int *) 0 ;
21450 int *arg3
= (int *) 0 ;
21454 int res2
= SWIG_TMPOBJ
;
21456 int res3
= SWIG_TMPOBJ
;
21457 PyObject
*swig_obj
[1] ;
21461 if (!args
) SWIG_fail
;
21462 swig_obj
[0] = args
;
21463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21464 if (!SWIG_IsOK(res1
)) {
21465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21467 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_Py_Void();
21475 if (SWIG_IsTmpObj(res2
)) {
21476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21478 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21481 if (SWIG_IsTmpObj(res3
)) {
21482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21484 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21493 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21494 PyObject
*resultobj
= 0;
21495 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21499 PyObject
*swig_obj
[1] ;
21501 if (!args
) SWIG_fail
;
21502 swig_obj
[0] = args
;
21503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21504 if (!SWIG_IsOK(res1
)) {
21505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21507 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21521 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21522 PyObject
*resultobj
= 0;
21523 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21527 PyObject
*swig_obj
[1] ;
21529 if (!args
) SWIG_fail
;
21530 swig_obj
[0] = args
;
21531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21532 if (!SWIG_IsOK(res1
)) {
21533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21535 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21549 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21550 PyObject
*resultobj
= 0;
21551 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21552 SwigValueWrapper
<wxVisualAttributes
> result
;
21555 PyObject
*swig_obj
[1] ;
21557 if (!args
) SWIG_fail
;
21558 swig_obj
[0] = args
;
21559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21560 if (!SWIG_IsOK(res1
)) {
21561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21563 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (arg1
)->GetDefaultAttributes();
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21577 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21578 PyObject
*resultobj
= 0;
21579 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21582 PyObject
*swig_obj
[1] ;
21584 if (!args
) SWIG_fail
;
21585 swig_obj
[0] = args
;
21586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21587 if (!SWIG_IsOK(res1
)) {
21588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21590 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 (arg1
)->OnInternalIdle();
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= SWIG_Py_Void();
21604 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21607 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21608 return SWIG_Py_Void();
21611 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21612 return SWIG_Python_InitShadowInstance(args
);
21615 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
= 0;
21617 wxWindow
*arg1
= (wxWindow
*) 0 ;
21618 int arg2
= (int) (int)-1 ;
21619 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21620 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21621 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21622 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21623 long arg5
= (long) 0 ;
21624 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21625 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21626 wxPyPanel
*result
= 0 ;
21635 bool temp6
= false ;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 PyObject
* obj2
= 0 ;
21639 PyObject
* obj3
= 0 ;
21640 PyObject
* obj4
= 0 ;
21641 PyObject
* obj5
= 0 ;
21642 char * kwnames
[] = {
21643 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21648 if (!SWIG_IsOK(res1
)) {
21649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21651 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21654 if (!SWIG_IsOK(ecode2
)) {
21655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21657 arg2
= static_cast< int >(val2
);
21662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21668 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21672 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21673 if (!SWIG_IsOK(ecode5
)) {
21674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21676 arg5
= static_cast< long >(val5
);
21680 arg6
= wxString_in_helper(obj5
);
21681 if (arg6
== NULL
) SWIG_fail
;
21686 if (!wxPyCheckForApp()) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21707 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21708 PyObject
*resultobj
= 0;
21709 wxPyPanel
*result
= 0 ;
21711 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21713 if (!wxPyCheckForApp()) SWIG_fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 result
= (wxPyPanel
*)new wxPyPanel();
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21726 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
= 0;
21728 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21729 PyObject
*arg2
= (PyObject
*) 0 ;
21730 PyObject
*arg3
= (PyObject
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 PyObject
* obj2
= 0 ;
21736 char * kwnames
[] = {
21737 (char *) "self",(char *) "self",(char *) "_class", NULL
21740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21742 if (!SWIG_IsOK(res1
)) {
21743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21745 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= SWIG_Py_Void();
21761 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
= 0;
21763 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21768 PyObject
* obj0
= 0 ;
21769 PyObject
* obj1
= 0 ;
21770 char * kwnames
[] = {
21771 (char *) "self",(char *) "size", NULL
21774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21776 if (!SWIG_IsOK(res1
)) {
21777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21779 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21782 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21790 resultobj
= SWIG_Py_Void();
21797 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21798 PyObject
*resultobj
= 0;
21799 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21800 wxDC
*arg2
= (wxDC
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 PyObject
* obj1
= 0 ;
21808 char * kwnames
[] = {
21809 (char *) "self",(char *) "dc", NULL
21812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21814 if (!SWIG_IsOK(res1
)) {
21815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21817 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21819 if (!SWIG_IsOK(res2
)) {
21820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21822 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21838 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
= 0;
21840 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 PyObject
* obj2
= 0 ;
21858 PyObject
* obj3
= 0 ;
21859 PyObject
* obj4
= 0 ;
21860 char * kwnames
[] = {
21861 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21866 if (!SWIG_IsOK(res1
)) {
21867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21869 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21871 if (!SWIG_IsOK(ecode2
)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21874 arg2
= static_cast< int >(val2
);
21875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21876 if (!SWIG_IsOK(ecode3
)) {
21877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21879 arg3
= static_cast< int >(val3
);
21880 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21881 if (!SWIG_IsOK(ecode4
)) {
21882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21884 arg4
= static_cast< int >(val4
);
21885 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21886 if (!SWIG_IsOK(ecode5
)) {
21887 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21889 arg5
= static_cast< int >(val5
);
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= SWIG_Py_Void();
21903 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
= 0;
21905 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21910 int arg6
= (int) wxSIZE_AUTO
;
21923 PyObject
* obj0
= 0 ;
21924 PyObject
* obj1
= 0 ;
21925 PyObject
* obj2
= 0 ;
21926 PyObject
* obj3
= 0 ;
21927 PyObject
* obj4
= 0 ;
21928 PyObject
* obj5
= 0 ;
21929 char * kwnames
[] = {
21930 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21935 if (!SWIG_IsOK(res1
)) {
21936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21938 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21940 if (!SWIG_IsOK(ecode2
)) {
21941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21943 arg2
= static_cast< int >(val2
);
21944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21945 if (!SWIG_IsOK(ecode3
)) {
21946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21948 arg3
= static_cast< int >(val3
);
21949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21950 if (!SWIG_IsOK(ecode4
)) {
21951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21953 arg4
= static_cast< int >(val4
);
21954 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21955 if (!SWIG_IsOK(ecode5
)) {
21956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21958 arg5
= static_cast< int >(val5
);
21960 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21961 if (!SWIG_IsOK(ecode6
)) {
21962 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21964 arg6
= static_cast< int >(val6
);
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21972 resultobj
= SWIG_Py_Void();
21979 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
= 0;
21981 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21990 PyObject
* obj0
= 0 ;
21991 PyObject
* obj1
= 0 ;
21992 PyObject
* obj2
= 0 ;
21993 char * kwnames
[] = {
21994 (char *) "self",(char *) "width",(char *) "height", NULL
21997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21999 if (!SWIG_IsOK(res1
)) {
22000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22002 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22004 if (!SWIG_IsOK(ecode2
)) {
22005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22007 arg2
= static_cast< int >(val2
);
22008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22009 if (!SWIG_IsOK(ecode3
)) {
22010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22012 arg3
= static_cast< int >(val3
);
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 (arg1
)->DoSetClientSize(arg2
,arg3
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= SWIG_Py_Void();
22026 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
= 0;
22028 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 PyObject
* obj2
= 0 ;
22040 char * kwnames
[] = {
22041 (char *) "self",(char *) "x",(char *) "y", NULL
22044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22046 if (!SWIG_IsOK(res1
)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22049 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22051 if (!SWIG_IsOK(ecode2
)) {
22052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22054 arg2
= static_cast< int >(val2
);
22055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22056 if (!SWIG_IsOK(ecode3
)) {
22057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22059 arg3
= static_cast< int >(val3
);
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= SWIG_Py_Void();
22073 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22074 PyObject
*resultobj
= 0;
22075 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22076 int *arg2
= (int *) 0 ;
22077 int *arg3
= (int *) 0 ;
22081 int res2
= SWIG_TMPOBJ
;
22083 int res3
= SWIG_TMPOBJ
;
22084 PyObject
*swig_obj
[1] ;
22088 if (!args
) SWIG_fail
;
22089 swig_obj
[0] = args
;
22090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22091 if (!SWIG_IsOK(res1
)) {
22092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22094 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= SWIG_Py_Void();
22102 if (SWIG_IsTmpObj(res2
)) {
22103 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22105 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22108 if (SWIG_IsTmpObj(res3
)) {
22109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22111 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22120 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22121 PyObject
*resultobj
= 0;
22122 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22123 int *arg2
= (int *) 0 ;
22124 int *arg3
= (int *) 0 ;
22128 int res2
= SWIG_TMPOBJ
;
22130 int res3
= SWIG_TMPOBJ
;
22131 PyObject
*swig_obj
[1] ;
22135 if (!args
) SWIG_fail
;
22136 swig_obj
[0] = args
;
22137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22138 if (!SWIG_IsOK(res1
)) {
22139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22141 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= SWIG_Py_Void();
22149 if (SWIG_IsTmpObj(res2
)) {
22150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22152 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22155 if (SWIG_IsTmpObj(res3
)) {
22156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22158 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22167 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22168 PyObject
*resultobj
= 0;
22169 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22170 int *arg2
= (int *) 0 ;
22171 int *arg3
= (int *) 0 ;
22175 int res2
= SWIG_TMPOBJ
;
22177 int res3
= SWIG_TMPOBJ
;
22178 PyObject
*swig_obj
[1] ;
22182 if (!args
) SWIG_fail
;
22183 swig_obj
[0] = args
;
22184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22185 if (!SWIG_IsOK(res1
)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22188 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= SWIG_Py_Void();
22196 if (SWIG_IsTmpObj(res2
)) {
22197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22199 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22202 if (SWIG_IsTmpObj(res3
)) {
22203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22205 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22214 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22215 PyObject
*resultobj
= 0;
22216 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22220 PyObject
*swig_obj
[1] ;
22222 if (!args
) SWIG_fail
;
22223 swig_obj
[0] = args
;
22224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22225 if (!SWIG_IsOK(res1
)) {
22226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22228 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22235 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22242 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22243 PyObject
*resultobj
= 0;
22244 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22248 PyObject
*swig_obj
[1] ;
22250 if (!args
) SWIG_fail
;
22251 swig_obj
[0] = args
;
22252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22253 if (!SWIG_IsOK(res1
)) {
22254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22256 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22270 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22271 PyObject
*resultobj
= 0;
22272 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22273 SwigValueWrapper
<wxVisualAttributes
> result
;
22276 PyObject
*swig_obj
[1] ;
22278 if (!args
) SWIG_fail
;
22279 swig_obj
[0] = args
;
22280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22281 if (!SWIG_IsOK(res1
)) {
22282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22284 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 result
= (arg1
)->GetDefaultAttributes();
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22298 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22299 PyObject
*resultobj
= 0;
22300 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22303 PyObject
*swig_obj
[1] ;
22305 if (!args
) SWIG_fail
;
22306 swig_obj
[0] = args
;
22307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22308 if (!SWIG_IsOK(res1
)) {
22309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22311 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 (arg1
)->OnInternalIdle();
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= SWIG_Py_Void();
22325 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22329 return SWIG_Py_Void();
22332 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22333 return SWIG_Python_InitShadowInstance(args
);
22336 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
= 0;
22338 wxWindow
*arg1
= (wxWindow
*) 0 ;
22339 int arg2
= (int) (int)-1 ;
22340 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22341 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22342 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22343 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22344 long arg5
= (long) 0 ;
22345 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22346 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22347 wxPyScrolledWindow
*result
= 0 ;
22356 bool temp6
= false ;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 PyObject
* obj2
= 0 ;
22360 PyObject
* obj3
= 0 ;
22361 PyObject
* obj4
= 0 ;
22362 PyObject
* obj5
= 0 ;
22363 char * kwnames
[] = {
22364 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22369 if (!SWIG_IsOK(res1
)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22372 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22375 if (!SWIG_IsOK(ecode2
)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22378 arg2
= static_cast< int >(val2
);
22383 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22389 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22393 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22394 if (!SWIG_IsOK(ecode5
)) {
22395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22397 arg5
= static_cast< long >(val5
);
22401 arg6
= wxString_in_helper(obj5
);
22402 if (arg6
== NULL
) SWIG_fail
;
22407 if (!wxPyCheckForApp()) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22428 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22429 PyObject
*resultobj
= 0;
22430 wxPyScrolledWindow
*result
= 0 ;
22432 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22434 if (!wxPyCheckForApp()) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22447 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
= 0;
22449 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22450 PyObject
*arg2
= (PyObject
*) 0 ;
22451 PyObject
*arg3
= (PyObject
*) 0 ;
22454 PyObject
* obj0
= 0 ;
22455 PyObject
* obj1
= 0 ;
22456 PyObject
* obj2
= 0 ;
22457 char * kwnames
[] = {
22458 (char *) "self",(char *) "self",(char *) "_class", NULL
22461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22463 if (!SWIG_IsOK(res1
)) {
22464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22466 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= SWIG_Py_Void();
22482 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
= 0;
22484 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22489 PyObject
* obj0
= 0 ;
22490 PyObject
* obj1
= 0 ;
22491 char * kwnames
[] = {
22492 (char *) "self",(char *) "size", NULL
22495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22497 if (!SWIG_IsOK(res1
)) {
22498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22500 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22503 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= SWIG_Py_Void();
22518 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
= 0;
22520 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22521 wxDC
*arg2
= (wxDC
*) 0 ;
22527 PyObject
* obj0
= 0 ;
22528 PyObject
* obj1
= 0 ;
22529 char * kwnames
[] = {
22530 (char *) "self",(char *) "dc", NULL
22533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22535 if (!SWIG_IsOK(res1
)) {
22536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22538 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22539 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22540 if (!SWIG_IsOK(res2
)) {
22541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22543 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22559 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
= 0;
22561 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 PyObject
* obj2
= 0 ;
22579 PyObject
* obj3
= 0 ;
22580 PyObject
* obj4
= 0 ;
22581 char * kwnames
[] = {
22582 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22587 if (!SWIG_IsOK(res1
)) {
22588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22590 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22592 if (!SWIG_IsOK(ecode2
)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22595 arg2
= static_cast< int >(val2
);
22596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22597 if (!SWIG_IsOK(ecode3
)) {
22598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22600 arg3
= static_cast< int >(val3
);
22601 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22602 if (!SWIG_IsOK(ecode4
)) {
22603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22605 arg4
= static_cast< int >(val4
);
22606 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22607 if (!SWIG_IsOK(ecode5
)) {
22608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22610 arg5
= static_cast< int >(val5
);
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22617 resultobj
= SWIG_Py_Void();
22624 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
= 0;
22626 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22631 int arg6
= (int) wxSIZE_AUTO
;
22644 PyObject
* obj0
= 0 ;
22645 PyObject
* obj1
= 0 ;
22646 PyObject
* obj2
= 0 ;
22647 PyObject
* obj3
= 0 ;
22648 PyObject
* obj4
= 0 ;
22649 PyObject
* obj5
= 0 ;
22650 char * kwnames
[] = {
22651 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22656 if (!SWIG_IsOK(res1
)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22659 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22661 if (!SWIG_IsOK(ecode2
)) {
22662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22664 arg2
= static_cast< int >(val2
);
22665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22666 if (!SWIG_IsOK(ecode3
)) {
22667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22669 arg3
= static_cast< int >(val3
);
22670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22671 if (!SWIG_IsOK(ecode4
)) {
22672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22674 arg4
= static_cast< int >(val4
);
22675 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22676 if (!SWIG_IsOK(ecode5
)) {
22677 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22679 arg5
= static_cast< int >(val5
);
22681 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22682 if (!SWIG_IsOK(ecode6
)) {
22683 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22685 arg6
= static_cast< int >(val6
);
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22690 wxPyEndAllowThreads(__tstate
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22693 resultobj
= SWIG_Py_Void();
22700 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
= 0;
22702 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22711 PyObject
* obj0
= 0 ;
22712 PyObject
* obj1
= 0 ;
22713 PyObject
* obj2
= 0 ;
22714 char * kwnames
[] = {
22715 (char *) "self",(char *) "width",(char *) "height", NULL
22718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22720 if (!SWIG_IsOK(res1
)) {
22721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22723 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22725 if (!SWIG_IsOK(ecode2
)) {
22726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22728 arg2
= static_cast< int >(val2
);
22729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22730 if (!SWIG_IsOK(ecode3
)) {
22731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22733 arg3
= static_cast< int >(val3
);
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 (arg1
)->DoSetClientSize(arg2
,arg3
);
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22740 resultobj
= SWIG_Py_Void();
22747 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
= 0;
22749 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22758 PyObject
* obj0
= 0 ;
22759 PyObject
* obj1
= 0 ;
22760 PyObject
* obj2
= 0 ;
22761 char * kwnames
[] = {
22762 (char *) "self",(char *) "x",(char *) "y", NULL
22765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22767 if (!SWIG_IsOK(res1
)) {
22768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22770 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22772 if (!SWIG_IsOK(ecode2
)) {
22773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22775 arg2
= static_cast< int >(val2
);
22776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22777 if (!SWIG_IsOK(ecode3
)) {
22778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22780 arg3
= static_cast< int >(val3
);
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= SWIG_Py_Void();
22794 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22795 PyObject
*resultobj
= 0;
22796 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22797 int *arg2
= (int *) 0 ;
22798 int *arg3
= (int *) 0 ;
22802 int res2
= SWIG_TMPOBJ
;
22804 int res3
= SWIG_TMPOBJ
;
22805 PyObject
*swig_obj
[1] ;
22809 if (!args
) SWIG_fail
;
22810 swig_obj
[0] = args
;
22811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22812 if (!SWIG_IsOK(res1
)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22815 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= SWIG_Py_Void();
22823 if (SWIG_IsTmpObj(res2
)) {
22824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22826 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22829 if (SWIG_IsTmpObj(res3
)) {
22830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22832 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22841 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22842 PyObject
*resultobj
= 0;
22843 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22844 int *arg2
= (int *) 0 ;
22845 int *arg3
= (int *) 0 ;
22849 int res2
= SWIG_TMPOBJ
;
22851 int res3
= SWIG_TMPOBJ
;
22852 PyObject
*swig_obj
[1] ;
22856 if (!args
) SWIG_fail
;
22857 swig_obj
[0] = args
;
22858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22859 if (!SWIG_IsOK(res1
)) {
22860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22862 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= SWIG_Py_Void();
22870 if (SWIG_IsTmpObj(res2
)) {
22871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22873 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22876 if (SWIG_IsTmpObj(res3
)) {
22877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22879 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22888 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22889 PyObject
*resultobj
= 0;
22890 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22891 int *arg2
= (int *) 0 ;
22892 int *arg3
= (int *) 0 ;
22896 int res2
= SWIG_TMPOBJ
;
22898 int res3
= SWIG_TMPOBJ
;
22899 PyObject
*swig_obj
[1] ;
22903 if (!args
) SWIG_fail
;
22904 swig_obj
[0] = args
;
22905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22906 if (!SWIG_IsOK(res1
)) {
22907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22909 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= SWIG_Py_Void();
22917 if (SWIG_IsTmpObj(res2
)) {
22918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22920 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22923 if (SWIG_IsTmpObj(res3
)) {
22924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22926 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22935 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22936 PyObject
*resultobj
= 0;
22937 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22941 PyObject
*swig_obj
[1] ;
22943 if (!args
) SWIG_fail
;
22944 swig_obj
[0] = args
;
22945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22946 if (!SWIG_IsOK(res1
)) {
22947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22949 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22952 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22963 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22964 PyObject
*resultobj
= 0;
22965 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22969 PyObject
*swig_obj
[1] ;
22971 if (!args
) SWIG_fail
;
22972 swig_obj
[0] = args
;
22973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22974 if (!SWIG_IsOK(res1
)) {
22975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22977 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22991 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22992 PyObject
*resultobj
= 0;
22993 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22994 SwigValueWrapper
<wxVisualAttributes
> result
;
22997 PyObject
*swig_obj
[1] ;
22999 if (!args
) SWIG_fail
;
23000 swig_obj
[0] = args
;
23001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23002 if (!SWIG_IsOK(res1
)) {
23003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23005 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= (arg1
)->GetDefaultAttributes();
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23019 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23020 PyObject
*resultobj
= 0;
23021 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23024 PyObject
*swig_obj
[1] ;
23026 if (!args
) SWIG_fail
;
23027 swig_obj
[0] = args
;
23028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23029 if (!SWIG_IsOK(res1
)) {
23030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23032 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 (arg1
)->OnInternalIdle();
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= SWIG_Py_Void();
23046 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23049 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23050 return SWIG_Py_Void();
23053 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23054 return SWIG_Python_InitShadowInstance(args
);
23057 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23058 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23063 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23064 PyObject
*pyobj
= 0;
23068 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23070 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23077 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23078 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23083 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23084 PyObject
*pyobj
= 0;
23088 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23090 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23097 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23098 PyObject
*resultobj
= 0;
23099 wxPrintData
*result
= 0 ;
23101 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (wxPrintData
*)new wxPrintData();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23115 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23116 PyObject
*resultobj
= 0;
23117 wxPrintData
*arg1
= 0 ;
23118 wxPrintData
*result
= 0 ;
23122 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23124 if (!SWIG_IsOK(res1
)) {
23125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23130 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23144 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23148 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23151 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23154 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23158 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23163 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23164 PyObject
*resultobj
= 0;
23165 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23168 PyObject
*swig_obj
[1] ;
23170 if (!args
) SWIG_fail
;
23171 swig_obj
[0] = args
;
23172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23173 if (!SWIG_IsOK(res1
)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23176 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= SWIG_Py_Void();
23191 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23192 PyObject
*resultobj
= 0;
23193 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23197 PyObject
*swig_obj
[1] ;
23199 if (!args
) SWIG_fail
;
23200 swig_obj
[0] = args
;
23201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23202 if (!SWIG_IsOK(res1
)) {
23203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23205 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 result
= (int)(arg1
)->GetNoCopies();
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 resultobj
= SWIG_From_int(static_cast< int >(result
));
23219 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23220 PyObject
*resultobj
= 0;
23221 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23225 PyObject
*swig_obj
[1] ;
23227 if (!args
) SWIG_fail
;
23228 swig_obj
[0] = args
;
23229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23230 if (!SWIG_IsOK(res1
)) {
23231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23233 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 result
= (bool)(arg1
)->GetCollate();
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23249 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23250 PyObject
*resultobj
= 0;
23251 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23255 PyObject
*swig_obj
[1] ;
23257 if (!args
) SWIG_fail
;
23258 swig_obj
[0] = args
;
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 '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23263 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 result
= (int)(arg1
)->GetOrientation();
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 resultobj
= SWIG_From_int(static_cast< int >(result
));
23277 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23278 PyObject
*resultobj
= 0;
23279 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23283 PyObject
*swig_obj
[1] ;
23285 if (!args
) SWIG_fail
;
23286 swig_obj
[0] = args
;
23287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23288 if (!SWIG_IsOK(res1
)) {
23289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23291 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 result
= (bool)(arg1
)->Ok();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23307 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23308 PyObject
*resultobj
= 0;
23309 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23310 wxString
*result
= 0 ;
23313 PyObject
*swig_obj
[1] ;
23315 if (!args
) SWIG_fail
;
23316 swig_obj
[0] = args
;
23317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23318 if (!SWIG_IsOK(res1
)) {
23319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23321 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23326 result
= (wxString
*) &_result_ref
;
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23335 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23344 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23345 PyObject
*resultobj
= 0;
23346 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23350 PyObject
*swig_obj
[1] ;
23352 if (!args
) SWIG_fail
;
23353 swig_obj
[0] = args
;
23354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23355 if (!SWIG_IsOK(res1
)) {
23356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23358 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 result
= (bool)(arg1
)->GetColour();
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23374 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23375 PyObject
*resultobj
= 0;
23376 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23377 wxDuplexMode result
;
23380 PyObject
*swig_obj
[1] ;
23382 if (!args
) SWIG_fail
;
23383 swig_obj
[0] = args
;
23384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23385 if (!SWIG_IsOK(res1
)) {
23386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23388 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_From_int(static_cast< int >(result
));
23402 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23403 PyObject
*resultobj
= 0;
23404 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23405 wxPaperSize result
;
23408 PyObject
*swig_obj
[1] ;
23410 if (!args
) SWIG_fail
;
23411 swig_obj
[0] = args
;
23412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23413 if (!SWIG_IsOK(res1
)) {
23414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23416 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= SWIG_From_int(static_cast< int >(result
));
23430 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23431 PyObject
*resultobj
= 0;
23432 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23433 wxSize
*result
= 0 ;
23436 PyObject
*swig_obj
[1] ;
23438 if (!args
) SWIG_fail
;
23439 swig_obj
[0] = args
;
23440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23441 if (!SWIG_IsOK(res1
)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23444 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23449 result
= (wxSize
*) &_result_ref
;
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23461 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23462 PyObject
*resultobj
= 0;
23463 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23467 PyObject
*swig_obj
[1] ;
23469 if (!args
) SWIG_fail
;
23470 swig_obj
[0] = args
;
23471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23472 if (!SWIG_IsOK(res1
)) {
23473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23475 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (int)(arg1
)->GetQuality();
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 resultobj
= SWIG_From_int(static_cast< int >(result
));
23489 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23490 PyObject
*resultobj
= 0;
23491 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23495 PyObject
*swig_obj
[1] ;
23497 if (!args
) SWIG_fail
;
23498 swig_obj
[0] = args
;
23499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23500 if (!SWIG_IsOK(res1
)) {
23501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23503 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 result
= (wxPrintBin
)(arg1
)->GetBin();
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23510 resultobj
= SWIG_From_int(static_cast< int >(result
));
23517 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23518 PyObject
*resultobj
= 0;
23519 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23520 wxPrintMode result
;
23523 PyObject
*swig_obj
[1] ;
23525 if (!args
) SWIG_fail
;
23526 swig_obj
[0] = args
;
23527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23528 if (!SWIG_IsOK(res1
)) {
23529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23531 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= SWIG_From_int(static_cast< int >(result
));
23545 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23546 PyObject
*resultobj
= 0;
23547 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23553 PyObject
* obj0
= 0 ;
23554 PyObject
* obj1
= 0 ;
23555 char * kwnames
[] = {
23556 (char *) "self",(char *) "v", NULL
23559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23561 if (!SWIG_IsOK(res1
)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23564 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23566 if (!SWIG_IsOK(ecode2
)) {
23567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23569 arg2
= static_cast< int >(val2
);
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 (arg1
)->SetNoCopies(arg2
);
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= SWIG_Py_Void();
23583 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
= 0;
23585 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 char * kwnames
[] = {
23594 (char *) "self",(char *) "flag", NULL
23597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23599 if (!SWIG_IsOK(res1
)) {
23600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23602 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23603 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23604 if (!SWIG_IsOK(ecode2
)) {
23605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23607 arg2
= static_cast< bool >(val2
);
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 (arg1
)->SetCollate(arg2
);
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23614 resultobj
= SWIG_Py_Void();
23621 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
= 0;
23623 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23629 PyObject
* obj0
= 0 ;
23630 PyObject
* obj1
= 0 ;
23631 char * kwnames
[] = {
23632 (char *) "self",(char *) "orient", NULL
23635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23637 if (!SWIG_IsOK(res1
)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23640 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23642 if (!SWIG_IsOK(ecode2
)) {
23643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23645 arg2
= static_cast< int >(val2
);
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 (arg1
)->SetOrientation(arg2
);
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= SWIG_Py_Void();
23659 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
= 0;
23661 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23662 wxString
*arg2
= 0 ;
23665 bool temp2
= false ;
23666 PyObject
* obj0
= 0 ;
23667 PyObject
* obj1
= 0 ;
23668 char * kwnames
[] = {
23669 (char *) "self",(char *) "name", NULL
23672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23674 if (!SWIG_IsOK(res1
)) {
23675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23677 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23679 arg2
= wxString_in_helper(obj1
);
23680 if (arg2
== NULL
) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23686 wxPyEndAllowThreads(__tstate
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23689 resultobj
= SWIG_Py_Void();
23704 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
= 0;
23706 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23712 PyObject
* obj0
= 0 ;
23713 PyObject
* obj1
= 0 ;
23714 char * kwnames
[] = {
23715 (char *) "self",(char *) "colour", NULL
23718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23720 if (!SWIG_IsOK(res1
)) {
23721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23723 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23724 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23725 if (!SWIG_IsOK(ecode2
)) {
23726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23728 arg2
= static_cast< bool >(val2
);
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 (arg1
)->SetColour(arg2
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_Py_Void();
23742 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
= 0;
23744 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23745 wxDuplexMode arg2
;
23750 PyObject
* obj0
= 0 ;
23751 PyObject
* obj1
= 0 ;
23752 char * kwnames
[] = {
23753 (char *) "self",(char *) "duplex", NULL
23756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23758 if (!SWIG_IsOK(res1
)) {
23759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23761 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23763 if (!SWIG_IsOK(ecode2
)) {
23764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23766 arg2
= static_cast< wxDuplexMode
>(val2
);
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 (arg1
)->SetDuplex(arg2
);
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= SWIG_Py_Void();
23780 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
= 0;
23782 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23788 PyObject
* obj0
= 0 ;
23789 PyObject
* obj1
= 0 ;
23790 char * kwnames
[] = {
23791 (char *) "self",(char *) "sizeId", NULL
23794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23796 if (!SWIG_IsOK(res1
)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23799 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23801 if (!SWIG_IsOK(ecode2
)) {
23802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23804 arg2
= static_cast< wxPaperSize
>(val2
);
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 (arg1
)->SetPaperId(arg2
);
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 resultobj
= SWIG_Py_Void();
23818 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
= 0;
23820 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 PyObject
* obj1
= 0 ;
23827 char * kwnames
[] = {
23828 (char *) "self",(char *) "sz", NULL
23831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23836 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23839 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_Py_Void();
23854 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
= 0;
23856 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 PyObject
* obj1
= 0 ;
23864 char * kwnames
[] = {
23865 (char *) "self",(char *) "quality", NULL
23868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23870 if (!SWIG_IsOK(res1
)) {
23871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23873 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23875 if (!SWIG_IsOK(ecode2
)) {
23876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23878 arg2
= static_cast< int >(val2
);
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 (arg1
)->SetQuality(arg2
);
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 resultobj
= SWIG_Py_Void();
23892 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
= 0;
23894 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23900 PyObject
* obj0
= 0 ;
23901 PyObject
* obj1
= 0 ;
23902 char * kwnames
[] = {
23903 (char *) "self",(char *) "bin", NULL
23906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23908 if (!SWIG_IsOK(res1
)) {
23909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23911 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23913 if (!SWIG_IsOK(ecode2
)) {
23914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23916 arg2
= static_cast< wxPrintBin
>(val2
);
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 (arg1
)->SetBin(arg2
);
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= SWIG_Py_Void();
23930 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23931 PyObject
*resultobj
= 0;
23932 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 char * kwnames
[] = {
23941 (char *) "self",(char *) "printMode", NULL
23944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23946 if (!SWIG_IsOK(res1
)) {
23947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
23949 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23951 if (!SWIG_IsOK(ecode2
)) {
23952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
23954 arg2
= static_cast< wxPrintMode
>(val2
);
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 (arg1
)->SetPrintMode(arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= SWIG_Py_Void();
23968 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23969 PyObject
*resultobj
= 0;
23970 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23974 PyObject
*swig_obj
[1] ;
23976 if (!args
) SWIG_fail
;
23977 swig_obj
[0] = args
;
23978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23979 if (!SWIG_IsOK(res1
)) {
23980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23982 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 result
= ((wxPrintData
const *)arg1
)->GetFilename();
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24002 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
= 0;
24004 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24005 wxString
*arg2
= 0 ;
24008 bool temp2
= false ;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24011 char * kwnames
[] = {
24012 (char *) "self",(char *) "filename", NULL
24015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24017 if (!SWIG_IsOK(res1
)) {
24018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24020 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24022 arg2
= wxString_in_helper(obj1
);
24023 if (arg2
== NULL
) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 (arg1
)->SetFilename((wxString
const &)*arg2
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= SWIG_Py_Void();
24047 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24048 PyObject
*resultobj
= 0;
24049 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24050 PyObject
*result
= 0 ;
24053 PyObject
*swig_obj
[1] ;
24055 if (!args
) SWIG_fail
;
24056 swig_obj
[0] = args
;
24057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24058 if (!SWIG_IsOK(res1
)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24061 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= result
;
24075 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
= 0;
24077 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24078 PyObject
*arg2
= (PyObject
*) 0 ;
24081 PyObject
* obj0
= 0 ;
24082 PyObject
* obj1
= 0 ;
24083 char * kwnames
[] = {
24084 (char *) "self",(char *) "data", NULL
24087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24089 if (!SWIG_IsOK(res1
)) {
24090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24092 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 wxPrintData_SetPrivData(arg1
,arg2
);
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= SWIG_Py_Void();
24107 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24110 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24111 return SWIG_Py_Void();
24114 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24115 return SWIG_Python_InitShadowInstance(args
);
24118 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24119 PyObject
*resultobj
= 0;
24120 wxPageSetupDialogData
*result
= 0 ;
24122 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24136 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24137 PyObject
*resultobj
= 0;
24138 wxPageSetupDialogData
*arg1
= 0 ;
24139 wxPageSetupDialogData
*result
= 0 ;
24143 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24145 if (!SWIG_IsOK(res1
)) {
24146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24151 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24165 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24166 PyObject
*resultobj
= 0;
24167 wxPrintData
*arg1
= 0 ;
24168 wxPageSetupDialogData
*result
= 0 ;
24172 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24174 if (!SWIG_IsOK(res1
)) {
24175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24180 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24194 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24198 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24201 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24206 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24207 _v
= SWIG_CheckState(res
);
24209 if (!_v
) goto check_2
;
24210 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24215 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24219 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24224 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24225 PyObject
*resultobj
= 0;
24226 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24229 PyObject
*swig_obj
[1] ;
24231 if (!args
) SWIG_fail
;
24232 swig_obj
[0] = args
;
24233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24234 if (!SWIG_IsOK(res1
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24237 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_Py_Void();
24252 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
= 0;
24254 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char * kwnames
[] = {
24263 (char *) "self",(char *) "flag", NULL
24266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24268 if (!SWIG_IsOK(res1
)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24271 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24272 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24273 if (!SWIG_IsOK(ecode2
)) {
24274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24276 arg2
= static_cast< bool >(val2
);
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24279 (arg1
)->EnableHelp(arg2
);
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= SWIG_Py_Void();
24290 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
= 0;
24292 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 char * kwnames
[] = {
24301 (char *) "self",(char *) "flag", NULL
24304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24306 if (!SWIG_IsOK(res1
)) {
24307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24309 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24310 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24311 if (!SWIG_IsOK(ecode2
)) {
24312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24314 arg2
= static_cast< bool >(val2
);
24316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24317 (arg1
)->EnableMargins(arg2
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= SWIG_Py_Void();
24328 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
= 0;
24330 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24336 PyObject
* obj0
= 0 ;
24337 PyObject
* obj1
= 0 ;
24338 char * kwnames
[] = {
24339 (char *) "self",(char *) "flag", NULL
24342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24344 if (!SWIG_IsOK(res1
)) {
24345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24347 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24348 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24349 if (!SWIG_IsOK(ecode2
)) {
24350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24352 arg2
= static_cast< bool >(val2
);
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24355 (arg1
)->EnableOrientation(arg2
);
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 resultobj
= SWIG_Py_Void();
24366 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
= 0;
24368 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 char * kwnames
[] = {
24377 (char *) "self",(char *) "flag", NULL
24380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24382 if (!SWIG_IsOK(res1
)) {
24383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24385 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24386 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24387 if (!SWIG_IsOK(ecode2
)) {
24388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24390 arg2
= static_cast< bool >(val2
);
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 (arg1
)->EnablePaper(arg2
);
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= SWIG_Py_Void();
24404 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
= 0;
24406 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 char * kwnames
[] = {
24415 (char *) "self",(char *) "flag", NULL
24418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24420 if (!SWIG_IsOK(res1
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24423 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24424 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24425 if (!SWIG_IsOK(ecode2
)) {
24426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24428 arg2
= static_cast< bool >(val2
);
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 (arg1
)->EnablePrinter(arg2
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= SWIG_Py_Void();
24442 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24443 PyObject
*resultobj
= 0;
24444 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24448 PyObject
*swig_obj
[1] ;
24450 if (!args
) SWIG_fail
;
24451 swig_obj
[0] = args
;
24452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24453 if (!SWIG_IsOK(res1
)) {
24454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24456 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (bool)(arg1
)->GetDefaultMinMargins();
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24472 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24473 PyObject
*resultobj
= 0;
24474 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24478 PyObject
*swig_obj
[1] ;
24480 if (!args
) SWIG_fail
;
24481 swig_obj
[0] = args
;
24482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24483 if (!SWIG_IsOK(res1
)) {
24484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24486 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 result
= (bool)(arg1
)->GetEnableMargins();
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24502 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24503 PyObject
*resultobj
= 0;
24504 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24508 PyObject
*swig_obj
[1] ;
24510 if (!args
) SWIG_fail
;
24511 swig_obj
[0] = args
;
24512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24513 if (!SWIG_IsOK(res1
)) {
24514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24516 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 result
= (bool)(arg1
)->GetEnableOrientation();
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24532 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24533 PyObject
*resultobj
= 0;
24534 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24538 PyObject
*swig_obj
[1] ;
24540 if (!args
) SWIG_fail
;
24541 swig_obj
[0] = args
;
24542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24543 if (!SWIG_IsOK(res1
)) {
24544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24546 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (bool)(arg1
)->GetEnablePaper();
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24562 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24563 PyObject
*resultobj
= 0;
24564 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24568 PyObject
*swig_obj
[1] ;
24570 if (!args
) SWIG_fail
;
24571 swig_obj
[0] = args
;
24572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24573 if (!SWIG_IsOK(res1
)) {
24574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24576 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 result
= (bool)(arg1
)->GetEnablePrinter();
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24592 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24593 PyObject
*resultobj
= 0;
24594 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24598 PyObject
*swig_obj
[1] ;
24600 if (!args
) SWIG_fail
;
24601 swig_obj
[0] = args
;
24602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24603 if (!SWIG_IsOK(res1
)) {
24604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24606 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (bool)(arg1
)->GetEnableHelp();
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24622 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24623 PyObject
*resultobj
= 0;
24624 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24628 PyObject
*swig_obj
[1] ;
24630 if (!args
) SWIG_fail
;
24631 swig_obj
[0] = args
;
24632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24633 if (!SWIG_IsOK(res1
)) {
24634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24636 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24639 result
= (bool)(arg1
)->GetDefaultInfo();
24640 wxPyEndAllowThreads(__tstate
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24652 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24653 PyObject
*resultobj
= 0;
24654 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24658 PyObject
*swig_obj
[1] ;
24660 if (!args
) SWIG_fail
;
24661 swig_obj
[0] = args
;
24662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24663 if (!SWIG_IsOK(res1
)) {
24664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24666 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= (arg1
)->GetMarginTopLeft();
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24680 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24681 PyObject
*resultobj
= 0;
24682 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24686 PyObject
*swig_obj
[1] ;
24688 if (!args
) SWIG_fail
;
24689 swig_obj
[0] = args
;
24690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24691 if (!SWIG_IsOK(res1
)) {
24692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24694 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (arg1
)->GetMarginBottomRight();
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24708 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24709 PyObject
*resultobj
= 0;
24710 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24714 PyObject
*swig_obj
[1] ;
24716 if (!args
) SWIG_fail
;
24717 swig_obj
[0] = args
;
24718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24719 if (!SWIG_IsOK(res1
)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24722 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24725 result
= (arg1
)->GetMinMarginTopLeft();
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24736 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24737 PyObject
*resultobj
= 0;
24738 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24742 PyObject
*swig_obj
[1] ;
24744 if (!args
) SWIG_fail
;
24745 swig_obj
[0] = args
;
24746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24747 if (!SWIG_IsOK(res1
)) {
24748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24750 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (arg1
)->GetMinMarginBottomRight();
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24764 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24765 PyObject
*resultobj
= 0;
24766 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24767 wxPaperSize result
;
24770 PyObject
*swig_obj
[1] ;
24772 if (!args
) SWIG_fail
;
24773 swig_obj
[0] = args
;
24774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24775 if (!SWIG_IsOK(res1
)) {
24776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24778 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= SWIG_From_int(static_cast< int >(result
));
24792 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24793 PyObject
*resultobj
= 0;
24794 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24798 PyObject
*swig_obj
[1] ;
24800 if (!args
) SWIG_fail
;
24801 swig_obj
[0] = args
;
24802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24803 if (!SWIG_IsOK(res1
)) {
24804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24806 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 result
= (arg1
)->GetPaperSize();
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24813 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24820 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24821 PyObject
*resultobj
= 0;
24822 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24823 wxPrintData
*result
= 0 ;
24826 PyObject
*swig_obj
[1] ;
24828 if (!args
) SWIG_fail
;
24829 swig_obj
[0] = args
;
24830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24831 if (!SWIG_IsOK(res1
)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24834 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24839 result
= (wxPrintData
*) &_result_ref
;
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24851 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24852 PyObject
*resultobj
= 0;
24853 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24857 PyObject
*swig_obj
[1] ;
24859 if (!args
) SWIG_fail
;
24860 swig_obj
[0] = args
;
24861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24862 if (!SWIG_IsOK(res1
)) {
24863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24865 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 result
= (bool)(arg1
)->Ok();
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24881 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
= 0;
24883 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 char * kwnames
[] = {
24892 (char *) "self",(char *) "flag", NULL
24895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24897 if (!SWIG_IsOK(res1
)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24900 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24901 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24902 if (!SWIG_IsOK(ecode2
)) {
24903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24905 arg2
= static_cast< bool >(val2
);
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 (arg1
)->SetDefaultInfo(arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= SWIG_Py_Void();
24919 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
= 0;
24921 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 PyObject
* obj1
= 0 ;
24929 char * kwnames
[] = {
24930 (char *) "self",(char *) "flag", NULL
24933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24935 if (!SWIG_IsOK(res1
)) {
24936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24938 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24939 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24940 if (!SWIG_IsOK(ecode2
)) {
24941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
24943 arg2
= static_cast< bool >(val2
);
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 (arg1
)->SetDefaultMinMargins(arg2
);
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24950 resultobj
= SWIG_Py_Void();
24957 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
= 0;
24959 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24960 wxPoint
*arg2
= 0 ;
24964 PyObject
* obj0
= 0 ;
24965 PyObject
* obj1
= 0 ;
24966 char * kwnames
[] = {
24967 (char *) "self",(char *) "pt", NULL
24970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24972 if (!SWIG_IsOK(res1
)) {
24973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24975 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= SWIG_Py_Void();
24993 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
= 0;
24995 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24996 wxPoint
*arg2
= 0 ;
25000 PyObject
* obj0
= 0 ;
25001 PyObject
* obj1
= 0 ;
25002 char * kwnames
[] = {
25003 (char *) "self",(char *) "pt", NULL
25006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25008 if (!SWIG_IsOK(res1
)) {
25009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25011 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25014 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= SWIG_Py_Void();
25029 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
= 0;
25031 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25032 wxPoint
*arg2
= 0 ;
25036 PyObject
* obj0
= 0 ;
25037 PyObject
* obj1
= 0 ;
25038 char * kwnames
[] = {
25039 (char *) "self",(char *) "pt", NULL
25042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25044 if (!SWIG_IsOK(res1
)) {
25045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25047 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25050 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= SWIG_Py_Void();
25065 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
= 0;
25067 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25068 wxPoint
*arg2
= 0 ;
25072 PyObject
* obj0
= 0 ;
25073 PyObject
* obj1
= 0 ;
25074 char * kwnames
[] = {
25075 (char *) "self",(char *) "pt", NULL
25078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25080 if (!SWIG_IsOK(res1
)) {
25081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25083 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25090 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 resultobj
= SWIG_Py_Void();
25101 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
= 0;
25103 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25109 PyObject
* obj0
= 0 ;
25110 PyObject
* obj1
= 0 ;
25111 char * kwnames
[] = {
25112 (char *) "self",(char *) "id", NULL
25115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25117 if (!SWIG_IsOK(res1
)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25120 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25122 if (!SWIG_IsOK(ecode2
)) {
25123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25125 arg2
= static_cast< wxPaperSize
>(val2
);
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 (arg1
)->SetPaperId(arg2
);
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= SWIG_Py_Void();
25139 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
= 0;
25141 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25146 PyObject
* obj0
= 0 ;
25147 PyObject
* obj1
= 0 ;
25148 char * kwnames
[] = {
25149 (char *) "self",(char *) "size", NULL
25152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25154 if (!SWIG_IsOK(res1
)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25157 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25160 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25164 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25168 resultobj
= SWIG_Py_Void();
25175 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
= 0;
25177 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25178 wxPrintData
*arg2
= 0 ;
25183 PyObject
* obj0
= 0 ;
25184 PyObject
* obj1
= 0 ;
25185 char * kwnames
[] = {
25186 (char *) "self",(char *) "printData", NULL
25189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25191 if (!SWIG_IsOK(res1
)) {
25192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25194 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25196 if (!SWIG_IsOK(res2
)) {
25197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25202 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 resultobj
= SWIG_Py_Void();
25216 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25217 PyObject
*resultobj
= 0;
25218 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25221 PyObject
*swig_obj
[1] ;
25223 if (!args
) SWIG_fail
;
25224 swig_obj
[0] = args
;
25225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25226 if (!SWIG_IsOK(res1
)) {
25227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25229 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25232 (arg1
)->CalculateIdFromPaperSize();
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= SWIG_Py_Void();
25243 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25244 PyObject
*resultobj
= 0;
25245 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25248 PyObject
*swig_obj
[1] ;
25250 if (!args
) SWIG_fail
;
25251 swig_obj
[0] = args
;
25252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25253 if (!SWIG_IsOK(res1
)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25256 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 (arg1
)->CalculatePaperSizeFromId();
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_Py_Void();
25270 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25273 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25274 return SWIG_Py_Void();
25277 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25278 return SWIG_Python_InitShadowInstance(args
);
25281 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25282 PyObject
*resultobj
= 0;
25283 wxWindow
*arg1
= (wxWindow
*) 0 ;
25284 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25285 wxPageSetupDialog
*result
= 0 ;
25290 PyObject
* obj0
= 0 ;
25291 PyObject
* obj1
= 0 ;
25292 char * kwnames
[] = {
25293 (char *) "parent",(char *) "data", NULL
25296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25298 if (!SWIG_IsOK(res1
)) {
25299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25301 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25304 if (!SWIG_IsOK(res2
)) {
25305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25307 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25310 if (!wxPyCheckForApp()) SWIG_fail
;
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25323 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25324 PyObject
*resultobj
= 0;
25325 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25328 PyObject
*swig_obj
[1] ;
25330 if (!args
) SWIG_fail
;
25331 swig_obj
[0] = args
;
25332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25333 if (!SWIG_IsOK(res1
)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25336 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= SWIG_Py_Void();
25351 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25352 PyObject
*resultobj
= 0;
25353 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25354 wxPageSetupDialogData
*result
= 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_wxPageSetupDialog
, 0 | 0 );
25362 if (!SWIG_IsOK(res1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25365 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25370 result
= (wxPageSetupDialogData
*) &_result_ref
;
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25382 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25383 PyObject
*resultobj
= 0;
25384 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25385 wxPageSetupDialogData
*result
= 0 ;
25388 PyObject
*swig_obj
[1] ;
25390 if (!args
) SWIG_fail
;
25391 swig_obj
[0] = args
;
25392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25396 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25401 result
= (wxPageSetupDialogData
*) &_result_ref
;
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25413 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25414 PyObject
*resultobj
= 0;
25415 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25419 PyObject
*swig_obj
[1] ;
25421 if (!args
) SWIG_fail
;
25422 swig_obj
[0] = args
;
25423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25424 if (!SWIG_IsOK(res1
)) {
25425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25427 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (int)(arg1
)->ShowModal();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= SWIG_From_int(static_cast< int >(result
));
25441 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25443 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25444 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25445 return SWIG_Py_Void();
25448 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25449 return SWIG_Python_InitShadowInstance(args
);
25452 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25453 PyObject
*resultobj
= 0;
25454 wxPrintDialogData
*result
= 0 ;
25456 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25470 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25471 PyObject
*resultobj
= 0;
25472 wxPrintData
*arg1
= 0 ;
25473 wxPrintDialogData
*result
= 0 ;
25477 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25479 if (!SWIG_IsOK(res1
)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25485 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25499 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25500 PyObject
*resultobj
= 0;
25501 wxPrintDialogData
*arg1
= 0 ;
25502 wxPrintDialogData
*result
= 0 ;
25506 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25508 if (!SWIG_IsOK(res1
)) {
25509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25514 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25518 wxPyEndAllowThreads(__tstate
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25528 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25532 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25535 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25540 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25541 _v
= SWIG_CheckState(res
);
25543 if (!_v
) goto check_2
;
25544 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25549 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25553 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25558 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25559 PyObject
*resultobj
= 0;
25560 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25563 PyObject
*swig_obj
[1] ;
25565 if (!args
) SWIG_fail
;
25566 swig_obj
[0] = args
;
25567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25571 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 resultobj
= SWIG_Py_Void();
25586 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25587 PyObject
*resultobj
= 0;
25588 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25592 PyObject
*swig_obj
[1] ;
25594 if (!args
) SWIG_fail
;
25595 swig_obj
[0] = args
;
25596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25597 if (!SWIG_IsOK(res1
)) {
25598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25600 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_From_int(static_cast< int >(result
));
25614 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25615 PyObject
*resultobj
= 0;
25616 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25620 PyObject
*swig_obj
[1] ;
25622 if (!args
) SWIG_fail
;
25623 swig_obj
[0] = args
;
25624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25625 if (!SWIG_IsOK(res1
)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25628 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_From_int(static_cast< int >(result
));
25642 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25643 PyObject
*resultobj
= 0;
25644 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25648 PyObject
*swig_obj
[1] ;
25650 if (!args
) SWIG_fail
;
25651 swig_obj
[0] = args
;
25652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25653 if (!SWIG_IsOK(res1
)) {
25654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25656 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25663 resultobj
= SWIG_From_int(static_cast< int >(result
));
25670 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25671 PyObject
*resultobj
= 0;
25672 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25676 PyObject
*swig_obj
[1] ;
25678 if (!args
) SWIG_fail
;
25679 swig_obj
[0] = args
;
25680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25681 if (!SWIG_IsOK(res1
)) {
25682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25684 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_From_int(static_cast< int >(result
));
25698 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25699 PyObject
*resultobj
= 0;
25700 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25704 PyObject
*swig_obj
[1] ;
25706 if (!args
) SWIG_fail
;
25707 swig_obj
[0] = args
;
25708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25709 if (!SWIG_IsOK(res1
)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25712 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_From_int(static_cast< int >(result
));
25726 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25727 PyObject
*resultobj
= 0;
25728 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25732 PyObject
*swig_obj
[1] ;
25734 if (!args
) SWIG_fail
;
25735 swig_obj
[0] = args
;
25736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25737 if (!SWIG_IsOK(res1
)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25740 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25756 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25757 PyObject
*resultobj
= 0;
25758 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25762 PyObject
*swig_obj
[1] ;
25764 if (!args
) SWIG_fail
;
25765 swig_obj
[0] = args
;
25766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25767 if (!SWIG_IsOK(res1
)) {
25768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25770 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25786 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25787 PyObject
*resultobj
= 0;
25788 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25792 PyObject
*swig_obj
[1] ;
25794 if (!args
) SWIG_fail
;
25795 swig_obj
[0] = args
;
25796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25797 if (!SWIG_IsOK(res1
)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25800 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25803 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25804 wxPyEndAllowThreads(__tstate
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25816 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25817 PyObject
*resultobj
= 0;
25818 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25822 PyObject
*swig_obj
[1] ;
25824 if (!args
) SWIG_fail
;
25825 swig_obj
[0] = args
;
25826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25827 if (!SWIG_IsOK(res1
)) {
25828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25830 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25846 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
= 0;
25848 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25854 PyObject
* obj0
= 0 ;
25855 PyObject
* obj1
= 0 ;
25856 char * kwnames
[] = {
25857 (char *) "self",(char *) "v", NULL
25860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25862 if (!SWIG_IsOK(res1
)) {
25863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25865 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25867 if (!SWIG_IsOK(ecode2
)) {
25868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25870 arg2
= static_cast< int >(val2
);
25872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25873 (arg1
)->SetFromPage(arg2
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 resultobj
= SWIG_Py_Void();
25884 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
= 0;
25886 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 char * kwnames
[] = {
25895 (char *) "self",(char *) "v", NULL
25898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25900 if (!SWIG_IsOK(res1
)) {
25901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25903 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25905 if (!SWIG_IsOK(ecode2
)) {
25906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25908 arg2
= static_cast< int >(val2
);
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 (arg1
)->SetToPage(arg2
);
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= SWIG_Py_Void();
25922 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25923 PyObject
*resultobj
= 0;
25924 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 char * kwnames
[] = {
25933 (char *) "self",(char *) "v", NULL
25936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25938 if (!SWIG_IsOK(res1
)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25941 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25943 if (!SWIG_IsOK(ecode2
)) {
25944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
25946 arg2
= static_cast< int >(val2
);
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 (arg1
)->SetMinPage(arg2
);
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25953 resultobj
= SWIG_Py_Void();
25960 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
= 0;
25962 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25968 PyObject
* obj0
= 0 ;
25969 PyObject
* obj1
= 0 ;
25970 char * kwnames
[] = {
25971 (char *) "self",(char *) "v", NULL
25974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25976 if (!SWIG_IsOK(res1
)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25979 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25981 if (!SWIG_IsOK(ecode2
)) {
25982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
25984 arg2
= static_cast< int >(val2
);
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 (arg1
)->SetMaxPage(arg2
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= SWIG_Py_Void();
25998 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
= 0;
26000 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 char * kwnames
[] = {
26009 (char *) "self",(char *) "v", NULL
26012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26014 if (!SWIG_IsOK(res1
)) {
26015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26017 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26019 if (!SWIG_IsOK(ecode2
)) {
26020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26022 arg2
= static_cast< int >(val2
);
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 (arg1
)->SetNoCopies(arg2
);
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= SWIG_Py_Void();
26036 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26037 PyObject
*resultobj
= 0;
26038 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26044 PyObject
* obj0
= 0 ;
26045 PyObject
* obj1
= 0 ;
26046 char * kwnames
[] = {
26047 (char *) "self",(char *) "flag", NULL
26050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26052 if (!SWIG_IsOK(res1
)) {
26053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26055 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26056 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26057 if (!SWIG_IsOK(ecode2
)) {
26058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26060 arg2
= static_cast< bool >(val2
);
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 (arg1
)->SetAllPages(arg2
);
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26067 resultobj
= SWIG_Py_Void();
26074 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
= 0;
26076 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26082 PyObject
* obj0
= 0 ;
26083 PyObject
* obj1
= 0 ;
26084 char * kwnames
[] = {
26085 (char *) "self",(char *) "flag", NULL
26088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26090 if (!SWIG_IsOK(res1
)) {
26091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26093 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26094 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26095 if (!SWIG_IsOK(ecode2
)) {
26096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26098 arg2
= static_cast< bool >(val2
);
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 (arg1
)->SetSelection(arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 resultobj
= SWIG_Py_Void();
26112 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
= 0;
26114 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 PyObject
* obj1
= 0 ;
26122 char * kwnames
[] = {
26123 (char *) "self",(char *) "flag", NULL
26126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26128 if (!SWIG_IsOK(res1
)) {
26129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26131 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26132 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26133 if (!SWIG_IsOK(ecode2
)) {
26134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26136 arg2
= static_cast< bool >(val2
);
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 (arg1
)->SetCollate(arg2
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= SWIG_Py_Void();
26150 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
= 0;
26152 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 char * kwnames
[] = {
26161 (char *) "self",(char *) "flag", NULL
26164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26166 if (!SWIG_IsOK(res1
)) {
26167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26169 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26170 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26171 if (!SWIG_IsOK(ecode2
)) {
26172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26174 arg2
= static_cast< bool >(val2
);
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 (arg1
)->SetPrintToFile(arg2
);
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 resultobj
= SWIG_Py_Void();
26188 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
= 0;
26190 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26196 PyObject
* obj0
= 0 ;
26197 PyObject
* obj1
= 0 ;
26198 char * kwnames
[] = {
26199 (char *) "self",(char *) "flag", NULL
26202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26204 if (!SWIG_IsOK(res1
)) {
26205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26207 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26208 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26209 if (!SWIG_IsOK(ecode2
)) {
26210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26212 arg2
= static_cast< bool >(val2
);
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 (arg1
)->EnablePrintToFile(arg2
);
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= SWIG_Py_Void();
26226 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26227 PyObject
*resultobj
= 0;
26228 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26234 PyObject
* obj0
= 0 ;
26235 PyObject
* obj1
= 0 ;
26236 char * kwnames
[] = {
26237 (char *) "self",(char *) "flag", NULL
26240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26242 if (!SWIG_IsOK(res1
)) {
26243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26245 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26246 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26247 if (!SWIG_IsOK(ecode2
)) {
26248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26250 arg2
= static_cast< bool >(val2
);
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 (arg1
)->EnableSelection(arg2
);
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= SWIG_Py_Void();
26264 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
= 0;
26266 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 char * kwnames
[] = {
26275 (char *) "self",(char *) "flag", NULL
26278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26280 if (!SWIG_IsOK(res1
)) {
26281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26283 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26284 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26285 if (!SWIG_IsOK(ecode2
)) {
26286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26288 arg2
= static_cast< bool >(val2
);
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26291 (arg1
)->EnablePageNumbers(arg2
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= SWIG_Py_Void();
26302 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
= 0;
26304 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 char * kwnames
[] = {
26313 (char *) "self",(char *) "flag", NULL
26316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26318 if (!SWIG_IsOK(res1
)) {
26319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26321 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26322 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26323 if (!SWIG_IsOK(ecode2
)) {
26324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26326 arg2
= static_cast< bool >(val2
);
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 (arg1
)->EnableHelp(arg2
);
26330 wxPyEndAllowThreads(__tstate
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26333 resultobj
= SWIG_Py_Void();
26340 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26341 PyObject
*resultobj
= 0;
26342 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26346 PyObject
*swig_obj
[1] ;
26348 if (!args
) SWIG_fail
;
26349 swig_obj
[0] = args
;
26350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26351 if (!SWIG_IsOK(res1
)) {
26352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26354 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26357 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26370 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26371 PyObject
*resultobj
= 0;
26372 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26376 PyObject
*swig_obj
[1] ;
26378 if (!args
) SWIG_fail
;
26379 swig_obj
[0] = args
;
26380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26381 if (!SWIG_IsOK(res1
)) {
26382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26384 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26387 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26400 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26401 PyObject
*resultobj
= 0;
26402 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26406 PyObject
*swig_obj
[1] ;
26408 if (!args
) SWIG_fail
;
26409 swig_obj
[0] = args
;
26410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26411 if (!SWIG_IsOK(res1
)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26414 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26430 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26431 PyObject
*resultobj
= 0;
26432 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26436 PyObject
*swig_obj
[1] ;
26438 if (!args
) SWIG_fail
;
26439 swig_obj
[0] = args
;
26440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26441 if (!SWIG_IsOK(res1
)) {
26442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26444 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26448 wxPyEndAllowThreads(__tstate
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26460 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26461 PyObject
*resultobj
= 0;
26462 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26466 PyObject
*swig_obj
[1] ;
26468 if (!args
) SWIG_fail
;
26469 swig_obj
[0] = args
;
26470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26471 if (!SWIG_IsOK(res1
)) {
26472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26474 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26490 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26491 PyObject
*resultobj
= 0;
26492 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26493 wxPrintData
*result
= 0 ;
26496 PyObject
*swig_obj
[1] ;
26498 if (!args
) SWIG_fail
;
26499 swig_obj
[0] = args
;
26500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26501 if (!SWIG_IsOK(res1
)) {
26502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26504 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26509 result
= (wxPrintData
*) &_result_ref
;
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26521 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
= 0;
26523 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26524 wxPrintData
*arg2
= 0 ;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char * kwnames
[] = {
26532 (char *) "self",(char *) "printData", NULL
26535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26537 if (!SWIG_IsOK(res1
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26540 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26542 if (!SWIG_IsOK(res2
)) {
26543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26548 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 resultobj
= SWIG_Py_Void();
26562 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26565 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26566 return SWIG_Py_Void();
26569 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26570 return SWIG_Python_InitShadowInstance(args
);
26573 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
= 0;
26575 wxWindow
*arg1
= (wxWindow
*) 0 ;
26576 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26577 wxPrintDialog
*result
= 0 ;
26582 PyObject
* obj0
= 0 ;
26583 PyObject
* obj1
= 0 ;
26584 char * kwnames
[] = {
26585 (char *) "parent",(char *) "data", NULL
26588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26590 if (!SWIG_IsOK(res1
)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26593 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26596 if (!SWIG_IsOK(res2
)) {
26597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26599 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26602 if (!wxPyCheckForApp()) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26615 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26616 PyObject
*resultobj
= 0;
26617 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26620 PyObject
*swig_obj
[1] ;
26622 if (!args
) SWIG_fail
;
26623 swig_obj
[0] = args
;
26624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26625 if (!SWIG_IsOK(res1
)) {
26626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26628 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_Py_Void();
26643 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26644 PyObject
*resultobj
= 0;
26645 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26649 PyObject
*swig_obj
[1] ;
26651 if (!args
) SWIG_fail
;
26652 swig_obj
[0] = args
;
26653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26654 if (!SWIG_IsOK(res1
)) {
26655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26657 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 result
= (int)(arg1
)->ShowModal();
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26664 resultobj
= SWIG_From_int(static_cast< int >(result
));
26671 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26672 PyObject
*resultobj
= 0;
26673 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26674 wxPrintDialogData
*result
= 0 ;
26677 PyObject
*swig_obj
[1] ;
26679 if (!args
) SWIG_fail
;
26680 swig_obj
[0] = args
;
26681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26682 if (!SWIG_IsOK(res1
)) {
26683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26685 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26690 result
= (wxPrintDialogData
*) &_result_ref
;
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26702 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26703 PyObject
*resultobj
= 0;
26704 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26705 wxPrintData
*result
= 0 ;
26708 PyObject
*swig_obj
[1] ;
26710 if (!args
) SWIG_fail
;
26711 swig_obj
[0] = args
;
26712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26713 if (!SWIG_IsOK(res1
)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26716 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26721 result
= (wxPrintData
*) &_result_ref
;
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26733 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26734 PyObject
*resultobj
= 0;
26735 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26739 PyObject
*swig_obj
[1] ;
26741 if (!args
) SWIG_fail
;
26742 swig_obj
[0] = args
;
26743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26744 if (!SWIG_IsOK(res1
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26747 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= (wxDC
*)(arg1
)->GetPrintDC();
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26763 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26766 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26767 return SWIG_Py_Void();
26770 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26771 return SWIG_Python_InitShadowInstance(args
);
26774 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26775 PyObject
*resultobj
= 0;
26776 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26777 wxPrinter
*result
= 0 ;
26780 PyObject
* obj0
= 0 ;
26781 char * kwnames
[] = {
26782 (char *) "data", NULL
26785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26788 if (!SWIG_IsOK(res1
)) {
26789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26791 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26794 if (!wxPyCheckForApp()) SWIG_fail
;
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 result
= (wxPrinter
*)new wxPrinter(arg1
);
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26807 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26808 PyObject
*resultobj
= 0;
26809 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26812 PyObject
*swig_obj
[1] ;
26814 if (!args
) SWIG_fail
;
26815 swig_obj
[0] = args
;
26816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26817 if (!SWIG_IsOK(res1
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26820 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26825 wxPyEndAllowThreads(__tstate
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= SWIG_Py_Void();
26835 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
= 0;
26837 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26838 wxWindow
*arg2
= (wxWindow
*) 0 ;
26839 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26840 wxWindow
*result
= 0 ;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 PyObject
* obj2
= 0 ;
26850 char * kwnames
[] = {
26851 (char *) "self",(char *) "parent",(char *) "printout", NULL
26854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26856 if (!SWIG_IsOK(res1
)) {
26857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26859 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26861 if (!SWIG_IsOK(res2
)) {
26862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26864 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26865 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26866 if (!SWIG_IsOK(res3
)) {
26867 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26869 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= wxPyMake_wxObject(result
, 0);
26885 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
= 0;
26887 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26888 wxWindow
*arg2
= (wxWindow
*) 0 ;
26889 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26890 wxString
*arg4
= 0 ;
26897 bool temp4
= false ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 PyObject
* obj2
= 0 ;
26901 PyObject
* obj3
= 0 ;
26902 char * kwnames
[] = {
26903 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26908 if (!SWIG_IsOK(res1
)) {
26909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26911 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26913 if (!SWIG_IsOK(res2
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26917 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26918 if (!SWIG_IsOK(res3
)) {
26919 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26921 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26923 arg4
= wxString_in_helper(obj3
);
26924 if (arg4
== NULL
) SWIG_fail
;
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= SWIG_Py_Void();
26948 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
= 0;
26950 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26951 wxWindow
*arg2
= (wxWindow
*) 0 ;
26957 PyObject
* obj0
= 0 ;
26958 PyObject
* obj1
= 0 ;
26959 char * kwnames
[] = {
26960 (char *) "self",(char *) "parent", NULL
26963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26965 if (!SWIG_IsOK(res1
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
26968 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26970 if (!SWIG_IsOK(res2
)) {
26971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
26973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26976 result
= (bool)(arg1
)->Setup(arg2
);
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26989 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
= 0;
26991 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26992 wxWindow
*arg2
= (wxWindow
*) 0 ;
26993 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26994 bool arg4
= (bool) true ;
27004 PyObject
* obj0
= 0 ;
27005 PyObject
* obj1
= 0 ;
27006 PyObject
* obj2
= 0 ;
27007 PyObject
* obj3
= 0 ;
27008 char * kwnames
[] = {
27009 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27014 if (!SWIG_IsOK(res1
)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27017 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27019 if (!SWIG_IsOK(res2
)) {
27020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27023 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27024 if (!SWIG_IsOK(res3
)) {
27025 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27027 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27029 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27030 if (!SWIG_IsOK(ecode4
)) {
27031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27033 arg4
= static_cast< bool >(val4
);
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27050 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
= 0;
27052 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27053 wxWindow
*arg2
= (wxWindow
*) 0 ;
27059 PyObject
* obj0
= 0 ;
27060 PyObject
* obj1
= 0 ;
27061 char * kwnames
[] = {
27062 (char *) "self",(char *) "parent", NULL
27065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27067 if (!SWIG_IsOK(res1
)) {
27068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27070 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27072 if (!SWIG_IsOK(res2
)) {
27073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27075 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27091 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27092 PyObject
*resultobj
= 0;
27093 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27094 wxPrintDialogData
*result
= 0 ;
27097 PyObject
*swig_obj
[1] ;
27099 if (!args
) SWIG_fail
;
27100 swig_obj
[0] = args
;
27101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27102 if (!SWIG_IsOK(res1
)) {
27103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27105 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27110 result
= (wxPrintDialogData
*) &_result_ref
;
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27122 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27123 PyObject
*resultobj
= 0;
27124 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27128 PyObject
*swig_obj
[1] ;
27130 if (!args
) SWIG_fail
;
27131 swig_obj
[0] = args
;
27132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27133 if (!SWIG_IsOK(res1
)) {
27134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27136 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 result
= (bool)(arg1
)->GetAbort();
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27152 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27153 PyObject
*resultobj
= 0;
27154 wxPrinterError result
;
27156 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27159 result
= (wxPrinterError
)wxPrinter::GetLastError();
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 resultobj
= SWIG_From_int(static_cast< int >(result
));
27170 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27173 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27174 return SWIG_Py_Void();
27177 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27178 return SWIG_Python_InitShadowInstance(args
);
27181 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27182 PyObject
*resultobj
= 0;
27183 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27184 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27185 wxPyPrintout
*result
= 0 ;
27186 bool temp1
= false ;
27187 PyObject
* obj0
= 0 ;
27188 char * kwnames
[] = {
27189 (char *) "title", NULL
27192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27195 arg1
= wxString_in_helper(obj0
);
27196 if (arg1
== NULL
) SWIG_fail
;
27201 if (!wxPyCheckForApp()) SWIG_fail
;
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27204 wxPyEndAllowThreads(__tstate
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27222 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27223 PyObject
*resultobj
= 0;
27224 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27227 PyObject
*swig_obj
[1] ;
27229 if (!args
) SWIG_fail
;
27230 swig_obj
[0] = args
;
27231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27232 if (!SWIG_IsOK(res1
)) {
27233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27235 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 wxPyEndAllowThreads(__tstate
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27243 resultobj
= SWIG_Py_Void();
27250 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27251 PyObject
*resultobj
= 0;
27252 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27253 PyObject
*arg2
= (PyObject
*) 0 ;
27254 PyObject
*arg3
= (PyObject
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 PyObject
* obj1
= 0 ;
27259 PyObject
* obj2
= 0 ;
27260 char * kwnames
[] = {
27261 (char *) "self",(char *) "self",(char *) "_class", NULL
27264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27269 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 resultobj
= SWIG_Py_Void();
27285 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27286 PyObject
*resultobj
= 0;
27287 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27291 PyObject
*swig_obj
[1] ;
27293 if (!args
) SWIG_fail
;
27294 swig_obj
[0] = args
;
27295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27296 if (!SWIG_IsOK(res1
)) {
27297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27299 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27319 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27320 PyObject
*resultobj
= 0;
27321 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27325 PyObject
*swig_obj
[1] ;
27327 if (!args
) SWIG_fail
;
27328 swig_obj
[0] = args
;
27329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27330 if (!SWIG_IsOK(res1
)) {
27331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27333 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27336 result
= (wxDC
*)(arg1
)->GetDC();
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27341 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27349 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
= 0;
27351 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27352 wxDC
*arg2
= (wxDC
*) 0 ;
27357 PyObject
* obj0
= 0 ;
27358 PyObject
* obj1
= 0 ;
27359 char * kwnames
[] = {
27360 (char *) "self",(char *) "dc", NULL
27363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27365 if (!SWIG_IsOK(res1
)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27368 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27370 if (!SWIG_IsOK(res2
)) {
27371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27373 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 (arg1
)->SetDC(arg2
);
27377 wxPyEndAllowThreads(__tstate
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27380 resultobj
= SWIG_Py_Void();
27387 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27388 PyObject
*resultobj
= 0;
27389 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27398 PyObject
* obj0
= 0 ;
27399 PyObject
* obj1
= 0 ;
27400 PyObject
* obj2
= 0 ;
27401 char * kwnames
[] = {
27402 (char *) "self",(char *) "w",(char *) "h", NULL
27405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27407 if (!SWIG_IsOK(res1
)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27410 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27412 if (!SWIG_IsOK(ecode2
)) {
27413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27415 arg2
= static_cast< int >(val2
);
27416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27417 if (!SWIG_IsOK(ecode3
)) {
27418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27420 arg3
= static_cast< int >(val3
);
27422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= SWIG_Py_Void();
27434 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27435 PyObject
*resultobj
= 0;
27436 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27437 int *arg2
= (int *) 0 ;
27438 int *arg3
= (int *) 0 ;
27442 int res2
= SWIG_TMPOBJ
;
27444 int res3
= SWIG_TMPOBJ
;
27445 PyObject
*swig_obj
[1] ;
27449 if (!args
) SWIG_fail
;
27450 swig_obj
[0] = args
;
27451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27452 if (!SWIG_IsOK(res1
)) {
27453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27455 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27458 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27462 resultobj
= SWIG_Py_Void();
27463 if (SWIG_IsTmpObj(res2
)) {
27464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27466 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27469 if (SWIG_IsTmpObj(res3
)) {
27470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27472 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27481 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
= 0;
27483 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 PyObject
* obj1
= 0 ;
27494 PyObject
* obj2
= 0 ;
27495 char * kwnames
[] = {
27496 (char *) "self",(char *) "w",(char *) "h", NULL
27499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27504 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27506 if (!SWIG_IsOK(ecode2
)) {
27507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27509 arg2
= static_cast< int >(val2
);
27510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27511 if (!SWIG_IsOK(ecode3
)) {
27512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27514 arg3
= static_cast< int >(val3
);
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= SWIG_Py_Void();
27528 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27529 PyObject
*resultobj
= 0;
27530 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27531 int *arg2
= (int *) 0 ;
27532 int *arg3
= (int *) 0 ;
27536 int res2
= SWIG_TMPOBJ
;
27538 int res3
= SWIG_TMPOBJ
;
27539 PyObject
*swig_obj
[1] ;
27543 if (!args
) SWIG_fail
;
27544 swig_obj
[0] = args
;
27545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27546 if (!SWIG_IsOK(res1
)) {
27547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27549 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27556 resultobj
= SWIG_Py_Void();
27557 if (SWIG_IsTmpObj(res2
)) {
27558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27560 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27563 if (SWIG_IsTmpObj(res3
)) {
27564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27566 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27575 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
= 0;
27577 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 PyObject
* obj2
= 0 ;
27589 char * kwnames
[] = {
27590 (char *) "self",(char *) "x",(char *) "y", NULL
27593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27595 if (!SWIG_IsOK(res1
)) {
27596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27598 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27600 if (!SWIG_IsOK(ecode2
)) {
27601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27603 arg2
= static_cast< int >(val2
);
27604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27605 if (!SWIG_IsOK(ecode3
)) {
27606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27608 arg3
= static_cast< int >(val3
);
27610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27611 (arg1
)->SetPPIScreen(arg2
,arg3
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 resultobj
= SWIG_Py_Void();
27622 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27623 PyObject
*resultobj
= 0;
27624 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27625 int *arg2
= (int *) 0 ;
27626 int *arg3
= (int *) 0 ;
27630 int res2
= SWIG_TMPOBJ
;
27632 int res3
= SWIG_TMPOBJ
;
27633 PyObject
*swig_obj
[1] ;
27637 if (!args
) SWIG_fail
;
27638 swig_obj
[0] = args
;
27639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27640 if (!SWIG_IsOK(res1
)) {
27641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27643 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 (arg1
)->GetPPIScreen(arg2
,arg3
);
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 resultobj
= SWIG_Py_Void();
27651 if (SWIG_IsTmpObj(res2
)) {
27652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27654 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27657 if (SWIG_IsTmpObj(res3
)) {
27658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27660 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27669 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
= 0;
27671 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27680 PyObject
* obj0
= 0 ;
27681 PyObject
* obj1
= 0 ;
27682 PyObject
* obj2
= 0 ;
27683 char * kwnames
[] = {
27684 (char *) "self",(char *) "x",(char *) "y", NULL
27687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27689 if (!SWIG_IsOK(res1
)) {
27690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27692 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27694 if (!SWIG_IsOK(ecode2
)) {
27695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27697 arg2
= static_cast< int >(val2
);
27698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27699 if (!SWIG_IsOK(ecode3
)) {
27700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27702 arg3
= static_cast< int >(val3
);
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27705 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27706 wxPyEndAllowThreads(__tstate
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27709 resultobj
= SWIG_Py_Void();
27716 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27717 PyObject
*resultobj
= 0;
27718 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27719 int *arg2
= (int *) 0 ;
27720 int *arg3
= (int *) 0 ;
27724 int res2
= SWIG_TMPOBJ
;
27726 int res3
= SWIG_TMPOBJ
;
27727 PyObject
*swig_obj
[1] ;
27731 if (!args
) SWIG_fail
;
27732 swig_obj
[0] = args
;
27733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27734 if (!SWIG_IsOK(res1
)) {
27735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27737 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27740 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= SWIG_Py_Void();
27745 if (SWIG_IsTmpObj(res2
)) {
27746 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27748 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27749 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27751 if (SWIG_IsTmpObj(res3
)) {
27752 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27754 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27755 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27763 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27764 PyObject
*resultobj
= 0;
27765 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27769 PyObject
*swig_obj
[1] ;
27771 if (!args
) SWIG_fail
;
27772 swig_obj
[0] = args
;
27773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27774 if (!SWIG_IsOK(res1
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27777 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 result
= (bool)(arg1
)->IsPreview();
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27793 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
= 0;
27795 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27801 PyObject
* obj0
= 0 ;
27802 PyObject
* obj1
= 0 ;
27803 char * kwnames
[] = {
27804 (char *) "self",(char *) "p", NULL
27807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27809 if (!SWIG_IsOK(res1
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27812 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27813 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27814 if (!SWIG_IsOK(ecode2
)) {
27815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27817 arg2
= static_cast< bool >(val2
);
27819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27820 (arg1
)->SetIsPreview(arg2
);
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 resultobj
= SWIG_Py_Void();
27831 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
= 0;
27833 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27843 PyObject
* obj0
= 0 ;
27844 PyObject
* obj1
= 0 ;
27845 PyObject
* obj2
= 0 ;
27846 char * kwnames
[] = {
27847 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27852 if (!SWIG_IsOK(res1
)) {
27853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27855 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27857 if (!SWIG_IsOK(ecode2
)) {
27858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27860 arg2
= static_cast< int >(val2
);
27861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27862 if (!SWIG_IsOK(ecode3
)) {
27863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27865 arg3
= static_cast< int >(val3
);
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27881 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27882 PyObject
*resultobj
= 0;
27883 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27886 PyObject
*swig_obj
[1] ;
27888 if (!args
) SWIG_fail
;
27889 swig_obj
[0] = args
;
27890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27891 if (!SWIG_IsOK(res1
)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27894 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27897 (arg1
)->OnEndDocument();
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= SWIG_Py_Void();
27908 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27909 PyObject
*resultobj
= 0;
27910 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27913 PyObject
*swig_obj
[1] ;
27915 if (!args
) SWIG_fail
;
27916 swig_obj
[0] = args
;
27917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27918 if (!SWIG_IsOK(res1
)) {
27919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27921 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 (arg1
)->OnBeginPrinting();
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 resultobj
= SWIG_Py_Void();
27935 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27936 PyObject
*resultobj
= 0;
27937 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27940 PyObject
*swig_obj
[1] ;
27942 if (!args
) SWIG_fail
;
27943 swig_obj
[0] = args
;
27944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27945 if (!SWIG_IsOK(res1
)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27948 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 (arg1
)->OnEndPrinting();
27952 wxPyEndAllowThreads(__tstate
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27955 resultobj
= SWIG_Py_Void();
27962 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27963 PyObject
*resultobj
= 0;
27964 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27967 PyObject
*swig_obj
[1] ;
27969 if (!args
) SWIG_fail
;
27970 swig_obj
[0] = args
;
27971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27972 if (!SWIG_IsOK(res1
)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27975 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 (arg1
)->OnPreparePrinting();
27979 wxPyEndAllowThreads(__tstate
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27982 resultobj
= SWIG_Py_Void();
27989 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27990 PyObject
*resultobj
= 0;
27991 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27998 PyObject
* obj0
= 0 ;
27999 PyObject
* obj1
= 0 ;
28000 char * kwnames
[] = {
28001 (char *) "self",(char *) "page", NULL
28004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28006 if (!SWIG_IsOK(res1
)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28009 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28011 if (!SWIG_IsOK(ecode2
)) {
28012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28014 arg2
= static_cast< int >(val2
);
28016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28017 result
= (bool)(arg1
)->HasPage(arg2
);
28018 wxPyEndAllowThreads(__tstate
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28030 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28031 PyObject
*resultobj
= 0;
28032 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28033 int *arg2
= (int *) 0 ;
28034 int *arg3
= (int *) 0 ;
28035 int *arg4
= (int *) 0 ;
28036 int *arg5
= (int *) 0 ;
28040 int res2
= SWIG_TMPOBJ
;
28042 int res3
= SWIG_TMPOBJ
;
28044 int res4
= SWIG_TMPOBJ
;
28046 int res5
= SWIG_TMPOBJ
;
28047 PyObject
*swig_obj
[1] ;
28053 if (!args
) SWIG_fail
;
28054 swig_obj
[0] = args
;
28055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28059 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28062 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= SWIG_Py_Void();
28067 if (SWIG_IsTmpObj(res2
)) {
28068 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28070 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28071 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28073 if (SWIG_IsTmpObj(res3
)) {
28074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28076 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28079 if (SWIG_IsTmpObj(res4
)) {
28080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28082 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28085 if (SWIG_IsTmpObj(res5
)) {
28086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28088 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28097 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28100 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28101 return SWIG_Py_Void();
28104 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28105 return SWIG_Python_InitShadowInstance(args
);
28108 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
= 0;
28110 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28111 wxWindow
*arg2
= (wxWindow
*) 0 ;
28112 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28113 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28114 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28115 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28116 long arg5
= (long) 0 ;
28117 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28118 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28119 wxPreviewCanvas
*result
= 0 ;
28128 bool temp6
= false ;
28129 PyObject
* obj0
= 0 ;
28130 PyObject
* obj1
= 0 ;
28131 PyObject
* obj2
= 0 ;
28132 PyObject
* obj3
= 0 ;
28133 PyObject
* obj4
= 0 ;
28134 PyObject
* obj5
= 0 ;
28135 char * kwnames
[] = {
28136 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28141 if (!SWIG_IsOK(res1
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28144 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28146 if (!SWIG_IsOK(res2
)) {
28147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28153 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28159 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28163 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28164 if (!SWIG_IsOK(ecode5
)) {
28165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28167 arg5
= static_cast< long >(val5
);
28171 arg6
= wxString_in_helper(obj5
);
28172 if (arg6
== NULL
) SWIG_fail
;
28177 if (!wxPyCheckForApp()) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28198 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28201 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28202 return SWIG_Py_Void();
28205 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28206 return SWIG_Python_InitShadowInstance(args
);
28209 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
= 0;
28211 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28212 wxFrame
*arg2
= (wxFrame
*) 0 ;
28213 wxString
*arg3
= 0 ;
28214 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28215 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28216 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28217 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28218 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28219 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28220 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28221 wxPreviewFrame
*result
= 0 ;
28225 bool temp3
= false ;
28230 bool temp7
= false ;
28231 PyObject
* obj0
= 0 ;
28232 PyObject
* obj1
= 0 ;
28233 PyObject
* obj2
= 0 ;
28234 PyObject
* obj3
= 0 ;
28235 PyObject
* obj4
= 0 ;
28236 PyObject
* obj5
= 0 ;
28237 PyObject
* obj6
= 0 ;
28238 char * kwnames
[] = {
28239 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28243 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28248 if (!SWIG_IsOK(res2
)) {
28249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28251 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28253 arg3
= wxString_in_helper(obj2
);
28254 if (arg3
== NULL
) SWIG_fail
;
28260 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28266 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28270 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28271 if (!SWIG_IsOK(ecode6
)) {
28272 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28274 arg6
= static_cast< long >(val6
);
28278 arg7
= wxString_in_helper(obj6
);
28279 if (arg7
== NULL
) SWIG_fail
;
28284 if (!wxPyCheckForApp()) SWIG_fail
;
28285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28286 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28287 wxPyEndAllowThreads(__tstate
);
28288 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28313 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28314 PyObject
*resultobj
= 0;
28315 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28318 PyObject
*swig_obj
[1] ;
28320 if (!args
) SWIG_fail
;
28321 swig_obj
[0] = args
;
28322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28323 if (!SWIG_IsOK(res1
)) {
28324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28326 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 (arg1
)->Initialize();
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28333 resultobj
= SWIG_Py_Void();
28340 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28341 PyObject
*resultobj
= 0;
28342 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28345 PyObject
*swig_obj
[1] ;
28347 if (!args
) SWIG_fail
;
28348 swig_obj
[0] = args
;
28349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28350 if (!SWIG_IsOK(res1
)) {
28351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28353 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 (arg1
)->CreateControlBar();
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28360 resultobj
= SWIG_Py_Void();
28367 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28368 PyObject
*resultobj
= 0;
28369 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28372 PyObject
*swig_obj
[1] ;
28374 if (!args
) SWIG_fail
;
28375 swig_obj
[0] = args
;
28376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28377 if (!SWIG_IsOK(res1
)) {
28378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28380 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 (arg1
)->CreateCanvas();
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_Py_Void();
28394 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28395 PyObject
*resultobj
= 0;
28396 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28397 wxPreviewControlBar
*result
= 0 ;
28400 PyObject
*swig_obj
[1] ;
28402 if (!args
) SWIG_fail
;
28403 swig_obj
[0] = args
;
28404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28405 if (!SWIG_IsOK(res1
)) {
28406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28408 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28412 wxPyEndAllowThreads(__tstate
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28422 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28425 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28426 return SWIG_Py_Void();
28429 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28430 return SWIG_Python_InitShadowInstance(args
);
28433 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
= 0;
28435 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28437 wxWindow
*arg3
= (wxWindow
*) 0 ;
28438 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28439 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28440 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28441 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28442 long arg6
= (long) wxTAB_TRAVERSAL
;
28443 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28445 wxPreviewControlBar
*result
= 0 ;
28456 bool temp7
= false ;
28457 PyObject
* obj0
= 0 ;
28458 PyObject
* obj1
= 0 ;
28459 PyObject
* obj2
= 0 ;
28460 PyObject
* obj3
= 0 ;
28461 PyObject
* obj4
= 0 ;
28462 PyObject
* obj5
= 0 ;
28463 PyObject
* obj6
= 0 ;
28464 char * kwnames
[] = {
28465 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28470 if (!SWIG_IsOK(res1
)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28473 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28474 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28475 if (!SWIG_IsOK(ecode2
)) {
28476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28478 arg2
= static_cast< long >(val2
);
28479 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28480 if (!SWIG_IsOK(res3
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28483 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28487 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28493 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28497 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28498 if (!SWIG_IsOK(ecode6
)) {
28499 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28501 arg6
= static_cast< long >(val6
);
28505 arg7
= wxString_in_helper(obj6
);
28506 if (arg7
== NULL
) SWIG_fail
;
28511 if (!wxPyCheckForApp()) SWIG_fail
;
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28532 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28533 PyObject
*resultobj
= 0;
28534 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28538 PyObject
*swig_obj
[1] ;
28540 if (!args
) SWIG_fail
;
28541 swig_obj
[0] = args
;
28542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28543 if (!SWIG_IsOK(res1
)) {
28544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28546 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 result
= (int)(arg1
)->GetZoomControl();
28550 wxPyEndAllowThreads(__tstate
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= SWIG_From_int(static_cast< int >(result
));
28560 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28561 PyObject
*resultobj
= 0;
28562 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28568 PyObject
* obj0
= 0 ;
28569 PyObject
* obj1
= 0 ;
28570 char * kwnames
[] = {
28571 (char *) "self",(char *) "zoom", NULL
28574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28576 if (!SWIG_IsOK(res1
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28579 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28581 if (!SWIG_IsOK(ecode2
)) {
28582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28584 arg2
= static_cast< int >(val2
);
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 (arg1
)->SetZoomControl(arg2
);
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 resultobj
= SWIG_Py_Void();
28598 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28599 PyObject
*resultobj
= 0;
28600 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28601 wxPrintPreview
*result
= 0 ;
28604 PyObject
*swig_obj
[1] ;
28606 if (!args
) SWIG_fail
;
28607 swig_obj
[0] = args
;
28608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28609 if (!SWIG_IsOK(res1
)) {
28610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28612 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28616 wxPyEndAllowThreads(__tstate
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28626 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28627 PyObject
*resultobj
= 0;
28628 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28631 PyObject
*swig_obj
[1] ;
28633 if (!args
) SWIG_fail
;
28634 swig_obj
[0] = args
;
28635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28636 if (!SWIG_IsOK(res1
)) {
28637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28639 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= SWIG_Py_Void();
28653 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28654 PyObject
*resultobj
= 0;
28655 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28658 PyObject
*swig_obj
[1] ;
28660 if (!args
) SWIG_fail
;
28661 swig_obj
[0] = args
;
28662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28663 if (!SWIG_IsOK(res1
)) {
28664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28666 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 (arg1
)->OnPrevious();
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28673 resultobj
= SWIG_Py_Void();
28680 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28681 PyObject
*resultobj
= 0;
28682 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28685 PyObject
*swig_obj
[1] ;
28687 if (!args
) SWIG_fail
;
28688 swig_obj
[0] = args
;
28689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28690 if (!SWIG_IsOK(res1
)) {
28691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28693 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= SWIG_Py_Void();
28707 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28708 PyObject
*resultobj
= 0;
28709 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28712 PyObject
*swig_obj
[1] ;
28714 if (!args
) SWIG_fail
;
28715 swig_obj
[0] = args
;
28716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28717 if (!SWIG_IsOK(res1
)) {
28718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28720 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 wxPyEndAllowThreads(__tstate
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28727 resultobj
= SWIG_Py_Void();
28734 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28735 PyObject
*resultobj
= 0;
28736 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28739 PyObject
*swig_obj
[1] ;
28741 if (!args
) SWIG_fail
;
28742 swig_obj
[0] = args
;
28743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28744 if (!SWIG_IsOK(res1
)) {
28745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28747 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28754 resultobj
= SWIG_Py_Void();
28761 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28764 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28765 return SWIG_Py_Void();
28768 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28769 return SWIG_Python_InitShadowInstance(args
);
28772 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28773 PyObject
*resultobj
= 0;
28774 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28775 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28776 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28777 wxPrintPreview
*result
= 0 ;
28783 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28784 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28785 if (!SWIG_IsOK(res1
)) {
28786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28788 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28789 if (!SWIG_IsOK(res2
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28793 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28794 if (!SWIG_IsOK(res3
)) {
28795 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28797 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28800 if (!wxPyCheckForApp()) SWIG_fail
;
28801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28802 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28813 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28814 PyObject
*resultobj
= 0;
28815 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28816 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28817 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28818 wxPrintPreview
*result
= 0 ;
28824 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28825 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28826 if (!SWIG_IsOK(res1
)) {
28827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28829 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28830 if (!SWIG_IsOK(res2
)) {
28831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28833 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28834 if (!SWIG_IsOK(res3
)) {
28835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28837 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28839 if (!wxPyCheckForApp()) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28852 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28856 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28858 if ((argc
>= 2) && (argc
<= 3)) {
28863 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
28864 _v
= SWIG_CheckState(res
);
28866 if (!_v
) goto check_1
;
28868 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
28873 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
28877 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
28882 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28883 PyObject
*resultobj
= 0;
28884 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28887 PyObject
*swig_obj
[1] ;
28889 if (!args
) SWIG_fail
;
28890 swig_obj
[0] = args
;
28891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28892 if (!SWIG_IsOK(res1
)) {
28893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28895 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= SWIG_Py_Void();
28910 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
= 0;
28912 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28919 PyObject
* obj0
= 0 ;
28920 PyObject
* obj1
= 0 ;
28921 char * kwnames
[] = {
28922 (char *) "self",(char *) "pageNum", NULL
28925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28927 if (!SWIG_IsOK(res1
)) {
28928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28930 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28932 if (!SWIG_IsOK(ecode2
)) {
28933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28935 arg2
= static_cast< int >(val2
);
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
28939 wxPyEndAllowThreads(__tstate
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28951 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28952 PyObject
*resultobj
= 0;
28953 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28957 PyObject
*swig_obj
[1] ;
28959 if (!args
) SWIG_fail
;
28960 swig_obj
[0] = args
;
28961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28962 if (!SWIG_IsOK(res1
)) {
28963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28965 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28968 result
= (int)(arg1
)->GetCurrentPage();
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= SWIG_From_int(static_cast< int >(result
));
28979 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
= 0;
28981 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28982 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28986 PyObject
* obj0
= 0 ;
28987 PyObject
* obj1
= 0 ;
28988 char * kwnames
[] = {
28989 (char *) "self",(char *) "printout", NULL
28992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28994 if (!SWIG_IsOK(res1
)) {
28995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28997 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28998 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28999 if (!SWIG_IsOK(res2
)) {
29000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29004 (arg1
)->SetPrintout(arg2
);
29005 wxPyEndAllowThreads(__tstate
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29008 resultobj
= SWIG_Py_Void();
29015 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29016 PyObject
*resultobj
= 0;
29017 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29018 wxPyPrintout
*result
= 0 ;
29021 PyObject
*swig_obj
[1] ;
29023 if (!args
) SWIG_fail
;
29024 swig_obj
[0] = args
;
29025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29026 if (!SWIG_IsOK(res1
)) {
29027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29029 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29032 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= wxPyMake_wxObject(result
, 0);
29045 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29046 PyObject
*resultobj
= 0;
29047 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29048 wxPyPrintout
*result
= 0 ;
29051 PyObject
*swig_obj
[1] ;
29053 if (!args
) SWIG_fail
;
29054 swig_obj
[0] = args
;
29055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29056 if (!SWIG_IsOK(res1
)) {
29057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29059 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29062 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29063 wxPyEndAllowThreads(__tstate
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29067 resultobj
= wxPyMake_wxObject(result
, 0);
29075 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
= 0;
29077 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29078 wxFrame
*arg2
= (wxFrame
*) 0 ;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 char * kwnames
[] = {
29086 (char *) "self",(char *) "frame", NULL
29089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29091 if (!SWIG_IsOK(res1
)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29094 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29095 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29096 if (!SWIG_IsOK(res2
)) {
29097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29099 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 (arg1
)->SetFrame(arg2
);
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29106 resultobj
= SWIG_Py_Void();
29113 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29114 PyObject
*resultobj
= 0;
29115 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29116 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 char * kwnames
[] = {
29124 (char *) "self",(char *) "canvas", NULL
29127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29129 if (!SWIG_IsOK(res1
)) {
29130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29132 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29133 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29134 if (!SWIG_IsOK(res2
)) {
29135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29137 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 (arg1
)->SetCanvas(arg2
);
29141 wxPyEndAllowThreads(__tstate
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29144 resultobj
= SWIG_Py_Void();
29151 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29152 PyObject
*resultobj
= 0;
29153 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29154 wxFrame
*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_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29165 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 result
= (wxFrame
*)(arg1
)->GetFrame();
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= wxPyMake_wxObject(result
, 0);
29181 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29182 PyObject
*resultobj
= 0;
29183 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29184 wxPreviewCanvas
*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_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29195 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29198 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29209 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29210 PyObject
*resultobj
= 0;
29211 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29212 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29221 PyObject
* obj0
= 0 ;
29222 PyObject
* obj1
= 0 ;
29223 PyObject
* obj2
= 0 ;
29224 char * kwnames
[] = {
29225 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29230 if (!SWIG_IsOK(res1
)) {
29231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29233 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29235 if (!SWIG_IsOK(res2
)) {
29236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29238 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29239 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29240 if (!SWIG_IsOK(res3
)) {
29241 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29246 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29249 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29250 wxPyEndAllowThreads(__tstate
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29262 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29263 PyObject
*resultobj
= 0;
29264 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29265 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29274 PyObject
* obj0
= 0 ;
29275 PyObject
* obj1
= 0 ;
29276 PyObject
* obj2
= 0 ;
29277 char * kwnames
[] = {
29278 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29283 if (!SWIG_IsOK(res1
)) {
29284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29286 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29288 if (!SWIG_IsOK(res2
)) {
29289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29291 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29292 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29293 if (!SWIG_IsOK(res3
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29299 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29302 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29315 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
= 0;
29317 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29324 PyObject
* obj0
= 0 ;
29325 PyObject
* obj1
= 0 ;
29326 char * kwnames
[] = {
29327 (char *) "self",(char *) "pageNum", NULL
29330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29332 if (!SWIG_IsOK(res1
)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29335 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29337 if (!SWIG_IsOK(ecode2
)) {
29338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29340 arg2
= static_cast< int >(val2
);
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 result
= (bool)(arg1
)->RenderPage(arg2
);
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29356 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
= 0;
29358 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29359 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29364 PyObject
* obj0
= 0 ;
29365 PyObject
* obj1
= 0 ;
29366 char * kwnames
[] = {
29367 (char *) "self",(char *) "canvas", NULL
29370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29372 if (!SWIG_IsOK(res1
)) {
29373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29375 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29377 if (!SWIG_IsOK(res2
)) {
29378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29380 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29383 (arg1
)->AdjustScrollbars(arg2
);
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29387 resultobj
= SWIG_Py_Void();
29394 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29395 PyObject
*resultobj
= 0;
29396 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29397 wxPrintDialogData
*result
= 0 ;
29400 PyObject
*swig_obj
[1] ;
29402 if (!args
) SWIG_fail
;
29403 swig_obj
[0] = args
;
29404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29405 if (!SWIG_IsOK(res1
)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29408 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29412 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29413 result
= (wxPrintDialogData
*) &_result_ref
;
29415 wxPyEndAllowThreads(__tstate
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29425 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29426 PyObject
*resultobj
= 0;
29427 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29433 PyObject
* obj0
= 0 ;
29434 PyObject
* obj1
= 0 ;
29435 char * kwnames
[] = {
29436 (char *) "self",(char *) "percent", NULL
29439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29441 if (!SWIG_IsOK(res1
)) {
29442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29444 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29446 if (!SWIG_IsOK(ecode2
)) {
29447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29449 arg2
= static_cast< int >(val2
);
29451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29452 (arg1
)->SetZoom(arg2
);
29453 wxPyEndAllowThreads(__tstate
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= SWIG_Py_Void();
29463 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29464 PyObject
*resultobj
= 0;
29465 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29469 PyObject
*swig_obj
[1] ;
29471 if (!args
) SWIG_fail
;
29472 swig_obj
[0] = args
;
29473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29474 if (!SWIG_IsOK(res1
)) {
29475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29477 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29480 result
= (int)(arg1
)->GetZoom();
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29484 resultobj
= SWIG_From_int(static_cast< int >(result
));
29491 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29492 PyObject
*resultobj
= 0;
29493 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29497 PyObject
*swig_obj
[1] ;
29499 if (!args
) SWIG_fail
;
29500 swig_obj
[0] = args
;
29501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29502 if (!SWIG_IsOK(res1
)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29505 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 result
= (int)(arg1
)->GetMaxPage();
29509 wxPyEndAllowThreads(__tstate
);
29510 if (PyErr_Occurred()) SWIG_fail
;
29512 resultobj
= SWIG_From_int(static_cast< int >(result
));
29519 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29520 PyObject
*resultobj
= 0;
29521 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29525 PyObject
*swig_obj
[1] ;
29527 if (!args
) SWIG_fail
;
29528 swig_obj
[0] = args
;
29529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29530 if (!SWIG_IsOK(res1
)) {
29531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29533 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29536 result
= (int)(arg1
)->GetMinPage();
29537 wxPyEndAllowThreads(__tstate
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29540 resultobj
= SWIG_From_int(static_cast< int >(result
));
29547 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29548 PyObject
*resultobj
= 0;
29549 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29553 PyObject
*swig_obj
[1] ;
29555 if (!args
) SWIG_fail
;
29556 swig_obj
[0] = args
;
29557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29558 if (!SWIG_IsOK(res1
)) {
29559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29561 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 result
= (bool)(arg1
)->Ok();
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29577 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
= 0;
29579 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29585 PyObject
* obj0
= 0 ;
29586 PyObject
* obj1
= 0 ;
29587 char * kwnames
[] = {
29588 (char *) "self",(char *) "ok", NULL
29591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29593 if (!SWIG_IsOK(res1
)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29596 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29597 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29598 if (!SWIG_IsOK(ecode2
)) {
29599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29601 arg2
= static_cast< bool >(val2
);
29603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29604 (arg1
)->SetOk(arg2
);
29605 wxPyEndAllowThreads(__tstate
);
29606 if (PyErr_Occurred()) SWIG_fail
;
29608 resultobj
= SWIG_Py_Void();
29615 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29616 PyObject
*resultobj
= 0;
29617 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29624 PyObject
* obj0
= 0 ;
29625 PyObject
* obj1
= 0 ;
29626 char * kwnames
[] = {
29627 (char *) "self",(char *) "interactive", NULL
29630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29632 if (!SWIG_IsOK(res1
)) {
29633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29635 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29636 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29637 if (!SWIG_IsOK(ecode2
)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29640 arg2
= static_cast< bool >(val2
);
29642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29643 result
= (bool)(arg1
)->Print(arg2
);
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29656 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29657 PyObject
*resultobj
= 0;
29658 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_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29669 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 (arg1
)->DetermineScaling();
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= SWIG_Py_Void();
29683 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29686 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29687 return SWIG_Py_Void();
29690 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29691 return SWIG_Python_InitShadowInstance(args
);
29694 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29695 PyObject
*resultobj
= 0;
29696 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29697 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29698 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29699 wxPyPrintPreview
*result
= 0 ;
29705 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29706 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29707 if (!SWIG_IsOK(res1
)) {
29708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29710 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29711 if (!SWIG_IsOK(res2
)) {
29712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29715 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29716 if (!SWIG_IsOK(res3
)) {
29717 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29719 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29722 if (!wxPyCheckForApp()) SWIG_fail
;
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29725 wxPyEndAllowThreads(__tstate
);
29726 if (PyErr_Occurred()) SWIG_fail
;
29728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29735 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29736 PyObject
*resultobj
= 0;
29737 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29738 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29739 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29740 wxPyPrintPreview
*result
= 0 ;
29746 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29747 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29748 if (!SWIG_IsOK(res1
)) {
29749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29751 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29752 if (!SWIG_IsOK(res2
)) {
29753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29755 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29756 if (!SWIG_IsOK(res3
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29759 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29761 if (!wxPyCheckForApp()) SWIG_fail
;
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29764 wxPyEndAllowThreads(__tstate
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29774 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29778 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29780 if ((argc
>= 2) && (argc
<= 3)) {
29785 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29786 _v
= SWIG_CheckState(res
);
29788 if (!_v
) goto check_1
;
29790 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29795 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29799 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29804 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
= 0;
29806 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29807 PyObject
*arg2
= (PyObject
*) 0 ;
29808 PyObject
*arg3
= (PyObject
*) 0 ;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 PyObject
* obj2
= 0 ;
29814 char * kwnames
[] = {
29815 (char *) "self",(char *) "self",(char *) "_class", NULL
29818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29820 if (!SWIG_IsOK(res1
)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29823 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29828 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= SWIG_Py_Void();
29839 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29842 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29843 return SWIG_Py_Void();
29846 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29847 return SWIG_Python_InitShadowInstance(args
);
29850 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
= 0;
29852 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29853 wxFrame
*arg2
= (wxFrame
*) 0 ;
29854 wxString
*arg3
= 0 ;
29855 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29856 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29857 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29858 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29859 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29860 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29861 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29862 wxPyPreviewFrame
*result
= 0 ;
29867 bool temp3
= false ;
29872 bool temp7
= false ;
29873 PyObject
* obj0
= 0 ;
29874 PyObject
* obj1
= 0 ;
29875 PyObject
* obj2
= 0 ;
29876 PyObject
* obj3
= 0 ;
29877 PyObject
* obj4
= 0 ;
29878 PyObject
* obj5
= 0 ;
29879 PyObject
* obj6
= 0 ;
29880 char * kwnames
[] = {
29881 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29886 if (!SWIG_IsOK(res1
)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29889 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29891 if (!SWIG_IsOK(res2
)) {
29892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29894 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29896 arg3
= wxString_in_helper(obj2
);
29897 if (arg3
== NULL
) SWIG_fail
;
29903 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29909 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29913 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29914 if (!SWIG_IsOK(ecode6
)) {
29915 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29917 arg6
= static_cast< long >(val6
);
29921 arg7
= wxString_in_helper(obj6
);
29922 if (arg7
== NULL
) SWIG_fail
;
29927 if (!wxPyCheckForApp()) SWIG_fail
;
29928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29929 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29930 wxPyEndAllowThreads(__tstate
);
29931 if (PyErr_Occurred()) SWIG_fail
;
29933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29956 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
= 0;
29958 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29959 PyObject
*arg2
= (PyObject
*) 0 ;
29960 PyObject
*arg3
= (PyObject
*) 0 ;
29963 PyObject
* obj0
= 0 ;
29964 PyObject
* obj1
= 0 ;
29965 PyObject
* obj2
= 0 ;
29966 char * kwnames
[] = {
29967 (char *) "self",(char *) "self",(char *) "_class", NULL
29970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29972 if (!SWIG_IsOK(res1
)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29975 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29980 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29981 wxPyEndAllowThreads(__tstate
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29984 resultobj
= SWIG_Py_Void();
29991 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29992 PyObject
*resultobj
= 0;
29993 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29994 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29999 PyObject
* obj0
= 0 ;
30000 PyObject
* obj1
= 0 ;
30001 char * kwnames
[] = {
30002 (char *) "self",(char *) "canvas", NULL
30005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30007 if (!SWIG_IsOK(res1
)) {
30008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30010 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30011 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30012 if (!SWIG_IsOK(res2
)) {
30013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30015 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30018 (arg1
)->SetPreviewCanvas(arg2
);
30019 wxPyEndAllowThreads(__tstate
);
30020 if (PyErr_Occurred()) SWIG_fail
;
30022 resultobj
= SWIG_Py_Void();
30029 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30030 PyObject
*resultobj
= 0;
30031 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30032 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30037 PyObject
* obj0
= 0 ;
30038 PyObject
* obj1
= 0 ;
30039 char * kwnames
[] = {
30040 (char *) "self",(char *) "bar", NULL
30043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30045 if (!SWIG_IsOK(res1
)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30048 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30050 if (!SWIG_IsOK(res2
)) {
30051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30053 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30056 (arg1
)->SetControlBar(arg2
);
30057 wxPyEndAllowThreads(__tstate
);
30058 if (PyErr_Occurred()) SWIG_fail
;
30060 resultobj
= SWIG_Py_Void();
30067 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30068 PyObject
*resultobj
= 0;
30069 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30072 PyObject
*swig_obj
[1] ;
30074 if (!args
) SWIG_fail
;
30075 swig_obj
[0] = args
;
30076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30077 if (!SWIG_IsOK(res1
)) {
30078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30080 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30083 (arg1
)->Initialize();
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30087 resultobj
= SWIG_Py_Void();
30094 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30095 PyObject
*resultobj
= 0;
30096 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30099 PyObject
*swig_obj
[1] ;
30101 if (!args
) SWIG_fail
;
30102 swig_obj
[0] = args
;
30103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30104 if (!SWIG_IsOK(res1
)) {
30105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30107 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 (arg1
)->CreateCanvas();
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30114 resultobj
= SWIG_Py_Void();
30121 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30122 PyObject
*resultobj
= 0;
30123 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30126 PyObject
*swig_obj
[1] ;
30128 if (!args
) SWIG_fail
;
30129 swig_obj
[0] = args
;
30130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30131 if (!SWIG_IsOK(res1
)) {
30132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30134 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 (arg1
)->CreateControlBar();
30138 wxPyEndAllowThreads(__tstate
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30141 resultobj
= SWIG_Py_Void();
30148 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30151 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30152 return SWIG_Py_Void();
30155 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30156 return SWIG_Python_InitShadowInstance(args
);
30159 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30160 PyObject
*resultobj
= 0;
30161 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30163 wxWindow
*arg3
= (wxWindow
*) 0 ;
30164 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30165 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30166 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30167 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30168 long arg6
= (long) 0 ;
30169 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30170 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30171 wxPyPreviewControlBar
*result
= 0 ;
30182 bool temp7
= false ;
30183 PyObject
* obj0
= 0 ;
30184 PyObject
* obj1
= 0 ;
30185 PyObject
* obj2
= 0 ;
30186 PyObject
* obj3
= 0 ;
30187 PyObject
* obj4
= 0 ;
30188 PyObject
* obj5
= 0 ;
30189 PyObject
* obj6
= 0 ;
30190 char * kwnames
[] = {
30191 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30196 if (!SWIG_IsOK(res1
)) {
30197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30199 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30200 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30201 if (!SWIG_IsOK(ecode2
)) {
30202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30204 arg2
= static_cast< long >(val2
);
30205 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30206 if (!SWIG_IsOK(res3
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30209 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30213 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30219 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30223 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30224 if (!SWIG_IsOK(ecode6
)) {
30225 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30227 arg6
= static_cast< long >(val6
);
30231 arg7
= wxString_in_helper(obj6
);
30232 if (arg7
== NULL
) SWIG_fail
;
30237 if (!wxPyCheckForApp()) SWIG_fail
;
30238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30239 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30240 wxPyEndAllowThreads(__tstate
);
30241 if (PyErr_Occurred()) SWIG_fail
;
30243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30258 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30259 PyObject
*resultobj
= 0;
30260 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30261 PyObject
*arg2
= (PyObject
*) 0 ;
30262 PyObject
*arg3
= (PyObject
*) 0 ;
30265 PyObject
* obj0
= 0 ;
30266 PyObject
* obj1
= 0 ;
30267 PyObject
* obj2
= 0 ;
30268 char * kwnames
[] = {
30269 (char *) "self",(char *) "self",(char *) "_class", NULL
30272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30274 if (!SWIG_IsOK(res1
)) {
30275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30277 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30282 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30286 resultobj
= SWIG_Py_Void();
30293 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30294 PyObject
*resultobj
= 0;
30295 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30296 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30301 PyObject
* obj0
= 0 ;
30302 PyObject
* obj1
= 0 ;
30303 char * kwnames
[] = {
30304 (char *) "self",(char *) "preview", NULL
30307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30309 if (!SWIG_IsOK(res1
)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30312 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30314 if (!SWIG_IsOK(res2
)) {
30315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30317 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30320 (arg1
)->SetPrintPreview(arg2
);
30321 wxPyEndAllowThreads(__tstate
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30324 resultobj
= SWIG_Py_Void();
30331 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30332 PyObject
*resultobj
= 0;
30333 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30336 PyObject
*swig_obj
[1] ;
30338 if (!args
) SWIG_fail
;
30339 swig_obj
[0] = args
;
30340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30341 if (!SWIG_IsOK(res1
)) {
30342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30344 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30347 (arg1
)->CreateButtons();
30348 wxPyEndAllowThreads(__tstate
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30351 resultobj
= SWIG_Py_Void();
30358 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30359 PyObject
*resultobj
= 0;
30360 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30366 PyObject
* obj0
= 0 ;
30367 PyObject
* obj1
= 0 ;
30368 char * kwnames
[] = {
30369 (char *) "self",(char *) "zoom", NULL
30372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30374 if (!SWIG_IsOK(res1
)) {
30375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30377 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30379 if (!SWIG_IsOK(ecode2
)) {
30380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30382 arg2
= static_cast< int >(val2
);
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 (arg1
)->SetZoomControl(arg2
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= SWIG_Py_Void();
30396 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30399 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30400 return SWIG_Py_Void();
30403 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30404 return SWIG_Python_InitShadowInstance(args
);
30407 static PyMethodDef SwigMethods
[] = {
30408 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30409 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30410 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30411 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30412 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30413 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30414 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30415 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30416 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30417 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30418 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30419 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30420 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30421 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30422 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30423 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30424 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30425 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30426 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30427 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30428 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30429 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30430 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30431 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30432 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30433 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30434 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30435 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30436 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30437 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30438 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30439 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30440 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30441 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30442 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30443 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30444 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30445 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30446 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30447 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30448 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30449 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30450 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30451 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30452 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30453 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30454 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30455 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30456 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30457 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30458 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30459 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30460 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30461 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30462 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30463 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30464 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30465 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30466 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30467 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30468 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30469 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30470 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30471 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30473 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30474 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30475 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30476 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30477 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30478 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30479 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30480 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30481 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30483 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30484 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30485 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30486 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30487 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30488 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30489 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30490 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30491 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30492 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30493 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30494 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30495 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30496 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30497 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30498 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30499 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30500 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30501 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30502 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30503 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30504 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30505 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30506 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30507 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30508 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30509 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30510 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30511 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30512 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30513 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30514 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30515 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30516 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30517 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30518 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30519 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30520 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30521 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30522 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30523 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30524 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30525 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30526 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30527 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30530 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30531 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30532 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30533 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30534 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30536 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30537 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30538 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30539 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30540 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30541 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30542 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30543 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30544 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30545 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30546 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30548 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30550 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30551 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30552 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30553 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30554 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30555 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30557 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30558 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30559 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30561 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30563 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30564 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30565 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30567 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30568 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30571 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30572 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30573 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30574 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30575 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30576 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30577 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30578 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30579 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30582 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30583 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30584 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30586 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30588 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30590 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30591 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30592 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30595 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30596 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30598 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30599 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30600 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30601 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30603 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30605 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30607 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30608 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30609 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30611 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30612 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30614 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30616 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30617 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30618 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30620 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30621 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30622 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30624 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30625 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30626 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30627 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30628 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30629 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30631 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30632 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30633 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30634 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30637 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30638 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30639 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30640 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30641 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30643 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30645 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30646 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30647 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30648 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30649 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30650 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30651 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30652 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30653 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30654 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30656 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30657 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30658 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30659 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30660 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30661 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30662 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30670 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30671 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30672 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30673 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30675 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30676 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30678 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30679 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30680 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30682 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30683 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30684 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30685 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30686 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30687 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30690 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30691 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30692 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30693 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30694 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30695 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30696 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30697 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30698 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30699 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30700 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30701 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30702 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30703 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30705 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30708 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30709 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30711 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30712 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30715 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30717 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30718 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30719 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30720 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30722 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30723 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30724 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30726 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30728 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30729 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30731 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30732 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30733 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30734 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30735 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30736 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30737 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30741 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30742 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30744 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30745 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30746 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30749 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30750 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30753 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30754 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30755 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30762 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30763 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30764 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30765 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30766 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30767 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30768 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30769 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30770 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30771 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30774 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30775 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30776 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30778 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30779 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30781 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30782 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30783 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30784 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30786 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30787 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30789 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30790 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30791 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30792 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30794 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30795 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30796 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30797 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30798 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30799 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30806 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30807 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30809 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30810 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30811 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30814 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30815 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30818 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30819 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30820 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30822 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30823 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30824 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30825 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30829 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30830 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30831 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30832 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30833 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30834 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30835 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30837 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30839 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30840 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30842 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30844 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30846 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30847 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30849 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30851 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30852 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30853 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30854 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30855 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30856 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
30857 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
30859 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
30860 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
30862 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30863 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
30864 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
30865 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
30866 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
30868 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
30870 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
30871 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30872 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
30873 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
30881 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
30882 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
30883 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
30884 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
30885 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
30886 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
30887 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
30888 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
30889 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
30891 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30893 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30897 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
30899 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
30900 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
30901 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
30902 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
30903 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
30904 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
30905 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
30906 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
30907 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
30909 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
30917 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
30918 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
30919 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
30920 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
30921 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
30922 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
30923 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30924 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30925 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
30926 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
30927 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
30928 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
30929 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
30930 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
30931 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
30932 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
30933 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
30934 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
30935 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
30936 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
30937 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
30938 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
30939 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
30951 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
30953 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
30955 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
30956 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
30957 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
30958 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
30964 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
30965 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
30966 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
30967 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
30968 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
30969 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
30970 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
30971 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
30972 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
30973 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
30974 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
30975 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
30976 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
30977 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
30978 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
30988 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
30989 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
30990 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
30991 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
30993 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
30994 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
30995 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
30996 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
30997 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
30998 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
30999 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31000 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31001 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31002 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31003 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31004 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31005 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31006 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31007 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31008 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31009 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31023 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31024 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31025 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31026 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31027 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31028 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31030 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31031 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31033 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31034 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31035 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31036 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31037 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31038 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31039 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31041 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31047 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31048 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31049 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31050 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31051 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31053 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31055 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31056 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31059 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31061 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31063 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31065 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31066 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31069 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31070 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31071 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31072 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31074 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31075 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31076 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31078 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31079 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31081 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31082 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31083 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31084 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31085 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31086 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31088 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31090 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31091 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31092 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31093 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31094 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31095 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31096 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31097 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31098 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31099 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31101 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31103 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31104 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31107 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31108 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31113 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31115 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31116 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31117 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31118 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31121 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31122 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31123 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31124 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31126 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31127 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31132 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31133 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31134 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31135 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31136 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31140 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31142 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31143 { NULL
, NULL
, 0, NULL
}
31147 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31149 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31150 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31152 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31153 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31155 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31156 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31158 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31159 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31161 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31162 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31164 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31165 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31167 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31168 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31170 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31171 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31173 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31174 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31176 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31177 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31179 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31180 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31182 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31183 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31185 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31186 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31188 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31189 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31191 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31192 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31194 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31195 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31197 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31198 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31200 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31201 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31203 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31204 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31206 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31207 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31209 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31210 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31212 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31213 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31215 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31216 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31218 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31219 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31221 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31222 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31224 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31225 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31227 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31228 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31230 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31231 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31233 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31234 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31236 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31237 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31239 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31240 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31242 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31243 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31245 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31246 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31248 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31249 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31251 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31252 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31254 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31255 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31257 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31258 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31260 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31261 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31263 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31264 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31266 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31269 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31270 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31272 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31273 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31275 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31276 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31278 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31279 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31281 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31282 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31284 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31285 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31287 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31288 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31290 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31291 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31293 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31296 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31297 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31299 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31300 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31302 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31303 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31305 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31306 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31308 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31311 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31314 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31315 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31317 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31320 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31321 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31323 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31326 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31327 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31329 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31330 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31332 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31333 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31335 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31336 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31338 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31341 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31344 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31347 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31348 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31350 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31351 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31353 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31354 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31356 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31357 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31359 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31360 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31362 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31363 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31365 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31368 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31369 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31371 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31372 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31374 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31377 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31378 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31380 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31381 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31383 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31386 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31389 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31390 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31392 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31395 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31396 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31398 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31401 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31404 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31407 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31410 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31413 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31414 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31416 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31419 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31422 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31425 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31428 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31431 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31434 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31435 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31437 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31438 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31440 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31441 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31443 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31444 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31446 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31447 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31449 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31450 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31452 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31453 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31455 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31456 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31458 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31459 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31461 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31462 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31464 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31465 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31467 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31470 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31473 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31474 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31476 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31477 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31479 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31480 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31482 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31483 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31485 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31486 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31488 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31489 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31491 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31492 return (void *)((wxObject
*) ((wxSizer
*) x
));
31494 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31495 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31497 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31500 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31503 static void *_p_wxEventTo_p_wxObject(void *x
) {
31504 return (void *)((wxObject
*) ((wxEvent
*) x
));
31506 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31507 return (void *)((wxObject
*) ((wxFontData
*) x
));
31509 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31510 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31512 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31513 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31515 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31516 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31518 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31519 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31521 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31522 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31524 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31525 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31527 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31528 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31530 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31533 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31534 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31536 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31537 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31539 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31540 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31542 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31543 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31545 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31546 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31548 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31549 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31551 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31554 static void *_p_wxControlTo_p_wxObject(void *x
) {
31555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31557 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31558 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31560 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31563 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31564 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31566 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31567 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31569 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31570 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31572 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31575 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31576 return (void *)((wxObject
*) ((wxColourData
*) x
));
31578 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31579 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31581 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31584 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31587 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31590 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31593 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31596 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31599 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31602 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31605 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31608 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31611 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31614 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31615 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31617 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31618 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31620 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31621 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31623 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31626 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31627 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31629 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31630 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31632 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31633 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31635 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31636 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31638 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31639 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31641 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31642 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31644 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31645 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31647 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31648 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31650 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31651 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31653 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31654 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31656 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31657 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31659 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31660 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31662 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31663 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31665 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31666 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31668 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31669 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31671 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31672 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31674 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31677 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31680 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31681 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31683 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31684 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31686 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31687 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31689 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31690 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31692 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31693 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31695 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31698 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31701 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31702 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31704 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31705 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31707 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31708 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31710 static void *_p_wxImageTo_p_wxObject(void *x
) {
31711 return (void *)((wxObject
*) ((wxImage
*) x
));
31713 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31716 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31717 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31719 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31720 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31722 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31723 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31725 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31728 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31731 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31734 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31735 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31737 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31738 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31740 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31741 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31743 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31744 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31746 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31749 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31752 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31755 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31758 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31761 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31764 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31767 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31770 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31773 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31776 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31779 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31782 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31785 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31786 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31788 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31789 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31791 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31792 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31794 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31797 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31800 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31803 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31806 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31809 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31810 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31812 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31813 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31815 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31816 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31818 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31819 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31821 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31822 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31824 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31825 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31827 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31828 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31830 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31831 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31833 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31834 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31836 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31839 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31840 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31842 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31845 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31848 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31849 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31851 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31852 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31854 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31855 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31857 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31860 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
31861 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
31863 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
31864 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
31866 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31869 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31870 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31872 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31873 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31875 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31876 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31878 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
31879 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31881 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
31882 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31884 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
31885 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
31887 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
31888 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
31890 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
31891 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
31893 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
31894 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
31896 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
31897 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
31899 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
31900 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
31902 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
31903 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
31905 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
31906 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
31908 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
31909 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
31911 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
31912 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
31914 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
31915 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
31917 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31918 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31920 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31921 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
31923 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31924 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31926 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31927 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31929 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
31930 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
31932 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
31933 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
31935 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
31936 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
31938 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31939 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
31941 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31942 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31944 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
31945 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31947 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
31948 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31950 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
31951 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
31953 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31954 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31956 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
31957 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31959 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
31960 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31962 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
31963 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31965 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
31966 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31968 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
31969 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31971 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
31972 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31974 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
31975 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31977 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
31978 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31980 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
31981 return (void *)((wxWindow
*) ((wxPanel
*) x
));
31983 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
31984 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
31986 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
31987 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31989 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
31990 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31992 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
31993 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31995 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
31996 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
31998 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
31999 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32001 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32002 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32004 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32005 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32007 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32008 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32010 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32011 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32013 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32014 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32016 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32017 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32019 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32020 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32022 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32023 return (void *)((wxWindow
*) ((wxControl
*) x
));
32025 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32026 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32028 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32029 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32031 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32032 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32034 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32035 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32037 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32038 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32040 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32041 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32043 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32044 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32046 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32047 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32049 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32050 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32052 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32053 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32055 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32056 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32058 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32059 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32061 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32062 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32064 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32065 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32067 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32068 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32070 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32071 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32073 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32074 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32076 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32077 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32079 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32080 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32082 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32083 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32085 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32086 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32088 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32089 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32091 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32092 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32094 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32095 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32097 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32098 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32100 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32101 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32103 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32104 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32106 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32107 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32109 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32110 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32112 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32113 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32115 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32116 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32118 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32119 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32121 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32122 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32124 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32125 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32127 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32128 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32130 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32131 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32133 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32134 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32136 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32137 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32139 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32140 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32142 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32143 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32145 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32146 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32148 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32149 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32151 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32152 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32154 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32155 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32157 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32158 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32160 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32161 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32163 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32164 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32166 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32167 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32169 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32170 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32172 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32173 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32175 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32176 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32178 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32179 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32181 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32182 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32183 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};
32184 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32185 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32186 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32187 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32188 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32189 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32190 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32191 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32192 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32193 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32194 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32195 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32196 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32197 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32198 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32199 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32200 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32201 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32202 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32203 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32204 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32205 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32206 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32207 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32208 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32209 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32210 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32211 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32212 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32213 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32214 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32215 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32216 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32217 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32218 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32219 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32220 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32221 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32222 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32223 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32224 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32225 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32226 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32227 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32228 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32229 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32230 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32231 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32232 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32233 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32234 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32235 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32236 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32237 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32238 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32239 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32240 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32241 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32242 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32243 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32244 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32245 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32246 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32247 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32248 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32249 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32250 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32251 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32252 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32253 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32254 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32255 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32256 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32257 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32258 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32259 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32260 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32261 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32262 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32263 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32264 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32265 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32266 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32267 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32268 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32269 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32270 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32271 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32272 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32273 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32274 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32275 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32276 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32277 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32278 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32279 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32280 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32281 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32282 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32283 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32284 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32285 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32286 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32287 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32288 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32289 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32290 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32291 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32292 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32293 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32294 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32295 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32296 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32297 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32298 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32299 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32300 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32301 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32303 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32304 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32305 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32306 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32307 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32308 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32309 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32310 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32311 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32312 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32313 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32314 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32315 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32316 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32317 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32318 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32319 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32320 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32322 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32323 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32324 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32326 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32327 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32343 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32345 static swig_type_info
*swig_type_initial
[] = {
32348 &_swigt__p_form_ops_t
,
32350 &_swigt__p_unsigned_char
,
32351 &_swigt__p_unsigned_int
,
32352 &_swigt__p_unsigned_long
,
32353 &_swigt__p_wxANIHandler
,
32354 &_swigt__p_wxAcceleratorTable
,
32355 &_swigt__p_wxActivateEvent
,
32356 &_swigt__p_wxArrayInt
,
32357 &_swigt__p_wxBMPHandler
,
32358 &_swigt__p_wxBitmap
,
32359 &_swigt__p_wxBoxSizer
,
32360 &_swigt__p_wxCURHandler
,
32361 &_swigt__p_wxCalculateLayoutEvent
,
32362 &_swigt__p_wxChildFocusEvent
,
32363 &_swigt__p_wxClipboardTextEvent
,
32364 &_swigt__p_wxCloseEvent
,
32365 &_swigt__p_wxColour
,
32366 &_swigt__p_wxColourData
,
32367 &_swigt__p_wxColourDialog
,
32368 &_swigt__p_wxCommandEvent
,
32369 &_swigt__p_wxContextMenuEvent
,
32370 &_swigt__p_wxControl
,
32371 &_swigt__p_wxControlWithItems
,
32373 &_swigt__p_wxDateEvent
,
32374 &_swigt__p_wxDialog
,
32375 &_swigt__p_wxDirDialog
,
32376 &_swigt__p_wxDisplayChangedEvent
,
32377 &_swigt__p_wxDropFilesEvent
,
32378 &_swigt__p_wxDuplexMode
,
32379 &_swigt__p_wxEraseEvent
,
32380 &_swigt__p_wxEvent
,
32381 &_swigt__p_wxEvtHandler
,
32382 &_swigt__p_wxFSFile
,
32383 &_swigt__p_wxFileDialog
,
32384 &_swigt__p_wxFileSystem
,
32385 &_swigt__p_wxFindDialogEvent
,
32386 &_swigt__p_wxFindReplaceData
,
32387 &_swigt__p_wxFindReplaceDialog
,
32388 &_swigt__p_wxFlexGridSizer
,
32389 &_swigt__p_wxFocusEvent
,
32391 &_swigt__p_wxFontData
,
32392 &_swigt__p_wxFontDialog
,
32393 &_swigt__p_wxFrame
,
32394 &_swigt__p_wxGBSizerItem
,
32395 &_swigt__p_wxGIFHandler
,
32396 &_swigt__p_wxGridBagSizer
,
32397 &_swigt__p_wxGridSizer
,
32398 &_swigt__p_wxHtmlLinkInfo
,
32399 &_swigt__p_wxICOHandler
,
32401 &_swigt__p_wxIconBundle
,
32402 &_swigt__p_wxIconizeEvent
,
32403 &_swigt__p_wxIdleEvent
,
32404 &_swigt__p_wxImage
,
32405 &_swigt__p_wxImageHandler
,
32406 &_swigt__p_wxIndividualLayoutConstraint
,
32407 &_swigt__p_wxInitDialogEvent
,
32408 &_swigt__p_wxJPEGHandler
,
32409 &_swigt__p_wxKeyEvent
,
32410 &_swigt__p_wxLayoutAlgorithm
,
32411 &_swigt__p_wxLayoutConstraints
,
32412 &_swigt__p_wxMDIChildFrame
,
32413 &_swigt__p_wxMDIClientWindow
,
32414 &_swigt__p_wxMDIParentFrame
,
32415 &_swigt__p_wxMaximizeEvent
,
32417 &_swigt__p_wxMenuBar
,
32418 &_swigt__p_wxMenuEvent
,
32419 &_swigt__p_wxMenuItem
,
32420 &_swigt__p_wxMessageDialog
,
32421 &_swigt__p_wxMiniFrame
,
32422 &_swigt__p_wxMouseCaptureChangedEvent
,
32423 &_swigt__p_wxMouseEvent
,
32424 &_swigt__p_wxMoveEvent
,
32425 &_swigt__p_wxMultiChoiceDialog
,
32426 &_swigt__p_wxNavigationKeyEvent
,
32427 &_swigt__p_wxNcPaintEvent
,
32428 &_swigt__p_wxNotifyEvent
,
32429 &_swigt__p_wxObject
,
32430 &_swigt__p_wxPCXHandler
,
32431 &_swigt__p_wxPNGHandler
,
32432 &_swigt__p_wxPNMHandler
,
32433 &_swigt__p_wxPageSetupDialog
,
32434 &_swigt__p_wxPageSetupDialogData
,
32435 &_swigt__p_wxPaintEvent
,
32436 &_swigt__p_wxPaletteChangedEvent
,
32437 &_swigt__p_wxPanel
,
32438 &_swigt__p_wxPaperSize
,
32439 &_swigt__p_wxPasswordEntryDialog
,
32440 &_swigt__p_wxPoint
,
32441 &_swigt__p_wxPopupWindow
,
32442 &_swigt__p_wxPreviewCanvas
,
32443 &_swigt__p_wxPreviewControlBar
,
32444 &_swigt__p_wxPreviewFrame
,
32445 &_swigt__p_wxPrintData
,
32446 &_swigt__p_wxPrintDialog
,
32447 &_swigt__p_wxPrintDialogData
,
32448 &_swigt__p_wxPrintPreview
,
32449 &_swigt__p_wxPrinter
,
32450 &_swigt__p_wxProgressDialog
,
32451 &_swigt__p_wxPyApp
,
32452 &_swigt__p_wxPyCommandEvent
,
32453 &_swigt__p_wxPyEvent
,
32454 &_swigt__p_wxPyHtmlListBox
,
32455 &_swigt__p_wxPyImageHandler
,
32456 &_swigt__p_wxPyPanel
,
32457 &_swigt__p_wxPyPopupTransientWindow
,
32458 &_swigt__p_wxPyPreviewControlBar
,
32459 &_swigt__p_wxPyPreviewFrame
,
32460 &_swigt__p_wxPyPrintPreview
,
32461 &_swigt__p_wxPyPrintout
,
32462 &_swigt__p_wxPyScrolledWindow
,
32463 &_swigt__p_wxPySizer
,
32464 &_swigt__p_wxPyTaskBarIcon
,
32465 &_swigt__p_wxPyVListBox
,
32466 &_swigt__p_wxPyVScrolledWindow
,
32467 &_swigt__p_wxPyValidator
,
32468 &_swigt__p_wxPyWindow
,
32469 &_swigt__p_wxQueryLayoutInfoEvent
,
32470 &_swigt__p_wxQueryNewPaletteEvent
,
32472 &_swigt__p_wxRegion
,
32473 &_swigt__p_wxSashEvent
,
32474 &_swigt__p_wxSashLayoutWindow
,
32475 &_swigt__p_wxSashWindow
,
32476 &_swigt__p_wxScrollEvent
,
32477 &_swigt__p_wxScrollWinEvent
,
32478 &_swigt__p_wxScrolledWindow
,
32479 &_swigt__p_wxSetCursorEvent
,
32480 &_swigt__p_wxShowEvent
,
32481 &_swigt__p_wxSingleChoiceDialog
,
32483 &_swigt__p_wxSizeEvent
,
32484 &_swigt__p_wxSizer
,
32485 &_swigt__p_wxSizerItem
,
32486 &_swigt__p_wxSplashScreen
,
32487 &_swigt__p_wxSplashScreenWindow
,
32488 &_swigt__p_wxSplitterEvent
,
32489 &_swigt__p_wxSplitterWindow
,
32490 &_swigt__p_wxStaticBoxSizer
,
32491 &_swigt__p_wxStatusBar
,
32492 &_swigt__p_wxStdDialogButtonSizer
,
32493 &_swigt__p_wxString
,
32494 &_swigt__p_wxSysColourChangedEvent
,
32495 &_swigt__p_wxTIFFHandler
,
32496 &_swigt__p_wxTaskBarIcon
,
32497 &_swigt__p_wxTaskBarIconEvent
,
32498 &_swigt__p_wxTextEntryDialog
,
32499 &_swigt__p_wxTipWindow
,
32500 &_swigt__p_wxToolBar
,
32501 &_swigt__p_wxTopLevelWindow
,
32502 &_swigt__p_wxUpdateUIEvent
,
32503 &_swigt__p_wxValidator
,
32504 &_swigt__p_wxVisualAttributes
,
32505 &_swigt__p_wxWindow
,
32506 &_swigt__p_wxWindowCreateEvent
,
32507 &_swigt__p_wxWindowDestroyEvent
,
32508 &_swigt__p_wxXPMHandler
,
32511 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32512 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32513 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32514 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32515 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32516 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32517 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32518 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32519 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32520 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32521 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32522 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32523 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32524 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32525 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32526 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32527 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32528 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32529 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32530 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32531 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32532 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32533 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}};
32534 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32535 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}};
32536 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32537 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32538 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32539 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32540 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32541 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32542 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32543 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32544 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32545 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32546 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32547 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32548 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32549 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32550 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32551 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32552 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32553 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32554 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32555 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32556 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32557 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32558 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32559 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32560 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32561 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32562 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32563 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}};
32564 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32565 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32566 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32567 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32568 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32569 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
32570 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32571 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32572 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32573 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32574 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32575 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32576 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32577 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32578 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
32579 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32580 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32582 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32583 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32584 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32585 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32586 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32587 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32588 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32589 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32590 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32591 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}};
32592 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32593 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32594 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32595 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32596 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32597 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32598 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32599 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32600 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32601 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32602 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32603 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32604 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32605 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32606 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32607 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32608 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32609 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32610 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32611 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32612 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32613 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32614 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32615 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32616 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32617 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32618 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32620 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_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32621 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32623 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}};
32624 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32627 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
32628 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32629 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}};
32630 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}};
32631 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32632 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32634 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}};
32635 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32637 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32638 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32639 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32643 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32644 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32646 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}};
32647 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}};
32648 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32654 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}};
32655 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32656 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}};
32657 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32668 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}};
32669 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info
*swig_cast_initial
[] = {
32678 _swigc__p_form_ops_t
,
32680 _swigc__p_unsigned_char
,
32681 _swigc__p_unsigned_int
,
32682 _swigc__p_unsigned_long
,
32683 _swigc__p_wxANIHandler
,
32684 _swigc__p_wxAcceleratorTable
,
32685 _swigc__p_wxActivateEvent
,
32686 _swigc__p_wxArrayInt
,
32687 _swigc__p_wxBMPHandler
,
32688 _swigc__p_wxBitmap
,
32689 _swigc__p_wxBoxSizer
,
32690 _swigc__p_wxCURHandler
,
32691 _swigc__p_wxCalculateLayoutEvent
,
32692 _swigc__p_wxChildFocusEvent
,
32693 _swigc__p_wxClipboardTextEvent
,
32694 _swigc__p_wxCloseEvent
,
32695 _swigc__p_wxColour
,
32696 _swigc__p_wxColourData
,
32697 _swigc__p_wxColourDialog
,
32698 _swigc__p_wxCommandEvent
,
32699 _swigc__p_wxContextMenuEvent
,
32700 _swigc__p_wxControl
,
32701 _swigc__p_wxControlWithItems
,
32703 _swigc__p_wxDateEvent
,
32704 _swigc__p_wxDialog
,
32705 _swigc__p_wxDirDialog
,
32706 _swigc__p_wxDisplayChangedEvent
,
32707 _swigc__p_wxDropFilesEvent
,
32708 _swigc__p_wxDuplexMode
,
32709 _swigc__p_wxEraseEvent
,
32711 _swigc__p_wxEvtHandler
,
32712 _swigc__p_wxFSFile
,
32713 _swigc__p_wxFileDialog
,
32714 _swigc__p_wxFileSystem
,
32715 _swigc__p_wxFindDialogEvent
,
32716 _swigc__p_wxFindReplaceData
,
32717 _swigc__p_wxFindReplaceDialog
,
32718 _swigc__p_wxFlexGridSizer
,
32719 _swigc__p_wxFocusEvent
,
32721 _swigc__p_wxFontData
,
32722 _swigc__p_wxFontDialog
,
32724 _swigc__p_wxGBSizerItem
,
32725 _swigc__p_wxGIFHandler
,
32726 _swigc__p_wxGridBagSizer
,
32727 _swigc__p_wxGridSizer
,
32728 _swigc__p_wxHtmlLinkInfo
,
32729 _swigc__p_wxICOHandler
,
32731 _swigc__p_wxIconBundle
,
32732 _swigc__p_wxIconizeEvent
,
32733 _swigc__p_wxIdleEvent
,
32735 _swigc__p_wxImageHandler
,
32736 _swigc__p_wxIndividualLayoutConstraint
,
32737 _swigc__p_wxInitDialogEvent
,
32738 _swigc__p_wxJPEGHandler
,
32739 _swigc__p_wxKeyEvent
,
32740 _swigc__p_wxLayoutAlgorithm
,
32741 _swigc__p_wxLayoutConstraints
,
32742 _swigc__p_wxMDIChildFrame
,
32743 _swigc__p_wxMDIClientWindow
,
32744 _swigc__p_wxMDIParentFrame
,
32745 _swigc__p_wxMaximizeEvent
,
32747 _swigc__p_wxMenuBar
,
32748 _swigc__p_wxMenuEvent
,
32749 _swigc__p_wxMenuItem
,
32750 _swigc__p_wxMessageDialog
,
32751 _swigc__p_wxMiniFrame
,
32752 _swigc__p_wxMouseCaptureChangedEvent
,
32753 _swigc__p_wxMouseEvent
,
32754 _swigc__p_wxMoveEvent
,
32755 _swigc__p_wxMultiChoiceDialog
,
32756 _swigc__p_wxNavigationKeyEvent
,
32757 _swigc__p_wxNcPaintEvent
,
32758 _swigc__p_wxNotifyEvent
,
32759 _swigc__p_wxObject
,
32760 _swigc__p_wxPCXHandler
,
32761 _swigc__p_wxPNGHandler
,
32762 _swigc__p_wxPNMHandler
,
32763 _swigc__p_wxPageSetupDialog
,
32764 _swigc__p_wxPageSetupDialogData
,
32765 _swigc__p_wxPaintEvent
,
32766 _swigc__p_wxPaletteChangedEvent
,
32768 _swigc__p_wxPaperSize
,
32769 _swigc__p_wxPasswordEntryDialog
,
32771 _swigc__p_wxPopupWindow
,
32772 _swigc__p_wxPreviewCanvas
,
32773 _swigc__p_wxPreviewControlBar
,
32774 _swigc__p_wxPreviewFrame
,
32775 _swigc__p_wxPrintData
,
32776 _swigc__p_wxPrintDialog
,
32777 _swigc__p_wxPrintDialogData
,
32778 _swigc__p_wxPrintPreview
,
32779 _swigc__p_wxPrinter
,
32780 _swigc__p_wxProgressDialog
,
32782 _swigc__p_wxPyCommandEvent
,
32783 _swigc__p_wxPyEvent
,
32784 _swigc__p_wxPyHtmlListBox
,
32785 _swigc__p_wxPyImageHandler
,
32786 _swigc__p_wxPyPanel
,
32787 _swigc__p_wxPyPopupTransientWindow
,
32788 _swigc__p_wxPyPreviewControlBar
,
32789 _swigc__p_wxPyPreviewFrame
,
32790 _swigc__p_wxPyPrintPreview
,
32791 _swigc__p_wxPyPrintout
,
32792 _swigc__p_wxPyScrolledWindow
,
32793 _swigc__p_wxPySizer
,
32794 _swigc__p_wxPyTaskBarIcon
,
32795 _swigc__p_wxPyVListBox
,
32796 _swigc__p_wxPyVScrolledWindow
,
32797 _swigc__p_wxPyValidator
,
32798 _swigc__p_wxPyWindow
,
32799 _swigc__p_wxQueryLayoutInfoEvent
,
32800 _swigc__p_wxQueryNewPaletteEvent
,
32802 _swigc__p_wxRegion
,
32803 _swigc__p_wxSashEvent
,
32804 _swigc__p_wxSashLayoutWindow
,
32805 _swigc__p_wxSashWindow
,
32806 _swigc__p_wxScrollEvent
,
32807 _swigc__p_wxScrollWinEvent
,
32808 _swigc__p_wxScrolledWindow
,
32809 _swigc__p_wxSetCursorEvent
,
32810 _swigc__p_wxShowEvent
,
32811 _swigc__p_wxSingleChoiceDialog
,
32813 _swigc__p_wxSizeEvent
,
32815 _swigc__p_wxSizerItem
,
32816 _swigc__p_wxSplashScreen
,
32817 _swigc__p_wxSplashScreenWindow
,
32818 _swigc__p_wxSplitterEvent
,
32819 _swigc__p_wxSplitterWindow
,
32820 _swigc__p_wxStaticBoxSizer
,
32821 _swigc__p_wxStatusBar
,
32822 _swigc__p_wxStdDialogButtonSizer
,
32823 _swigc__p_wxString
,
32824 _swigc__p_wxSysColourChangedEvent
,
32825 _swigc__p_wxTIFFHandler
,
32826 _swigc__p_wxTaskBarIcon
,
32827 _swigc__p_wxTaskBarIconEvent
,
32828 _swigc__p_wxTextEntryDialog
,
32829 _swigc__p_wxTipWindow
,
32830 _swigc__p_wxToolBar
,
32831 _swigc__p_wxTopLevelWindow
,
32832 _swigc__p_wxUpdateUIEvent
,
32833 _swigc__p_wxValidator
,
32834 _swigc__p_wxVisualAttributes
,
32835 _swigc__p_wxWindow
,
32836 _swigc__p_wxWindowCreateEvent
,
32837 _swigc__p_wxWindowDestroyEvent
,
32838 _swigc__p_wxXPMHandler
,
32842 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32844 static swig_const_info swig_const_table
[] = {
32845 {0, 0, 0, 0.0, 0, 0}};
32850 /* -----------------------------------------------------------------------------
32851 * Type initialization:
32852 * This problem is tough by the requirement that no dynamic
32853 * memory is used. Also, since swig_type_info structures store pointers to
32854 * swig_cast_info structures and swig_cast_info structures store pointers back
32855 * to swig_type_info structures, we need some lookup code at initialization.
32856 * The idea is that swig generates all the structures that are needed.
32857 * The runtime then collects these partially filled structures.
32858 * The SWIG_InitializeModule function takes these initial arrays out of
32859 * swig_module, and does all the lookup, filling in the swig_module.types
32860 * array with the correct data and linking the correct swig_cast_info
32861 * structures together.
32863 * The generated swig_type_info structures are assigned staticly to an initial
32864 * array. We just loop though that array, and handle each type individually.
32865 * First we lookup if this type has been already loaded, and if so, use the
32866 * loaded structure instead of the generated one. Then we have to fill in the
32867 * cast linked list. The cast data is initially stored in something like a
32868 * two-dimensional array. Each row corresponds to a type (there are the same
32869 * number of rows as there are in the swig_type_initial array). Each entry in
32870 * a column is one of the swig_cast_info structures for that type.
32871 * The cast_initial array is actually an array of arrays, because each row has
32872 * a variable number of columns. So to actually build the cast linked list,
32873 * we find the array of casts associated with the type, and loop through it
32874 * adding the casts to the list. The one last trick we need to do is making
32875 * sure the type pointer in the swig_cast_info struct is correct.
32877 * First off, we lookup the cast->type name to see if it is already loaded.
32878 * There are three cases to handle:
32879 * 1) If the cast->type has already been loaded AND the type we are adding
32880 * casting info to has not been loaded (it is in this module), THEN we
32881 * replace the cast->type pointer with the type pointer that has already
32883 * 2) If BOTH types (the one we are adding casting info to, and the
32884 * cast->type) are loaded, THEN the cast info has already been loaded by
32885 * the previous module so we just ignore it.
32886 * 3) Finally, if cast->type has not already been loaded, then we add that
32887 * swig_cast_info to the linked list (because the cast->type) pointer will
32889 * ----------------------------------------------------------------------------- */
32899 #define SWIGRUNTIME_DEBUG
32903 SWIG_InitializeModule(void *clientdata
) {
32905 swig_module_info
*module_head
;
32906 static int init_run
= 0;
32908 clientdata
= clientdata
;
32910 if (init_run
) return;
32913 /* Initialize the swig_module */
32914 swig_module
.type_initial
= swig_type_initial
;
32915 swig_module
.cast_initial
= swig_cast_initial
;
32917 /* Try and load any already created modules */
32918 module_head
= SWIG_GetModule(clientdata
);
32920 swig_module
.next
= module_head
->next
;
32921 module_head
->next
= &swig_module
;
32923 /* This is the first module loaded */
32924 swig_module
.next
= &swig_module
;
32925 SWIG_SetModule(clientdata
, &swig_module
);
32928 /* Now work on filling in swig_module.types */
32929 #ifdef SWIGRUNTIME_DEBUG
32930 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32932 for (i
= 0; i
< swig_module
.size
; ++i
) {
32933 swig_type_info
*type
= 0;
32934 swig_type_info
*ret
;
32935 swig_cast_info
*cast
;
32937 #ifdef SWIGRUNTIME_DEBUG
32938 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32941 /* if there is another module already loaded */
32942 if (swig_module
.next
!= &swig_module
) {
32943 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32946 /* Overwrite clientdata field */
32947 #ifdef SWIGRUNTIME_DEBUG
32948 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32950 if (swig_module
.type_initial
[i
]->clientdata
) {
32951 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32952 #ifdef SWIGRUNTIME_DEBUG
32953 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32957 type
= swig_module
.type_initial
[i
];
32960 /* Insert casting types */
32961 cast
= swig_module
.cast_initial
[i
];
32962 while (cast
->type
) {
32963 /* Don't need to add information already in the list */
32965 #ifdef SWIGRUNTIME_DEBUG
32966 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32968 if (swig_module
.next
!= &swig_module
) {
32969 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32970 #ifdef SWIGRUNTIME_DEBUG
32971 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32975 if (type
== swig_module
.type_initial
[i
]) {
32976 #ifdef SWIGRUNTIME_DEBUG
32977 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32982 /* Check for casting already in the list */
32983 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32984 #ifdef SWIGRUNTIME_DEBUG
32985 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32987 if (!ocast
) ret
= 0;
32992 #ifdef SWIGRUNTIME_DEBUG
32993 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
32996 type
->cast
->prev
= cast
;
32997 cast
->next
= type
->cast
;
33003 /* Set entry in modules->types array equal to the type */
33004 swig_module
.types
[i
] = type
;
33006 swig_module
.types
[i
] = 0;
33008 #ifdef SWIGRUNTIME_DEBUG
33009 printf("**** SWIG_InitializeModule: Cast List ******\n");
33010 for (i
= 0; i
< swig_module
.size
; ++i
) {
33012 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33013 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33014 while (cast
->type
) {
33015 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33019 printf("---- Total casts: %d\n",j
);
33021 printf("**** SWIG_InitializeModule: Cast List ******\n");
33025 /* This function will propagate the clientdata field of type to
33026 * any new swig_type_info structures that have been added into the list
33027 * of equivalent types. It is like calling
33028 * SWIG_TypeClientData(type, clientdata) a second time.
33031 SWIG_PropagateClientData(void) {
33033 swig_cast_info
*equiv
;
33034 static int init_run
= 0;
33036 if (init_run
) return;
33039 for (i
= 0; i
< swig_module
.size
; i
++) {
33040 if (swig_module
.types
[i
]->clientdata
) {
33041 equiv
= swig_module
.types
[i
]->cast
;
33043 if (!equiv
->converter
) {
33044 if (equiv
->type
&& !equiv
->type
->clientdata
)
33045 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33047 equiv
= equiv
->next
;
33067 /* Python-specific SWIG API */
33068 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33069 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33070 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33072 /* -----------------------------------------------------------------------------
33073 * global variable support code.
33074 * ----------------------------------------------------------------------------- */
33076 typedef struct swig_globalvar
{
33077 char *name
; /* Name of global variable */
33078 PyObject
*(*get_attr
)(void); /* Return the current value */
33079 int (*set_attr
)(PyObject
*); /* Set the value */
33080 struct swig_globalvar
*next
;
33083 typedef struct swig_varlinkobject
{
33085 swig_globalvar
*vars
;
33086 } swig_varlinkobject
;
33088 SWIGINTERN PyObject
*
33089 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33090 return PyString_FromString("<Swig global variables>");
33093 SWIGINTERN PyObject
*
33094 swig_varlink_str(swig_varlinkobject
*v
) {
33095 PyObject
*str
= PyString_FromString("(");
33096 swig_globalvar
*var
;
33097 for (var
= v
->vars
; var
; var
=var
->next
) {
33098 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33099 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33101 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33106 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33107 PyObject
*str
= swig_varlink_str(v
);
33108 fprintf(fp
,"Swig global variables ");
33109 fprintf(fp
,"%s\n", PyString_AsString(str
));
33115 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33116 swig_globalvar
*var
= v
->vars
;
33118 swig_globalvar
*n
= var
->next
;
33125 SWIGINTERN PyObject
*
33126 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33127 PyObject
*res
= NULL
;
33128 swig_globalvar
*var
= v
->vars
;
33130 if (strcmp(var
->name
,n
) == 0) {
33131 res
= (*var
->get_attr
)();
33136 if (res
== NULL
&& !PyErr_Occurred()) {
33137 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33143 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33145 swig_globalvar
*var
= v
->vars
;
33147 if (strcmp(var
->name
,n
) == 0) {
33148 res
= (*var
->set_attr
)(p
);
33153 if (res
== 1 && !PyErr_Occurred()) {
33154 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33159 SWIGINTERN PyTypeObject
*
33160 swig_varlink_type(void) {
33161 static char varlink__doc__
[] = "Swig var link object";
33162 static PyTypeObject varlink_type
;
33163 static int type_init
= 0;
33165 const PyTypeObject tmp
33167 PyObject_HEAD_INIT(NULL
)
33168 0, /* Number of items in variable part (ob_size) */
33169 (char *)"swigvarlink", /* Type name (tp_name) */
33170 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33171 0, /* Itemsize (tp_itemsize) */
33172 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33173 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33174 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33175 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33176 0, /* tp_compare */
33177 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33178 0, /* tp_as_number */
33179 0, /* tp_as_sequence */
33180 0, /* tp_as_mapping */
33183 (reprfunc
)swig_varlink_str
, /* tp_str */
33184 0, /* tp_getattro */
33185 0, /* tp_setattro */
33186 0, /* tp_as_buffer */
33188 varlink__doc__
, /* tp_doc */
33189 0, /* tp_traverse */
33191 0, /* tp_richcompare */
33192 0, /* tp_weaklistoffset */
33193 #if PY_VERSION_HEX >= 0x02020000
33194 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33196 #if PY_VERSION_HEX >= 0x02030000
33199 #ifdef COUNT_ALLOCS
33200 0,0,0,0 /* tp_alloc -> tp_next */
33203 varlink_type
= tmp
;
33204 varlink_type
.ob_type
= &PyType_Type
;
33207 return &varlink_type
;
33210 /* Create a variable linking object for use later */
33211 SWIGINTERN PyObject
*
33212 SWIG_Python_newvarlink(void) {
33213 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33217 return ((PyObject
*) result
);
33221 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33222 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33223 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33225 size_t size
= strlen(name
)+1;
33226 gv
->name
= (char *)malloc(size
);
33228 strncpy(gv
->name
,name
,size
);
33229 gv
->get_attr
= get_attr
;
33230 gv
->set_attr
= set_attr
;
33231 gv
->next
= v
->vars
;
33237 SWIGINTERN PyObject
*
33239 static PyObject
*_SWIG_globals
= 0;
33240 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33241 return _SWIG_globals
;
33244 /* -----------------------------------------------------------------------------
33245 * constants/methods manipulation
33246 * ----------------------------------------------------------------------------- */
33248 /* Install Constants */
33250 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33253 for (i
= 0; constants
[i
].type
; ++i
) {
33254 switch(constants
[i
].type
) {
33255 case SWIG_PY_POINTER
:
33256 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33258 case SWIG_PY_BINARY
:
33259 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33266 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33272 /* -----------------------------------------------------------------------------*/
33273 /* Fix SwigMethods to carry the callback ptrs when needed */
33274 /* -----------------------------------------------------------------------------*/
33277 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33278 swig_const_info
*const_table
,
33279 swig_type_info
**types
,
33280 swig_type_info
**types_initial
) {
33282 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33283 char *c
= methods
[i
].ml_doc
;
33284 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33286 swig_const_info
*ci
= 0;
33287 char *name
= c
+ 10;
33288 for (j
= 0; const_table
[j
].type
; ++j
) {
33289 if (strncmp(const_table
[j
].name
, name
,
33290 strlen(const_table
[j
].name
)) == 0) {
33291 ci
= &(const_table
[j
]);
33296 size_t shift
= (ci
->ptype
) - types
;
33297 swig_type_info
*ty
= types_initial
[shift
];
33298 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33299 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33300 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33303 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33305 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33307 strncpy(buff
, "swig_ptr: ", 10);
33309 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33310 methods
[i
].ml_doc
= ndoc
;
33322 /* -----------------------------------------------------------------------------*
33323 * Partial Init method
33324 * -----------------------------------------------------------------------------*/
33329 SWIGEXPORT
void SWIG_init(void) {
33332 /* Fix SwigMethods to carry the callback ptrs when needed */
33333 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33335 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33336 d
= PyModule_GetDict(m
);
33338 SWIG_InitializeModule(0);
33339 SWIG_InstallConstants(d
,swig_const_table
);
33342 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33343 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33344 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33345 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33346 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33347 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33348 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33349 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33350 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33351 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33352 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33353 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33354 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33355 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33356 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33357 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33358 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33359 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33360 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33361 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33362 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33363 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33364 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33365 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33366 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33367 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33368 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33369 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33370 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33371 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33372 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33373 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33374 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33375 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33376 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33377 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33378 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33379 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33380 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33381 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33382 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33383 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33384 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33385 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33386 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33387 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33388 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33389 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33390 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33391 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33392 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33393 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33394 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33395 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33396 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33397 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33398 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33399 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33400 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33401 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33402 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33403 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33404 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33405 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33406 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33407 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33408 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33409 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33410 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33411 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33412 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33413 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33414 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33415 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33416 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33417 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33418 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33419 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33420 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33421 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33422 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33423 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33424 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33425 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33426 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33427 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33428 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33429 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33430 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33431 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33432 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33433 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33434 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33435 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33436 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33437 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33438 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33439 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33440 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33441 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33442 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33443 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33445 // Map renamed classes back to their common name for OOR
33446 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33447 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33448 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33450 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33451 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33452 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33453 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33454 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33455 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33456 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33457 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33458 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33459 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33460 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33461 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33462 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33463 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33464 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33465 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33466 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33467 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33468 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33469 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33470 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33471 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33472 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33473 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33474 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33475 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33476 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33477 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33478 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33479 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33480 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33481 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33482 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33483 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33484 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33485 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33486 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33487 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33488 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33489 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33490 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33491 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33492 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33493 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33494 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33495 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33496 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33497 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33498 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33499 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33500 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33501 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33502 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33503 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33504 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33505 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33506 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33507 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33508 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33509 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33510 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33511 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33512 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33513 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33514 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33515 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33516 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33517 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33518 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33519 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33520 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33521 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33522 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33523 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33524 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33525 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33526 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33527 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33528 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33529 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33530 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33531 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33532 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33533 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33534 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33535 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33536 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33537 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33538 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33539 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33540 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33541 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33542 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33543 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33545 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");